.product-card .photo,.collection-grid .product-card .photo{aspect-ratio:1;background:none;margin-bottom:0;overflow:hidden}
.product-card .photo img,.collection-grid .product-card .photo img{display:block;opacity:1;width:100%;height:100%;object-fit:contain}
.main-product-image{aspect-ratio:1;object-fit:contain}

.product-gallery-controls{display:flex;gap:12px;margin-top:14px}
.product-gallery-controls button{width:92px;min-height:112px;padding:4px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ink)}
.product-gallery-controls button.selected{border-color:var(--ink)}
.product-gallery-controls button img{width:82px;height:82px;object-fit:contain;border-radius:6px;display:block}
.product-gallery-controls button span{display:block;font-family:Studio,sans-serif;font-size:12px;padding:7px 0 3px}
.product-gallery-controls button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

.product-gallery-controls{flex-wrap:wrap}
.product-gallery-controls button img{object-fit:contain}
.main-product-image{object-fit:contain;height:auto}
