/*
 * carousel.css
 * Carrossel de itens e setas Swiper compartilhadas.
 */

.jrx-carousel {
	position: relative;
}
.jrx-carousel__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	min-width: 0;
	box-sizing: border-box;
}
.jrx-carousel.swiper .jrx-carousel__track {
	overflow: visible;
	padding-bottom: 0;
}
.jrx-carousel__slide {
	flex: 0 0 auto;
	min-width: 0;
}

.jrx-carousel__nav {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1rem;
}
.jrx-carousel__nav[hidden] {
	display: none !important;
}
.jrx-carousel__btn {
	width: 40px;
	height: 40px;
	min-height: 40px;
	padding: 0;
	border-radius: 50%;
}
.jrx-swiper-arrow {
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	color: #ffffff;
	border-color: color-mix(in srgb, #ffffff 60%, transparent);
	background-color: color-mix(in srgb, #000000 25%, transparent);
	backdrop-filter: blur(4px);
	transition: background-color var(--jrx-transition), border-color var(--jrx-transition), color var(--jrx-transition);
}
.jrx-swiper-arrow:hover {
	color: var(--theme-button-text-hover-color, #ffffff);
	background-color: color-mix(in srgb, #000000 45%, transparent);
	border-color: #ffffff;
}
.jrx-swiper-arrow svg,
.jrx-swiper-arrow span {
	display: none;
}
.jrx-swiper-arrow::after {
	content: none !important;
}
.jrx-swiper-arrow::before {
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: currentColor;
}
.jrx-swiper-arrow.is-prev::before,
.jrx-swiper-arrow.jrx-slider__arrow--prev::before,
.jrx-swiper-arrow.jrx-imob-card__slider-arrow--prev::before,
.jrx-swiper-arrow.swiper-button-prev::before,
.jrx-swiper-arrow[data-jrx-carousel-prev]::before {
	content: "\2039";
}
.jrx-swiper-arrow.is-next::before,
.jrx-swiper-arrow.jrx-slider__arrow--next::before,
.jrx-swiper-arrow.jrx-imob-card__slider-arrow--next::before,
.jrx-swiper-arrow.swiper-button-next::before,
.jrx-swiper-arrow[data-jrx-carousel-next]::before {
	content: "\203A";
}
