/**
 * Home slider
 */

.price-slider {
	position: relative;
	border-radius: calc(var(--price-radius) + 4px);
	overflow: hidden;
	background: var(--price-ink);
	box-shadow: var(--price-shadow);
	margin-bottom: 0.5rem;
}

.price-slider__track {
	display: flex;
	transition: transform 0.55s var(--price-ease);
	will-change: transform;
}

.price-slider__slide {
	min-width: 100%;
	position: relative;
	aspect-ratio: 16 / 9;
}

.price-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.78;
}

.price-slider__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.5rem 1.5rem 1.75rem;
	background: linear-gradient(transparent, rgba(15, 28, 46, 0.85));
	color: #fff;
}

.price-slider__caption h3 {
	margin: 0 0 0.35rem;
	color: #fff;
	font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.price-slider__caption p {
	margin: 0;
	opacity: 0.9;
	font-size: 0.95rem;
}

.price-slider__caption a {
	color: #fff;
	text-decoration: none;
}

.price-slider__nav {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
	padding: 0 0.75rem;
}

.price-slider__btn {
	pointer-events: auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.92);
	color: var(--price-ink);
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.price-slider__dots {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.85rem 0 0;
}

.price-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: var(--price-line);
	cursor: pointer;
}

.price-slider__dot.is-active {
	background: var(--price-teal);
	transform: scale(1.2);
}

@media (max-width: 720px) {
	.price-slider__slide {
		aspect-ratio: 4 / 3;
	}
}
