/* Product detail image gallery */
.product-gallery { min-width:0; }
.product-gallery .gallery-main { overflow:hidden; background:#fff; border:1px solid #eee; }
.product-gallery .gallery-main img { width:100%; height:100%; object-fit:contain; }
.gallery-thumbs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-top:14px; }
.gallery-thumb { padding:5px; border:2px solid #e5e5e5; border-radius:9px; background:#fff; cursor:pointer; aspect-ratio:1; min-width:0; }
.gallery-thumb[aria-pressed="true"] { border-color:#f47528; }
.gallery-thumb img { display:block; width:100%; height:100%; object-fit:contain; }
@media(max-width:440px){.gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}}
