.edition-badge{display:inline-block;width:fit-content;background:#ffe64c;color:#10151e;border-radius:5px;padding:5px 9px;font-size:10px;line-height:1.2;font-weight:900;letter-spacing:.07em;text-transform:uppercase;margin:0 0 12px;transform:rotate(-2deg)}
.card .edition-badge{margin-left:8px;font-size:9px;padding:4px 6px;vertical-align:middle}
#productDialog{width:min(1100px,96vw);max-height:92dvh;overflow:auto}
.enhanced-product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start}
.product-gallery{min-width:0;background:#fff;padding:18px;color:#131923}
.gallery-stage{position:relative;background:#fff;border-radius:12px;overflow:hidden}
.gallery-stage .dialog-photo{padding:0;width:100%;height:auto!important;min-height:0!important;aspect-ratio:1/1;display:grid;place-items:center;background:#fff;border-radius:0}
.gallery-stage .dialog-photo img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;max-height:100%!important}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:38px;height:44px;display:grid;place-items:center;border:1px solid #d9dce1;border-radius:50%;background:#fffffff0;color:#10151e;font:30px/1 sans-serif;cursor:pointer}
.gallery-arrow.previous{left:8px}.gallery-arrow.next{right:8px}
.gallery-caption{display:flex;justify-content:space-between;font-size:12px;padding:10px 2px;font-weight:700;color:#5d6470}.gallery-caption a{color:#252e3d;text-decoration:underline}
.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:5px 2px 12px;scrollbar-width:thin}
.gallery-thumbs button{flex:0 0 66px;width:66px;height:66px;border:2px solid #e2e5e9;border-radius:9px;background:#fff;padding:3px;cursor:pointer}
.gallery-thumbs button.selected{border-color:#f32e4b;box-shadow:0 0 0 1px #f32e4b}.gallery-thumbs img{width:100%;height:100%;object-fit:contain;display:block}
.enhanced-product .dialog-info{padding:38px 30px}.enhanced-product .dialog-info h2{font-size:clamp(28px,3.2vw,40px);line-height:1.13;margin:5px 0 16px}
.product-sku{font-size:11px;color:#a8b2c1;margin:0 0 20px}.enhanced-product .dialog-stock{margin:0 0 23px}
.size-choices{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 24px}.size-choice{background:#1b2532;border:1px solid #384553;color:#f6f8fa;border-radius:8px;min-width:65px;padding:10px 12px;cursor:pointer;text-align:center}.size-choice strong,.size-choice small{display:block}.size-choice strong{font-size:16px}.size-choice small{font-size:10px;color:#c2cbd5;margin-top:5px}.size-choice.selected{border-color:#ffe64c;box-shadow:0 0 0 1px #ffe64c;background:#30301e}
.product-detail{border-top:1px solid #34404e;padding:17px 0;color:#c7cfda}.product-detail:first-of-type{margin-top:25px}.product-detail summary{cursor:pointer;font-size:14px;font-weight:800;color:#f4f6f9;list-style:none;display:flex;justify-content:space-between;gap:10px}.product-detail summary:after{content:'+';color:#ffe64c}.product-detail[open] summary:after{content:'−'}.product-detail p{font-size:13px;line-height:1.75;margin:14px 0}.product-detail a{font-size:13px;color:#ffe64c;text-underline-offset:3px}.product-detail dl{font-size:13px;margin:14px 0 0}.product-detail dl div{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:8px 0}.product-detail dt{color:#9da9b8}.product-detail dd{margin:0;color:#f1f4f7}
.gallery-thumbs button:focus-visible,.gallery-arrow:focus-visible,.size-choice:focus-visible,.product-detail summary:focus-visible{outline:3px solid #257fe8;outline-offset:3px}
@media(max-width:760px){#productDialog{width:94vw;max-height:94dvh}.enhanced-product{grid-template-columns:1fr!important}.product-gallery{padding:12px}.gallery-stage .dialog-photo{aspect-ratio:1.12/1;max-height:390px}.enhanced-product .dialog-info{padding:24px 20px}.gallery-thumbs button{flex-basis:58px;width:58px;height:58px}.enhanced-product .dialog-info h2{font-size:30px}.gallery-arrow{width:34px;height:40px}.product-detail dl div{grid-template-columns:90px 1fr}}

/* Preserve the native size of small source photographs. */
.gallery-stage .dialog-photo img{max-width:min(100%,var(--photo-max-width,1600px))!important;max-height:min(100%,var(--photo-max-height,1600px))!important}
