.selection-gallery { min-width: 0; }
.selection-gallery .product-media a { display: block; width: 100%; }
.selection-gallery .product-media img { display: block; width: 100%; height: auto; }
.selection-gallery [data-photo-count] { margin: 12px 0 8px; }
.selection-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.selection-thumbs a { display: block; border: 2px solid transparent; border-radius: 6px; overflow: hidden; }
.selection-thumbs a[aria-current="true"] { border-color: currentColor; }
.selection-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #f5f6f5; }
