/* Product carousel */
.haminart-carousel {
	position: relative;
}

.haminart-carousel .swiper {
	/* Room for the card shadow and the hanging cart button. */
	padding: 12px 8px 30px;
	margin: -12px -8px -30px;
}

/* Let the soft card shadows (74px blur) spill above/below instead of being cut into a box. */
.haminart-carousel .swiper.swiper-initialized,
.haminart-carousel .swiper.swiper-container-initialized {
	overflow: visible;
	clip-path: inset(-70px -8px -100px -8px);
}

/* Keep the off-screen slides from widening the page (clip, unlike hidden, leaves the Y axis visible). */
.haminart-carousel {
	overflow-x: clip;
}

.haminart-carousel .swiper-slide {
	height: auto;
}

.haminart-carousel.is-loading .swiper {
	pointer-events: none;
	opacity: 0.35;
	transition: opacity 0.2s;
}

.haminart-carousel:not(:has(.haminart-stitle)) .haminart-nav--bottom {
	display: flex;
}
