/**
 * Main Styles - Un Detalle Theme
 * 
 * @package UnDetalle
 * @since 1.0.0
 */

/* ==========================================================================
   CSS VARIABLES - Style Guide Un Detalle
   ========================================================================== */
   :root {
	/* Colores Principales */
	--color-primary: #EC5970;      /* Rosa principal */
	--color-primary-dark: #C8B1B1; /* Rosa oscuro */
	--color-secondary: #161819;    /* Negro/Gris oscuro */
	--color-white: #FFFFFF;        /* Blanco */
	
	/* Colores de Texto */
	--color-text-dark: #161819;
	--color-text-light: #FFFFFF;
	--color-text-muted: #C8B1B1;
	
	/* Colores de Estado */
	--color-success: #4CAF50;
	--color-error: #f44336;
	--color-warning: #ff9800;
	
	/* Tipografías */
	--font-primary: 'Poppins', sans-serif;
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-bold: 700;
	
	/* Tamaños de Fuente */
	--font-size-base: 16px;
	--font-size-small: 14px;
	--font-size-large: 18px;
	--font-size-h1: 48px;
	--font-size-h2: 36px;
	--font-size-h3: 28px;
	--font-size-h4: 24px;
	
	/* Espaciado */
	--spacing-xs: 8px;
	--spacing-sm: 16px;
	--spacing-md: 24px;
	--spacing-lg: 32px;
	--spacing-xl: 48px;
	
	/* Bordes */
	--border-radius: 8px;
	--border-radius-lg: 16px;
	--border-radius-circle: 50%;
	
	/* Transiciones */
	--transition-base: 0.3s ease-in-out;
}

/* ==========================================================================
   RESET Y BASE
   ========================================================================== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-primary);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-regular);
	color: var(--color-text-dark);
	line-height: 1.6;
	background-color: var(--color-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden; /* Prevenir scroll horizontal en mobile */
	width: 100%;
	max-width: 100vw;
}

/* ==========================================================================
   TIPOGRAFÍA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary);
	font-weight: var(--font-weight-bold);
	line-height: 1.2;
	margin-bottom: var(--spacing-md);
	color: var(--color-text-dark);
}

h1 {
	font-size: var(--font-size-h1);
}

h2 {
	font-size: var(--font-size-h2);
}

h3 {
	font-size: var(--font-size-h3);
}

h4 {
	font-size: var(--font-size-h4);
}

p {
	margin-bottom: var(--spacing-sm);
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: var(--transition-base);
}

a:hover {
	color: var(--color-primary-dark);
}

/* ==========================================================================
   BOTONES - Style Guide
   ========================================================================== */
.btn,
.button,
button[type="submit"],
input[type="submit"],
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
	font-family: var(--font-primary);
	font-weight: var(--font-weight-bold);
	font-size: var(--font-size-base);
	padding: 14px 32px;
	border-radius: var(--border-radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: var(--transition-base);
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Botón Primario (Rosa) */
.btn-primary,
.button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.single_add_to_cart_button {
	background-color: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.btn-primary:hover,
.button.alt:hover,
.woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover {
	background-color: var(--color-white);
	color: var(--color-primary);
	border-color: var(--color-primary);
}

/* Botón Secundario (Blanco) */
.btn-secondary,
.button.secondary {
	background-color: var(--color-white);
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn-secondary:hover,
.button.secondary:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

/* Botón Outline */
.btn-outline {
	background-color: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn-outline:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}

/* ==========================================================================
   BADGES Y ETIQUETAS
   ========================================================================== */
.badge,
.onsale,
.woocommerce span.onsale {
	background-color: var(--color-primary);
	color: var(--color-white);
	font-family: var(--font-primary);
	font-weight: var(--font-weight-bold);
	font-size: var(--font-size-small);
	padding: 6px 12px;
	border-radius: var(--border-radius);
	display: inline-block;
}

/* Badge circular (LÍNEA DE ARREGLOS PREMIUM) */
.badge-circle {
	width: 120px;
	height: 120px;
	border-radius: var(--border-radius-circle);
	background-color: var(--color-primary-dark);
	color: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	padding: var(--spacing-sm);
}

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="search"],
textarea,
select,
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
	font-family: var(--font-primary);
	font-size: var(--font-size-base);
	padding: 12px 16px;
	border: 2px solid #E0E0E0;
	border-radius: var(--border-radius);
	width: 100%;
	transition: var(--transition-base);
	background-color: var(--color-white);
	color: var(--color-text-dark);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(236, 89, 112, 0.1);
}

/* Campo con fondo rosa (Mensaje para tu tarjeta) */
.message-field,
textarea.message-card {
	background-color: rgba(236, 89, 112, 0.1);
	border-color: var(--color-primary);
}

/* ==========================================================================
   ICONOS - Style Guide
   ========================================================================== */
.icon-rose,
.rose-icon {
	width: 48px;
	height: 48px;
	border-radius: var(--border-radius-circle);
	background-color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-white);
}

