/* ##### CAROUSEL-FEATURES ##### */
#carousel-features .splide {
	position: relative;
}

#carousel-features .splide__arrow {
	opacity: 1;
}

#carousel-features .splide__arrow svg {
	width: 7px;
	height: 13px;
	fill: #fff;
}

#carousel-features .splide__arrows.splide__arrows--ltr {
	--offset: -52px;
	position: absolute;
	z-index: 2;
	top: 50%;
	right: var(--offset);
	left: var(--offset);
	display: flex;
	justify-content: space-between;
	height: 0;
}

#carousel-features .splide__arrows--ltr .splide__arrow--prev svg {
	transform: none;
}

#carousel-features .splide__arrows--ltr .splide__arrow--next svg {
	transform: rotate(180deg);
}

#carousel-features .splide__arrows--ltr .splide__arrow--prev,
#carousel-features .splide__arrows--ltr .splide__arrow--next {
	position: static;
	width: 40px;
	height: 40px;
	background-color: #ff335f;
	border-radius: 8px;
	transform: translateY(-50%);
	opacity: 0.5;
	transition: background-color ease-in-out 250ms;
}

#carousel-features .splide__arrows--ltr .splide__arrow--prev:hover,
#carousel-features .splide__arrows--ltr .splide__arrow--next:hover {
	opacity: 1;
	transition: opacity ease-in-out 250ms;
}

/* ##### inner styles ##### */
#carousel-features .splide__slide-inner {
	position: relative;
	min-height: 280px;
	height: 100%;
	padding: 35px 35px 30px;
	font-family: 'Geometria';
	border-radius: 14px;
	isolation: isolate;
}

#carousel-features .splide__slide-inner::after {
	z-index: -1;
}

#carousel-features .splide__slide-title {
	min-height: 50px;
	display: flex;
	align-items: center;
	margin-bottom: 18px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: normal;
}

#carousel-features .splide__slide-desc {
	margin-bottom: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.56;
	letter-spacing: normal;
}

#carousel-features .splide__slide-desc .hl {
	font-weight: 700;
}

/* ##### 1st slide ##### */
#carousel-features .splide__slide-inner--1 {
	background-color: #f4f4f4;
}

#carousel-features .splide__slide-inner--1::after {
	--scale: 1;
	content: '';
	position: absolute;
	bottom: 40px;
	right: 70px;
	width: calc(var(--scale) * 185px);
	height: calc(var(--scale) * 202px);
	background: url("../../img/carousels/carousel-features/carousel-vector-1.svg") 0 0/contain no-repeat;
}

.features__carousel--vac #carousel-features .splide__slide-inner--1::after {
	transform: scaleX(-1);
}

#carousel-features .splide__slide-title--1 {
	max-width: 285px;
	color: #ff335f;
}

#carousel-features .splide__slide-desc--1 {
	max-width: 250px;
	color: #302b2b;
}

/* ##### 2nd slide ##### */
#carousel-features .splide__slide-inner--2,
#carousel-features .splide__slide-inner--6 {
	background-color: #ff335f;
}

#carousel-features .splide__slide-inner--2::after,
#carousel-features .splide__slide-inner--6::after {
	--scale: 1;
	content: '';
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: calc(var(--scale) * 135px);
	height: calc(var(--scale) * 113px);
	background: url("../../img/carousels/carousel-features/carousel-vector-2.svg") 0 0/contain no-repeat;
}

#carousel-features .splide__slide-title--2,
#carousel-features .splide__slide-title--6 {
	color: #fff;
}

.features__carousel--vac #carousel-features .splide__slide-title--2 {
	max-width: 250px;
}

#carousel-features .splide__slide-desc--2,
#carousel-features .splide__slide-desc--6 {
	max-width: 402px;
	color: #fff;
}

/* ##### 3rd slide ##### */
#carousel-features .splide__slide-inner--3 {
	display: flex;
	flex-direction: column;
	background-color: #f4f4f4;
}

#carousel-features .splide__slide-inner--3::before {
	--scale: 1;
	content: '';
	position: absolute;
	top: 40px;
	right: 47px;
	width: calc(var(--scale) * 96px);
	height: calc(var(--scale) * 67px);
	background: url("../../img/carousels/carousel-features/carousel-vector-3.svg") 0 0/contain no-repeat;
}

#carousel-features .splide__slide-inner--3::after {
	content: 'Удобно!';
	/* position: absolute;
	bottom: 30px;
	left: 35px; */
	display: flex;
	align-items: center;
	justify-content: center;
	width: min-content;
	padding: 0.3em 0.8em;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background-color: #ff335f;
	border-radius: 30px;
}

#carousel-features .splide__slide-title--3 {
	max-width: 250px;
	color: #ff335f;
}

#carousel-features .splide__slide-title--3 br {
	display: none;
}

#carousel-features .splide__slide-desc--3 {
	flex: 1 1 auto;
	max-width: 450px;
	margin-bottom: 15px;
	color: #302b2b;
}

/* ##### 4th slide ##### */
#carousel-features .splide__slide-inner--4 {
	background-color: #f4f4f4;
}

#carousel-features .splide__slide-title--4 {
	color: #ff335f;
}

#carousel-features .splide__slide-desc--4 {
	color: #302b2b;
}

/* ##### 5th slide ##### */
#carousel-features .splide__slide-inner--5 {
	background-color: #ffe4ea;
}

#carousel-features .splide__slide-inner--5::after {
	--scale: 1;
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: calc(var(--scale) * 237px);
	height: calc(var(--scale) * 186px);
	background: url("../../img/carousels/carousel-features/carousel-vector-4.svg") 0 0/contain no-repeat;
}

