/* v1.57.0 – shared public product details; no checkout overrides. */
.opti-pd-full{grid-column:1/-1;min-width:0}.opti-pd-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0 12px;border-bottom:1px solid #d7e5e9}.opti-pd-tabs button{font:inherit;font-size:.88rem;font-weight:800;color:#123746;background:#f2f8fa;border:1px solid #d7e5e9;border-radius:12px;padding:12px 16px;cursor:pointer;min-height:44px}.opti-pd-tabs button[aria-selected=true]{color:#fff;background:#123746;border-color:#123746}.opti-pd-tabs button:focus-visible,.opti-pd-zoom-trigger:focus-visible,.opti-pd-nav button:focus-visible{outline:3px solid #13a6ba;outline-offset:3px}.opti-pd-panel{padding:18px 0;min-width:0}.opti-pd-panel[hidden]{display:none!important}.opti-pd-panel .product-detail-section{margin:0}.opti-pd-panel .product-detail-description p,.opti-pd-panel .pd-copy{font-size:1rem;line-height:1.75;overflow-wrap:anywhere}.product-detail-shell{overflow:visible}.product-detail-topbar{position:sticky;top:0;z-index:4;background:#fff;border-radius:30px 30px 0 0;padding:16px 24px;border-bottom:1px solid #e0eaed}.product-detail-media-column{position:static}.product-detail-visual,.product-detail-media-column .product-detail-visual,.pd-main{position:relative;display:grid;place-items:center;width:100%;min-height:0;height:auto;aspect-ratio:4/3;padding:14px;border:1px solid #d7e5e9;cursor:zoom-in;background:#f5fafb;overflow:hidden}.product-detail-visual img,.product-detail-visual.is-cover img,.pd-main img{display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain!important;object-position:center;border-radius:0}.product-detail-gallery-button.is-cover img,.pd-gallery .pd-thumb img{object-fit:contain!important}.opti-pd-zoom-hint{position:absolute;bottom:9px;right:9px;background:rgba(255,255,255,.95);color:#123746;border:1px solid #d7e5e9;border-radius:999px;font-size:.74rem;font-weight:800;padding:7px 12px;pointer-events:none}.opti-pd-zoom-trigger:disabled{cursor:default}.opti-pd-zoom-trigger:disabled .opti-pd-zoom-hint{display:none}.opti-pd-zoom{width:min(96vw,1200px);max-width:96vw;max-height:94dvh;padding:0;border:1px solid #d7e5e9;border-radius:18px;background:#fff;color:#123746;overflow:auto}.opti-pd-zoom::backdrop{background:rgba(3,18,26,.88)}.opti-pd-zoom-head{position:sticky;top:0;display:flex;justify-content:flex-end;background:#fff;padding:8px;z-index:1}.opti-pd-zoom-head button,.opti-pd-nav button{width:44px;height:44px;border:1px solid #d7e5e9;border-radius:50%;background:#f2f8fa;color:#123746;font-size:22px;cursor:pointer}.opti-pd-zoom-image{display:grid;place-items:center;padding:0 16px 16px}.opti-pd-zoom-image img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(94dvh - 80px);object-fit:contain}.opti-pd-nav{display:flex;gap:6px;flex-shrink:0}.opti-pd-nav button:disabled{opacity:.45;cursor:default}.product-detail-sheet .sheet-head{align-items:center}.product-detail-sheet .sheet-head>div:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}.product-detail-sheet .pd-actions{position:static;grid-template-columns:minmax(0,1fr) auto;align-items:center}.product-detail-sheet .opti-pd-full .pd-actions{grid-template-columns:minmax(0,1fr) auto auto}.opti-pd-status{color:#05674f;font-size:.85rem;font-weight:700;min-height:1.2em;margin:8px 0}.product-detail-content .product-detail-actions{margin-top:12px}.product-detail-content .product-detail-pricebar{margin-bottom:8px}.product-detail-content .product-detail-actions,.opti-pd-full .product-detail-actions{align-items:end}.product-detail-content .product-detail-section{margin-top:12px}
@media(max-width:760px){.product-detail-topbar{padding:12px 16px;border-radius:0}.product-detail-layout{grid-template-columns:1fr}.product-detail-visual,.product-detail-media-column .product-detail-visual,.pd-main{aspect-ratio:4/3;min-height:0;height:auto}.product-detail-visual img{max-height:100%}.product-detail-sheet .sheet-head{padding:10px;gap:8px}.opti-pd-nav button{width:36px;height:36px;font-size:18px}.product-detail-sheet .sheet-head h2{font-size:1.1rem}.product-detail-sheet .pd-actions,.product-detail-sheet .opti-pd-full .pd-actions{grid-template-columns:1fr}.opti-pd-tabs{gap:5px}.opti-pd-tabs button{flex:1 1 auto;padding:10px 8px;font-size:.78rem}.opti-pd-full .product-detail-actions{grid-template-columns:92px minmax(0,1fr)}}

