/* Approved brand palette; stable native GlassCase slots. */
.tuning-page .price_value,.tuning-page .gold_18{color:#80682e!important}
.tuning-page .nav-tabs .nav-link.active,.tuning-page .nav-tabs>li.active>a,.tuning-page .nav-tabs>li.active>a:hover{background:#b39a57!important;color:#111927!important}
.shop-gallery-shell{width:100%;max-width:668.17px;aspect-ratio:1 / .801;position:relative;background:#fff}
.shop-gallery-shell>.gc-start{display:block!important;visibility:visible!important;padding:0;margin:0;list-style:none;width:100%;height:100%;overflow:hidden}
.shop-gallery-shell>.gc-start>li{display:none}
.shop-gallery-shell>.gc-start>li:first-child{display:block;width:75%;height:100%}
.shop-gallery-shell>.gc-start>li:first-child>img{width:100%;height:100%;object-fit:contain}
.tuning-mobile .shop-gallery-shell{max-width:500px;aspect-ratio:1 / 1.424}
.tuning-mobile .shop-gallery-shell>.gc-start>li:first-child{width:100%;height:75%}

/* The server-rendered first frame stays visible while native controls initialize. */
.shop-gallery-poster{position:absolute;z-index:2;left:0;top:0;width:75%;aspect-ratio:500 / 534;height:auto;object-fit:contain;pointer-events:none;background:#fff}
.tuning-mobile .shop-gallery-poster{width:100%}
.shop-gallery-poster[hidden]{display:none!important}
.shop-gallery-shell>.gc-start>li:first-child{visibility:hidden}
.shop-gallery-first-frame img{visibility:hidden!important}
.shop-gallery-shell .gc-display-area{z-index:3}
.shop-gallery-shell.shop-gallery-first .gc-display-area{background:transparent}

.shop-gallery-poster{box-sizing:border-box;border:2px solid transparent;padding:0}

/* A visible footer loads immediately; a distant footer waits until near the viewport. */
.shop-media-js .tuning-page.tuning-inner [data-shop-footer]:not(.shop-footer-ready){background-image:none!important}

/* A one-photo gallery has no native thumbnail strip. */
.shop-gallery-shell.shop-gallery-single{max-width:500px;aspect-ratio:500 / 534}
.shop-gallery-single .shop-gallery-poster{width:100%}
.shop-gallery-single>.gc-start>li:first-child{width:100%;height:100%}

/* Keep the duplicate native inner frame and loader unpainted until first input.
   Its full-size slide remains hit-testable; geometry and native click/zoom stay intact. */
.shop-gallery-first-frame .gc-display-container,.shop-gallery-first-frame>.gc-ploading{visibility:hidden!important}

/* Native pixel widths cannot become the table's intrinsic minimum after rotation. */
.shop-gallery-shell.shop-gallery-responsive{contain:inline-size}
.shop-gallery-responsive .glass-case{max-width:100%}
