/* Andes Carousel Widget — estilos base (colores editables desde el panel de Estilo) */

.andes-carousel-widget.swiper {
	--anc-accent: #F68712;
	--anc-base: #3B6E4D;
	position: relative;
	padding-bottom: 48px;
	overflow: hidden;
}

.andes-carousel-widget .swiper-wrapper {
	align-items: stretch;
}

.andes-carousel-widget .swiper-slide {
	height: auto;
	display: flex;
}

.anc-card {
	background-color: #FFFFFF;
	padding: 24px;
	border-radius: 16px;
	border: 1px solid rgba(59, 110, 77, 0.12);
	box-shadow: 0 12px 30px rgba(35, 31, 32, 0.08);
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.andes-carousel-widget .swiper-slide:hover .anc-card {
	transform: translateY(-8px);
}

.anc-badge {
	align-self: flex-start;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(59, 110, 77, 0.1);
	color: #3B6E4D;
	border: 1px solid rgba(59, 110, 77, 0.2);
}

.anc-media-image {
	width: 100%;
	height: 160px;
	border-radius: 10px;
	overflow: hidden;
	background: #f1f1f1;
}
.anc-media-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}
.anc-card:hover .anc-media-image img {
	transform: scale(1.05);
}

.anc-media-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(59, 110, 77, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #3B6E4D;
}

.anc-title {
	font-weight: 800;
	font-size: 17px;
	line-height: 1.3;
	margin: 0;
}

.anc-text {
	font-size: 13px;
	line-height: 1.6;
	margin: 0;
	color: #6B7280;
}

.anc-button {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #3B6E4D;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 8px;
	text-decoration: none;
	margin-top: auto;
	transition: background-color 0.25s ease;
}
.anc-button:hover {
	background: #F68712;
	color: #FFFFFF;
}

/* Efecto Crazy 3D: resalta la slide activa */
.andes-carousel-widget[data-andes-settings*='"coverflow"'] .swiper-slide-active .anc-card {
	border-color: var(--anc-accent);
	box-shadow: 0 25px 50px rgba(246, 135, 18, 0.28);
}

/* Flechas de navegación */
.andes-carousel-widget .anc-nav {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	z-index: 10;
	background: #ffffff;
	color: var(--anc-base);
	border: 2px solid var(--anc-base);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	transition: all 0.25s ease;
}
.andes-carousel-widget .anc-nav:hover {
	background: var(--anc-accent);
	border-color: var(--anc-accent);
	color: #ffffff;
}
.andes-carousel-widget .anc-nav-prev { left: 8px; }
.andes-carousel-widget .anc-nav-next { right: 8px; }
.andes-carousel-widget .anc-nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Paginación (dots) */
.andes-carousel-widget .anc-pagination {
	position: absolute;
	bottom: 8px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.andes-carousel-widget .anc-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #d4d4d4;
	opacity: 1;
	transition: all 0.3s ease;
}
.andes-carousel-widget .anc-pagination .swiper-pagination-bullet-active {
	width: 28px;
	background: var(--anc-accent);
}

@media (max-width: 767px) {
	.andes-carousel-widget .anc-nav {
		width: 36px;
		height: 36px;
		font-size: 15px;
	}
}