.icon-rose svg,
.rose-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

/* Iconos pequeños (variante rosa claro) */
.icon-rose-light {
	background-color: var(--color-primary-dark);
}

/* ==========================================================================
   PRODUCTOS WOOCOMMERCE
   ========================================================================== */
.woocommerce ul.products li.product,
.product-item {
	text-align: center;
}

.woocommerce ul.products li.product img,
.product-item img {
	border-radius: var(--border-radius-circle);
	margin-bottom: var(--spacing-sm);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-item .product-title {
	font-family: var(--font-primary);
	font-weight: var(--font-weight-bold);
	font-size: var(--font-size-base);
	color: var(--color-text-dark);
	margin-bottom: var(--spacing-xs);
}

.woocommerce ul.products li.product .price,
.product-item .price {
	font-family: var(--font-primary);
	font-weight: var(--font-weight-bold);
	font-size: var(--font-size-large);
	color: var(--color-primary);
}

/* ==========================================================================
   MARQUESINA - Style Guide
   ========================================================================== */
.marquee-container {
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: var(--spacing-sm) 0;
	overflow: hidden;
	font-weight: var(--font-weight-bold);
	font-size: var(--font-size-large);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Estilos para widget de Elementor y shortcode legacy */
.marquee-section,
.undetalle-marquee {
	width: 100%;
	overflow: hidden;
	position: relative;
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: var(--spacing-sm) 0;
}

.marquee-section .marquee-content,
.undetalle-marquee .marquee-content {
	display: flex;
	white-space: nowrap;
}

.marquee-section .marquee-item,
.undetalle-marquee .marquee-item {
	display: inline-flex;
	align-items: center;
	padding: 0 30px;
}

.marquee-section .marquee-item span,
.undetalle-marquee .marquee-text {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--color-white);
}

.marquee-section .marquee-icon,
.undetalle-marquee .marquee-icon {
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
}

/* ==========================================================================
   PRODUCT & CATEGORY CAROUSELS
   ========================================================================== */
.undetalle-popular-products-widget,
.undetalle-category-carousel-widget {
	margin: 10px 0;
}

 .slider-surface {
	position: relative;
	border-radius: 48px;
	padding: 12px 0 28px;
	overflow: visible;
}

.slider-surface > * {
	position: relative;
	z-index: 1;
}

 .slider-surface .carousel-arrows {
	position: absolute;
	right: 40px;
	bottom: 0;
	display: flex;
	gap: var(--spacing-xs);
}

.slider-surface .carousel-arrow {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	color: var(--color-primary);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-surface .carousel-arrow:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 18px 32px rgba(0, 0, 0, 0.15);
}

.slider-surface .carousel-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

 .undetalle-products-carousel,
.category-carousel {
	position: relative;
	overflow: hidden;
	padding: 0px;
}

.undetalle-products-carousel .carousel-track,
.category-carousel .carousel-track {
	display: flex;
	gap: 10px;
	transition: transform 0.45s ease;
	will-change: transform;
}

/* Product media stack for hover swaps */
.product-card-image {
	position: relative;
	overflow: hidden;
}

.product-card-image .product-media-stack {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
}

.product-card-image .product-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: inherit;
	transition: opacity 0.45s ease, transform 0.45s ease;
	backface-visibility: hidden;
}

.product-card-image .product-media--secondary {
	opacity: 0;
	transform: scale(1.05);
}

.product-card:hover .product-card-image .product-media--primary {
	transform: scale(1.06);
}

.product-card:hover .product-card-image .product-media-stack.has-secondary .product-media--primary {
	opacity: 0;
	transform: scale(0.96);
}

.product-card:hover .product-card-image .product-media-stack.has-secondary .product-media--secondary {
	opacity: 1;
	transform: scale(1.02);
}

