/* Approved square photographs fill collection and gallery frames without white padding. */
.product-photo.category-product-photo{background:transparent;overflow:hidden}
.product-photo.category-product-photo>img{mix-blend-mode:normal;filter:none;transform:none;object-fit:contain;object-position:center}
.product-card .card-photo:has(>.category-product-photo){padding:0;height:auto;aspect-ratio:1;background:transparent}
.product-card:hover .card-photo>.category-product-photo{transform:none}
.product-gallery-v2.category-gallery .gallery-stage{height:auto;min-height:0;max-height:none;aspect-ratio:1;background:transparent}
.product-gallery-v2.category-gallery .gallery-open{padding:0}
.product-gallery-v2.category-gallery .gallery-thumbnails button{padding:3px;min-height:0;aspect-ratio:1}
.product-gallery-v2.category-gallery .gallery-thumbnails button>.product-photo{width:100%;height:100%;aspect-ratio:1}
.card-photo>.category-product-photo>img,
.category-gallery .gallery-open>.category-product-photo>img,
.category-gallery .gallery-thumbnails .category-product-photo>img,
#lightbox-image>.category-product-photo>img{object-fit:cover;max-height:none;max-width:none;transform-origin:0 0;transform:translate(var(--category-x,0%),var(--category-y,0%)) scale(var(--category-scale,1))}
#lightbox-image>.category-product-photo{width:min(100%,72vh);height:auto;aspect-ratio:1;margin:auto}
.category-gallery .gallery-tag{display:none}
.category-gallery .gallery-thumbnails{grid-template-columns:repeat(5,minmax(0,1fr))}
