/**
 * Homepage WooCommerce carousels (New incomes, Bestsellers, etc.)
 * Uniform product image boxes — same width & height per card.
 */

/* Section titles: match Kelmendi shortcode headings (Georgia), not Elementor Bodoni UC */
.home .elementor-widget-the7-wc-products-carousel .rp-heading {
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.5rem, 2.8vw, 2rem) !important;
	font-weight: 700 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.02em !important;
	text-transform: none !important;
	color: #000000 !important;
}

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

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

.home .elementor-widget-the7-wc-products-carousel .woocom-project a.img-wrap.img-css-resize-wrapper img.aspect,
.home .elementor-widget-the7-wc-products-carousel .woocom-project a.img-wrap.img-css-resize-wrapper img {
	--the7-img-ratio: 1 / 1;
	--ratio: 1 / 1;
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0;
	object-fit: contain !important;
	object-position: center center;
	aspect-ratio: unset;
}

/* Hover / second image in carousel */
.home .elementor-widget-the7-wc-products-carousel .woocom-project img.back-image {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center center;
}

/* Keep text rows aligned under the image box */
.home .elementor-widget-the7-wc-products-carousel .woocom-project {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.home .elementor-widget-the7-wc-products-carousel .woocom-list-content {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
}

.home .elementor-widget-the7-wc-products-carousel .woo-list-buttons {
	width: 100%;
}

.home .elementor-widget-the7-wc-products-carousel .woo-list-buttons .box-button {
	width: 100%;
	max-width: 100%;
}

/* Card price — black */
.home .elementor-widget-the7-wc-products-carousel .price,
.home .elementor-widget-the7-wc-products-carousel .price .woocommerce-Price-amount,
.home .elementor-widget-the7-wc-products-carousel .price .woocommerce-Price-amount bdi,
.home .elementor-widget-the7-wc-products-carousel .price .woocommerce-Price-currencySymbol,
.home .elementor-widget-the7-wc-products-carousel .price ins,
.home .elementor-widget-the7-wc-products-carousel .price ins span {
	color: #000000 !important;
}

/* Scroll reveal (New incomes, Bestsellers) */
.home .kelmendi-home-carousel-reveal .elementor-widget-container {
	overflow: visible;
}