.undetalle-products-carousel .product-card {
	background: transparent;
	border-radius: 32px;
	padding: 12px;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.undetalle-products-carousel .product-card:hover {
	transform: translateY(-6px);
	box-shadow: none;
}

 .undetalle-products-carousel .product-card-image {
	position: relative;
	width: 100%;
	/* height viene del widget de Elementor */
	border-radius: 24px;
	overflow: hidden;
	margin-bottom: var(--spacing-md);
}

.undetalle-products-carousel .product-card-image.round-image {
	border-radius: 24px;
	width: 100%;
	height: 100%;
	margin: 0;
}

.undetalle-products-carousel .product-badge {
	top: 16px;
	left: 16px;
	right: auto;
}

.undetalle-products-carousel .product-card-content {
	padding: 0;
}

 .undetalle-products-carousel .product-card-title {
	font-size: clamp(16px, 1.9vw, 18px);
	font-weight: 700;
	margin-bottom: var(--spacing-xs);
	color: var(--color-text-dark);
}

.undetalle-products-carousel .product-card-title a {
	color: inherit;
}

.undetalle-products-carousel .product-card-price {
	font-size: clamp(16px, 1.9vw, 18px);
	font-weight: 700;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: baseline;
}

 .undetalle-products-carousel .product-card-price del {
	font-size: clamp(14px, 1.6vw, 16px);
	color: var(--color-text-muted);
	font-weight: 500;
	text-decoration: line-through;
	text-decoration-color: var(--color-text-muted);
}

.category-carousel .category-card {
	position: relative;
	border-radius: 36px;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	min-height: 220px;
	max-height: 320px;
	box-shadow: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-carousel .category-card:hover {
	transform: translateY(-6px);
	box-shadow: none;
}

.category-carousel .category-card-link {
	display: block;
	height: 100%;
	position: relative;
}

.category-carousel .category-card-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.category-carousel .category-card-no-image {
	background-image: linear-gradient(135deg, #EC5970 0%, #C8B1B1 100%);
}

.category-carousel .category-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.85) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
	gap: 10px;
	color: #fff;
}

.category-carousel .category-card-title {
	margin: 0;
	font-size: clamp(16px, 2.6vw, 20px);
	font-weight: 700;
	line-height: 1.2;
}

.category-carousel .category-card-link-text {
	font-size: clamp(0.75rem, 2vw, 0.95rem);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

@media (max-width: 1200px) {
	.undetalle-products-carousel .product-card,
	.category-carousel .category-card {
		flex: 0 0 240px;
	}
}

@media (max-width: 1024px) {
	.slider-surface {
		padding: 8px 0 24px;
		border-radius: 36px;
	}
	
	.slider-surface .carousel-arrows {
		right: 16px;
		bottom: -6px;
	}
	
	/* La altura de las imágenes viene del widget de Elementor */
	
	.undetalle-products-carousel .product-card {
		gap: 0;
	}
	
	.undetalle-products-carousel .product-card,
	.category-carousel .category-card {
		flex: 0 0 calc(50% - 14px);
		max-width: calc(50% - 14px);
	}
	
	.category-carousel .category-card {
		max-height: 260px;
		min-height: 200px;
	}
}

@media (max-width: 768px) {
	.slider-surface {
		padding: 4px 0 16px;
	}
	
	.slider-surface .carousel-arrows {
		position: static;
		margin-top: 8px;
		justify-content: center;
	}
	
	.undetalle-products-carousel .carousel-track,
	.category-carousel .carousel-track {
		gap: 14px;
	}
	
	/* La altura de las imágenes viene del widget de Elementor */
	
	.undetalle-products-carousel .product-card {
		gap: 0;
	}
	
	.undetalle-products-carousel .product-card,
	.category-carousel .category-card {
		flex: 0 0 calc(50% - 10px);
		max-width: calc(50% - 10px);
	}
	
	.category-carousel .category-card {
		max-height: 220px;
		min-height: 180px;
	}
}

@media (max-width: 480px) {
	.slider-surface {
		padding: 2px 0 10px;
	}
	
	.undetalle-products-carousel .product-card {
		padding: 14px;
	}
	
	/* La altura de las imágenes viene del widget de Elementor */
	
	.category-carousel .category-card {
		max-height: 200px;
		min-height: 160px;
	}
}

/* ==========================================================================
   NAVEGACIÓN - Flechas de Carousel
   ========================================================================== */
.carousel-arrow,
.slick-arrow,
.swiper-button-next,
.swiper-button-prev {
	width: 48px;
	height: 48px;
	border-radius: var(--border-radius-circle);
	background-color: var(--color-white);
	border: 2px solid var(--color-primary);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--transition-base);
}

.carousel-arrow:hover,
.slick-arrow:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}

