.e502ls-carousel {
	position: relative;
	overflow: hidden;
	max-width: 100%;
}

.e502ls-track {
	display: flex;
	transition: transform 0.3s ease;
	will-change: transform;
	user-select: none;
	-webkit-user-select: none;
}

.e502ls-carousel.e502ls-dragging .e502ls-track {
	cursor: grabbing;
}

.e502ls-slide {
	flex: 0 0 auto;
	box-sizing: border-box;
	padding: 0 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.e502ls-slide img {
	max-height: var(--e502ls-max-height, 250px);
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
}

.e502ls-title {
	margin-top: 8px;
	text-align: center;
	font-size: 0.9em;
}

.e502ls-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid #ddd;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	font-size: 1.4em;
	z-index: 2;
}

.e502ls-prev {
	left: 8px;
}

.e502ls-next {
	right: 8px;
}

.e502ls-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 10px;
}

.e502ls-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: #ccc;
	cursor: pointer;
	padding: 0;
}

.e502ls-dots button.is-active {
	background: #333;
}
