/* Natural photo proportions: no forced square crop, zoom, masks or letterboxing. */
body .product-card__media { aspect-ratio: auto !important; height: auto !important; background: transparent; }
body .product-card__media > a { position: relative !important; inset: auto !important; height: auto !important; background: transparent; }
body .product-card__media > a > img,
body.woocommerce ul.products li.product .product-card__media > a > img,
body .product-card:hover .product-card__media > a > img {
	position: relative !important; inset: auto !important; display: block;
	width: 100% !important; height: auto !important; max-width: 100% !important;
	/* Explicit intrinsic ratio also works with sizes=auto size containment. */
	aspect-ratio: var(--lanotti-photo-ratio, auto) !important; margin: 0 !important; padding: 0 !important;
	object-fit: contain !important; transform: none !important; filter: none !important;
}
body.single-product.woocommerce div.product div.images { min-height: 0 !important; padding: 0; background: transparent; }
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: transparent; }
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image {
	height: auto !important; aspect-ratio: auto !important; background: transparent;
}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image::before,
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image::after { display: none !important; }
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image > a {
	display: block; width: 100%; height: auto !important; background: transparent;
}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image > a > img {
	display: block; width: 100% !important; height: auto !important; max-width: 100%;
	aspect-ratio: auto !important; padding: 0; margin: 0; object-fit: contain !important;
	transform: none !important; background: transparent;
}
body.single-product.woocommerce div.product div.images .flex-control-thumbs { background: transparent; padding: 12px 0 0; }
body.single-product.woocommerce div.product div.images .flex-control-thumbs img {
	width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important;
}
