.sge-slider {
	position: relative;
	width: 100%;
	height: var(--sge-height, 400px);
	overflow: hidden;
	background: #eee;
}

.sge-slider-track {
	display: flex;
	width: 100%;
	height: 100%;
	will-change: transform;
}

.sge-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
}

.sge-slide-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Fade effect: slides are stacked and cross-fade instead of sliding horizontally. */
.sge-effect-fade .sge-slider-track {
	display: block;
	position: relative;
}

.sge-effect-fade .sge-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
}

.sge-effect-fade .sge-slide.is-active {
	opacity: 1;
	z-index: 1;
}

.sge-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	cursor: pointer;
	z-index: 2;
	transition: background-color 0.2s ease;
}

.sge-arrow:hover,
.sge-arrow:focus-visible {
	background: rgba(0, 0, 0, 0.65);
}

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

.sge-arrow-prev {
	left: 12px;
}

.sge-arrow-next {
	right: 12px;
}

.sge-dots {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 2;
}

.sge-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.sge-dot:hover,
.sge-dot:focus-visible {
	background: rgba(255, 255, 255, 0.85);
}

.sge-dot.is-active {
	background: #fff;
	transform: scale(1.3);
}