.opti-pd-zoom-trigger{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.opti-pd-zoom-trigger img{min-width:0;min-height:0}.product-detail-overlay.is-open{place-items:start center}.product-detail-shell{margin:0 auto}.product-detail-sheet{width:min(1120px,100%)}

/* v1.57.1 – portal adapter, scoped to product detail only. */
.x0 .opx-portal-pd .x3.opx-shop-detail-card{width:min(1120px,100%)!important;max-width:1120px!important;max-height:calc(100dvh - 40px)!important;overflow-x:hidden!important;overflow-y:auto!important;padding:0!important;scrollbar-gutter:stable;touch-action:pan-y}
.x0 .opx-portal-pd .opx-portal-pd-head{position:sticky;top:0;z-index:5;align-items:center;background:#fff;margin:0!important;gap:12px;padding:16px 24px!important;box-shadow:0 3px 12px #0827370d}
.x0 .opx-portal-pd .opx-portal-pd-head>div:first-child{min-width:0;flex:1;overflow-wrap:anywhere}
.x0 .opx-portal-pd .opx-shop-detail-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;align-items:start!important}
.x0 .opx-portal-pd .opx-portal-pd-full{padding:0;min-width:0;color:#123746}
.x0 .opx-portal-pd .opti-pd-panel{color:#294957;overflow-wrap:anywhere;line-height:1.7}
.x0 .opx-portal-pd .opti-pd-panel h3{margin:12px 0 6px;font-size:1.05rem;color:#082737}
.x0 .opx-portal-pd .opx-portal-pd-specs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px;margin:0 0 18px;padding:14px;background:#f2f8fa;border-radius:12px}
.x0 .opx-portal-pd .opx-portal-pd-specs dd{margin:0;overflow-wrap:anywhere}
.x0 .opx-portal-pd .opx-portal-pd-specs dt{font-weight:750}
.x0 .opx-portal-pd .x7b .x7{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.x0 .opx-portal-pd .x7b .x7 button{min-height:44px;white-space:normal}
.x0 .opx-portal-pd .opx-portal-pd-bottom .x7b{margin-top:12px}
.x0 .opx-portal-pd .opx-portal-pd-bottom .x1i{grid-template-columns:minmax(0,1fr) minmax(100px,200px)}
@media(max-width:760px){.x0 .opx-portal-pd{padding:8px!important}.x0 .opx-portal-pd .x3.opx-shop-detail-card{width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:16px!important}.x0 .opx-portal-pd .opx-portal-pd-head{padding:12px!important;gap:6px}.x0 .opx-portal-pd .opx-portal-pd-head h2{font-size:1.05rem!important}.x0 .opx-portal-pd .opx-portal-pd-head p{font-size:.72rem}.x0 .opx-portal-pd .opx-shop-detail-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:14px!important}.x0 .opx-portal-pd .opx-portal-pd-head .opti-pd-nav button{flex:0 0 36px!important;width:36px!important;height:36px!important}.x0 .opx-portal-pd .x7b .x7{grid-template-columns:1fr!important}.x0 .opx-portal-pd .x7b{padding:12px!important}.x0 .opx-portal-pd .x1i>span{padding:9px!important;min-width:0}.x0 .opx-portal-pd .opx-portal-pd-bottom .x1i{grid-template-columns:minmax(0,1fr) minmax(90px,120px)}}
