.eoc-carousel {
	--eoc-view: 1;
	--eoc-gap: 20px;
	position: relative;
	width: 100%;
}

.eoc-viewport {
	overflow: hidden;
	width: 100%;
}

.eoc-track {
	display: flex;
	will-change: transform;
	touch-action: pan-y;
	cursor: grab;
}

.eoc-track.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.eoc-slide {
	position: relative;
	flex: 0 0 calc((100% - var(--eoc-gap) * (var(--eoc-view) - 1)) / var(--eoc-view));
	margin-right: var(--eoc-gap);
	height: 400px;
	overflow: hidden;
	min-width: 0;
}

.eoc-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	-webkit-user-drag: none;
	user-select: none;
	transition: transform 0.6s ease;
}

.eoc-slide:hover img {
	transform: scale(1.05);
}

/* Overlay */
.eoc-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
	transition: background-color 0.3s ease;
}

.eoc-heading {
	margin: 0 0 8px;
	line-height: 1.2;
}

.eoc-desc {
	margin: 0 0 14px;
	line-height: 1.5;
}

.eoc-btn-wrap {
	display: block;
}

.eoc-btn {
	display: inline-block;
	text-decoration: none;
	line-height: 1.2;
	transition: all 0.3s ease;
}

/* Arrows */
.eoc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.eoc-arrow:hover {
	transform: translateY(-50%) scale(1.08);
}

.eoc-arrow.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.eoc-prev { left: 12px; }
.eoc-next { right: 12px; }

/* Dots */
.eoc-dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.eoc-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.eoc-dot.is-active {
	transform: scale(1.3);
}
