/* Shared product detail layout. Existing cart and wishlist hooks are preserved. */
.pdp-refined {padding-bottom:32px;color:#173247}
.pdp-refined .container {max-width:1280px}
.pdp-refined .breadcrumbs {margin-bottom:20px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.pdp-refined .pdp-heading {margin:0 0 24px;max-width:1000px}
.pdp-refined .pdp-title-row {display:block!important;margin:0 0 14px!important;font-size:30px!important;line-height:1.25!important;font-weight:750;max-height:none!important;overflow:visible!important}
.pdp-refined .pdp-title-text {display:block!important;white-space:normal!important;overflow:visible!important;max-height:none!important;-webkit-line-clamp:unset!important;mask-image:none!important;-webkit-mask-image:none!important;overflow-wrap:anywhere}
.pdp-refined .pdp-title-text:after,.pdp-refined .pdp-title-row:after {display:none!important}
.pdp-refined .pdp-meta {display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.pdp-refined .pdp-meta-link {font-size:14px;color:#426575}
.pdp-refined .pdp-grid {display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;gap:24px!important;align-items:start}
.pdp-refined .pdp-gallery {grid-column:1;grid-row:1;min-width:0;display:grid!important;grid-template-columns:64px minmax(0,1fr);gap:12px;position:static!important}
.pdp-refined .pdp-thumbs {display:flex!important;flex-direction:column;gap:10px;position:static;overflow:auto}
.pdp-refined .pdp-thumb {width:64px;height:72px;border:1px solid #dce5e9;border-radius:12px;background:#fff;padding:5px;flex-shrink:0}
.pdp-refined .pdp-thumb.is-active {border:2px solid #197d76}
.pdp-refined .pdp-thumb img {width:100%;height:100%;object-fit:contain}
.pdp-refined .pdp-main {height:530px!important;min-height:0!important;width:100%;border-radius:20px;background:#fff;position:relative;overflow:hidden;border:1px solid #e5ebef}
.pdp-refined #pdpMainImage {width:100%!important;height:100%!important;object-fit:contain!important;max-height:none!important;padding:26px 20px 56px;box-sizing:border-box;cursor:zoom-in}
.pdp-refined .pdp-zoom-button {position:absolute;bottom:15px;left:50%;transform:translateX(-50%);border:0;border-radius:8px;padding:9px 12px;background:#f0f5f5;color:#2c625f;font-size:13px;white-space:nowrap;cursor:pointer;z-index:3}
.pdp-refined .pdp-mtop {display:none!important}
.pdp-refined .pdp-dots {bottom:48px!important}
.pdp-refined .pdp-buy {grid-column:2;grid-row:1;position:static!important;top:auto;min-width:0;display:flex!important;flex-direction:column;gap:16px}
.pdp-refined .pdp-key-card,.pdp-refined .pdp-buy-card {background:#fff;border:1px solid #e5ebef;border-radius:20px;padding:24px;box-shadow:none}
.pdp-refined .pdp-key-card h2 {font-size:18px;margin:0 0 16px;line-height:1.3}
.pdp-refined .pdp-key-facts {display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin:0 0 18px}
.pdp-refined .pdp-key-facts dt {color:#667e8c;font-size:13px;line-height:1.35;margin-bottom:5px}
.pdp-refined .pdp-key-facts dd {font-size:17px;line-height:1.4;font-weight:650;margin:0;overflow-wrap:anywhere}
.pdp-refined .pdp-key-card>a {font-size:14px;color:#197d76;text-decoration:none;font-weight:600}
.pdp-refined .pdp-price {font-size:34px;line-height:1.2;margin-bottom:8px;font-weight:750}
.pdp-refined .pdp-availability-note {font-size:13px;color:#667e8c;line-height:1.5;margin:0 0 18px}
.pdp-refined .pdp-delivery {font-size:14px;line-height:1.65;margin:0 0 20px;padding:16px 0;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3}
.pdp-refined .pdp-delivery .pdp-muted {font-size:12px;line-height:1.5}
.pdp-refined .buy-actions .btn {min-height:48px;border-radius:12px;font-size:15px;font-weight:650}
.pdp-refined .buy-actions .btn-primary {background:#197d76;color:white;border-color:#197d76}
.pdp-refined .buy-actions .btn-buy-now {color:#197d76;background:white;border:1px solid #bfd5d3;margin-top:10px}
.pdp-refined .buy-qty-inline {border-radius:12px;overflow:hidden}
.pdp-refined .pdp-buy-note {margin-top:14px;font-size:13px;line-height:1.5;color:#667e8c}
.pdp-refined .pdp-info {display:block!important;grid-column:1/-1;grid-row:2;padding:24px!important;background:#fff;border:1px solid #e5ebef;border-radius:20px;min-width:0;scroll-margin-top:24px}
.pdp-refined .pdp-tabs {display:flex!important;gap:8px;overflow-x:auto;border-bottom:1px solid #edf1f3;padding-bottom:16px;margin-bottom:22px;flex-wrap:wrap}
.pdp-refined .pdp-tab {flex-shrink:0;border:1px solid #dce5e9;border-radius:10px;padding:11px 18px;font-size:14px;background:#fff;color:#426575;cursor:pointer;min-height:44px}
.pdp-refined .pdp-tab.is-active {background:#edf7f5;border-color:#197d76;color:#146b65;box-shadow:none}
.pdp-refined .pdp-panel {display:none}
.pdp-refined .pdp-panel.is-active {display:block}
.pdp-refined .pdp-text {font-size:16px;line-height:1.8;max-width:900px;overflow-wrap:anywhere}
.pdp-refined .pdp-desc.is-collapsed {max-height:300px;overflow:hidden;display:block;-webkit-line-clamp:unset}
.pdp-refined .pdp-desc:not(.is-collapsed) {max-height:none;overflow:visible;display:block;-webkit-line-clamp:unset}
.pdp-refined .pdp-more {padding:10px 0;margin-top:10px;color:#197d76;font-size:14px;min-height:44px}
.pdp-refined .pdp-spec-table {max-width:880px;margin:0;font-size:15px}
.pdp-refined .pdp-spec-table>div {display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,1.3fr);gap:24px;padding:14px 0;border-bottom:1px solid #edf1f3;line-height:1.5}
.pdp-refined .pdp-spec-table dt {color:#667e8c}
.pdp-refined .pdp-spec-table dd {margin:0;font-weight:550;overflow-wrap:anywhere}
.pdp-refined .pdp-spec-remaining {margin-top:20px}
.pdp-refined .pdp-reco {margin-top:36px}
.pdp-refined .pdp-h2 {font-size:24px;line-height:1.3;margin-bottom:20px}
.pdp-refined .pdp-mobile-dock {display:none}
.pdp-refined .pdp-lightbox {width:min(1100px,94vw);height:min(850px,90dvh);max-width:94vw;max-height:90dvh;border:0;border-radius:16px;padding:40px 15px 15px;background:white;box-sizing:border-box}
.pdp-refined .pdp-lightbox:not([open]) {display:none}
.pdp-refined .pdp-lightbox::backdrop {background:rgba(12,29,40,.78)}
.pdp-refined .pdp-lightbox img {display:block;width:100%;height:100%;object-fit:contain}
.pdp-refined .pdp-lightbox button {position:absolute;right:10px;top:8px;width:40px;height:36px;border:0;border-radius:8px;background:#edf3f4;color:#173247;font-size:20px;cursor:pointer}
.pdp-refined :is(button,a,input,select,textarea):focus-visible {outline:3px solid #349c93;outline-offset:3px}
@media(max-width:1050px) and (min-width:821px) {.pdp-refined .pdp-main{height:470px!important}.pdp-refined .pdp-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr)!important;gap:18px!important}.pdp-refined .pdp-key-card,.pdp-refined .pdp-buy-card{padding:20px}}
@media(max-width:820px) {
 .pdp-refined{padding-top:12px;padding-bottom:100px}
 .pdp-refined .container{padding-left:16px;padding-right:16px}
 .pdp-refined .breadcrumbs{font-size:12px;margin-bottom:14px}
 .pdp-refined .pdp-heading{display:block!important;margin-bottom:18px}
 .pdp-refined .pdp-title-row{font-size:23px!important;line-height:1.3!important;margin-bottom:12px!important}
 .pdp-refined .pdp-grid{display:flex!important;flex-direction:column;gap:18px!important}
 .pdp-refined .pdp-gallery{display:flex!important;flex-direction:column;width:100%;order:1;gap:10px}
 .pdp-refined .pdp-main{height:360px!important;order:1;border-radius:16px}
 .pdp-refined .pdp-thumbs{order:2;flex-direction:row;gap:8px;max-width:100%}
 .pdp-refined .pdp-thumb{width:54px;height:58px;border-radius:9px}
 .pdp-refined #pdpMainImage{padding:18px 16px 58px}
 .pdp-refined .pdp-buy{order:2;display:flex!important;width:100%;gap:14px}
 .pdp-refined .pdp-buy-card{order:1;padding:20px;border-radius:16px}
 .pdp-refined .pdp-key-card{order:2;padding:20px;border-radius:16px}
 .pdp-refined .pdp-price{font-size:30px}
 .pdp-refined .pdp-info{order:3;width:100%;padding:20px!important;box-sizing:border-box;border-radius:16px}
 .pdp-refined .pdp-tabs{gap:6px;flex-wrap:nowrap;margin-bottom:18px}
 .pdp-refined .pdp-tab{padding:10px 13px;font-size:13px}
 .pdp-refined .pdp-text{font-size:15px;line-height:1.75}
 .pdp-refined .pdp-spec-table>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;font-size:14px;padding:12px 0}
 .pdp-refined .pdp-key-facts dd{font-size:16px}
 .pdp-refined #pdpPurchase{scroll-margin-top:16px}
 .pdp-refined .pdp-mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;align-items:center;justify-content:space-between;gap:16px;background:#fff;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e1e9ec;box-shadow:0 -3px 20px #1732470c;z-index:50}
 .pdp-refined .pdp-mobile-dock strong{font-size:22px;white-space:nowrap}
 .pdp-refined .pdp-mobile-dock a{min-height:46px;display:flex;align-items:center;justify-content:center;min-width:150px;border-radius:12px;background:#197d76;color:white;text-decoration:none}
 .pdp-refined .pdp-h2{font-size:22px}
 .pdp-refined .pdp-mtop,.pdp-refined .pdp-mobile-buy{display:none!important}
}
@media(prefers-reduced-motion:reduce){.pdp-refined *{scroll-behavior:auto!important}}

.pdp-refined .pdp-buy-card{order:1}.pdp-refined .pdp-key-card{order:2}.pdp-refined .pdp-buy-card .pdp-delivery{margin:18px 0 0;padding-bottom:0;border-bottom:0}
