/*
 * Single product gallery: keep the 1:1 frame but show the whole photo.
 *
 * style.css sets `object-fit: cover` on the main image and the thumbnails,
 * which scales the photo up to fill the square and crops its edges. This file
 * is loaded only on product pages (see functions.php) and overrides that with
 * `contain`, so the frame stays square and the full image sits inside it.
 * It lives in its own file on purpose: editing style.css would change its
 * sha256 and silently disable the performance bundles on the catalog pages.
 *
 * Selectors repeat the ones in style.css so specificity is identical and the
 * later load order decides. Hover zoom (.zoomImg) is left untouched.
 */
.single-product .woocommerce-product-gallery .wd-gallery-images .woocommerce-product-gallery__image > a > img:not(.zoomImg),
.single-product .woocommerce-product-gallery .wd-gallery-images .woocommerce-product-gallery__image > a > picture > img {
	object-fit: contain;
	object-position: center;
}

.single-product .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item img {
	object-fit: contain;
	object-position: center;
}
