/* Heritage Builders Merchants v11.1.0 RC1
 * Authoritative single-product layout.
 * Loaded after legacy WooCommerce CSS so the product experience has one final,
 * deterministic responsive contract without depending on rule order in older releases.
 */

body.single-product .hbm-product-shell{
  overflow-x:clip;
}
body.single-product .woocommerce div.product{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(340px,.94fr);
  column-gap:42px;
  align-items:start;
}
body.single-product .woocommerce div.product::before,
body.single-product .woocommerce div.product::after{display:none!important}
body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.summary{
  float:none!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .hbm-product-help,
body.single-product .woocommerce div.product .related,
body.single-product .woocommerce div.product .upsells,
body.single-product .woocommerce div.product .hbm-product-intelligence,
body.single-product .woocommerce div.product .hbm-complete-job{
  grid-column:1/-1;
}

/* Gallery: preserve the whole product photo, keep controls predictable. */
body.single-product .woocommerce-product-gallery{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.single-product .woocommerce-product-gallery__wrapper{
  margin:0!important;
}
/* FlexSlider owns slide widths. We only own the visible viewport height.
 * This prevents the inline FlexSlider height from leaving a large blank area and
 * keeps thumbnail-to-slide indexing intact. */
body.single-product .woocommerce-product-gallery .flex-viewport{
  width:100%!important;
  aspect-ratio:4/3!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
body.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper{
  height:100%!important;
}
body.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image{
  height:100%!important;
  min-height:0!important;
}
body.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a{
  height:100%!important;
  aspect-ratio:auto!important;
}
body.single-product .woocommerce-product-gallery__image{
  min-width:0!important;
}
body.single-product .woocommerce-product-gallery__image > a{
  display:flex!important;
  width:100%!important;
  aspect-ratio:4/3;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#f7f9fa;
}
body.single-product .woocommerce-product-gallery__image > a > img,
body.single-product .woocommerce-product-gallery__image img.wp-post-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  margin:10px 0 0!important;
  padding:0 0 4px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  list-style:none!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs::before,
body.single-product .woocommerce-product-gallery .flex-control-thumbs::after{display:none!important;content:none!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li{
  float:none!important;
  display:block!important;
  flex:0 0 76px!important;
  width:76px!important;
  max-width:76px!important;
  min-width:76px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  scroll-snap-align:start;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img{
  display:block!important;
  width:76px!important;
  height:76px!important;
  max-width:76px!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  border:2px solid #d7e0e5!important;
  border-radius:6px!important;
  background:#fff!important;
  opacity:.72!important;
  box-sizing:border-box!important;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active{
  opacity:1!important;
  border-color:var(--hbm-blue)!important;
  box-shadow:0 0 0 1px var(--hbm-blue)!important;
}
body.single-product .woocommerce-product-gallery__trigger{
  top:12px!important;
  right:12px!important;
}

/* Product information hierarchy. */
body.single-product .woocommerce div.product .summary h1.product_title{
  max-width:18ch;
  margin:0 0 12px!important;
  color:var(--hbm-navy);
  font-size:clamp(34px,3.1vw,48px)!important;
  line-height:1.02!important;
  letter-spacing:-.025em!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.single-product .woocommerce div.product .summary .price,
body.single-product .woocommerce div.product .summary p.price,
body.single-product .woocommerce div.product .summary span.price,
body.single-product .woocommerce div.product .summary .hbm-price{
  margin:0 0 5px!important;
  max-width:100%!important;
}
body.single-product .woocommerce div.product .summary .hbm-price strong{
  font-size:clamp(34px,3.7vw,52px)!important;
  line-height:1!important;
}
body.single-product .woocommerce div.product .summary .hbm-price small{
  font-size:15px!important;
  line-height:1.35!important;
}
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description{
  margin:18px 0 0!important;
  font-size:17px!important;
  line-height:1.55!important;
  max-width:62ch;
}

/* One purchase contract for both simple and variable products. */




body.single-product .woocommerce div.product .summary table.variations{
  width:100%!important;
  margin-bottom:14px!important;
}
body.single-product .woocommerce div.product .summary .hbm-save,
body.single-product .woocommerce div.product .summary [data-hbm-save-product]{
  display:flex!important;
  width:100%!important;
  max-width:100%!important;
  min-height:50px!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}

/* Mobile product page: compact, commerce-first and iPhone safe. */
@media(max-width:760px){
  body.single-product .hbm-product-shell{
    padding:14px 0 calc(88px + env(safe-area-inset-bottom))!important;
  }
  body.single-product .hbm-product-shell > .container,
  body.single-product .hbm-product-shell > .hbm-container{
    width:min(100% - 24px,1360px)!important;
  }
  body.single-product .woocommerce div.product{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    padding:14px!important;
    border-radius:10px!important;
    overflow:visible!important;
  }
  body.single-product .woocommerce div.product div.images{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 14px!important;
    padding:0!important;
    overflow:hidden!important;
  }
  body.single-product .woocommerce-product-gallery .flex-viewport{
    aspect-ratio:4/3!important;
    height:auto!important;
    min-height:0!important;
  }
  body.single-product .woocommerce-product-gallery__image > a{
    aspect-ratio:4/3!important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-thumbs{
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    margin-top:8px!important;
    padding-bottom:2px!important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-thumbs li{
    flex-basis:68px!important;
    width:68px!important;
    min-width:68px!important;
    max-width:68px!important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-thumbs li img{
    width:68px!important;
    height:68px!important;
    max-width:68px!important;
  }
  body.single-product .woocommerce div.product div.summary{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body.single-product .woocommerce div.product .summary h1.product_title{
    max-width:none!important;
    margin:0 0 9px!important;
    font-size:clamp(27px,7vw,30px)!important;
    line-height:1.06!important;
    letter-spacing:-.018em!important;
  }
  body.single-product .woocommerce div.product .summary .price,
  body.single-product .woocommerce div.product .summary p.price,
  body.single-product .woocommerce div.product .summary span.price{
    font-size:clamp(30px,8vw,36px)!important;
    line-height:1!important;
  }
  body.single-product .woocommerce div.product .summary .hbm-price strong{
    font-size:clamp(30px,8vw,36px)!important;
  }
  body.single-product .woocommerce div.product .summary .hbm-price small{
    font-size:14px!important;
  }
  body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description{
    margin-top:14px!important;
    font-size:16px!important;
    line-height:1.5!important;
  }
  body.single-product .hbm-availability{margin:7px 0 10px!important}
  
  
  

  /* The mobile nav band must own its height so SHOP MENU cannot clip. */
  body.single-product .hbm-nav{
    min-height:58px!important;
    overflow:visible!important;
  }
  body.single-product .hbm-nav__inner{
    min-height:58px!important;
    display:block!important;
  }
  body.single-product .hbm-menu-toggle{
    display:flex!important;
    min-height:58px!important;
    height:auto!important;
    margin:0!important;
    padding:0 2px!important;
    align-items:center!important;
    line-height:1.2!important;
    overflow:visible!important;
  }

  /* Fixed quick actions: reserve content space and respect iOS safe area. */
  body.single-product .hbm-mobile-actions{
    min-height:58px!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
    z-index:99960!important;
  }
  body.single-product .hbm-mobile-actions a{
    min-height:58px!important;
  }
}

@media(max-width:380px){
  body.single-product .woocommerce div.product{padding:12px!important}
  body.single-product .woocommerce-product-gallery .flex-control-thumbs li{
    flex-basis:62px!important;width:62px!important;min-width:62px!important;max-width:62px!important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-thumbs li img{
    width:62px!important;height:62px!important;max-width:62px!important;
  }
  body.single-product .woocommerce div.product .summary h1.product_title{font-size:27px!important}
  
  
}

/* =========================================================
   v12.0.0 RC1 — Product page UX consolidation
   Keep the proven gallery. Remove duplicated long-form panels.
   ========================================================= */
body.single-product .hbm-product-help,
body.single-product .hbm-product-answer,
body.single-product .hbm-product-intelligence,
body.single-product .hbm-buying-panel,
body.single-product .hbm-product-journey,
body.single-product .hbm-v2-specs,
body.single-product .hbm-v361-project-prompt,
body.single-product .hbm-v39-product-delivery,
body.single-product .hbm-v38-buying-help,
body.single-product .hbm-v38-job-companions{
  display:none!important;
}

body.single-product .hbm-v12-planning{
  grid-column:1/-1;
  /* RC93.2.3: a fixed vertical flow prevents the auto-sized links track
     consuming the entire card and squeezing the heading to a few characters. */
  display:block;
  min-width:0;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:24px 0 10px;
  padding:22px 24px;
  border:1px solid #d8e2e8;
  border-top:6px solid var(--hbm-yellow);
  background:#f7fafb;
}
body.single-product .hbm-v12-planning > div{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
body.single-product .hbm-v12-planning h2{overflow-wrap:normal!important;word-break:normal!important;margin:3px 0 7px!important;font-size:clamp(25px,3vw,34px)!important;line-height:1.08!important}
body.single-product .hbm-v12-planning p{margin:0!important;max-width:62ch;color:#526573;font-size:15px;line-height:1.55}
body.single-product .hbm-v12-planning nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start;width:100%;min-width:0;max-width:100%;margin-top:16px;box-sizing:border-box}
body.single-product .hbm-v12-planning nav a{min-width:0;max-width:100%;box-sizing:border-box;white-space:normal;display:inline-flex;align-items:center;min-height:46px;padding:10px 14px;border:1px solid #bfcfd9;background:#fff;color:var(--hbm-navy);font-weight:800;text-decoration:none}
body.single-product .hbm-v12-planning nav a:last-child{background:var(--hbm-yellow);border-color:var(--hbm-yellow)}

/* One compact recommendation system only. */
body.single-product .hbm-v38-complete{grid-column:1/-1;margin:28px 0 8px!important;padding:22px!important;background:#f4f8fa!important;border-top:6px solid var(--hbm-yellow)!important}
body.single-product .hbm-v38-complete-head{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:18px!important;margin-bottom:14px!important}
body.single-product .hbm-v38-complete-head h2{margin:3px 0 0!important;font-size:clamp(28px,3vw,38px)!important}
body.single-product .hbm-v38-companion-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.single-product .hbm-v38-companion-grid>a{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:10px!important;background:#fff!important;border:1px solid #d7e1e7!important;text-decoration:none!important;min-width:0!important}
body.single-product .hbm-v38-companion-grid img{width:86px!important;height:86px!important;object-fit:cover!important;margin:0!important}
body.single-product .hbm-v38-companion-grid span{min-width:0!important}
body.single-product .hbm-v38-companion-grid small{display:block!important;color:var(--hbm-blue)!important;font-weight:800!important}
body.single-product .hbm-v38-companion-grid strong{display:block!important;color:var(--hbm-navy)!important;font-size:16px!important;line-height:1.2!important;margin:2px 0 4px!important}
body.single-product .hbm-v38-companion-grid em{font-style:normal!important;color:var(--hbm-navy)!important;font-weight:900!important}

/* Prevent the accessibility launcher obscuring product controls/content. */
@media(max-width:780px){
  body.single-product #pojo-a11y-toolbar{right:8px!important;bottom:calc(86px + env(safe-area-inset-bottom))!important}
  body.single-product #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle{right:0!important;bottom:0!important;transform:scale(.86);transform-origin:bottom right}

  body.single-product .hbm-v12-planning{display:block!important;margin:18px 0 8px!important;padding:18px 16px!important}
  body.single-product .hbm-v12-planning nav{display:grid!important;grid-template-columns:1fr!important;margin-top:14px!important}
  body.single-product .hbm-v12-planning nav a{min-height:44px!important;padding:9px 12px!important}

  body.single-product .hbm-v38-complete{margin:20px 0 6px!important;padding:16px!important}
  body.single-product .hbm-v38-complete-head{display:block!important;margin-bottom:12px!important}
  body.single-product .hbm-v38-complete-head>a{display:inline-block!important;margin-top:7px!important;font-size:14px!important}
  body.single-product .hbm-v38-companion-grid{grid-template-columns:1fr!important;gap:8px!important}
  body.single-product .hbm-v38-companion-grid>a{grid-template-columns:78px minmax(0,1fr)!important;padding:8px!important}
  body.single-product .hbm-v38-companion-grid img{width:78px!important;height:78px!important}

  /* Tabs/details remain lower on the page but use less vertical chrome. */
  body.single-product .woocommerce-tabs{margin-top:22px!important}
  body.single-product .woocommerce-tabs ul.tabs{display:flex!important;gap:0!important;overflow-x:auto!important;white-space:nowrap!important;padding:0!important}
  body.single-product .woocommerce-tabs ul.tabs li{flex:0 0 auto!important;margin:0!important}
  body.single-product .woocommerce-tabs ul.tabs li a{padding:12px 14px!important;font-size:13px!important}
  body.single-product .woocommerce-tabs .panel{padding-top:18px!important}
}


/* RC93.1.3.1 — final, scoped single-product purchasing layout.
 * This stylesheet loads after WooCommerce CSS. Do not override native
 * variation selection, rate, quantity or add-to-cart processing. */








body.single-product .woocommerce div.product .summary table.variations,
body.single-product .woocommerce div.product .summary table.variations select,
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description,
body.single-product .woocommerce div.product .summary .hbm-product-service-points {
  min-width:0!important; max-width:100%!important; box-sizing:border-box!important;
}
body.single-product .woocommerce div.product .summary table.variations select {min-height:46px!important}
body.single-product .woocommerce div.product .summary .hbm-illustrative-photo-note {
  padding:9px 11px!important; margin:8px 0 12px!important;
  font-size:.84rem!important; line-height:1.43!important;
}
@media(max-width:760px){
  body.single-product .woocommerce div.product .summary h1.product_title {
    font-size:clamp(26px,7vw,32px)!important;
    line-height:1.13!important; letter-spacing:-.018em!important;
    overflow-wrap:break-word!important; hyphens:manual;
  }
  body.single-product .woocommerce div.product .summary .price,
  body.single-product .woocommerce div.product .summary p.price,
  body.single-product .woocommerce div.product .summary span.price,
  body.single-product .woocommerce div.product .summary .hbm-price strong {
    font-size:clamp(27px,7.6vw,36px)!important; line-height:1.16!important;
  }
  body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description {
    font-size:16px!important; line-height:1.55!important;
    width:100%!important; overflow-wrap:break-word!important;
  }
  body.single-product .woocommerce div.product .summary table.variations th,
  body.single-product .woocommerce div.product .summary table.variations td {
    width:100%!important; display:block!important; text-align:left!important;
    padding:4px 0!important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    max-width:100%!important; overflow-x:auto!important; overscroll-behavior-inline:contain;
  }
  body.single-product .hbm-product-shell {
    padding-bottom:calc(102px + env(safe-area-inset-bottom))!important;
  }
}
@media(max-width:600px){
  /* One full-width buying button, with the quantity control above it. */
  
  
  
  
  body.single-product .woocommerce div.product .summary .hbm-illustrative-photo-note {
    font-size:.82rem!important; line-height:1.45!important;
  }
}

/* RC93.1.3.4 — mobile purchase-form correction.
   Use normal block flow for both WooCommerce simple and variable forms on mobile.
   This removes the implicit grid columns that trapped the button and Core tip
   beside the quantity field on the actual MOT Type 1 page. Never override the
   WooCommerce-controlled visibility of .single_variation_wrap itself. */
@media (max-width: 760px) {
  body.single-product form.cart,
  body.single-product form.cart.variations_form,
  body.single-product .woocommerce div.product .summary form.cart,
  body.single-product .woocommerce div.product .summary form.cart.variations_form {
    display:block!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:16px 0!important;
    box-sizing:border-box!important;
    contain:none!important;
  }
  body.single-product form.variations_form .single_variation_wrap,
  body.single-product form.variations_form .woocommerce-variation-add-to-cart,
  body.single-product form.variations_form .single_variation,
  body.single-product .summary form.cart .single_variation_wrap,
  body.single-product .summary form.cart .woocommerce-variation-add-to-cart {
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    grid-column:auto!important;
    grid-row:auto!important;
    flex:0 1 auto!important;
    contain:none!important;
  }
  /* Only the visible inner purchase controls are block; the outer wrapper may
     be display:none until a valid variation is chosen. */
  body.single-product form.variations_form .woocommerce-variation-add-to-cart,
  body.single-product .summary form.cart .woocommerce-variation-add-to-cart {
    display:flow-root!important;
    margin:12px 0 0!important;
    padding:0!important;
  }
  body.single-product form.cart .quantity,
  body.single-product .summary form.cart .quantity {
    display:block!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    width:88px!important;
    max-width:88px!important;
    min-width:0!important;
    height:auto!important;
    margin:0 0 10px!important;
    padding:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
    flex:none!important;
    box-sizing:border-box!important;
  }
  body.single-product form.cart .quantity .qty,
  body.single-product .summary form.cart .quantity input.qty {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:50px!important;
    height:50px!important;
    box-sizing:border-box!important;
  }
  body.single-product form.cart button.single_add_to_cart_button,
  body.single-product .summary form.cart button.single_add_to_cart_button {
    display:block!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    height:auto!important;
    margin:0 0 12px!important;
    padding:12px 16px!important;
    box-sizing:border-box!important;
    grid-column:auto!important;
    grid-row:auto!important;
    flex:none!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    writing-mode:horizontal-tb!important;
    line-height:1.3!important;
    text-align:center!important;
    font-size:16px!important;
  }
  body.single-product form.cart .hbm-launch-product-tip,
  body.single-product .summary form.cart .hbm-launch-product-tip {
    display:block!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:6px 0 14px!important;
    padding:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
    flex:none!important;
    font-size:14px!important;
    line-height:1.5!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}
