/* Padronizar altura das imagens dos produtos relacionados - Versão Agressiva */

/* Container principal - define altura fixa */
.related.products .product-small .box-image,
.related-products .product-small .box-image,
.upsells.products .product-small .box-image,
.cross-sells .product-small .box-image,
section.related.products .product-small .box-image,
section.related-products .product-small .box-image {
	height: 500px !important;
	min-height: 500px !important;
	max-height: 500px !important;
	overflow: hidden !important;
	position: relative !important;
	display: block !important;
}

/* TODAS as divs dentro de box-image precisam respeitar altura */
.related.products .product-small .box-image > div,
.related-products .product-small .box-image > div,
.upsells.products .product-small .box-image > div,
.cross-sells .product-small .box-image > div,
section.related.products .product-small .box-image > div,
section.related-products .product-small .box-image > div {
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	position: relative !important;
}

/* Container do swiper */
.related.products .product-small .box-image .swiper-container,
.related-products .product-small .box-image .swiper-container,
.upsells.products .product-small .box-image .swiper-container,
.cross-sells .product-small .box-image .swiper-container,
section.related.products .product-small .box-image .swiper-container,
section.related-products .product-small .box-image .swiper-container,
.related.products .product-small .box-image .eisi-product-slider,
.related-products .product-small .box-image .eisi-product-slider {
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	width: 100% !important;
	position: relative !important;
}

/* Swiper wrapper */
.related.products .product-small .box-image .swiper-wrapper,
.related-products .product-small .box-image .swiper-wrapper,
.upsells.products .product-small .box-image .swiper-wrapper,
.cross-sells .product-small .box-image .swiper-wrapper,
section.related.products .product-small .box-image .swiper-wrapper,
section.related-products .product-small .box-image .swiper-wrapper {
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
}

/* Swiper slides */
.related.products .product-small .box-image .swiper-slide,
.related-products .product-small .box-image .swiper-slide,
.upsells.products .product-small .box-image .swiper-slide,
.cross-sells .product-small .box-image .swiper-slide,
section.related.products .product-small .box-image .swiper-slide,
section.related-products .product-small .box-image .swiper-slide {
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
}

/* Links dentro do slide */
.related.products .product-small .box-image .swiper-slide a,
.related-products .product-small .box-image .swiper-slide a,
.upsells.products .product-small .box-image .swiper-slide a,
.cross-sells .product-small .box-image .swiper-slide a,
section.related.products .product-small .box-image .swiper-slide a,
section.related-products .product-small .box-image .swiper-slide a,
.related.products .product-small .box-image a,
.related-products .product-small .box-image a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	position: relative !important;
}

/* Imagens - preenchem o espaço com object-fit */
.related.products .product-small .box-image img,
.related-products .product-small .box-image img,
.upsells.products .product-small .box-image img,
.cross-sells .product-small .box-image img,
section.related.products .product-small .box-image img,
section.related-products .product-small .box-image img {
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
}

@media only screen and (max-width: 48em) {
	.related.products .product-small .box-image,
	.related-products .product-small .box-image,
	.upsells.products .product-small .box-image,
	.cross-sells .product-small .box-image,
	section.related.products .product-small .box-image,
	section.related-products .product-small .box-image {
		height: 400px !important;
		min-height: 400px !important;
		max-height: 400px !important;
	}
}
