/* Product detail layout adapted from Orderplex-3, using native Woo controls. */
.woocommerce .op-pdp{font-family:var(--op-font-body);color:var(--op-deep)}
.woocommerce .op-pdp .op-pdp-top,.woocommerce .op-pdp .op-pdp-body{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(28px,4.5vw,72px);align-items:start;clear:both}
.woocommerce .op-pdp .op-pdp-top>.woocommerce-product-gallery,.woocommerce .op-pdp .op-pdp-top>.summary{width:100%;float:none;margin:0;min-width:0}
.woocommerce div.product.op-pdp div.images{padding:0;border:0;background:transparent;border-radius:28px;position:sticky;top:30px}
.woocommerce .op-pdp .woocommerce-product-gallery__wrapper{margin:0;border-radius:28px;overflow:hidden;background:#eeeee5}
.woocommerce .op-pdp .woocommerce-product-gallery__image{aspect-ratio:1/.92;background:#eeeee5}
.woocommerce .op-pdp .woocommerce-product-gallery__image>a{display:block;height:100%;width:100%}
.woocommerce div.product.op-pdp div.images .woocommerce-product-gallery__image img:not(.zoomImg){width:100%;height:100%!important;object-fit:contain;border-radius:0;margin:0}
.woocommerce div.product.op-pdp.op-pdp-photo div.images .woocommerce-product-gallery__image img:not(.zoomImg){object-fit:cover}
.woocommerce .op-pdp .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:10px;margin-top:12px}.woocommerce .op-pdp .flex-control-thumbs li{width:80px;float:none;border:1px solid #deded2;border-radius:12px;overflow:hidden}
.woocommerce .op-pdp .op-pdp-eyebrow{font:11px/1.5 var(--op-mono);letter-spacing:.07em;text-transform:uppercase;margin:0 0 14px;color:#626858}
.woocommerce .op-pdp h1.product_title{font-size:clamp(32px,3.4vw,48px);font-weight:700;line-height:1.08;letter-spacing:-.04em;margin:0 0 20px}
.woocommerce .op-pdp .op-pdp-tagline{font-size:20px;line-height:1.45;margin:0 0 22px;color:#626858}
.woocommerce .op-pdp .op-pdp-chips{margin:0 0 24px;gap:7px}.woocommerce .op-pdp .op-pdp-chips li{font-size:12px;padding:8px 11px;background:#fff;border:1px solid #deded2;border-radius:7px}
.woocommerce .op-pdp .summary>p.price{font-size:46px;font-weight:700;line-height:1.1;color:var(--op-deep);margin:28px 0 12px;letter-spacing:-.035em}
.woocommerce .op-pdp .op-pdp-preview{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.5;background:#fff2b9;border-radius:13px;padding:12px 15px;color:#614b15;margin:0 0 22px}.op-pdp-preview .op-line-icon{width:16px;height:16px;flex-basis:16px;margin-top:2px}
.woocommerce .op-pdp form.cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0 20px}
.woocommerce div.product.op-pdp form.cart div.quantity{display:flex;flex-direction:row;flex-wrap:nowrap;width:auto;align-items:center;justify-content:center;gap:0;border:1px solid #cacabc;border-radius:999px;background:white;padding:4px;min-height:56px;margin:0!important;flex:0 0 auto}
.woocommerce div.product.op-pdp form.cart div.quantity input.qty{width:42px;flex:0 0 42px;min-width:0;padding:8px 0;text-align:center;border:0;outline-offset:0;background:transparent;font:600 16px var(--op-font-body);appearance:textfield;-moz-appearance:textfield}
.woocommerce .op-pdp .qty::-webkit-inner-spin-button,.woocommerce .op-pdp .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.op-qty-step{flex-shrink:0;width:34px;height:40px;display:grid;place-items:center;background:transparent;border-radius:50%;color:var(--op-deep);font-size:20px;padding:0}
.woocommerce .op-pdp form.cart .single_add_to_cart_button{flex:1;min-height:58px;border-radius:999px;background:#d9f365;color:var(--op-deep);font:600 16px/1.3 var(--op-font-body);padding:16px 22px;border:0;float:none}
.woocommerce .op-pdp form.variations_form{display:block}.woocommerce .op-pdp .woocommerce-variation-add-to-cart{display:flex;gap:12px}.woocommerce .op-pdp .variations{width:100%}
.op-pdp-more{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin:18px 0 30px}.op-pdp-more .op-save-product{margin:0;padding:0;background:none;font-size:14px;color:var(--op-deep);min-height:40px}.op-pdp-more .op-compare-check{padding:0;border:0;margin:0;display:flex;gap:8px;font-size:14px;min-height:40px}.op-pdp-more .op-line-icon{width:18px;height:18px;flex-basis:18px}
.op-pdp-assure{display:grid;grid-template-columns:1fr 1fr;gap:22px 24px;padding:26px 0 0;margin:0;list-style:none;border-top:1px solid #deded2}.op-pdp-assure li{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.4}.op-pdp-assure .op-line-icon{width:20px;height:20px;flex-basis:20px;color:#4b6417;margin-top:2px}.op-pdp-assure strong{display:block;font-weight:600}.op-pdp-assure span{display:block;color:#626858;font-size:13px;margin-top:3px}.op-pdp-assure a{text-decoration:underline}
.woocommerce .op-pdp .op-pdp-body{margin-top:72px}.op-pdp-body h2{font-size:30px;font-weight:700;margin:0 0 20px;letter-spacing:-.035em}.op-pdp-column>section+section{margin-top:48px}
.op-pdp-essentials{padding:0;margin:0;list-style:none}.op-pdp-essentials li{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid #deded2;font-size:17px;line-height:1.4}.op-pdp-essentials li:first-child{border-top:1px solid #deded2}.op-pdp-essentials .op-line-icon{width:26px;height:26px;flex:0 0 26px;padding:5px;border-radius:50%;background:#d9f365;stroke-width:2}
.op-pdp-fit{display:grid;grid-template-columns:1fr 1fr;gap:14px}.op-pdp-fit>div{padding:24px;border-radius:20px;background:#edf7c5}.op-pdp-fit>.op-pdp-fit-mind{background:#f0ead8}.op-pdp-fit h2{font-size:20px;margin-bottom:14px}.op-pdp-fit ul{padding:0;margin:0;list-style:none}.op-pdp-fit li{display:flex;gap:10px;padding-block:7px;font-size:15px;line-height:1.45}.op-pdp-fit .op-line-icon{width:18px;height:18px;flex:0 0 18px;color:#4b6417;margin-top:2px}.op-pdp-fit-mind .op-line-icon{color:#8a6a12}
.op-pdp-specs{padding:34px;border:1px solid #deded2;border-radius:28px;background:#fff;min-width:0}.op-pdp-specs dl{padding:0;margin:0}.op-pdp-specs dl>div{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px;padding:12px 0;border-bottom:1px solid #deded2;font-size:15px;line-height:1.45}.op-pdp-specs dl>div:first-child{border-top:1px solid #deded2}.op-pdp-specs dt{color:#626858}.op-pdp-specs dd{margin:0;overflow-wrap:anywhere}.op-pdp-specs .op2-fine{margin-top:18px}
.op-pdp-faq details{border-bottom:1px solid #cacabc}.op-pdp-faq details:first-of-type{border-top:1px solid #cacabc}.op-pdp-faq summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px 0;font-size:18px;font-weight:600;list-style:none}.op-pdp-faq summary::-webkit-details-marker{display:none}.op-pdp-faq summary .op-line-icon{border:1px solid #deded2;border-radius:50%;padding:6px;width:34px;height:34px;flex-basis:34px;background:white;transition:transform .15s}.op-pdp-faq details[open] summary .op-line-icon{transform:rotate(45deg)}.op-pdp-faq details>p{margin:0 0 24px;font-size:15px;line-height:1.6}
.op-pdp-description,.op-pdp-reviews{clear:both;margin-top:36px;border-top:1px solid #deded2;padding-top:22px}.op-pdp-reviews>summary{font-weight:600;font-size:20px}.op-pdp-reviews #reviews{margin-top:24px}.woocommerce .op-pdp .related{margin-top:60px;padding:35px 0 0;border-top:1px solid #deded2}.woocommerce .op-pdp .related>h2{font-size:clamp(30px,3.5vw,46px);margin-bottom:30px}
@media(max-width:1050px){.op-pdp-assure{grid-template-columns:1fr;gap:16px}.op-pdp-fit{grid-template-columns:1fr}.op-pdp-specs{padding:24px}.woocommerce .op-pdp .op-pdp-tagline{font-size:18px}}
@media(max-width:760px){.woocommerce .op-pdp .op-pdp-top,.woocommerce .op-pdp .op-pdp-body{grid-template-columns:1fr;gap:30px}.woocommerce div.product.op-pdp div.images{position:relative;top:auto}.woocommerce .op-pdp h1.product_title{font-size:34px}.woocommerce .op-pdp .summary>p.price{font-size:36px}.woocommerce .op-pdp .op-pdp-body{margin-top:44px}.op-pdp-fit{grid-template-columns:1fr 1fr}.op-pdp-assure{grid-template-columns:1fr 1fr;gap:20px}.op-pdp-body h2{font-size:27px}.op-pdp-fit h2{font-size:19px}.op-pdp-fit>div{padding:20px}.op-pdp-fit li{font-size:14px}.op-pdp-essentials li{font-size:16px}.op-pdp-specs dl>div{font-size:14px}.op-pdp-more{gap:18px}}
@media(max-width:420px){.op-pdp-fit{grid-template-columns:1fr}.op-pdp-assure{gap:18px 14px}.op-pdp-assure li{font-size:13px;gap:8px}.op-pdp-assure span{font-size:12px}.woocommerce .op-pdp form.cart{gap:8px}.woocommerce .op-pdp form.cart .single_add_to_cart_button{font-size:14px;padding:14px}.op-qty-step{width:28px}.woocommerce div.product.op-pdp form.cart div.quantity input.qty{width:32px;flex-basis:32px}.op-pdp-specs{padding:22px}.op-pdp-more .op-save-product,.op-pdp-more .op-compare-check{font-size:13px}}

/* Delivery preview sits immediately after native add-to-cart, outside its form. */
.op-delivery{margin:20px 0 24px;border:1px solid #deded2;border-radius:18px;overflow:hidden;background:#fff;font-size:14px}
.op-delivery-heading{display:flex;align-items:center;gap:9px;padding:13px 17px;background:#edf1e8;border-bottom:1px solid #deded2}
.op-delivery-heading .op-line-icon{width:18px;height:18px;flex:0 0 18px;color:#4b6417}
.op-delivery-heading strong{font-weight:600}.op-delivery-heading>span{margin-left:auto;color:#626858;font-size:12px}
.op-delivery-body{padding:16px 17px}.op-delivery-ranges{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0 0 14px;color:var(--op-deep);font-weight:600}
.op-delivery-form label{display:block;font-size:13px;line-height:1.5;margin-bottom:8px;color:#626858}
.op-delivery-fields{display:flex;gap:8px;align-items:stretch}
.woocommerce div.product.op-pdp .op-delivery-fields input{width:110px;min-width:0;flex:0 1 110px;border:1px solid #cacabc;border-radius:10px;padding:10px 12px;min-height:44px;font:500 15px var(--op-font-body);background:#fff;color:var(--op-deep)}
.op-delivery-fields button{border-radius:10px;background:var(--op-deep);color:#fff;padding:10px 18px;min-height:44px;font-size:14px;font-weight:600}
.op-delivery-result{font-size:14px;font-weight:600;color:var(--op-deep);margin:12px 0 0}.op-delivery-result:empty{display:none}
.op-delivery-note{font-size:12px;line-height:1.5;color:#626858;margin:12px 0 0}
.op-delivery input[aria-invalid=true]{border-color:#a53924!important}
@media(max-width:420px){.op-delivery-ranges{flex-direction:column;gap:4px}.op-delivery-body{padding:14px}.op-delivery-heading{padding:12px 14px}}

/* Long-form native Woo description: full content width, rich media and classic/block editor content. */
.woocommerce div.product.op-pdp .op-pdp-description{width:100%;max-width:none;margin-top:60px;padding-top:30px;clear:both}
.op-pdp-description>h2{font-size:clamp(26px,3vw,36px);line-height:1.15;margin:0 0 32px;letter-spacing:-.035em}
.op-product-story{display:flow-root;width:100%;max-width:none;min-width:0;font-size:17px;line-height:1.75;overflow-wrap:anywhere}
.op-product-story>:first-child{margin-top:0}.op-product-story>:last-child{margin-bottom:0}
.op-product-story p{max-width:none;margin:0 0 22px}.op-product-story h2{font-size:clamp(28px,3.2vw,42px);margin:40px 0 20px}.op-product-story h3{font-size:clamp(23px,2.4vw,30px);margin:32px 0 16px}.op-product-story h4{font-size:21px;margin:28px 0 14px}
.op-product-story ul,.op-product-story ol{padding-left:1.5em;margin:18px 0 26px}.op-product-story li{margin-bottom:8px}
.op-product-story a:not(.wp-block-button__link){text-decoration:underline;text-underline-offset:3px}
.op-product-story img{max-width:100%;height:auto;border-radius:18px}.op-product-story figure{max-width:100%;margin:28px 0}.op-product-story figcaption,.op-product-story .wp-caption-text{font-size:13px;line-height:1.5;color:#626858;margin:10px 0 0;text-align:center}
.op-product-story .alignwide,.op-product-story .alignfull{width:100%;max-width:100%;margin-inline:0}
.op-product-story .aligncenter{display:block;margin-inline:auto}.op-product-story .alignleft{float:left;margin:8px 28px 22px 0}.op-product-story .alignright{float:right;margin:8px 0 22px 28px}
.op-product-story .wp-caption{max-width:100%}.op-product-story .wp-block-image img{display:block}.op-product-story .wp-block-image.alignwide img,.op-product-story .wp-block-image.alignfull img{width:100%}
.op-product-story .wp-block-columns{gap:32px}.op-product-story .wp-block-column{min-width:0}
.op-product-story .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.op-product-story .gallery.gallery-columns-1{grid-template-columns:1fr}.op-product-story .gallery.gallery-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.op-product-story .gallery-item{width:auto!important;max-width:none!important;float:none!important;margin:0!important}.op-product-story .gallery img{width:100%;height:auto;border:0!important}.op-product-story .gallery br{display:none}
.op-product-story .wp-block-gallery{gap:20px}.op-product-story .wp-block-gallery figure{margin:0}
.op-product-story table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:24px 0}.op-product-story th,.op-product-story td{padding:14px 18px;border:1px solid #deded2;text-align:left;vertical-align:top;min-width:120px}.op-product-story th{background:#edf1e8;font-weight:600}
.op-product-story blockquote{margin:28px 0;padding:20px 26px;border-left:3px solid #90a945;background:#edf1e8;border-radius:0 16px 16px 0}.op-product-story blockquote p:last-child{margin:0}
.op-product-story iframe,.op-product-story video{max-width:100%;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:18px}
@media(max-width:760px){.woocommerce div.product.op-pdp .op-pdp-description{margin-top:40px;padding-top:24px}.op-pdp-description>h2{margin-bottom:24px}.op-product-story{font-size:16px;line-height:1.65}.op-product-story .alignleft,.op-product-story .alignright{float:none;margin:24px auto;max-width:100%}.op-product-story .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.op-product-story .gallery.gallery-columns-1{grid-template-columns:1fr}.op-product-story .wp-block-columns{flex-wrap:wrap!important;gap:24px}.op-product-story .wp-block-column{flex-basis:100%!important}.op-product-story img{border-radius:12px}}

.op-product-story .op-story-feature {
    padding: clamp(22px, 4vw, 48px);
    margin-bottom: 36px;
    background: #edf1e8;
    border: 1px solid #deded2;
    border-radius: 24px;
}
.op-story-with-media {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(20px, 4vw, 52px);
}
.op-story-copy > h3:first-child { margin-top: 0; }
.op-story-copy > :last-child { margin-bottom: 0; }
.op-product-story .op-story-source { font-size: 14px; }
.op-story-images { display: grid; gap: 14px; }
.op-product-story .op-story-images figure { margin: 0; }
.op-product-story .op-story-images img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
    .op-story-with-media { grid-template-columns: minmax(0, 1fr); }
}
