/* Wrapper: кнопки по бокам от картинки */
.maardu-carousel-wrap {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 988px; /* 860 + 2×(56 + 16) */
	margin: 0 auto 40px;
}

.maardu-carousel {
	flex: 1;
	min-width: 0;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: #000;
	user-select: none;
}

.maardu-carousel__track {
	display: flex;
	transition: transform 0.45s ease;
}

.maardu-carousel__slide {
	min-width: 100%;
	aspect-ratio: 860 / 537;
}

.maardu-carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Navigation buttons */
.maardu-carousel__btn {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 28px;
	background: #e4eefd;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.2s;
}

.maardu-carousel__btn:hover {
	background: #c9d9f7;
}

/* Dots */
.maardu-carousel__dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 2;
}

.maardu-carousel__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}

.maardu-carousel__dot.active {
	background: #fff;
	transform: scale(1.3);
}

/* Responsive */
@media (max-width: 900px) {
	.maardu-carousel-wrap {
		gap: 10px;
	}
}

@media (max-width: 600px) {
	.maardu-carousel-wrap {
		gap: 4px;
	}
	.maardu-carousel__btn {
		width: auto;
		height: auto;
		border-radius: 0;
		background: transparent;
		padding: 4px;
	}
	.maardu-carousel__btn:hover {
		background: transparent;
	}
	.maardu-carousel__btn svg {
		width: 20px;
		height: 20px;
		color: #4154A3;
	}
}