/* Variante rosa */
.carousel-arrow.pink,
.slick-arrow.pink {
	background-color: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.carousel-arrow.pink:hover,
.slick-arrow.pink:hover {
	background-color: var(--color-white);
	color: var(--color-primary);
}

/* ==========================================================================
   CONTENEDORES Y SECCIONES
   ========================================================================== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

.section {
	padding: var(--spacing-xl) 0;
}

.section-title {
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-bold);
	text-align: center;
	margin-bottom: var(--spacing-lg);
	color: var(--color-text-dark);
}

/* ==========================================================================
   CARDS Y TARJETAS
   ========================================================================== */
.card {
	background-color: var(--color-white);
	border-radius: var(--border-radius-lg);
	padding: var(--spacing-md);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: var(--transition-base);
}

.card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

/* ==========================================================================
   MODALES Y POPUPS
   ========================================================================== */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(22, 24, 25, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition-base);
}

.modal.active {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	background-color: var(--color-white);
	border-radius: var(--border-radius-lg);
	padding: var(--spacing-xl);
	max-width: 500px;
	width: 90%;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
	color: var(--color-primary);
	margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   UTILIDADES
   ========================================================================== */
.text-center {
	text-align: center;
}

.text-primary {
	color: var(--color-primary);
}

.text-white {
	color: var(--color-white);
}

.bg-primary {
	background-color: var(--color-primary);
}

.bg-white {
	background-color: var(--color-white);
}

.mb-sm {
	margin-bottom: var(--spacing-sm);
}

.mb-md {
	margin-bottom: var(--spacing-md);
}

.mb-lg {
	margin-bottom: var(--spacing-lg);
}

.mt-sm {
	margin-top: var(--spacing-sm);
}

.mt-md {
	margin-top: var(--spacing-md);
}

.mt-lg {
	margin-top: var(--spacing-lg);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
	:root {
		--font-size-h1: 36px;
		--font-size-h2: 28px;
		--font-size-h3: 24px;
		--font-size-h4: 20px;
		--spacing-xl: 32px;
		--spacing-lg: 24px;
	}
	
	.btn,
	.button {
		padding: 12px 24px;
		font-size: var(--font-size-small);
	}
}

@media (max-width: 480px) {
	:root {
		--font-size-h1: 28px;
		--font-size-h2: 24px;
		--font-size-h3: 20px;
		--font-size-h4: 18px;
	}
}

/* ==========================================================================
   HOME SLIDER
   ========================================================================== */
.undetalle-home-slider {
	position: relative;
	width: 100%;
	height: var(--slider-desktop-height, 1000px);
	max-height: var(--slider-desktop-height, 1000px);
	overflow: hidden;
}

.slider-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.slider-track {
	position: relative;
	width: 100%;
	height: 100%;
}

.slide-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
	z-index: 1;
}

.slide-item.active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.slide-image {
	position: relative;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.slide-image-desktop {
	display: block;
}

.slide-image-mobile {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(236, 80, 112, 0.9) 0%, rgba(236, 80, 112, 0.75) 15%, rgba(236, 80, 112, 0) 30%);
	z-index: 1;
}

.slide-content {
	position: absolute;
	bottom: 200px;
	left: var(--spacing-lg);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--spacing-md);
	text-align: left;
	color: var(--color-white);
	z-index: 2;
	max-width: 560px;
	pointer-events: auto;
}

.slide-content-inner {
	width: 100%;
	padding: 20px;
	background: rgb(255 255 255 / 10%);
	border-radius: 32px;
	backdrop-filter: blur(22px);
}

