/**
 * Shop / category grids: full product visible (contain), centered in uniform square tiles.
 */

.elementor-widget-the7-wc-products .woocom-project .woo-buttons-on-img,
.elementor-widget-the7-wc-products .woocom-project .img-border,
.elementor-widget-the7-wc-products .woocom-project a.img-wrap {
	width: 100%;
	display: block;
}

.elementor-widget-the7-wc-products .woocom-project a.img-wrap.img-css-resize-wrapper {
	--the7-img-object-fit: contain;
	--ratio: 1 / 1;
	--aspect-ratio: 1;
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	overflow: hidden;
	background: #ffffff;
	position: relative;
}

.elementor-widget-the7-wc-products .woocom-project a.img-wrap.img-css-resize-wrapper img.aspect,
.elementor-widget-the7-wc-products .woocom-project a.img-wrap.img-css-resize-wrapper img {
	--the7-img-object-fit: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto !important;
	height: auto !important;
	max-width: 92% !important;
	max-height: 82% !important;
	margin: 0;
	object-fit: contain !important;
	object-position: center center;
	aspect-ratio: unset;
}

.elementor-widget-the7-wc-products .woocom-project img.back-image {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto !important;
	height: auto !important;
	max-width: 92% !important;
	max-height: 82% !important;
	object-fit: contain !important;
	object-position: center center;
}

.elementor-widget-the7-wc-products .woocom-project {
	display: flex;
	flex-direction: column;
	width: 100%;
}
