/* Each hero, card and selector gets its own square. Only empty margins may leave the square. */
.sgd-template {
	position:relative; display:block; overflow:hidden; width:100%; aspect-ratio:1 / 1;
	flex:0 1 auto; min-width:0; box-sizing:border-box; background:#fff;
}
body .sgd-template.sgd-template > img:not(.zoomImg),
body.single-product .segev-gallery-main .elementor-widget-container .sgd-template > img,
body.single-product .woocommerce-product-gallery__image .sgd-template > img,
body.single-product .segev-product-thumbnail-visual .sgd-template > img {
	display:block !important; position:absolute !important; box-sizing:border-box;
	width:var(--sgd-width,100%) !important; height:var(--sgd-height,100%) !important;
	left:var(--sgd-left,0%) !important; top:var(--sgd-top,0%) !important;
	max-width:none !important; max-height:none !important; margin:0 !important; padding:0 !important;
	object-fit:contain !important; object-position:center !important;
}
.woocommerce-loop-product__link > .sgd-template { width:100%; }
.segev-product-thumbnail-visual > .sgd-template { height:100%; }
