/* Product details own their grid; Woo's legacy 48% floats must not halve it again. */
.single-product .container.shop-layout-detail,.single-product .catalogue-topbar>.container{width:min(1600px,calc(100% - 96px))}
.single-product .container.shop-layout-detail{grid-template-columns:220px minmax(0,1fr);gap:36px;padding-block:44px 76px;align-items:start}
.single-product .shop-layout-detail>.shop-main{width:100%;max-width:none;min-width:0}
.single-product .shop-main>div.product.harnevia-product-detail{width:100%;max-width:none;min-width:0;margin:0}
.woocommerce div.product.harnevia-product-detail>.product-overview{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:38px;align-items:start;width:100%;max-width:none}
.woocommerce div.product.harnevia-product-detail .product-overview>.product-gallery-column{width:100%;min-width:0;max-width:none;padding:24px;border:1px solid var(--line);background:#fff;border-radius:6px}
.woocommerce div.product.harnevia-product-detail .product-gallery-column>div.images{width:100%;max-width:none;float:none;clear:none;margin:0}
.woocommerce div.product.harnevia-product-detail .product-gallery-column .woocommerce-product-gallery__image img{width:100%;height:auto;aspect-ratio:1.08;object-fit:contain}
.woocommerce div.product.harnevia-product-detail .product-overview>div.summary.entry-summary{width:100%;max-width:none;min-width:0;float:none;clear:none;margin:0;padding:4px 0 0;justify-self:stretch}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-category-label{font-size:11px;line-height:1.5;letter-spacing:.08em;margin:0 0 15px;overflow-wrap:anywhere}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_title{max-width:none;width:100%;font-size:clamp(32px,2.5vw,44px);line-height:1.13;letter-spacing:-.035em;margin:0 0 21px;word-break:normal;overflow-wrap:anywhere}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .woocommerce-product-details__short-description{max-width:none;font-size:16px;line-height:1.8;margin:12px 0 0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .woocommerce-product-details__short-description p:last-child{margin-bottom:0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart{display:block;width:100%;max-width:none;padding-top:12px;margin:0 0 12px;border-top:1px solid var(--line)}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .product-quantity-caption{display:inline-block;vertical-align:middle;margin:0 15px 12px 0;font-size:13px;font-weight:600;color:var(--navy)}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart div.quantity{float:none;display:inline-flex;vertical-align:middle;width:auto;margin:0 0 12px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .quantity .qty{width:88px;min-height:50px;padding:10px 12px;line-height:1.4;font-size:15px;background:#fff;border:1px solid #c4d2e5;border-radius:4px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .button,
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-enquiry-button{box-sizing:border-box;display:flex;float:none;clear:both;align-items:center;justify-content:center;gap:10px;width:100%;max-width:none;min-height:52px;margin:0;padding:14px 20px;line-height:1.45;font-size:14px;font-weight:650;text-align:center;white-space:normal;overflow-wrap:anywhere;border-radius:4px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .button+.button{margin-top:12px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .single_variation_wrap{width:100%;max-width:none}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .woocommerce-variation-add-to-cart{width:100%;max-width:none;gap:0;/* Preserve native variation visibility and JS state. */}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .woocommerce-variation-add-to-cart .button{flex-basis:100%;flex-shrink:0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .variations{width:100%;max-width:none;margin-bottom:20px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .variations td{padding:5px 0 13px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .variations select{min-height:46px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .group_table{width:100%;margin-bottom:18px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-quote-disclosure{display:block;width:100%;max-width:none;margin:0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-quote-disclosure>summary{list-style:none;cursor:pointer}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-enquiry-button .icon{width:19px;height:19px;flex:0 0 19px;margin:0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-document-link{margin:17px 0 0;font-size:13px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-document-link a{min-height:30px;align-items:center}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-order-note{font-size:12px;line-height:1.75;margin:17px 0 0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_meta{font-size:12px;line-height:1.75;margin-top:23px;padding-top:20px;overflow-wrap:anywhere}
.single-product .shop-layout-detail .product-section-nav{margin-top:48px}
/* Match the reference: four substantial thumbnails, independent of Woo's li floats. */
.woocommerce div.product.harnevia-product-detail .product-gallery-column div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;margin:16px 0 0;padding:0;list-style:none}
.woocommerce div.product.harnevia-product-detail .product-gallery-column div.images .flex-control-thumbs li{float:none;clear:none;width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:4px;overflow:hidden}
.woocommerce div.product.harnevia-product-detail .product-gallery-column div.images .flex-control-thumbs li img{display:block;width:100%;max-width:none;height:auto;aspect-ratio:1;object-fit:contain;box-sizing:border-box;padding:4px;border:1px solid var(--line);border-radius:4px;opacity:1;background:#fff;cursor:pointer}
.woocommerce div.product.harnevia-product-detail .product-gallery-column div.images .flex-control-thumbs li img.flex-active{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.woocommerce div.product.harnevia-product-detail .product-gallery-column div.images .flex-control-thumbs li img:focus-visible{outline:2px solid var(--blue);outline-offset:-3px}
/* Native Woo variation fields and SKU updates remain intact. */
.woocommerce div.product.harnevia-product-detail .summary.entry-summary{--product-label-width:100px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations{display:block;border:0;margin:0 0 12px;padding:0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations tbody{display:block;width:100%}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations tr{display:grid;grid-template-columns:var(--product-label-width) minmax(0,1fr);align-items:start;gap:0;margin:0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations tr + tr{margin-top:8px}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations th.label{display:block;width:auto;min-width:0;padding:13px 12px 0 0;margin:0;border:0;text-align:left;background:transparent;font-size:13px;line-height:24px;font-weight:600;color:var(--navy);overflow-wrap:anywhere}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations th.label label{margin:0;font:inherit}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations td.value{display:block;min-width:0;padding:0;margin:0;border:0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations select{display:block;width:100%;min-width:0;max-width:100%;min-height:50px;margin:0;padding:11px 12px;font:inherit;font-size:14px;box-sizing:border-box}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .reset_variations{display:inline-block;margin:6px 0 0;font-size:12px;line-height:1.5}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.variations_form:not(:has(.variations select option:checked:not([value=""]))) .reset_variations {
    display: none;
}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .product-quantity-row{display:grid;grid-template-columns:var(--product-label-width) minmax(0,1fr);align-items:center;width:100%;margin:0 0 16px;gap:0}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .product-quantity-row .product-quantity-caption{display:block;margin:0;padding:0 12px 0 0;line-height:24px;overflow-wrap:anywhere}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .product-quantity-row div.quantity{margin:0;justify-self:start}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_meta .sku_wrapper{display:grid;grid-template-columns:var(--product-label-width) minmax(0,1fr);gap:0;align-items:baseline}
.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_meta .sku{min-width:0;overflow-wrap:anywhere}
@media(max-width:1380px){.single-product .container.shop-layout-detail,.single-product .catalogue-topbar>.container{width:calc(100% - 72px)}.single-product .container.shop-layout-detail{grid-template-columns:200px minmax(0,1fr);gap:30px}.woocommerce div.product.harnevia-product-detail>.product-overview{gap:28px}.woocommerce div.product.harnevia-product-detail .product-overview>.product-gallery-column{padding:20px}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_title{font-size:34px}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .woocommerce-product-details__short-description{font-size:15px}}
@media(max-width:1180px){.single-product .container.shop-layout-detail,.single-product .catalogue-topbar>.container{width:calc(100% - 64px)}.single-product .container.shop-layout-detail{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:30px}.single-product .shop-layout-detail>.shop-sidebar{position:static;top:auto;border-bottom:1px solid var(--line);padding:0 0 21px}.single-product .shop-layout-detail .shop-sidebar>.eyebrow{display:none}.single-product .shop-layout-detail .shop-sidebar h2{font-size:18px;margin:0 0 15px}.single-product .shop-layout-detail .shop-sidebar nav ul{display:flex;flex-wrap:wrap;gap:8px}.single-product .shop-layout-detail .shop-sidebar li{border:0;min-width:0}.single-product .shop-layout-detail .shop-sidebar li a{display:flex;align-items:center;gap:10px;padding:9px 13px;border:1px solid var(--line);border-radius:4px;font-size:12px;line-height:1.5;background:#fff}.single-product .shop-layout-detail .shop-sidebar li a[aria-current=page]{background:var(--blue);border-color:var(--blue);color:#fff}.single-product .shop-layout-detail .shop-sidebar .sidebar-help{display:none}.woocommerce div.product.harnevia-product-detail>.product-overview{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_title{font-size:34px}}
@media(max-width:820px){.woocommerce div.product.harnevia-product-detail>.product-overview{grid-template-columns:minmax(0,1fr);gap:29px}.woocommerce div.product.harnevia-product-detail .product-overview>.product-gallery-column{max-width:none;padding:20px}.woocommerce div.product.harnevia-product-detail .product-gallery-column .woocommerce-product-gallery__image img{aspect-ratio:1.35}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_title{font-size:34px}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .woocommerce-product-details__short-description{font-size:15px}}
@media(max-width:700px){.single-product .container.shop-layout-detail,.single-product .catalogue-topbar>.container{width:calc(100% - 40px)}.single-product .container.shop-layout-detail{padding-block:24px 45px;gap:25px}.single-product .shop-layout-detail .shop-sidebar li a{padding:8px 10px;font-size:11px}.woocommerce div.product.harnevia-product-detail .product-overview>.product-gallery-column{padding:15px}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_title{font-size:31px;line-height:1.15;margin-bottom:19px}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-category-label{font-size:10px;margin-bottom:12px}.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart .button,.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product-enquiry-button{min-height:50px;font-size:13px;padding:13px 16px}.single-product .shop-layout-detail .product-section-nav{margin-top:33px}}
@media(max-width:380px){.single-product .container.shop-layout-detail,.single-product .catalogue-topbar>.container{width:calc(100% - 32px)}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_title{font-size:29px}}
@media print{.single-product .container.shop-layout-detail{display:block;width:100%}.woocommerce div.product.harnevia-product-detail>.product-overview{grid-template-columns:1fr 1fr;gap:20px}.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_title{font-size:26px}}

/* Native select values remain Woo's source of truth; buttons are progressive enhancement. */
.woocommerce div.product.harnevia-product-detail .summary.entry-summary form.cart table.variations select.variation-select-enhanced{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important;pointer-events:none}
.woocommerce div.product.harnevia-product-detail .variation-choices{display:flex;flex-wrap:wrap;gap:9px;min-width:0;padding:0}
.woocommerce div.product.harnevia-product-detail .variation-choices .variation-choice{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:46px;max-width:100%;margin:0;padding:10px 16px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--navy);font:inherit;font-size:14px;font-weight:500;line-height:1.5;text-align:center;overflow-wrap:anywhere;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s,color .15s}
.woocommerce div.product.harnevia-product-detail .variation-choices .variation-choice:hover:not(:disabled){border-color:var(--blue);color:var(--blue);background:var(--tint)}
.woocommerce div.product.harnevia-product-detail .variation-choices .variation-choice[aria-checked=true]{border-color:var(--blue);background:var(--blue);color:#fff}
.woocommerce div.product.harnevia-product-detail .variation-choices .variation-choice:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.woocommerce div.product.harnevia-product-detail .variation-choices .variation-choice:disabled{background:#f5f7fa;border-color:var(--line);color:#8392a3;cursor:not-allowed;opacity:.65}

/* Imported preformatted descriptions must wrap inside the product column. */
.harnevia-product-detail .product-editor-content pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;max-width:100%}
/* Rich product copy must never determine the width of the page. */
.single-product .shop-main,
.single-product .harnevia-product-detail,
.single-product .product-detail-section,
.harnevia-product-detail .product-editor-content,
.harnevia-product-detail .woocommerce-product-details__short-description{min-width:0;max-width:100%;overflow-wrap:break-word;overflow-wrap:anywhere}
.harnevia-product-detail .product-editor-content :where(p,li,div,section,article,figure,blockquote,ul,ol,span,strong,b,em,a,h1,h2,h3,h4,pre,code){max-width:100%!important;min-width:0!important;overflow-wrap:break-word;overflow-wrap:anywhere!important;word-break:break-word}
.harnevia-product-detail .product-editor-content :where(p,li,div,span,strong,b,em,a,h1,h2,h3,h4){white-space:normal!important}
.harnevia-product-detail .product-editor-content pre{white-space:pre-wrap!important;font:inherit;line-height:1.9;margin:0 0 18px;tab-size:4}
.harnevia-product-detail .product-editor-content pre :where(span,strong,b,em,a,code){white-space:inherit!important;font:inherit}
.harnevia-product-detail .product-editor-content pre :where(strong,b){font-weight:700}
.harnevia-product-detail .product-editor-content :where(img,video,canvas,svg){max-width:100%!important;min-width:0!important;height:auto!important}
.harnevia-product-detail .product-editor-content img {
    width: auto !important;
    max-height: none !important;
}
.harnevia-product-detail .product-editor-content :where(iframe,embed,object){max-width:100%!important;min-width:0!important}
/* Keep every column available: a wide table scrolls inside its own box. */
.harnevia-product-detail .product-editor-content table{display:block;max-width:100%!important;min-width:0!important;width:100%!important;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border-collapse:collapse}
.harnevia-product-detail .product-editor-content table :where(th,td){white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;line-height:1.8}
@media(max-width:1024px){
.harnevia-product-detail .product-editor-content :where(div,section,article,figure,p,ul,ol,li,blockquote){width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
.harnevia-product-detail .product-editor-content :where(p,li,div,span,strong,b,em,a,h1,h2,h3,h4){white-space:normal!important}
.harnevia-product-detail .product-editor-content pre,
.harnevia-product-detail .product-editor-content pre :where(span,strong,b,em,a,code){white-space:pre-wrap!important}
.harnevia-product-detail .product-editor-content :where(p,li,pre){font-size:15px;line-height:1.9}
.harnevia-product-detail .product-editor-content :where(ul,ol){padding-inline-start:22px}
.harnevia-product-detail .product-editor-content li+li{margin-top:16px}
.harnevia-product-detail .woocommerce-product-details__short-description :where(p,li,span,strong,a){white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word}
.harnevia-product-detail .product-editor-content :where(figure.alignleft,figure.alignright,.alignleft,.alignright){float:none;margin-inline:0}
}
/* Native specification values, long SKU references and unit strings also wrap. */
.harnevia-product-detail .product-specification-table{min-width:0;max-width:100%}
.harnevia-product-detail .product-specification-table table.shop_attributes{table-layout:fixed;width:100%;max-width:100%}
.harnevia-product-detail .product-specification-table table.shop_attributes :where(th,td,p,a){min-width:0;white-space:normal;overflow-wrap:break-word;overflow-wrap:anywhere;word-break:break-word}

.woocommerce div.product.harnevia-product-detail .summary.entry-summary .product_meta .part_number_wrapper{display:grid;grid-template-columns:var(--product-label-width) minmax(0,1fr);gap:0;align-items:baseline}
.product-part-number{min-width:0;overflow-wrap:anywhere}
