/**
 * Homepage EAEL Woo Product Carousel
 */

/* Stacking: carousel ABOVE Aanbod/Showroom/Reparatie */
.elementor-9 .elementor-element.elementor-element-f54ed51,
.elementor-9 .elementor-element.elementor-element-f54ed51 > .e-con-inner {
	overflow: visible !important;
	position: relative !important;
	z-index: 20 !important;
}

.elementor-9 .elementor-element.elementor-element-816a893 {
	position: relative !important;
	z-index: 30 !important;
	width: 100% !important;
	max-width: 100% !important;
	--container-widget-width: 100% !important;
	margin-bottom: 0 !important;
	overflow: visible !important;
}

/* Pull icons up under cards, but keep them BELOW cards in paint order */
.elementor-9 .elementor-element.elementor-element-7f386715 {
	margin-top: -50px !important;
	position: relative !important;
	z-index: 1 !important;
}

.elementor-9 .elementor-element.elementor-element-816a893 .eael-woo-product-carousel-container {
	position: relative !important;
	z-index: 30 !important;
	overflow: visible !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/*
 * Swiper: allow full card height.
 * padding-bottom inside overflow:hidden keeps bottom border/shadow visible.
 */
.elementor-9 .elementor-element.elementor-element-816a893 .swiper,
.elementor-9 .elementor-element.elementor-element-816a893 .swiper-autoheight,
.elementor-9 .elementor-element.elementor-element-816a893 .swiper-container {
	height: auto !important;
	max-height: none !important;
	overflow: hidden !important;
	padding-bottom: 20px !important;
	box-sizing: content-box !important;
}

.elementor-9 .elementor-element.elementor-element-816a893 .swiper-wrapper,
.elementor-9 .elementor-element.elementor-element-816a893 .swiper-autoheight .swiper-wrapper {
	height: auto !important;
	align-items: stretch !important;
}

/* --- Equal card heights --- */
.eael-woo-product-carousel-container.preset-3 .product.swiper-slide,
.eael-woo-product-carousel-container.preset-3 .swiper-autoheight .product.swiper-slide {
	height: auto !important;
	align-self: stretch !important;
	display: flex !important;
}

.eael-woo-product-carousel-container.preset-3 .eael-product-carousel {
	display: flex !important;
	flex-direction: column !important;
	position: relative !important;
	z-index: 31 !important;
	width: 100% !important;
	/* Fill stretched slide, but grow with content if slide is taller */
	flex: 1 1 auto !important;
	height: auto !important;
	min-height: 100% !important;
	box-sizing: border-box !important;
	margin-bottom: 0 !important;
	background-color: #fff !important;
}

/* --- Text rows aligned --- */
.eael-woo-product-carousel-container.preset-3 .product-details-wrap {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	align-items: stretch !important;
	text-align: center !important;
	padding-bottom: 18px !important;
}

.eael-woo-product-carousel-container.preset-3 .eael-product-title {
	flex: 0 0 auto !important;
	min-height: 5.6em !important;
	max-height: 5.6em !important;
	margin: 0 0 8px !important;
	overflow: hidden !important;
}

.eael-woo-product-carousel-container.preset-3 .eael-product-title h2,
.eael-woo-product-carousel-container.preset-3 .eael-product-title h3 {
	margin: 0 !important;
	line-height: 1.35 !important;
}

.eael-woo-product-carousel-container.preset-3 .eael-product-price {
	flex: 0 0 auto !important;
	min-height: 5.2em !important;
	margin: 0 0 8px !important;
	line-height: 1.3 !important;
}

.eael-woo-product-carousel-container.preset-3 .eael-product-excerpt {
	flex: 1 1 auto !important;
	min-height: 2.8em !important;
	margin: 0 !important;
}

.eael-woo-product-carousel-container.preset-3 .eael-product-excerpt p {
	margin: 0 !important;
}

/* --- Equal image boxes (4:3) --- */
.eael-woo-product-carousel-container.preset-3 .product-image-wrap {
	position: relative !important;
	width: 100% !important;
	height: 0 !important;
	padding-top: 75% !important;
	overflow: hidden !important;
	background: #fff !important;
	flex: 0 0 auto !important;
}

.eael-woo-product-carousel-container.preset-3 .product-image-wrap .image-wrap,
.eael-woo-product-carousel-container.preset-3 .product-image-wrap .image-hover-wrap {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.eael-woo-product-carousel-container.preset-3 .product-image-wrap .image-wrap a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.eael-woo-product-carousel-container.preset-3 .product-image-wrap img,
.eael-woo-product-carousel-container.preset-3 .eael-product-carousel .image-wrap img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center !important;
	margin: 0 !important;
}

/*
 * Homepage service row (Aanbod / Showroom / Reparatie) — section 7f386715
 * Desktop: equal photo heights + shared baseline despite unequal copy lengths
 * and mixed image aspect ratios in Elementor image carousels.
 */
@media (min-width: 768px) {
	.elementor-9 .elementor-element.elementor-element-7f386715 > .elementor-container {
		align-items: stretch !important;
	}

	.elementor-9 .elementor-element.elementor-element-7f386715 > .elementor-container > .elementor-column > .elementor-widget-wrap {
		display: flex !important;
		flex-direction: column !important;
		height: 100% !important;
		align-items: stretch !important;
	}

	.elementor-9 .elementor-element.elementor-element-7f386715 .elementor-widget-image-carousel {
		width: 100% !important;
		max-width: 100% !important;
		--container-widget-width: 100% !important;
		margin-top: auto !important;
		align-self: stretch !important;
	}

	.elementor-9 .elementor-element.elementor-element-7f386715 .elementor-widget-image-carousel > .elementor-widget-container {
		width: 100% !important;
		max-width: 100% !important;
	}

	.elementor-9 .elementor-element.elementor-element-7f386715 .elementor-image-carousel-wrapper.swiper,
	.elementor-9 .elementor-element.elementor-element-7f386715 .elementor-image-carousel.swiper-wrapper,
	.elementor-9 .elementor-element.elementor-element-7f386715 .swiper-slide {
		width: 100% !important;
		height: auto !important;
	}

	.elementor-9 .elementor-element.elementor-element-7f386715 .swiper-slide-inner {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
	}

	.elementor-9 .elementor-element.elementor-element-7f386715 .swiper-slide-image {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		aspect-ratio: 4 / 3;
		object-fit: cover !important;
		object-position: center center !important;
	}

	.elementor-9 .elementor-element.elementor-element-7f386715 .elementor-image-carousel-caption {
		flex: 0 0 auto;
		width: 100%;
	}
}

.eael-woo-product-carousel-container.preset-3 .product-image-wrap .image-hover-wrap {
	z-index: 2 !important;
	pointer-events: none;
}

.eael-woo-product-carousel-container.preset-3 .product-image-wrap .image-hover-wrap a,
.eael-woo-product-carousel-container.preset-3 .product-image-wrap .image-hover-wrap button,
.eael-woo-product-carousel-container.preset-3 .product-image-wrap .image-hover-wrap li {
	pointer-events: auto;
}
