/** Swiper flexbox ==> https://github.com/nolimits4web/swiper/issues/3599 */
/** eac-swiper pour éviter la collision avec swiper.css d'Elementor */
/** Elementor container si max-width n'est pas initialisé dans le theme, il y a un débordement sur l'axe X */
.swiper {
	margin: 0 auto;
	max-inline-size: 100vw;
	min-inline-size: 0;
	inline-size: 100%;
	overflow: hidden;
}

/** Pour les mobiles */
@media (max-width: 460px) {
	.swiper {
		max-inline-size: 90vw;
	}
}

@supports selector(:has(*)) {
	.swiper:has(div):has(.swiper-scrollbar-horizontal) .swiper-wrapper {
		margin-block-end: 20px;
	}
}

.swiper .swiper-horizontal>.swiper-scrollbar,
.swiper .swiper-scrollbar.swiper-scrollbar-horizontal {
	--swiper-scrollbar-sides-offset: 10%;
	--swiper-scrollbar-bottom: 5px;
}

/** Width pour 'slidesPerView = auto' */
.swiper .swiper-wrapper .swiper-slide {
	inline-size: auto;
}

/* Force la hauteur lorsque le ratio d'image n'est pas activé */
.swiper .swiper-slide {
	block-size: auto;
}

/* Boutons Prev et Next */
.swiper .swiper-button-next {
	inset-inline-end: 10px;
}

.swiper .swiper-button-next:after {
	display: block;
	content: '';
	block-size: 100%;
	inline-size: 100%;
	background-color: black;
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-right" viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg"><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>');
	mask-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-right" viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg"><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>');
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	font-family: unset;
}

.swiper .swiper-button-prev {
	inset-inline-start: 10px;
}

.swiper .swiper-button-prev:after {
	display: block;
	content: '';
	block-size: 100%;
	inline-size: 100%;
	background-color: black;
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-left" viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg"><path d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>');
	mask-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-left" viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg"><path d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>');
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	font-family: unset;
}

/* Le séparateur (Elementor) au-dessus des bullets */
.swiper .swiper-horizontal>.swiper-pagination-bullets,
.swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
	position: relative;
	block-size: 3px;
	inset-block-end: -5px !important;
	text-align: center;
	opacity: .8;
}

/* Toutes les bullets */
.swiper .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet {
	block-size: 3px;
	inline-size: 12px;
	margin: 15px 5px !important;
	text-align: center;
	border-radius: 0;
	background-color: black;
	opacity: 1;
}

/* La bullet active */
.swiper .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: red;
	opacity: 1;
}