.qwery-basic-carousel {
	position: relative;
}

.qwery-basic-carousel-empty {
	padding: 20px;
	background: #f5f5f5;
	border: 1px dashed #ccc;
	color: #777;
	text-align: center;
}

.qwery-basic-carousel__track {
	display: flex;
	gap: var(--qbc-gap, 20px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.qwery-basic-carousel__track::-webkit-scrollbar {
	display: none;
}

.qwery-basic-carousel__slide {
	flex: 0 0 calc((100% - (var(--qbc-slides, 3) - 1) * var(--qbc-gap, 20px)) / var(--qbc-slides, 3));
	scroll-snap-align: start;
}

.qwery-basic-carousel__slide a,
.qwery-basic-carousel__slide img {
	display: block;
	width: 100%;
}

.qwery-basic-carousel__slide img {
	height: var(--qbc-height, 260px);
	object-fit: var(--qbc-fit, cover);
	border-radius: var(--qbc-radius, 0px);
}

@media (max-width: 1024px) {
	.qwery-basic-carousel__slide {
		flex-basis: calc((100% - (var(--qbc-slides-tablet, 2) - 1) * var(--qbc-gap, 20px)) / var(--qbc-slides-tablet, 2));
	}
}

@media (max-width: 767px) {
	.qwery-basic-carousel__slide {
		flex-basis: calc((100% - (var(--qbc-slides-mobile, 1) - 1) * var(--qbc-gap, 20px)) / var(--qbc-slides-mobile, 1));
	}
}

.qwery-basic-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #222;
}

.qwery-basic-carousel__arrow:hover {
	background: #fff;
}

.qwery-basic-carousel__arrow--prev {
	left: 10px;
}

.qwery-basic-carousel__arrow--next {
	right: 10px;
}

.qwery-basic-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.qwery-basic-carousel__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: #ccc;
	cursor: pointer;
	padding: 0;
}

.qwery-basic-carousel__dot.is-active {
	background: #666;
}
