/* Product layout follows the selected Google Store accessories reference.
   These tokens affect presentation only; native WooCommerce hooks remain intact. */
.og-family-fuel{--og-product-pastel:#f9eeeb}
.og-family-power{--og-product-pastel:#eaf1fb}
.og-family-accessories{--og-product-pastel:#f3f4f5}
.opti-store .og-product-subnav{max-width:1600px;width:calc(100% - 48px);margin:12px auto 40px;gap:24px;min-height:68px}
.opti-store .og-product-subnav>span{max-width:none;flex:1;font:500 20px/26px var(--og-font)}
.opti-store .og-product-subnav nav{display:none}
.opti-store .og-product-overview{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;gap:24px;background:none;border-radius:0;padding:0;min-height:0;margin-bottom:0}
.opti-store .og-product-gallery{background:var(--og-product-pastel);border-radius:28px;overflow:hidden;padding:40px 32px;min-height:680px;display:flex;align-items:center;position:relative}
.opti-store .og-product-gallery .woocommerce-product-gallery__image img{height:600px;width:100%;max-width:100%;object-fit:contain;padding:24px;mix-blend-mode:multiply}
.opti-store .og-product-gallery .flex-viewport{border-radius:0}
.opti-store .og-product-gallery .woocommerce-product-gallery__trigger{top:-20px;right:-12px}
.opti-store .og-product-gallery .flex-control-thumbs{margin-top:20px}
.opti-store .og-product-gallery .flex-control-thumbs li{background:#ffffffa6;border:0}
.opti-store .og-product-gallery .flex-control-thumbs .flex-active{outline:2px solid #3c4043;outline-offset:-2px;border-radius:12px}
.opti-store .og-product-summary{padding:24px 0 20px;max-width:none;justify-self:stretch;width:100%}
.opti-store .og-product-summary .product_title{font:500 40px/48px var(--og-font);letter-spacing:normal;margin:0 0 24px;overflow-wrap:anywhere}
.opti-store .og-product-summary .og-eyebrow{font:400 13px/20px var(--og-catalogue-font);color:#5f6368;margin-bottom:16px!important}
.opti-store .og-product-summary .woocommerce-product-details__short-description{font:400 16px/24px var(--og-catalogue-font);margin-block:24px 32px;max-width:none}
.opti-store .og-product-summary .summary{float:none;width:100%;margin:0}
.opti-store .og-product-summary .product_meta{font:400 12px/20px var(--og-catalogue-font);border-top:1px solid #e3e5e7;padding-top:20px;margin-top:28px}
.opti-store .og-product-summary form.cart{gap:16px;align-items:center;margin:28px 0}
.opti-store .og-product-summary form.cart .single_add_to_cart_button{flex:1;min-height:56px;border-radius:32px;padding:16px 28px!important;line-height:24px!important}
.opti-store .og-product-summary .quantity .qty{height:56px;width:80px;border:1px solid #dadce0;border-radius:8px;padding:12px}
.opti-store .og-product-summary .variations select{min-height:52px;padding:12px 44px 12px 16px;border-radius:12px;background-position:right 16px center}
.opti-store .og-product-summary a.button.wsp_button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:48px;border-radius:28px;padding:12px 24px!important;background:#0b57d0!important;color:white!important;font:500 16px/24px var(--og-font)!important;text-align:center;text-decoration:none}
.opti-store .og-product-summary a.button.wsp_button:hover{background:#0842a0!important}
.opti-store .og-trade-notice{max-width:1280px;margin-top:40px}
.opti-store .og-product-narrative{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;margin-block:120px;max-width:1280px;width:80%}
.opti-store .og-product-narrative-copy{padding-inline:0 8%;max-width:520px}
.opti-store .og-product-narrative h2{font:500 40px/48px var(--og-font);letter-spacing:normal;margin-bottom:24px}
.opti-store .og-product-narrative p{font:400 16px/24px var(--og-catalogue-font);margin-bottom:28px}
.opti-store .og-product-narrative-image{background:var(--og-product-pastel);border-radius:28px;overflow:hidden;aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:56px}
.opti-store .og-product-narrative-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.opti-store .og-product-details{max-width:1280px;margin-block:120px}
.opti-store .og-product-details .woocommerce-Tabs-panel{padding-top:8px}
.opti-store .og-product-details .woocommerce-product-attributes th{padding:24px 24px 24px 0;font:500 20px/28px var(--og-font);width:35%}
.opti-store .og-product-details .woocommerce-product-attributes td{padding:24px 0;font:400 16px/24px var(--og-catalogue-font)}
.opti-store .og-product-details .woocommerce-product-attributes td p{margin:0}
@media(min-width:1600px){.opti-store .og-product-gallery{min-height:740px}.opti-store .og-product-gallery .woocommerce-product-gallery__image img{height:660px}.opti-store .og-product-summary{padding-inline:16px}}
@media(max-width:1150px){.opti-store .og-product-overview{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px}.opti-store .og-product-gallery{min-height:560px;padding:28px 20px}.opti-store .og-product-gallery .woocommerce-product-gallery__image img{height:500px;padding:12px}.opti-store .og-product-summary{padding-top:24px}.opti-store .og-product-summary .product_title{font-size:32px;line-height:40px}.opti-store .og-product-narrative{gap:48px}}
@media(max-width:800px){.opti-store .og-product-subnav{width:calc(100% - 40px);margin:0 auto 24px;gap:16px;min-height:0}.opti-store .og-product-subnav>span{font-size:16px;line-height:22px}.opti-store .og-product-overview{display:flex;flex-direction:column;gap:0;width:calc(100% - 32px)}.opti-store .og-product-gallery{min-height:0;width:100%;padding:24px 16px;border-radius:24px}.opti-store .og-product-gallery .woocommerce-product-gallery__image img{height:420px;padding:12px}.opti-store .og-product-gallery .woocommerce-product-gallery__trigger{top:-8px;right:0}.opti-store .og-product-summary{padding:32px 8px 0;max-width:none}.opti-store .og-product-summary .product_title{font-size:32px;line-height:40px}.opti-store .og-product-summary .og-eyebrow{margin-bottom:12px!important}.opti-store .og-product-narrative{grid-template-columns:1fr;gap:32px;margin-block:80px;width:calc(100% - 48px)}.opti-store .og-product-narrative h2{font-size:32px;line-height:40px}.opti-store .og-product-narrative-copy{padding:0;max-width:none}.opti-store .og-product-narrative-image{padding:40px;aspect-ratio:1.15}.opti-store .og-product-details{margin-block:80px}.opti-store .og-trade-notice{width:calc(100% - 32px)}}
@media(max-width:480px){.opti-store .og-product-narrative h2{font-size:24px;line-height:30px}.opti-store .og-product-subnav>.og-button{display:none}.opti-store .og-product-gallery .woocommerce-product-gallery__image img{height:330px;padding:16px}.opti-store .og-product-summary .product_title{font-size:24px;line-height:30px}.opti-store .og-product-narrative{margin-block:64px}.opti-store .og-product-narrative-image{padding:28px}.opti-store .og-product-details{margin-block:64px}.opti-store .og-product-details .woocommerce-product-attributes th{font-size:16px;line-height:24px;width:40%;padding-right:20px}.opti-store .og-product-details .woocommerce-product-attributes td{font-size:14px;line-height:22px}}

/* Compact native trade-registration copy stays on one line in comparison/product columns. */
.opti-store .og-trade-register-price{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:14px!important;line-height:20px!important}
.opti-store .og-compare-table tbody td a.og-trade-register-price{display:inline-flex;align-items:center;justify-content:center;min-height:44px!important;max-width:100%;padding:10px 14px!important;border:0;border-radius:28px;background:#0b57d0!important;color:#fff!important;font-size:13px!important;line-height:20px!important;text-decoration:none}
.opti-store .og-compare-table tbody td a.og-trade-register-price:hover{background:#0842a0!important}
.opti-store .og-product-summary a.og-trade-register-price{font-size:14px!important;white-space:nowrap!important}

/* Clear product/RRP columns; the legacy retailer map is deliberately unchanged. */
.opti-store .og-description-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.45fr);gap:48px;align-items:center;padding:36px 40px;margin:0 0 56px;border:0;border-radius:28px;background:#f7f8f8}
.opti-store .og-description-title .og-eyebrow{font:500 13px/20px var(--og-font);color:#5f6368;margin:0 0 14px;letter-spacing:.02em}
.opti-store .og-description-title h2{font:500 30px/38px var(--og-font);margin:0;letter-spacing:-.02em;max-width:720px;overflow-wrap:normal}
.og-rrp-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;justify-self:end;min-width:200px}
.og-rrp-label{display:inline-flex;align-items:center;min-height:28px;padding:4px 14px;border-radius:999px;background:#e7ebeb;color:#4b5356;font:500 12px/20px var(--og-font);letter-spacing:.04em}
.og-rrp-amount{font:500 48px/54px var(--og-font);letter-spacing:-.035em;color:#202124;white-space:nowrap}
.og-rrp-caption{font:400 12px/18px var(--og-catalogue-font);color:#747775}
.og-description-content:empty{display:none}
.opti-store .og-compare-image{display:flex;align-items:center;justify-content:center;width:100%;height:180px;padding:20px;margin-bottom:24px;background:#f5f6f6;border-radius:24px;overflow:hidden;isolation:isolate}
.opti-store .og-compare-table thead .og-compare-image img{display:block;width:100%;height:100%;object-fit:contain;padding:0;margin:0;border-radius:0;background:transparent;mix-blend-mode:multiply}
@media(max-width:800px){.opti-store .og-description-summary{gap:28px;padding:28px;grid-template-columns:minmax(0,1fr) 180px}.opti-store .og-description-title h2{font-size:24px;line-height:32px}.og-rrp-card{min-width:0}.og-rrp-amount{font-size:42px;line-height:48px}}
@media(max-width:600px){.opti-store .og-description-summary{grid-template-columns:1fr;gap:24px;padding:24px;border-radius:24px;margin-bottom:40px}.og-rrp-card{justify-self:start;gap:8px}.opti-store .og-description-title h2{font-size:23px;line-height:30px}.og-rrp-amount{font-size:42px;line-height:48px}}

/* Keep the summary compact and give prose-to-feature transitions a paragraph break. */
.opti-store .og-product-summary .woocommerce-product-details__short-description>:is(p,ul,ol){margin-top:0;margin-bottom:20px}
.opti-store .og-product-summary .woocommerce-product-details__short-description>p:has(+ul,+ol){margin-bottom:12px}
.opti-store .og-product-summary .woocommerce-product-details__short-description>:last-child{margin-bottom:0}
.opti-store .og-product-gallery .og-product-volume{position:absolute;top:20px;right:20px;z-index:3;background:#f3ded9}
.opti-store [data-brand-tone="wave"] .og-product-gallery .og-product-volume{background:#d9e7df}
@media(max-width:800px){.opti-store .og-product-gallery .og-product-volume{top:16px;right:16px}}

/* Desktop reading measure: leave calm space at the outside edge of the summary. */
@media(min-width:1151px){
 .opti-store .og-product-summary .summary{width:80%;max-width:560px}
}

/* Wave Pro's existing distributor action is distinct from native trade access. */
.opti-store .og-product-summary a.og-order-direct{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:0;border-radius:999px;background:#006a70;color:#fff;font:500 14px/20px var(--og-font);text-decoration:none;white-space:nowrap;vertical-align:middle;transition:background .18s ease}
.opti-store .og-product-summary a.og-order-direct:hover{background:#00565b;color:#fff;text-decoration:none}
.opti-store .og-product-summary a.og-order-direct:focus-visible{outline:2px solid #006a70;outline-offset:3px}
.opti-store .og-product-summary a.og-order-direct .og-icon{display:block;flex:none;width:18px;height:18px;margin:0;color:inherit}
.opti-store .og-product-summary a.og-order-direct .og-icon svg{display:block;width:18px;height:18px}

/* Original brand marks, used as decorative watermarks behind the product. */
.opti-store .og-product-gallery::before{content:"";position:absolute;left:6%;bottom:6%;width:88%;height:clamp(48px,9vw,128px);background:#a52f32;opacity:.10;mask:var(--og-gallery-mark) center / contain no-repeat;-webkit-mask:var(--og-gallery-mark) center / contain no-repeat;pointer-events:none}
.opti-store .og-family-fuel .og-product-gallery{--og-gallery-mark:url("optifuel-mark.svg?v=2")}
.opti-store .og-family-power .og-product-gallery{--og-gallery-mark:url("optipower-mark.svg")}
.opti-store .og-family-power .og-product-gallery::before{background:#0b57d0;left:-10%;width:120%;height:clamp(85px,15vw,200px);bottom:1%;opacity:.10}
.opti-store [data-brand-tone="wave"] .og-product-gallery::before{background:#006a70}
.opti-store .og-product-gallery .woocommerce-product-gallery{position:relative}
/* OptiFuel is deliberately oversized as a faint background brand mark. */
.opti-store .og-family-fuel .og-product-gallery::before{left:-10%;width:120%;height:clamp(85px,15vw,200px);bottom:1%;opacity:.16}
/* Darken keeps white image backdrops invisible while preventing the mark showing through the product. */
.opti-store .og-family-fuel .og-product-gallery .woocommerce-product-gallery__image img{mix-blend-mode:darken}

/* Keep product actions compact and the metadata easy to scan. */
.opti-store .og-product-summary .price.og-product-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:24px 0 0}
.opti-store .og-product-summary .price.og-product-actions a.og-order-direct,.opti-store .og-product-summary .price.og-product-actions a.button.wsp_button{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;width:165px;max-width:100%;min-height:44px!important;padding:10px 18px!important;border:0!important;border-radius:999px!important;font:500 14px/20px var(--og-font)!important;white-space:nowrap;text-decoration:none}
.opti-store .og-product-overview[data-brand-tone="wave"] .price.og-product-actions a.button.wsp_button{background:#164d50!important;color:#fff!important}
.opti-store .og-product-overview[data-brand-tone="wave"] .price.og-product-actions a.button.wsp_button:hover{background:#103d40!important}
/* Product detail metadata shows the part number only; taxonomy remains available to the shop. */
.opti-store .og-product-summary .product_meta{border:0;padding-top:0;margin-top:28px;display:block}
.opti-store .og-product-summary .product_meta>span{display:block;min-width:0;overflow-wrap:anywhere}
.opti-store .og-product-summary .product_meta>.posted_in,
.opti-store .og-product-summary .product_meta>.tagged_as{display:none}

/* Lifestyle images fill only the secondary support panel, without tinting or cropping. */
.opti-store .og-product-narrative-image.og-has-lifestyle{padding:0;aspect-ratio:1}
.opti-store .og-product-narrative-image.og-has-lifestyle img{display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:normal}

/* A square image stage keeps differing source canvases from being enlarged
   by the wide comparison cell. It preserves each product's proportions. */
.opti-store .og-compare-table thead .og-compare-image img{width:140px;max-width:100%;height:140px;object-fit:contain;transform:none}

/* Give the product overview and the retailer section breathing room. */
.opti-store .og-product-rrp-section{padding-top:64px}
@media(max-width:800px){.opti-store .og-product-rrp-section{padding-top:40px}}

/* Both wholesale integrations can render this product registration link. */
body.opti-store .og-product-summary .price a.og-trade-register-price {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-sizing: border-box;
    width: auto !important;
    max-width: 100%;
    min-height: 44px !important;
    padding: 6px 6px 6px 16px !important;
    border: 0;
    border-radius: 999px;
    font: 500 13px/20px var(--og-font) !important;
    text-align: start;
    text-decoration: none;
    white-space: normal !important;
}
body.opti-store .og-product-summary .og-trade-price-icon {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgb(255 255 255 / .18);
    color: inherit;
}
body.opti-store .og-product-summary .og-trade-price-icon .og-icon{display:flex;align-items:center;justify-content:center;width:17px;height:17px;line-height:1}
body.opti-store .og-product-summary .og-trade-price-icon svg{display:block;width:17px;height:17px;flex:none}
body.opti-store .og-product-summary .og-trade-price-note{font:400 12px/18px var(--og-font);max-width:350px;margin:8px 0 24px;color:var(--og-muted,#5f6368)}
body.opti-store .og-product-summary .woocommerce-product-details__short-description>p:empty{display:none}
.og-product-rrp-section>.og-fuel-transition-note{width:100%;box-sizing:border-box;margin-inline:0}
