/* RC93.1.5 — Unified, evidence-based product information presentation.
   All rules are limited to content BELOW / AROUND the native purchasing form.
   Do NOT target form.cart, quantity, variation controls or Add to Basket. */
body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .hbm-complete-job,
body.single-product .hbm-v12-planning,
body.single-product .hbm-rc9314-share,
body.single-product .hbm-product-answer,
body.single-product .hbm-product-help {min-width:0;max-width:100%;box-sizing:border-box;}

/* Product overview and real specifications from WooCommerce, not invented facts. */
body.single-product .woocommerce div.product .woocommerce-tabs {border-color:#d5e1e9;box-shadow:0 5px 22px rgba(7,39,63,.045);}
body.single-product .woocommerce div.product .woocommerce-tabs .panel {color:#344b5b;line-height:1.7;}
body.single-product .woocommerce div.product .woocommerce-tabs .panel > h2:first-child {margin:4px 0 18px!important;}
body.single-product .woocommerce div.product .woocommerce-tabs .panel p {max-width:78ch;}
body.single-product .woocommerce div.product .woocommerce-tabs .panel :is(ul,ol) {padding-left:1.45em;max-width:78ch;}
body.single-product .woocommerce div.product .woocommerce-tabs .panel li {margin:6px 0;}
body.single-product .woocommerce div.product .woocommerce-tabs table.shop_attributes {border-collapse:separate!important;border-spacing:0!important;border:1px solid #dbe5ec!important;border-radius:10px!important;overflow:hidden!important;background:white!important;}
body.single-product .woocommerce div.product .woocommerce-tabs table.shop_attributes tr:nth-child(odd) {background:#f5f8fa!important;}
body.single-product .woocommerce div.product .woocommerce-tabs table.shop_attributes :is(th,td) {vertical-align:top!important;border:0!important;border-bottom:1px solid #e2eaf0!important;background:transparent!important;font-size:15px!important;line-height:1.5!important;}
body.single-product .woocommerce div.product .woocommerce-tabs table.shop_attributes th {width:35%;color:#0a2d45;font-weight:750!important;}
body.single-product .woocommerce div.product .woocommerce-tabs table.shop_attributes tr:last-child :is(th,td) {border-bottom:0!important;}

/* Heritage's approved FAQs: one section, readable accordion, unmistakable expansion. */
body.single-product .hbm-rc9314-faqs {max-width:100%;}
body.single-product .hbm-rc9314-faq {border:1px solid #d7e3eb;border-radius:10px;margin:9px 0;background:#fff;}
body.single-product .hbm-rc9314-faq summary {display:list-item;list-style-position:inside;padding:17px 18px;min-height:54px;font-size:clamp(15px,1.3vw,17px);color:#082f47;background:#f8fafb;}
body.single-product .hbm-rc9314-faq summary:hover {background:#eef5f9;}
body.single-product .hbm-rc9314-faq[open] {border-color:#aac5d5;box-shadow:0 3px 12px rgba(9,49,72,.05);}
body.single-product .hbm-rc9314-faq[open] summary {border-bottom:1px solid #dbe7ee;}
body.single-product .hbm-rc9314-faq > div {padding:12px 20px 18px;font-size:15px;line-height:1.65;}
body.single-product .hbm-rc9314-faq > div p {margin:0 0 8px;}

/* Genuine WooCommerce reviews and their native moderation/review form. */
body.single-product #reviews {display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,.68fr);gap:clamp(16px,2.5vw,28px);align-items:start;}
body.single-product #reviews #comments,body.single-product #reviews #review_form_wrapper {min-width:0;max-width:100%;}
body.single-product #reviews #comments > h2,body.single-product #reviews #review_form_wrapper h3 {font-size:clamp(19px,2vw,24px);line-height:1.25;color:#082e46;}
body.single-product .woocommerce-Reviews .commentlist li {border:1px solid #d8e3eb;border-radius:11px;padding:18px!important;background:#f9fbfc;box-shadow:0 2px 8px rgba(7,39,63,.025);}
body.single-product .woocommerce-Reviews .commentlist li .comment-text {min-width:0!important;overflow-wrap:break-word;}
body.single-product .woocommerce-Reviews .commentlist li .meta {color:#516573;font-size:13px;}
body.single-product .woocommerce-Reviews .star-rating {color:#b98000;}
body.single-product #review_form_wrapper {border:1px solid #dbe5ed;border-radius:12px;background:#f7f9fb;padding:clamp(15px,2.5vw,22px);}
body.single-product #review_form_wrapper :is(input,textarea,select) {max-width:100%;box-sizing:border-box;}
body.single-product #review_form_wrapper textarea {width:100%;min-height:120px;}
body.single-product #review_form_wrapper label {display:block;margin:7px 0;color:#0e354e;font-weight:700;}
body.single-product #review_form_wrapper .form-submit input {min-height:46px;border:0;border-radius:7px;background:#ffc900;color:#102b40;font-weight:800;padding:10px 20px;}

/* Product advice and supporting purchase routes already provided by Heritage. */
body.single-product .hbm-product-answer {margin:26px 0!important;padding:20px 0 0!important;}
body.single-product .hbm-product-answer__grid {gap:12px;}
body.single-product .hbm-product-answer__grid > div {border:1px solid #dce6ee;border-radius:10px;background:#f6f9fb;padding:18px;min-width:0;}
body.single-product .hbm-product-answer__grid strong {font-size:16px;color:#082c46;}
body.single-product .hbm-product-answer__grid p {font-size:14px;line-height:1.65;color:#455e70;}
body.single-product .hbm-v12-planning {border-radius:12px;border:1px solid #d9e4ec;}
body.single-product .hbm-v12-planning nav a {border-radius:7px;}
body.single-product .hbm-complete-job {margin:28px 0!important;}
body.single-product .hbm-complete-job__grid {gap:12px;}
body.single-product .hbm-complete-job article {border-radius:11px;border:1px solid #dce6ed;box-shadow:0 3px 14px rgba(8,44,70,.035);min-width:0;}
body.single-product .hbm-complete-job article img {border-radius:7px;}
body.single-product .hbm-complete-job article h3 {line-height:1.4;overflow-wrap:break-word;}
body.single-product .hbm-complete-job article :is(a,button):focus-visible {outline:3px solid #e7b900;outline-offset:3px;}

/* Product-specific social links: touch-sized and clear without third-party scripts. */
body.single-product .hbm-rc9314-share {border-radius:12px;border-color:#d5e2eb;background:#f5f8fa;}
body.single-product .hbm-rc9314-share__links :is(a,button) {min-height:46px;padding:10px 14px;border-radius:8px;}
body.single-product :is(.woocommerce-tabs,.hbm-rc9314-share,.hbm-v12-planning) a:focus-visible {outline:3px solid #e8b900;outline-offset:3px;}

/* Smaller screens: accessible content, no sideways scroll or narrow review columns. */
@media (max-width:900px) {
 body.single-product #reviews {display:block;}
 body.single-product #reviews #review_form_wrapper {margin-top:20px;}
}
@media (max-width:600px) {
 body.single-product .woocommerce div.product .woocommerce-tabs {padding:14px!important;}
 body.single-product .woocommerce div.product .woocommerce-tabs .panel {font-size:15px;line-height:1.65;padding:8px 0 12px!important;}
 body.single-product .woocommerce div.product .woocommerce-tabs .panel > h2:first-child {font-size:21px!important;}
 body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {min-height:44px;display:flex!important;align-items:center;}
 body.single-product .woocommerce div.product .woocommerce-tabs table.shop_attributes :is(th,td) {display:block;width:100%!important;box-sizing:border-box;padding:9px 12px!important;}
 body.single-product .woocommerce div.product .woocommerce-tabs table.shop_attributes th {padding-bottom:3px!important;border-bottom:0!important;}
 body.single-product .woocommerce div.product .woocommerce-tabs table.shop_attributes td {padding-top:0!important;}
 body.single-product .hbm-rc9314-faq summary {padding:14px 12px;min-height:48px;}
 body.single-product .hbm-rc9314-faq > div {padding:10px 13px 14px;}
 body.single-product .hbm-product-answer {padding-top:14px!important;}
 body.single-product .hbm-product-answer__grid > div {padding:15px;}
 body.single-product .hbm-rc9314-share__links {grid-template-columns:repeat(2,minmax(0,1fr));}
 body.single-product .hbm-rc9314-share__links :is(a,button) {font-size:13px;overflow-wrap:anywhere;}
}

/* RC93.1.5.2: WC inserts an actual variation price only after an option is
   chosen. CSS backs up the event handler, including cached/late JS execution.
   The native WC variation-price block itself is never hidden. */
body.single-product .woocommerce div.product .summary:has(form.variations_form .single_variation .woocommerce-variation-price .price:not(:empty)) > :is(p.price, div.price, span.price, .hbm-price, .hbm-product-price, .product-price, .hbm-parent-price-source) {
  display: none !important;
}
