#productModal{width:min(900px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid #35342e;border-radius:20px;background:#161615;overflow:auto;box-shadow:0 28px 100px #0009}
#productModal::backdrop{background:#000b;backdrop-filter:blur(8px)}
#productModal>.close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #383833;border-radius:50%;background:#22221f;color:#d8d5cc;font-size:22px;line-height:1;z-index:2}
#productModal>.close:hover{background:#37362e;color:#fff}
#productDetail{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px;align-items:start}
#productDetail>.product-gallery{align-self:start;border-radius:12px}
#productDetail>img{height:auto;aspect-ratio:4/5;border-radius:12px;object-fit:contain;background:white}
.product-summary{padding:22px 10px 6px 0;min-width:0}
.product-eyebrow{display:block;font-size:9px;line-height:1.8;letter-spacing:1.5px;color:#d3c6a9}
.product-eyebrow span{color:#87857c;white-space:nowrap}
#productDetail h2{font-size:clamp(24px,2.5vw,30px);font-weight:500;line-height:1.15;letter-spacing:-.8px;margin:16px 0 9px;color:#f5f1e8;text-wrap:balance}
.model-edition{display:inline-block;padding:5px 9px;border:1px solid #3b362b;border-radius:5px;color:#cbbd9e;font-size:10px;letter-spacing:.6px}
#productDetail .product-description{font-size:12px;line-height:1.6;color:#a4a39a;margin:12px 0 18px}
.product-price{font-size:28px;line-height:1.2;font-weight:500;letter-spacing:-.6px;color:#eee3cd;padding-bottom:18px;border-bottom:1px solid #33322c}
.product-price small{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:#8e8c82;margin-top:8px}
.size-heading{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#ddd9ce;margin-top:18px}
.size-heading span:last-child{font-size:11px;color:#86847a}
#productDetail .sizes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:11px 0 18px}
#productDetail .sizes button{min-height:42px;border:1px solid #3c3b34;border-radius:7px;background:#1d1d1a;color:#b9b6ab;font-size:13px;transition:background .15s,border-color .15s}
#productDetail .sizes button:hover{border-color:#b9a989;color:#fff}
#productDetail .sizes button.chosen{background:#e8dfcc;border-color:#e8dfcc;color:#1a1916;font-weight:600}
#productDetail .primary{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:50px;margin:0;padding:14px 18px;border:1px solid #e8dfcc;border-radius:8px;background:#e8dfcc;color:#1a1916;font-size:13px;font-weight:600}
#productDetail .primary:hover{background:#fff1d7}
#productDetail .primary span{font-size:19px}
#productDetail .demo{font-size:10px;line-height:1.6;text-align:center;color:#89867c;margin-top:13px}
#productDetail .gallery-count{background:#171716c9}
#productDetail .color-options{gap:7px;margin-top:10px}
#productDetail .color-option{display:flex;align-items:center;gap:7px;width:auto;min-height:36px;height:auto;border-radius:7px;padding:7px 10px;border:1px solid #3b382f;background:#1c1b18}
#productDetail .color-option span{flex-shrink:0;width:15px;height:15px}
#productDetail .color-option em{font-style:normal;font-size:11px;line-height:1.4;color:#aaa394}
#productDetail .color-option.selected{padding:7px 10px;border:1px solid #c6b695;background:#2a261e}
#productDetail .color-option.selected em{color:#e8dfcc}
#productDetail .share-product{display:flex;justify-content:center;align-items:center;gap:8px;min-height:40px;margin-top:8px;padding:10px;background:transparent;border:0;border-radius:7px;color:#bfb49c;font-size:12px}
#productDetail .share-product:hover{background:#26231d;color:#eadfc9}
#productDetail .share-product svg{flex-shrink:0}
#productDetail .demo{margin-top:6px;font-size:9px}
#productDetail .purchase-info{margin-top:16px;padding-top:13px;font-size:11px}
#productDetail .gallery-dots button.current::after{background:#27251f}
@media(max-width:700px){#productModal{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:14px;border-radius:16px}#productDetail{grid-template-columns:minmax(0,1fr);gap:0}#productDetail>.product-gallery,#productDetail>img{width:100%;max-width:320px;justify-self:center;border-radius:10px}.product-summary{padding:24px 8px 10px}#productDetail h2{font-size:26px;margin:12px 0}.product-price{font-size:25px;padding-bottom:20px}.size-heading{margin-top:20px}#productDetail .product-description{margin-bottom:18px}#productModal>.close{position:sticky;top:0;float:right;margin:0 0 -32px;right:0;transform:translate(-2px,2px)}}
@media(prefers-reduced-motion:reduce){#productDetail .sizes button{transition:none}}
