/* Tooto Content Carousel */

.tooto-content-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.tooto-content-carousel__viewport {
	position: relative;
	width: 100%;
}

/* Image Layer */
.tooto-content-carousel__images {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.tooto-content-carousel__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity var(--tooto-carousel-duration, 0.6s) ease;
	z-index: 1;
}

.tooto-content-carousel__image.active {
	opacity: 1;
	z-index: 2;
}

/* Text Layer */
.tooto-content-carousel__text-wrapper {
	position: relative;
	overflow: hidden;
	padding: 24px 0;
}

.tooto-content-carousel__text-track {
	display: flex;
	transition: transform var(--tooto-carousel-duration, 0.6s) ease;
	will-change: transform;
}

.tooto-content-carousel__text-slide {
	min-width: 100%;
	flex-shrink: 0;
	max-width: 600px;
}

.tooto-content-carousel__title {
	margin: 0 0 12px 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.tooto-content-carousel__description {
	margin: 0 0 16px 0;
	font-size: 16px;
	line-height: 1.6;
	color: #666666;
}

.tooto-content-carousel__link {
	display: inline-block;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
	border-bottom: 2px solid #1a1a1a;
	padding-bottom: 2px;
	transition: opacity 0.3s ease;
}

.tooto-content-carousel__link:hover {
	opacity: 0.7;
}

/* Navigation Arrows */
.tooto-content-carousel__nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.tooto-content-carousel__prev,
.tooto-content-carousel__next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background-color: #ECE7D8;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.3s ease, opacity 0.3s ease;
}

.tooto-content-carousel__prev:hover,
.tooto-content-carousel__next:hover {
	background-color: var(--theme-palette-color-1, #1a1a1a);
}

.tooto-content-carousel__prev:hover svg path,
.tooto-content-carousel__next:hover svg path {
	stroke: #ffffff;
}

.tooto-content-carousel__prev:disabled,
.tooto-content-carousel__next:disabled {
	opacity: 0.4;
	cursor: default;
}

.tooto-content-carousel__prev svg,
.tooto-content-carousel__next svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

/* Indicators (Dots) */
.tooto-content-carousel__indicators {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.tooto-content-carousel__indicator {
	width: 8px;
	height: 8px;
	border: none;
	border-radius: 50%;
	background-color: #D1CEC0;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.tooto-content-carousel__indicator.active {
	background-color: #1a1a1a;
	transform: scale(1.3);
}

.tooto-content-carousel__indicator:hover {
	background-color: #999;
}

/* Mobile */
@media (max-width: 767px) {
	.tooto-content-carousel__images {
		height: 300px;
	}

	.tooto-content-carousel__text-wrapper {
		padding: 16px 0;
	}

	.tooto-content-carousel__title {
		font-size: 24px;
		margin-bottom: 8px;
	}

	.tooto-content-carousel__description {
		font-size: 14px;
		margin-bottom: 12px;
	}

	.tooto-content-carousel__prev,
	.tooto-content-carousel__next {
		width: 40px;
		height: 40px;
	}

	.tooto-content-carousel__prev svg,
	.tooto-content-carousel__next svg {
		width: 20px;
		height: 20px;
	}
}
