/* Desktop photo rail; mobile keeps the large image and arrows. */
@media(min-width:701px){.photo-gallery{display:grid!important;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:12px!important}.photo-gallery #detailThumbs{display:flex!important;grid-column:1;grid-row:1;flex-direction:column;gap:8px;max-height:calc(100dvh - 210px);min-height:0;overflow-y:auto;overflow-x:hidden;padding:2px;scrollbar-width:thin}.photo-gallery #detailThumbs button{flex:0 0 auto!important;width:60px!important;height:80px!important;min-height:0;padding:2px;border-radius:8px;overflow:hidden}.photo-gallery #detailThumbs img{width:100%;height:100%;object-fit:cover}.photo-gallery .detail-photo{grid-column:2;grid-row:1;min-width:0;width:100%}.photo-gallery #detailThumbs button.active{border:2px solid #d8a84f}}
.product-page .variant-cards{align-items:flex-start;gap:10px}.product-page .variant-cards .variant-card{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;flex:0 0 84px!important;width:84px!important;min-width:84px!important;height:auto!important;min-height:0!important;padding:4px!important;gap:6px;border-radius:10px}.product-page .variant-cards .variant-card img{display:block;width:72px!important;height:96px!important;min-height:0;aspect-ratio:3/4;object-fit:cover!important;border-radius:6px}.product-page .variant-card>span{font-size:11px!important;line-height:1.3;white-space:normal;overflow-wrap:anywhere;text-align:center;margin:0;padding:0 1px 3px;height:auto!important}.product-page #detailColor[hidden]{display:none!important}
@media(max-width:700px){.photo-gallery{display:flex!important;flex-direction:column!important}.photo-gallery #detailThumbs{display:none!important}.product-page .variant-cards .variant-card{flex-basis:72px!important;width:72px!important;min-width:72px!important}.product-page .variant-cards .variant-card img{width:60px!important;height:80px!important}}

.product-page .variant-cards .variant-card img{min-height:0!important;max-height:96px!important}@media(max-width:700px){.product-page .variant-cards .variant-card img{max-height:80px!important}}
.product-page .variant-cards .variant-card img{min-height:96px!important}@media(max-width:700px){.product-page .variant-cards .variant-card img{min-height:80px!important}}