#carousel-features .splide__slide-title--5 {
	max-width: 230px;
	color: #ff335f;
}

#carousel-features .splide__slide-desc--5 {
	max-width: 280px;
	color: #302b2b;
}

/* ##### 6th slide identical to 2nd slide ##### */
/* ##### 7th slide ##### */
#carousel-features .splide__slide-inner--7 {
	background-color: #ffe4ea;
}

#carousel-features .splide__slide-inner--7::after {
	--scale: 1;
	content: '';
	position: absolute;
	top: 40px;
	right: 40px;
	width: calc(var(--scale) * 133px);
	height: calc(var(--scale) * 192px);
	background: url("../../img/carousels/carousel-features/carousel-vector-5.svg") 0 0/contain no-repeat;
}

#carousel-features .splide__slide-title--7 {
	max-width: 290px;
	color: #ff335f;
}

#carousel-features .splide__slide-desc--7 {
	max-width: 290px;
	color: #302b2b;
}

/* ##### 8th slide ##### */
#carousel-features .splide__slide-inner--8 {
	display: flex;
	flex-direction: column;
	background-color: #f4f4f4;
}

#carousel-features .splide__slide-title--8 {
	color: #ff335f;
}

#carousel-features .splide__slide-desc--8 {
	flex: 1 1 auto;
	margin-bottom: 15px;
	color: #302b2b;
}

#carousel-features .splide__slide-button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: min-content;
	padding: 1em 3.9em;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.48px;
	white-space: nowrap;
	color: #ff335f;
	background-color: transparent;
	border: 2px solid #ff335f;
	border-radius: 14px;
	transition: background-color 150ms ease-in-out;
	cursor: pointer;
}

@media (max-width: 1399.98px) {
	.features__carousel {
		max-width: calc(100% - 104px);
		margin: 0 auto;
	}

	#carousel-features .splide__slide-inner--1::after {
		bottom: 40px;
		right: 40px;
	}

	#carousel-features .splide__slide-inner--2::after,
	#carousel-features .splide__slide-inner--6::after {
		--scale: 0.8;
	}

	#carousel-features .splide__slide-inner--3::before {
		top: 30px;
		right: 35px;
	}
}

@media (max-width: 1246px) {
	#carousel-features .splide__slide-inner--1::after {
		--scale: 0.9;
		bottom: 30px;
		right: 30px;
	}

	#carousel-features .splide__slide-inner--5::after {
		--scale: 0.9;
	}

	#carousel-features .splide__slide-inner--7::after {
		--scale: 0.9;
		top: auto;
		bottom: 30px;
		right: 30px;
	}
}

@media (max-width: 1199.98px) {
	#carousel-features .splide__slide-inner--1::after {
		--scale: 0.8;
		opacity: 0.3;
	}

	#carousel-features .splide__slide-inner--2::after,
	#carousel-features .splide__slide-inner--6::after {
		--scale: 0.7;
		bottom: 15px;
	}

	#carousel-features .splide__slide-inner--3::before {
		--scale: 0.9;
	}

	#carousel-features .splide__slide-inner--5::after {
		--scale: 0.8;
		opacity: 0.3;
	}

	#carousel-features .splide__slide-inner--7::after {
		--scale: 0.8;
		opacity: 0.3;
	}

	#carousel-features .splide__slide-button {
		width: 100%;
		padding: 0.9em;
		font-size: 16px;
	}
}

@media (max-width: 991.98px) {
	#carousel-features .splide__slide-inner {
		padding: 30px;
	}

	#carousel-features .splide__slide-title {
		min-height: 68px;
		font-size: 20px;
	}

	#carousel-features .splide__slide-inner--3::before {
		--scale: 0.8;
		top: 20px;
		right: 20px;
	}

	#carousel-features .splide__slide-title--3 br {
		display: inline;
	}
}

@media (max-width: 767.98px) {
	#carousel-features .splide__slide-title {
		min-height: auto;
	}

	#carousel-features .splide__slide-title--3 br {
		display: none;
	}
}

@media (max-width: 480px) {
	.features__carousel {
		max-width: none;
	}

	#carousel-features .splide__arrows.splide__arrows--ltr {
		position: static;
		display: grid;
		grid-auto-flow: column;
		justify-content: center;
		gap: 10px;
		height: auto;
		margin-top: 15px;
	}

	#carousel-features .splide__arrows--ltr .splide__arrow--prev,
	#carousel-features .splide__arrows--ltr .splide__arrow--next {
		transform: none;
	}

	/* ##### inner styles ##### */
	#carousel-features .splide__slide-inner {
		min-height: 250px;
	}

	#carousel-features .splide__slide-title {
		margin-bottom: 15px;
		font-size: 18px;
	}

	#carousel-features .splide__slide-desc {
		line-height: 1.4;
	}

	#carousel-features .splide__slide-inner--1::after {
		--scale: 0.7;
		bottom: 25px;
		right: 25px;
	}

	#carousel-features .splide__slide-inner--3::after {
		font-size: 14px;
	}

	#carousel-features .splide__slide-inner--5::after {
		--scale: 0.7;
	}

	#carousel-features .splide__slide-inner--7::after {
		--scale: 0.7;
		bottom: 25px;
		right: 25px;
	}

	#carousel-features .splide__slide-button {
		max-width: 280px;
	}
}

@media (max-width: 380px) {
	#carousel-features .splide__slide-inner--3::before {
		display: none;
	}

	/* #carousel-features .splide__slide-inner--3::after {
		position: static;
		margin-top: 15px;
	} */
}