.slide-title {
	font-size: 48px;
	font-weight: var(--font-weight-bold);
	margin-bottom: 4px;
	color: var(--color-white);
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.slide-subtitle {
	font-size: 25px;
	margin-bottom: 4px;
	color: var(--color-white);
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.5;
	font-weight: 400;
}

.slide-button {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 16px 36px;
	background-color: var(--color-white);
	color: var(--color-primary);
	border-radius: 18px;
	font-weight: var(--font-weight-bold);
	text-decoration: none;
	transition: var(--transition-base);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: var(--font-size-base);
	border: 2px solid transparent;
	box-shadow: 0 20px 40px rgba(236, 80, 112, 0.35);
}

.slide-button:hover {
	background-color: transparent;
	color: var(--color-white);
	border-color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

/* Navegación del slider (thumbnails, flechas) */
.slider-navigation {
	position: absolute;
	bottom: 120px;
	right: -90px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 40px;
	z-index: 10;
}

/* Thumbnails */
.slider-thumbnails {
	display: flex;
	gap: 0px;
	align-items: flex-start;
	flex-direction: row;
	justify-content: flex-start;
	position: relative;
	right: auto;
}

.slider-thumbnail {
	position: relative;
	flex: 0 0 auto;
	width: 250px;
	height: 300px;
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 0;
	background: none;
	opacity: 0.85;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
	transform: translateY(18px) scale(0.9);
	transform-origin: center bottom;
}

.slider-thumbnail:hover {
	opacity: 0.85;
	border-color: rgba(255, 255, 255, 0.8);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.slider-thumbnail.active {
	border: none;
	opacity: 1;
	height: 350px;
	transform: translateY(-10px) scale(1);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.9);
	z-index: 2;
}

.slider-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Flechas de navegación */
.slider-arrows-container {
	display: flex;
	flex-direction: row;
	gap: var(--spacing-xs);
	align-items: center;
	justify-content: flex-start;
	width: 100%;
}

.slider-arrow {
	background-color: rgba(255, 255, 255, 0.95);
	border: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: var(--color-primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
	flex-shrink: 0;
}

.slider-arrow:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
	transform: scale(1.15);
	box-shadow: 0 6px 16px rgba(236, 89, 112, 0.5);
}

.slider-arrow:active {
	transform: scale(0.9);
}

.slider-arrow svg {
	width: 24px;
	height: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
	.slider-navigation {
		display: none !important;
	}
}

@media (max-width: 768px) {
	/* Si hay altura mobile configurada (mayor a 0), usarla */
	.undetalle-home-slider:not([data-mobile-height="0"]) {
		height: var(--slider-mobile-height, auto) !important;
		max-height: var(--slider-mobile-height, auto) !important;
	}
	
	/* Si no hay altura mobile (0), calcular proporcionalmente */
	.undetalle-home-slider[data-mobile-height="0"] {
		height: calc(var(--slider-desktop-height, 1000px) * 0.6);
		max-height: calc(var(--slider-desktop-height, 1000px) * 0.6);
	}
	
	/* Si hay imagen mobile, ocultar desktop y mostrar mobile */
	.slide-item.has-mobile-image .slide-image-desktop {
		display: none !important;
	}
	
	.slide-item.has-mobile-image .slide-image-mobile {
		display: block !important;
	}
	
	.slide-content {
		bottom: 90px;
		left: var(--spacing-md);
		right: var(--spacing-md);
		max-width: calc(100% - var(--spacing-md) * 2);
		gap: var(--spacing-sm);
	}
	
	.slide-content-inner {
		padding: var(--spacing-md);
	}
	
	.slide-title {
		font-size: 36px;
		margin-bottom: var(--spacing-xs);
	}
	
	.slide-subtitle {
		font-size: var(--font-size-base);
		margin-bottom: 0;
	}
	
	.slide-button {
		width: fit-content;
		padding: 14px 28px;
	}
	
	.slider-navigation {
		bottom: var(--spacing-md);
		right: var(--spacing-md);
		gap: var(--spacing-sm);
	}
	
	.slider-thumbnails {
		gap: var(--spacing-xs);
	}
	
	.slider-thumbnail {
		width: 170px;
		height: 130px;
	}
	
	.slider-thumbnail.active {
		height: 180px;
		transform: translateY(-6px) scale(1);
	}
	
	.slider-arrows-container {
		height: auto;
		flex-direction: row;
		margin-top: var(--spacing-xs);
	}
	
	.slider-arrow {
		width: 40px;
		height: 40px;
	}
	
	.slider-arrow svg {
		width: 18px;
		height: 18px;
	}
}

@media (max-width: 480px) {
	.undetalle-home-slider {
		height: 400px;
	}
	
	.slide-content {
		bottom: 70px;
		left: var(--spacing-sm);
		right: var(--spacing-sm);
		max-width: 100%;
	}
	
	.slide-content-inner {
		padding: var(--spacing-sm);
		border-radius: 24px;
	}
	
	.slide-title {
		font-size: 28px;
		margin-bottom: var(--spacing-xs);
	}
	
	.slide-subtitle {
		font-size: var(--font-size-small);
		margin-bottom: 0;
	}
	
	.slide-button {
		padding: 12px 24px;
		font-size: var(--font-size-small);
		width: 100%;
		text-align: center;
	}
	
	.slider-navigation {
		bottom: var(--spacing-sm);
		right: var(--spacing-sm);
		gap: var(--spacing-xs);
	}
	
	.slider-thumbnails {
		gap: 6px;
		justify-content: flex-end;
	}
	
	.slider-thumbnail {
		width: 120px;
		height: 100px;
		border-width: 2px;
	}
	
	.slider-thumbnail.active {
		height: 150px;
		transform: translateY(-4px) scale(1);
	}
	
	.slider-arrows-container {
		height: auto;
		flex-direction: row;
		margin-top: var(--spacing-xs);
	}
	
	.slider-arrow {
		width: 36px;
		height: 36px;
	}
	
	.slider-arrow svg {
		width: 18px;
		height: 18px;
	}
}