.vnth-carousel {
	width: 100%;
	min-width: 0;
}

.vnth-carousel__viewport {
	width: 100%;
	overflow: hidden;
}

.vnth-carousel__track {
	display: flex;
	align-items: stretch;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	cursor: grab;
}

.vnth-carousel__track::-webkit-scrollbar {
	display: none;
}

.vnth-carousel__track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	scroll-snap-type: none;
	user-select: none;
}

.vnth-carousel__slide {
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	scroll-snap-align: start;
	line-height: 0;

}

.vnth-carousel__image {
	display: block;
	width: auto;
	height: 205px;
	max-width: none;
	object-fit: contain;
	border-radius: 10px;
	pointer-events: none;
	-webkit-user-drag: none;
}

.vnth-carousel__nav {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-top: 24px;
}

.vnth-carousel__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.vnth-carousel__button:hover,
.vnth-carousel__button:focus,
.vnth-carousel__button:focus-visible {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	transform: none;
}

.vnth-carousel__arrow {
	display: block;
	width: 20px;
	height: 20px;
	background-color: #15233b;
	-webkit-mask-image: var(--vnth-arrow-url);
	mask-image: var(--vnth-arrow-url);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: opacity .2s ease, transform .2s ease;
}

.vnth-carousel__prev {
	background-color: #afc2e4;
	transform: rotate(180deg);
}

.vnth-carousel__next {
	background-color: #15233b;
}

.vnth-carousel__button:hover .vnth-carousel__arrow {
	opacity: .72;
}

.vnth-carousel__button:active .vnth-carousel__arrow {
	transform: scale(.9);
}

.vnth-carousel__button:active .vnth-carousel__prev {
	transform: rotate(180deg) scale(.9);
}

.vnth-carousel__button[disabled] {
	opacity: .35;
	cursor: default;
}

.vnth-carousel__empty {
	padding: 24px;
	border: 1px dashed #c6cbd2;
	color: #687383;
	text-align: center;
}

@media (max-width: 767px) {
	.vnth-carousel__image {
		height: 165px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vnth-carousel__track {
		scroll-behavior: auto;
	}
}
