/* VCS Custom Carousel Styles */

.vcs-carousel-wrapper {
	position: relative;
	width: 100%;
	margin: 2rem 0;
	overflow: hidden;
}

.vcs-carousel-container {
	position: relative;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-x;
	will-change: scroll-position;
}

.vcs-carousel-container.dragging {
	cursor: grabbing;
	scroll-behavior: auto;
}

.vcs-carousel-container:active {
	cursor: grabbing;
}

.vcs-carousel-container::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.vcs-carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	will-change: transform;
	gap: 1.5rem;
	padding: 0 1rem;
	position: relative;
}

.vcs-carousel-slide {
	flex: 0 0 auto;
	width: calc(100% - 3rem);
	max-width: 343px;
	opacity: 1;
	display: block;
	position: relative;
}

@media (min-width: 768px) {
	.vcs-carousel-slide {
		width: calc(50% - 0.75rem);
		max-width: 343px;
	}
}

@media (min-width: 1024px) {
	.vcs-carousel-slide {
		max-width: 343px;
	}
}

@media (min-width: 1440px) {
	.vcs-carousel-slide {
		max-width: 343px;
	}
}

/* Carousel Image */
.vcs-carousel-image {
	width: 100%;
	max-width: 343px;
	height: 368px;
	max-height: 368px;
	position: relative;
	overflow: hidden;
	background-color: #f5f5f5;
	border-radius: 8px;
	margin: 0 auto;
}

.vcs-carousel-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: 343px;
	max-height: 368px;
	object-fit: contain;
	object-position: center;
	display: block;
}

/* Carousel Content (Title and Description) */
.vcs-carousel-content {
	padding: 1.5rem;
	width: 100%;
	background-color: #fff;
	border-radius: 0 0 8px 8px;
}

.vcs-carousel-title {
	margin: 0 0 1rem 0;
	color: #3F8D38;
	font-size: 1.5rem;
	font-weight: 600;
}

.vcs-carousel-description {
	color: #333;
	line-height: 1.6;
}

.vcs-carousel-description p {
	margin-bottom: 1rem;
}

.vcs-carousel-description p:last-child {
	margin-bottom: 0;
}

/* Optional: Overlay content on image */
.vcs-carousel-slide.has-overlay .vcs-carousel-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
	padding: 3rem 2rem 2rem;
}

.vcs-carousel-slide.has-overlay .vcs-carousel-title {
	color: #fff;
}

.vcs-carousel-slide.has-overlay .vcs-carousel-description {
	color: #fff;
}

/* Navigation Arrows - Hidden */
.vcs-carousel-arrow {
	display: none !important;
}

/* Dots Navigation - Hidden */
.vcs-carousel-dots {
	display: none !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.vcs-carousel-track {
		gap: 1rem;
		padding: 0 0.5rem;
	}

	.vcs-carousel-slide {
		width: calc(100% - 2rem);
		max-width: 100%;
	}

	.vcs-carousel-arrow {
		width: 40px;
		height: 40px;
		opacity: 1;
		pointer-events: all;
	}

	.vcs-carousel-prev {
		left: 5px;
	}

	.vcs-carousel-next {
		right: 5px;
	}

	.vcs-carousel-arrow svg {
		width: 20px;
		height: 20px;
	}

	.vcs-carousel-content {
		padding: 1rem;
	}

	.vcs-carousel-title {
		font-size: 1.25rem;
	}

	.vcs-carousel-slide.has-overlay .vcs-carousel-content {
		padding: 2rem 1rem 1rem;
	}

	.vcs-carousel-dots {
		gap: 0.5rem;
		margin-top: 1rem;
	}
}

@media (max-width: 480px) {
	.vcs-carousel-track {
		gap: 0.75rem;
		padding: 0 0.25rem;
	}

	.vcs-carousel-slide {
		width: calc(100% - 1.5rem);
	}

	.vcs-carousel-arrow {
		width: 35px;
		height: 35px;
	}

	.vcs-carousel-prev {
		left: 2px;
	}

	.vcs-carousel-next {
		right: 2px;
	}

	.vcs-carousel-content {
		padding: 0.75rem;
	}

	.vcs-carousel-title {
		font-size: 1.125rem;
	}

	.vcs-carousel-slide.has-overlay .vcs-carousel-content {
		padding: 1.5rem 0.75rem 0.75rem;
	}
}

