/* Consistent mockup frames, readable details and touch controls. */
.studio-visual{background:#e9e9e9}.studio-visual img{mix-blend-mode:darken}
.product-image{aspect-ratio:4/5;--card-ratio:1.25}
.product-image .visual:not(.photo-mode){width:min(88%,calc(84% * var(--card-ratio) * var(--visual-ratio,1)))}
.product-image .visual.photo-mode{inset:auto;left:50%;top:50%;width:100%;height:auto;aspect-ratio:1;transform:translate(-50%,-50%)}
.product-image .visual.photo-mode img{object-fit:fill}
.product-card:hover .product-image .alternate{opacity:0}
.product-card:hover .product-image:has(.alternate) .main-visual{opacity:1}
@media(hover:hover) and (pointer:fine){.product-card:hover .product-image .alternate{opacity:1}.product-card:hover .product-image:has(.alternate) .main-visual{opacity:0}}
.product-meta h3,.product-meta h3 a{line-height:1.4}
.favorite{width:44px;height:44px;top:8px;right:8px}.favorite svg{width:19px;height:19px}.badge{max-width:calc(100% - 66px)}
.product-dialog{width:min(1080px,calc(100vw - 40px));max-width:none;max-height:92dvh;padding:0;overflow:hidden}
.product-dialog[open]{display:flex;flex-direction:column}
.product-dialog-head{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:20px;min-height:60px;padding:8px 18px 8px 24px;border-bottom:1px solid var(--line);background:var(--panel)}
.product-dialog-head>span{font-size:10px;letter-spacing:2px;color:var(--secondary-text)}
.product-dialog-head .close-button{position:static;flex-shrink:0;width:44px;height:44px}
#product-content{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.product-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;scroll-padding:24px;scrollbar-width:thin}
.product-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);min-height:0;align-items:start}
.product-gallery,.product-gallery.dark{padding:0;min-height:0;height:auto;background:var(--panel);display:block}
.gallery-overview{position:relative;overflow:hidden}
.gallery-picture{display:flex;align-items:center;justify-content:center;height:clamp(300px,45dvh,460px);min-height:0;width:100%;padding:24px;outline-offset:-4px;cursor:zoom-in}
.gallery-picture .visual{flex-shrink:0;width:min(100%,calc(clamp(252px,39dvh,410px) * var(--visual-ratio,1)));max-height:none;margin:0}
.gallery-picture .custom-visual{height:100%;width:100%;background:transparent}.gallery-picture .custom-visual img{object-fit:contain}
.gallery-enlarge{top:12px;right:12px;min-width:44px;min-height:44px;z-index:1;border-radius:2px;font-size:12px;gap:8px}.gallery-enlarge svg{width:18px;height:18px}
.gallery-caption{display:flex;justify-content:space-between;gap:16px;padding:16px 20px 0;font-size:13px;color:var(--text)}
.gallery-view-count{font-variant-numeric:tabular-nums;color:var(--secondary-text);font-size:12px;white-space:nowrap}
.gallery-tabs{position:static;display:flex;justify-content:flex-start;flex-wrap:nowrap;gap:10px;margin:0;padding:14px 20px 18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--muted) transparent}
.gallery-tabs button{display:flex;flex:0 0 80px;flex-direction:column;gap:7px;min-width:0;min-height:104px;padding:3px;color:var(--secondary-text);background:transparent;border:1px solid transparent;border-radius:3px;font-size:11px;line-height:1.35;scroll-snap-align:start}
.gallery-tabs button.active{background:var(--soft-bg);color:var(--text);border-color:var(--cyan)}
.gallery-thumbnail{display:flex;align-items:center;justify-content:center;position:relative;width:72px;height:68px;overflow:hidden;border-radius:1px}
.gallery-thumbnail .visual{width:min(90%,calc(60px * var(--visual-ratio,1)));max-height:none;margin:0;flex-shrink:0}.gallery-thumbnail .custom-visual{width:100%;height:100%}
.gallery-tab-label{display:block;width:100%;text-align:center;overflow-wrap:anywhere}
.product-details{padding:28px 30px 24px;min-width:0}.product-details h2{font-size:clamp(25px,2.4vw,34px);line-height:1.15;overflow-wrap:break-word}
.product-description{font-size:16px;line-height:1.75}
.product-purchase{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 24px;border-top:1px solid var(--line);background:var(--panel);flex-shrink:0}
.product-purchase>div{display:grid;gap:3px;min-width:0}.purchase-title{font-size:12px;color:var(--secondary-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-price{font-size:20px;line-height:1.4;white-space:nowrap}
.product-purchase .add-cart-button{width:240px;margin:0;min-height:50px;flex-shrink:0}.product-purchase .add-cart-button svg{width:18px;height:18px}
.product-details .product-note{margin-top:15px;font-size:13px}.size-options button{min-width:44px;min-height:44px;font-size:13px}.size-options button[aria-pressed=true]{outline:1px solid var(--cyan);outline-offset:2px}.product-error{min-height:21px}
.button>svg,.button>[data-icon] svg{width:20px;height:20px;flex-shrink:0}.announcement [data-icon] svg{display:inline-block;width:13px;height:13px;vertical-align:middle}.closing>a>[data-icon] svg{width:1em;height:1em;stroke-width:1.3}.film-play-icon svg{width:18px;height:18px}.ticker-toggle{display:grid;place-items:center}.ticker-toggle svg{width:14px;height:14px}
.menu-dialog a,.menu-dialog>button{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:start;gap:16px;min-height:52px}.menu-dialog a svg,.menu-dialog>button svg{width:20px;height:20px}
.zoom-dialog[open]{display:flex;flex-direction:column}.zoom-toolbar{height:auto;min-height:64px;flex-shrink:0}.zoom-toolbar button{display:grid;place-items:center;min-width:44px;min-height:44px}.zoom-toolbar svg{width:19px;height:19px}.zoom-toolbar [data-zoom=reset]{min-width:64px;font-size:12px}.zoom-viewport{height:auto;min-height:0;flex:1}.zoom-content .visual{max-height:none;margin:0}.zoom-content .custom-visual{background:transparent}.zoom-hint{flex-shrink:0;font-size:13px}
@media(max-width:800px){
 .product-layout{grid-template-columns:minmax(0,1fr)}.product-details{padding:24px}.gallery-picture{height:clamp(280px,70vw,420px);padding:22px}.gallery-picture .visual{width:min(100%,calc(clamp(236px,60vw,376px) * var(--visual-ratio,1)))}
 .gallery-tabs button{flex-basis:76px}.gallery-thumbnail{width:68px;height:64px}.product-details h2{font-size:29px}.gallery-enlarge span{display:inline}
 .faq summary{font-size:16px;line-height:1.5;min-height:52px}.faq details p{font-size:14px;line-height:1.75}.story-copy>p:not(.eyebrow),.story-detail p,.artifact-copy>p:not(.eyebrow){font-size:15px;line-height:1.75}.light-switch button{min-height:44px;font-size:12px}
 footer p,footer>div,footer .admin-link{font-size:12px;line-height:1.65}.filters{scroll-padding-inline:4px}.filter{min-height:48px}.sort-label select{font-size:13px;min-height:44px}.product-meta h3,.product-meta h3 a,.product-meta .product-price{font-size:15px}.product-meta p{font-size:12px;line-height:1.6}
}
@media(max-width:650px){
 html{scroll-padding-top:84px}.header{height:72px;min-height:72px;padding:10px 12px;flex-wrap:nowrap;gap:8px}.header .brand{width:94px;flex-shrink:0}.header .brand strong{font-size:23px}.header .brand small{font-size:5px;letter-spacing:2.6px}.header-actions{width:auto;justify-content:flex-end;gap:4px;flex:1;min-width:0}.header #favorites-open{display:none}.header .icon-button{width:40px;height:44px;padding:10px}.header .locale-button{font-size:10px;min-height:44px;padding:8px 7px}.header .bag-button{min-height:44px;min-width:34px;gap:3px}.header .bag-button svg{width:18px;height:18px}
 .theme-toggle{width:50px;height:44px;padding:3px}.theme-toggle svg{width:16px;height:16px}.theme-thumb{top:9px;left:3px;width:24px;height:24px;transform:translateX(20px)}
 .product-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.product-dialog-head{min-height:56px;padding:6px 12px 6px 20px}#product-content{flex:1}.product-scroll{flex:1}.gallery-caption{padding-inline:20px}.gallery-tabs{padding-inline:20px;padding-bottom:16px}.product-details{padding:24px 20px 28px}
 .product-purchase{padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:12px}.purchase-title{display:none}.purchase-price{font-size:19px}.product-purchase .add-cart-button{width:auto;min-width:156px;max-width:64%;flex:1;min-height:48px;padding:12px 16px;gap:18px}
 .checkout-form input,.checkout-form textarea,.preferences-dialog select{font-size:16px}.checkout-dialog{max-height:100dvh;scroll-padding-block:20px}.preferences-dialog .preferences-close{width:44px;height:44px}.preferences-campaign{height:clamp(250px,74vw,360px)}.hero-film .hero-description{font-size:14px}.hero-film .film-bottom{font-size:8px}.product-card .badge{font-size:8px;left:8px;top:8px;padding:5px 6px}.favorite{right:5px;top:5px}.zoom-caption{font-size:12px}.zoom-hint{font-size:12px;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
}
@media(max-width:380px){.header{padding-inline:10px;gap:5px}.header .brand{width:87px}.header-actions{gap:2px}.header .locale-button{padding-inline:5px;font-size:9px}.header .icon-button{width:36px}.theme-toggle{width:46px}.theme-thumb{transform:translateX(16px)}.gallery-enlarge span{display:none}.product-purchase .add-cart-button{min-width:140px}.purchase-price{font-size:18px}.zoom-toolbar{flex-wrap:wrap;gap:6px;padding:8px 12px}.zoom-caption{flex-basis:100%}.zoom-toolbar>div{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){.gallery-tabs{scroll-behavior:auto}}

.product-image .visual.custom-visual{inset:0;width:100%;height:100%;transform:none}
.search-result>span:last-child{display:flex;align-items:center;gap:8px}

/* Derive both axes from one stage height so portrait views cannot clip. */
.gallery-overview{--stage-height:clamp(300px,45dvh,460px)}
.gallery-picture{height:var(--stage-height)}
.gallery-picture .visual{width:min(100%,calc((var(--stage-height) - 48px) * var(--visual-ratio,1)))}
@media(max-width:800px){.gallery-overview{--stage-height:clamp(280px,70vw,420px)}.gallery-picture .visual{width:min(100%,calc((var(--stage-height) - 44px) * var(--visual-ratio,1)))}}

/* Restored Aurora Gaming wordmark and useful product-detail shortcuts. */
.brand .brand-wordmark{display:block;width:156px;height:auto;aspect-ratio:970/310;flex:none;overflow:hidden}
[data-theme="light"] .brand-wordmark{filter:brightness(0)}
footer .brand .brand-wordmark{width:180px}
.product-inspection{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.product-inspection>p{margin:0 0 10px;color:var(--secondary-text);font-size:12px}
.product-inspection>div{display:flex;flex-wrap:wrap;gap:8px}
.product-inspection button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:2px;font-size:13px;line-height:1.4;color:var(--text);background:var(--soft-bg);text-align:start}
.product-inspection button:hover{border-color:var(--accent-text);color:var(--accent-text)}
.product-inspection svg{width:16px;height:16px;flex-shrink:0;color:var(--accent-text)}
@media(max-width:650px){.header .brand{width:112px}.header .brand .brand-wordmark{width:112px}.product-inspection{margin-top:16px}}
@media(max-width:380px){.header .brand{width:96px}.header .brand .brand-wordmark{width:96px}}
