/**
 * The7 "Product Images" widget — main image only.
 * Elementor template uses gallery-ratio 1.33 (too tall); reference uses ~1:1.
 */

.single-product .elementor-widget-the7-woocommerce-product-images {
	--gallery-ratio: 1 !important;
}

.single-product .elementor-widget-the7-woocommerce-product-images .dt-product-gallery:before {
	padding-bottom: 100% !important;
}

.single-product .elementor-widget-the7-woocommerce-product-images .dt-product-gallery .flex-viewport {
	border-radius: 10px;
	overflow: hidden;
}

.single-product .elementor-widget-the7-woocommerce-product-images .dt-product-gallery .slides > li > a {
	background: #f3f3f3;
}

.single-product .elementor-widget-the7-woocommerce-product-images.preserve-gallery-ratio-y .dt-product-gallery .flexslider .slides a img {
	object-fit: contain !important;
	object-position: center center;
}
