/* =============================================
   Confecciones Yaiza - CSS Consolidado Optimizado
   Unificado: style.css + luxury-override.css + futuristic.css
   ============================================= */

/* Confecciones Yaiza - Estilos Elegantes y Modernos */

/* === ACCESIBILIDAD === */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    padding: 0.5rem 1rem;
    background: var(--luxury-brown, #5a3d2b);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 9999;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #d4a574;
    outline-offset: 2px;
}

:root {
    /* PALETA LUXURY PRINCIPAL - Tonos Dorados y Cremas Elegantes */
    --luxury-gold: #d4a574;           /* Dorado principal luxury */
    --luxury-gold-dark: #b8935f;      /* Dorado oscuro */
    --luxury-gold-light: #e6c29a;     /* Dorado claro */
    --luxury-bronze: #8b5a3c;         /* Bronce elegante */
    --luxury-brown: #5a3d2b;          /* Marrón chocolate */
    --luxury-cream: #faf8f5;          /* Crema base */
    --luxury-ivory: #fcfbf9;          /* Marfil */
    --luxury-champagne: #f5f2ed;      /* Champagne */
    --luxury-pearl: #f8f6f3;          /* Perla */
    
    /* VARIABLES PRIMARIAS (usando paleta luxury) */
    --primary-color: var(--luxury-gold);
    --primary-dark: var(--luxury-gold-dark);
    --primary-light: var(--luxury-gold-light);
    --secondary-color: var(--luxury-brown);
    --accent-color: var(--luxury-bronze);
    --accent-light: #a06b49;
    
    /* COLORES DE ESTADO (manteniendo funcionalidad) */
    --success-color: #2d5016;          /* Verde oscuro luxury */
    --warning-color: #b8935f;          /* Usando dorado oscuro */
    --danger-color: #8b4513;           /* Marrón rojizo luxury */
    --info-color: var(--luxury-bronze);
    
    /* FONDOS LUXURY */
    --bg-primary: #ffffff;
    --bg-secondary: var(--luxury-cream);
    --bg-tertiary: var(--luxury-champagne);
    --bg-light: var(--luxury-ivory);
    --bg-cream: var(--luxury-pearl);
    --bg-elegant: #fefdfb;
    
    /* TEXTOS LUXURY */
    --text-primary: #2c2c2c;
    --text-secondary: var(--luxury-brown);
    --text-muted: #8b7355;             /* Marrón suave luxury */
    --text-light: #a0926b;             /* Dorado muy suave */
    --text-white: #ffffff;
    --text-luxury: var(--luxury-gold);
    
    /* BORDES Y SOMBRAS LUXURY */
    --border-color: #ede7dc;
    --border-light: #f2ede4;
    --border-luxury: rgba(212, 165, 116, 0.3);
    --shadow-sm: 0 2px 8px rgba(212, 165, 116, 0.12);
    --shadow-md: 0 4px 15px rgba(212, 165, 116, 0.18);
    --shadow-lg: 0 8px 25px rgba(212, 165, 116, 0.25);
    --shadow-elegant: 0 12px 35px rgba(90, 61, 43, 0.15);
    --shadow-luxury: 0 15px 40px rgba(139, 90, 60, 0.2);
    
    /* GLASSMORPHISM LUXURY */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-bg-cream: rgba(250, 248, 245, 0.9);
    --glass-border: rgba(212, 165, 116, 0.25);
    --glass-shadow: 0 10px 35px rgba(212, 165, 116, 0.2);
    
    /* GRADIENTES LUXURY */
    --gradient-primary: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-gold-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-bronze) 100%);
    --gradient-luxury: linear-gradient(135deg, var(--luxury-gold-light) 0%, var(--luxury-gold) 50%, var(--luxury-bronze) 100%);
    --gradient-light: linear-gradient(135deg, var(--luxury-cream) 0%, var(--luxury-champagne) 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, rgba(184, 147, 95, 0.08) 100%);
    --gradient-elegant: linear-gradient(135deg, var(--luxury-ivory) 0%, var(--luxury-pearl) 100%);
    
    /* TRANSICIONES LUXURY */
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* BORDES REDONDEADOS LUXURY */
    --border-radius: 14px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FORZAR TEMA LUXURY - CORREGIR FONDO NEGRO */
html {
    background: var(--bg-primary) !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* OVERRIDE CUALQUIER ESTILO QUE CAUSE FONDO NEGRO */
*, *::before, *::after {
    background-color: inherit;
}

/* CONTENEDORES PRINCIPALES CON FONDO LUXURY */
.container, .container-fluid {
    background: transparent;
}

.main, main {
    background: var(--bg-primary) !important;
    min-height: 100vh;
}

/* ASEGURAR QUE LAS SECCIONES TENGAN FONDO CORRECTO */
section {
    background: var(--bg-primary);
}

section[style*="background"] {
    background: var(--bg-secondary) !important;
}

/* Tipografía elegante */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-secondary);
    font-weight: 400;
}

.elegant-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.elegant-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Navegación elegante */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--gradient-subtle);
}

.dropdown-menu {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-elegant);
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--gradient-subtle);
    color: var(--primary-color);
}

/* Asegurar visibilidad del dropdown */
.dropdown-menu {
    z-index: 1050 !important;
    display: none;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Mejorar interacción del dropdown toggle */
.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.nav-item.dropdown:hover .nav-link {
    color: var(--primary-color) !important;
}

/* Botones elegantes */
.btn-primary-elegant {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.btn-primary-elegant:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
    text-decoration: none;
}

.btn-secondary-elegant {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-elegant:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-outline-elegant {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

.btn-outline-elegant:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
}

/* Compatibilidad con botones existentes */
.btn-primary-futuristic {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.btn-primary-futuristic:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
    text-decoration: none;
}

.btn-secondary-futuristic {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-futuristic:hover {
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
}

.btn-futuristic {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-futuristic:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
    text-decoration: none;
}

/* Card elegante principal */
.elegant-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.elegant-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elegant);
    border-color: var(--primary-color);
}

.elegant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.elegant-card:hover::before {
    opacity: 1;
}

/* Glass Cards - Actualizadas con tema elegante */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elegant);
    border-color: var(--primary-color);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Títulos de sección elegantes */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Tarjetas de producto elegantes */
.product-card-elegant {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.product-card-elegant:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
    border-color: var(--primary-color);
}

.product-image-elegant {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
    background: var(--bg-light);
}

.product-card-elegant:hover .product-image-elegant {
    transform: scale(1.05);
}

.product-info-elegant {
    padding: 1.5rem;
}

.product-title-elegant {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-price-elegant {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-category-elegant {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Placeholder para imágenes */
.product-image-placeholder {
    width: 100%;
    height: 280px;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
    opacity: 0.5;
}

/* Overlay elegante para productos */
.product-overlay-elegant {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(90, 61, 43, 0.85) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: var(--text-white);
}

.product-card-elegant:hover .product-overlay-elegant {
    opacity: 1;
}

/* Botones de acción en overlay */
.product-actions-elegant {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-view-elegant,
.btn-cart-elegant {
    background: var(--primary-color);
    border: none;
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-view-elegant:hover,
.btn-cart-elegant:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: var(--text-white);
    text-decoration: none;
}

/* Categorías elegantes */
.category-card-elegant {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category-card-elegant:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
    border-color: var(--primary-color);
}

.category-card-elegant::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-subtle);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.category-card-elegant:hover::before {
    opacity: 1;
}

.category-icon-elegant {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.category-title-elegant {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.category-description-elegant {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Contenedor principal elegante */
.elegant-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Filtros laterales elegantes */
.sidebar-elegant {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 400;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: left;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
}

/* Forms elegantes */
.form-elegant .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-elegant .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.2);
    background: var(--bg-primary);
}

.form-elegant .form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Utilidades de texto elegantes */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.text-elegant-primary {
    color: var(--primary-color);
}

.text-elegant-secondary {
    color: var(--text-secondary);
}

.text-elegant-muted {
    color: var(--text-muted);
}

/* Badges elegantes */
.badge-elegant {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-outline-elegant {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.625rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Alertas elegantes */
.alert-elegant {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary-color);
}

/* Footer elegante */
.footer-elegant {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 2rem;
    margin-top: 5rem;
}

.footer-elegant h5 {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-elegant a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-elegant a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
    margin-right: 0.75rem;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Carrito elegante */
.cart-item-elegant {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.cart-item-elegant:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.cart-summary-elegant {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

/* Controles de cantidad elegantes */
.quantity-control-elegant {
    display: inline-flex;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quantity-control-elegant button {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.quantity-control-elegant button:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.quantity-control-elegant input {
    border: none;
    background: transparent;
    width: 60px;
    text-align: center;
    font-weight: 500;
    color: var(--text-secondary);
}

.quantity-control-elegant input:focus {
    outline: none;
}

/* Galería de producto elegante */
.product-gallery-elegant {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-elegant {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
}

.thumbnail-gallery {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail-btn {
    min-width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail-btn:hover,
.thumbnail-btn.active {
    border-color: var(--primary-color);
}

.thumbnail-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Compatibilidad con estilos existentes */
.futuristic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.product-card-futuristic {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.product-card-futuristic:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
    border-color: var(--primary-color);
}

.product-image-futuristic {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
    background: var(--bg-light);
}

.product-card-futuristic:hover .product-image-futuristic {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(90, 61, 43, 0.85) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: var(--text-white);
}

.product-card-futuristic:hover .product-overlay {
    opacity: 1;
}

.product-info {
    color: inherit;
    width: 100%;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

/* Responsive Design Elegante */
@media (max-width: 1200px) {
    .elegant-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .elegant-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .elegant-container {
        padding: 1rem;
    }
    
    .elegant-card {
        padding: 1.5rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .sidebar-elegant {
        position: relative;
        top: auto;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-primary-elegant,
    .btn-secondary-elegant,
    .btn-primary-futuristic,
    .btn-secondary-futuristic {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .product-actions-elegant {
        flex-direction: column;
    }
    
    .cart-summary-elegant {
        position: relative;
        top: auto;
        margin-top: 2rem;
    }
    
    .thumbnail-gallery {
        justify-content: center;
    }
    
    .social-links {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .elegant-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .elegant-container {
        padding: 0.75rem;
    }
    
    .category-card-elegant {
        padding: 2rem 1rem;
    }
    
    .product-info-elegant {
        padding: 1rem;
    }
    
    .main-image-elegant {
        margin-bottom: 1rem;
    }
    
    .quantity-control-elegant {
        width: 100%;
        justify-content: space-between;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Animaciones elegantes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Utilitarios de animación */
.animate-fade-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Utilidades finales */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.text-gradient-link {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.text-gradient-link:hover {
    filter: brightness(1.1);
}

/* Notificaciones elegantes */
.notification-elegant {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-elegant);
    z-index: 9999;
    animation: fadeInRight 0.3s ease;
}

/* Separadores elegantes */
.elegant-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 2rem auto;
    border-radius: 2px;
}

/* Estados de carga elegantes */
.loading-elegant {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.loading-elegant::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estados vacíos elegantes */
.empty-state-elegant {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.empty-state-elegant i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.empty-state-elegant h3 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Overrides para componentes Bootstrap con tema elegante */
.btn-primary {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--gradient-accent);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--text-muted);
    border-color: var(--text-muted);
}

.btn-outline-secondary {
    color: var(--text-muted);
    border-color: var(--border-color);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.form-control {
    border-color: var(--border-color);
    border-radius: var(--border-radius);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.2);
}

.alert {
    border-radius: var(--border-radius);
}

.card {
    border-color: var(--border-color);
    border-radius: var(--border-radius-lg);
}

.badge {
    border-radius: var(--border-radius);
}

/* Productos - compatibilidad total */
.product-image {
    height: 280px;
    object-fit: cover;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    transition: var(--transition);
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-gallery img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.product-gallery img:hover,
.product-gallery img.active {
    border-color: var(--primary-color);
}

/* Mejoras para carrito */
.cart-item-row {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.cart-item-row:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.cart-qty-group {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.cart-qty-group .btn {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    transition: var(--transition);
}

.cart-qty-group .btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.cart-qty-group input[type="number"] {
    max-width: 60px;
    border-radius: var(--border-radius-sm);
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 500;
    color: var(--text-secondary);
}

.cart-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Input number sin spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Estados hover para enlaces */
a {
    transition: var(--transition);
}

a:hover {
    text-decoration: none;
}

/* CORRECCIONES CRÍTICAS PARA FONDO NEGRO Y SIDEBAR */

/* FORZAR FONDOS LUXURY EN TODA LA PÁGINA */
body, html {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* SIDEBAR DE FILTROS - CORREGIR FONDO NEGRO */
.sidebar-elegant {
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* TÍTULOS EN SIDEBAR */
.sidebar-elegant h5,
.sidebar-elegant .filter-title {
    color: var(--text-secondary) !important;
    font-family: 'Playfair Display', serif;
}

/* ENLACES DE FILTRO - CORREGIR COLORES */
.sidebar-elegant a,
.sidebar-elegant .filter-btn {
    color: var(--text-secondary) !important;
    background: transparent !important;
    border: 1px solid var(--border-color);
    text-decoration: none;
}

.sidebar-elegant a:hover,
.sidebar-elegant .filter-btn:hover,
.sidebar-elegant .filter-btn.active {
    background: var(--gradient-primary) !important;
    color: var(--text-white) !important;
    border-color: var(--primary-color) !important;
}

/* ÁREA DE PRODUCTOS - FONDO CORRECTO */
.elegant-container {
    background: var(--bg-primary) !important;
    min-height: 100vh;
}

/* CARDS DE PRODUCTOS - CORREGIR FONDOS */
.elegant-card {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

.product-card-elegant {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* TÍTULOS DE PRODUCTOS */
.elegant-card h2,
.elegant-container h2 {
    color: var(--text-secondary) !important;
}

/* SELECT DE ORDENACIÓN */
.elegant-card select.form-control {
    background: var(--bg-primary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

/* FOOTER - ASEGURAR FONDO CORRECTO */
.footer-elegant {
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
}

/* NAVEGACIÓN - FONDO CORRECTO */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
}

/* OVERRIDE BOOTSTRAP QUE PUEDA CAUSAR FONDO NEGRO */
.bg-dark {
    background: var(--bg-secondary) !important;
}

.text-dark {
    color: var(--text-secondary) !important;
}

/* ASEGURAR QUE NO HAY FONDOS NEGROS OCULTOS */
div, section, main, header, footer, nav {
    background-color: inherit;
}

/* PRODUCTOS ESPECÍFICOS - MEJORAR VISIBILIDAD */
.product-card-elegant .product-info-elegant {
    background: var(--bg-primary) !important;
}

.product-title-elegant {
    color: var(--text-secondary) !important;
}

.product-price-elegant {
    color: var(--primary-color) !important;
}

.product-category-elegant {
    color: var(--text-muted) !important;
}

/* BADGES CORREGIDOS */
.badge-elegant {
    background: var(--gradient-primary) !important;
    color: var(--text-white) !important;
}

.badge-outline-elegant {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}

/* Final cleanup - remove duplicated rules in next step */

/* ========================================
   BOTÓN FLOTANTE WHATSAPP
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: #fff;
}
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

/* ========================================
   BANNER DE COOKIES (RGPD)
   ======================================== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    border-top: 2px solid #d4a574;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    padding: 14px 20px;
}
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-text {
    font-size: 0.9rem;
    color: #2c2c2c;
    flex: 1;
    min-width: 200px;
}
.cookie-link {
    color: #b8935f;
    text-decoration: underline;
    margin-left: 6px;
}
.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn-reject {
    padding: 8px 20px;
    border: 1px solid #ccc;
    background: transparent;
    color: #666;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.cookie-btn-reject:hover { background: #f5f5f5; }
.cookie-btn-accept {
    padding: 8px 24px;
    border: none;
    background: linear-gradient(135deg, #d4a574, #b8935f);
    color: #fff;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.cookie-btn-accept:hover { opacity: 0.9; transform: scale(1.03); }
@media (max-width: 576px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; justify-content: flex-end; }
}

/* ========================================
   FILTRO DE TALLAS
   ======================================== */
.talla-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 5px 10px;
    border: 1px solid rgba(212,165,116,.5);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #5a3d2b;
    background: transparent;
    text-decoration: none;
    transition: all 0.15s;
}
.talla-btn:hover {
    background: rgba(212,165,116,.15);
    color: #5a3d2b;
    border-color: #d4a574;
}
.talla-btn.active {
    background: linear-gradient(135deg, #d4a574, #b8935f);
    color: #fff;
    border-color: transparent;
}

/* ========================================
   MEJORAS UI/UX - v3 (2026)
   ======================================== */

/* --- Scroll suave global --- */
html {
    scroll-behavior: smooth;
}

/* --- Focus visible accesible --- */
:focus-visible {
    outline: 2px solid var(--luxury-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Botones principales: microinteracción al pulsar --- */
.btn-luxury,
.btn-primary,
.btn-outline-luxury {
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn-luxury:active,
.btn-primary:active,
.btn-outline-luxury:active {
    transform: scale(0.97);
}

/* --- Cards de producto: hover más suave y elevado --- */
.product-card,
.elegant-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.product-card:hover,
.elegant-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(139, 90, 60, 0.18) !important;
}

/* --- Imágenes de producto: zoom suave --- */
.product-card img,
.elegant-card img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.product-card:hover img,
.elegant-card:hover img {
    transform: scale(1.05);
}

/* --- Navbar scrolled: sombra al hacer scroll --- */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(90, 61, 43, 0.12) !important;
}

/* --- Badge "Nuevo" y "Rebajado" más visibles --- */
.badge-nuevo {
    background: linear-gradient(135deg, #2d7a2d, #1a5c1a);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.badge-rebajado {
    background: linear-gradient(135deg, #c0392b, #922b21);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Precio rebajado más llamativo --- */
.precio-rebajado {
    color: #c0392b !important;
    font-weight: 700;
}
.precio-original {
    text-decoration: line-through;
    color: var(--text-muted) !important;
    font-size: 0.88em;
}

/* --- Formularios: inputs más elegantes --- */
.form-control,
.form-select {
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--luxury-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
    outline: none;
}

/* --- Skeleton loading para imágenes --- */
.img-skeleton {
    background: linear-gradient(90deg, #f0ebe3 25%, #faf8f5 50%, #f0ebe3 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Toast notifications más luxury --- */
.toast-luxury {
    border-left: 4px solid var(--luxury-gold);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-elegant);
}

/* #scroll-top-btn eliminado — se usa .back-to-top-btn definido en luxury-override.css */

/* --- Mejora responsiva: imágenes de hero en móvil --- */
@media (max-width: 576px) {
    .hero-section-premium,
    .hero-section-elegant {
        padding: 2rem 0 !important;
    }
    .display-3 {
        font-size: 2rem !important;
    }
    .display-4 {
        font-size: 1.75rem !important;
    }
}

/* --- Divider decorativo luxury --- */
.luxury-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, var(--luxury-gold), var(--luxury-gold-dark));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* --- Sección de beneficios (envío gratis, etc.) --- */
.benefit-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(212,165,116,.15), rgba(184,147,95,.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--luxury-gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}


/* === LUXURY OVERRIDES === */
/* Confecciones Yaiza — Bootstrap overrides + componentes exclusivos
   Nota: Se ha eliminado "* { color: inherit !important }" y las variables CSS duplicadas.
   Los estilos base están en style.css. Aquí solo se mantienen los overrides de Bootstrap
   y los componentes que no están en style.css.
   ========================================================================= */

/* NAVEGACIÓN — override de Bootstrap */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid #ede7dc !important;
}

.navbar-brand {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #d4a574, #b8935f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    transition: all 0.3s ease !important;
}

.navbar-brand:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.1) !important;
}

.nav-link {
    color: #5a3d2b !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: #d4a574 !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
}

.nav-link:hover {
    color: #d4a574 !important;
    transform: translateY(-2px) !important;
}

.nav-link:hover::after {
    width: 80% !important;
}

/* Bootstrap dark overrides */
.bg-dark {
    background: #faf8f5 !important;
}

.text-dark {
    color: #5a3d2b !important;
}

/* FORMULARIOS — override Bootstrap */
.form-control {
    background: #ffffff !important;
    color: #5a3d2b !important;
    border: 1px solid #ede7dc !important;
    border-radius: 14px !important;
}

/* SECTION-TITLE */
.section-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.8rem !important;
    font-weight: 300 !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
    color: #5a3d2b !important;
    position: relative !important;
}

.section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #d4a574, #8b5a3c) !important;
    border-radius: 2px !important;
}

.section-subtitle {
    font-size: 1.1rem !important;
    color: #8b7355 !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
}

/* FOOTER — override Bootstrap */
.footer-elegant {
    background: #faf8f5 !important;
    color: #5a3d2b !important;
    border-top: 1px solid #ede7dc !important;
}

.footer-elegant a {
    color: #8b7355 !important;
}

.footer-elegant a:hover {
    color: #d4a574 !important;
}

/* SOCIAL LINKS */
.social-links a {
    background: #ffffff !important;
    color: #8b7355 !important;
    border: 1px solid #ede7dc !important;
}

.social-links a:hover {
    background: #d4a574 !important;
    color: #ffffff !important;
}

/* GRADIENT TEXT */
.gradient-text {
    background: linear-gradient(135deg, #d4a574, #8b5a3c) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* SCROLL SMOOTH */
html {
    scroll-behavior: smooth !important;
}

/* ====================================================
   ANIMACIONES LUXURY
   ==================================================== */
.animate-fade-up {
    animation: fadeInUpLuxury 0.8s ease-out;
}

.animate-fade-left {
    animation: fadeInLeftLuxury 0.8s ease-out;
}

.animate-fade-right {
    animation: fadeInRightLuxury 0.8s ease-out;
}

@keyframes fadeInUpLuxury {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeftLuxury {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRightLuxury {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%       { transform: scale(1.05); opacity: 1; }
}

/* ====================================================
   BOTONES LUXURY PREMIUM
   ==================================================== */
.btn-luxury-primary {
    background: linear-gradient(135deg, #d4a574 0%, #b8935f 100%);
    border: none;
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-luxury-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-luxury-primary:hover::before { left: 100%; }

.btn-luxury-primary:hover {
    background: linear-gradient(135deg, #b8935f 0%, #8b5a3c 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(212, 165, 116, 0.35);
    color: #ffffff;
    text-decoration: none;
}

.btn-luxury-outline {
    background: transparent;
    border: 2px solid #d4a574;
    color: #d4a574;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-luxury-outline::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: #d4a574;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-luxury-outline:hover::before { width: 100%; }

.btn-luxury-outline:hover {
    color: #ffffff;
    border-color: #d4a574;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.25);
    text-decoration: none;
}

@media (max-width: 768px) {
    .btn-luxury-primary,
    .btn-luxury-outline {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

/* ====================================================
   HERO SECTION PREMIUM
   ==================================================== */
.hero-section-premium {
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 50%, #f8f6f3 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section-premium {
        min-height: 70vh;
        padding: 4rem 0;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ====================================================
   CATEGORY CARDS PREMIUM
   ==================================================== */
#categorias { scroll-margin-top: 100px; }

.category-card-premium {
    background: #ffffff;
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.08);
}

.category-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4a574, #8b5a3c);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card-premium:hover::before { opacity: 1; }

.category-card-premium:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.2);
    border-color: rgba(212, 165, 116, 0.3);
}

.category-icon-premium {
    font-size: 3.5rem;
    color: #d4a574;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.category-card-premium:hover .category-icon-premium {
    background: #d4a574;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.category-badge {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: rgba(212, 165, 116, 0.15);
    color: #d4a574;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.4s ease;
}

.category-card-premium:hover .category-badge {
    background: #d4a574;
    color: #ffffff;
    transform: scale(1.1);
}

.category-title-premium {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #5a3d2b;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.category-card-premium:hover .category-title-premium {
    color: #d4a574;
}

.category-description-premium {
    color: #8b7355;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-stats { margin-bottom: 2rem; }

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #d4a574;
    font-weight: 600;
    background: rgba(212, 165, 116, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-card-premium:hover .stat-item {
    background: #d4a574;
    color: #ffffff;
}

.btn-category-premium {
    background: transparent;
    border: 2px solid rgba(212, 165, 116, 0.3);
    color: #d4a574;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-category-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: #d4a574;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-category-premium:hover::before { width: 100%; }

.btn-category-premium:hover {
    color: #ffffff;
    border-color: #d4a574;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.25);
    text-decoration: none;
}

@media (max-width: 768px) {
    .category-card-premium { padding: 2rem 1.5rem; margin-bottom: 2rem; }
    .category-icon-premium { font-size: 3rem; padding: 0.75rem; }
    .btn-category-premium { width: 100%; justify-content: center; }
}

/* ====================================================
   BARRA BÚSQUEDA LUXURY
   ==================================================== */
.form-control-luxury {
    background: #ffffff;
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 50px;
    padding: 1rem 3.5rem 1rem 2rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    color: #5a3d2b;
}

.form-control-luxury:focus {
    border-color: #d4a574;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
    transform: translateY(-2px);
}

.btn-search-luxury {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    background: #d4a574;
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-search-luxury:hover {
    background: #b8935f;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

/* ====================================================
   TRUST BADGES STRIP
   ==================================================== */
.trust-strip {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #fff9f4, #faf8f5);
    border-top: 1px solid rgba(212, 165, 116, 0.15);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #5a3d2b;
    transition: transform 0.3s ease;
}

.trust-badge-item:hover { transform: translateY(-4px); }

.trust-badge-item i {
    font-size: 1.8rem;
    color: #d4a574;
    background: rgba(212, 165, 116, 0.12);
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trust-badge-item:hover i {
    background: #d4a574;
    color: #fff;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.35);
}

.trust-badge-item span {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====================================================
   CATEGORY PHOTO CARDS
   ==================================================== */
.cat-photo-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(90, 61, 43, 0.12);
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #f5f2ed;
}

.cat-photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(90, 61, 43, 0.22);
    text-decoration: none;
}

.cat-photo-img {
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.cat-photo-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cat-photo-card:hover .cat-photo-img img { transform: scale(1.08); }

.cat-photo-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf8f5, #f0ece5);
    font-size: 3rem;
    color: #d4a574;
}

.cat-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(30,15,5,0.55) 70%, rgba(30,15,5,0.82) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: background 0.4s ease;
}

.cat-photo-card:hover .cat-photo-overlay {
    background: linear-gradient(to bottom, transparent 15%, rgba(30,15,5,0.65) 60%, rgba(30,15,5,0.9) 100%);
}

.cat-photo-content {
    width: 100%;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}

.cat-photo-card:hover .cat-photo-content { transform: translateY(0); }

.cat-photo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cat-photo-count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.cat-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #d4a574;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-photo-card:hover .cat-photo-btn { opacity: 1; }

@media (max-width: 768px) {
    .cat-photo-card { aspect-ratio: 1/1.2; }
    .cat-photo-title { font-size: 1.1rem; }
    .cat-photo-btn { opacity: 1; }
}

/* ====================================================
   BOTÓN FAVORITO
   ==================================================== */
.favorite-btn-enhanced {
    position: relative;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.68,-0.55,0.265,1.55);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    padding: 0;
}

.favorite-btn-enhanced:hover { transform: scale(1.15); }
.favorite-btn-enhanced .heart-icon { font-size: 1rem; }

/* ====================================================
   BOTÓN "VER DETALLES" EN TARJETAS
   ==================================================== */
.card-see-btn {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #d4a574;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .card-see-btn { display: inline-flex; }
}

@media (min-width: 992px) {
    .product-card-elegant:hover .card-see-btn { display: inline-flex; }
}

.card-see-btn:hover {
    color: #b8935f;
    gap: 0.6rem;
    text-decoration: none;
}

/* ====================================================
   CHIPS DE FILTROS ACTIVOS
   ==================================================== */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.75rem;
    background: rgba(212, 165, 116, 0.12);
    border: 1px solid rgba(212, 165, 116, 0.35);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a3d2b;
    text-decoration: none;
    transition: all 0.25s ease;
}

.filter-chip:hover {
    background: rgba(212, 165, 116, 0.25);
    color: #5a3d2b;
    text-decoration: none;
}

.filter-chip-clear {
    background: rgba(139, 90, 60, 0.1);
    border-color: rgba(139, 90, 60, 0.25);
    color: #8b5a3c;
}

.filter-chip-clear:hover {
    background: #8b5a3c;
    color: #fff;
}

/* ====================================================
   BOTÓN FILTRAR FLOTANTE (MÓVIL) con contador
   ==================================================== */
.filter-fab { display: none; }

@media (max-width: 991px) {
    .filter-fab {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 80px;
        left: 20px;
        z-index: 997;
        background: linear-gradient(135deg, #d4a574, #b8935f);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 0.65rem 1.3rem;
        font-size: 0.9rem;
        font-weight: 600;
        box-shadow: 0 6px 20px rgba(212,165,116,0.4);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .filter-fab:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(212,165,116,0.45);
    }
}

.filter-fab-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -2px;
}

/* mantenemos el punto de presencia para compatibilidad */
.filter-fab-dot {
    position: absolute;
    top: -4px; right: -4px;
    width: 10px; height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* ====================================================
   OFFCANVAS DE FILTROS
   ==================================================== */
.offcanvas-filtros {
    background: #faf8f5;
    border-right: 1px solid rgba(212, 165, 116, 0.2);
    max-width: 300px;
}

.offcanvas-filtros .offcanvas-header {
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    padding: 1.25rem 1.5rem;
}

.offcanvas-filtros .offcanvas-body { padding: 1.5rem; }

/* ====================================================
   CARRUSEL HORIZONTAL PRODUCTOS RELACIONADOS
   ==================================================== */
.related-carousel-wrap { position: relative; overflow: hidden; }

.related-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(212,165,116,.4) transparent;
}

.related-carousel::-webkit-scrollbar { height: 4px; }
.related-carousel::-webkit-scrollbar-track { background: transparent; }
.related-carousel::-webkit-scrollbar-thumb {
    background: rgba(212, 165, 116, 0.4);
    border-radius: 4px;
}

.related-carousel-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .related-carousel-item { flex: 0 0 220px; }
}

/* ====================================================
   SCROLL-REVEAL ANIMATIONS
   ==================================================== */
.scroll-pending {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delay escalonado para grids */
.scroll-pending:nth-child(2) { transition-delay: 0.08s; }
.scroll-pending:nth-child(3) { transition-delay: 0.16s; }
.scroll-pending:nth-child(4) { transition-delay: 0.24s; }
.scroll-pending:nth-child(5) { transition-delay: 0.32s; }
.scroll-pending:nth-child(6) { transition-delay: 0.40s; }

/* ====================================================
   BADGE "NUEVO"
   ==================================================== */
.badge-nuevo {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(46,204,113,0.35);
}

/* ====================================================
   BOTÓN VOLVER ARRIBA
   ==================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 90px; right: 20px;
    width: 48px; height: 48px;
    background: #fff;
    border: 1.5px solid rgba(212, 165, 116, 0.35);
    color: #d4a574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(90, 61, 43, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    text-decoration: none;
}

.back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top-btn:hover {
    background: #d4a574;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
    border-color: #d4a574;
    text-decoration: none;
}

/* ====================================================
   STICKY ADD-TO-CART BAR (solo mobile)
   ==================================================== */
.sticky-cart-bar { display: none; }

@media (max-width: 768px) {
    .sticky-cart-bar {
        display: block;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 998;
        padding: 0.75rem 1rem;
        background: rgba(255,255,255,0.97);
        border-top: 1px solid rgba(212, 165, 116, 0.25);
        box-shadow: 0 -4px 20px rgba(90, 61, 43, 0.12);
        backdrop-filter: blur(10px);
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .sticky-cart-bar.visible { transform: translateY(0); }

    .sticky-cart-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .sticky-cart-info {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        overflow: hidden;
    }

    .sticky-cart-name {
        font-size: 0.85rem;
        font-weight: 600;
        color: #5a3d2b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sticky-cart-price {
        font-size: 1.1rem;
        font-weight: 700;
        color: #d4a574;
    }

    .sticky-cart-btn {
        background: linear-gradient(135deg, #d4a574, #b8935f);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(212, 165, 116, 0.35);
    }

    .sticky-cart-btn:hover {
        background: linear-gradient(135deg, #b8935f, #8b5a3c);
        color: #fff;
        text-decoration: none;
    }
}

/* ====================================================
   BOTONES DE COMPARTIR
   ==================================================== */
.share-btn-whatsapp,
.share-btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.share-btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.share-btn-whatsapp:hover {
    background: #25d366;
    color: #fff;
    text-decoration: none;
}

.share-btn-copy {
    background: rgba(212, 165, 116, 0.12);
    color: #d4a574;
}

.share-btn-copy:hover {
    background: #d4a574;
    color: #fff;
}

/* ====================================================
   BUSCADOR NAVBAR EXPANDIBLE
   ==================================================== */
.navbar-search-wrap {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 0.5rem;
}

.navbar-search-input {
    width: 0;
    opacity: 0;
    border: none;
    border-bottom: 2px solid #d4a574;
    background: transparent;
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
    color: #5a3d2b;
    transition: width 0.4s ease, opacity 0.3s ease;
    outline: none;
    border-radius: 0;
}

.navbar-search-input::placeholder { color: #b8935f; }

.navbar-search-wrap.open .navbar-search-input {
    width: 180px;
    opacity: 1;
}

.navbar-search-toggle {
    background: none;
    border: none;
    color: #5a3d2b;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.35rem;
    transition: color 0.2s ease;
    line-height: 1;
}

.navbar-search-toggle:hover { color: #d4a574; }

/* Autocompletado */
.nav-search-suggest {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-width: 90vw;
    background: #fff;
    border: 1px solid #e8dfcf;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(90,61,43,.18);
    z-index: 1050;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
}
.nav-search-suggest[hidden] { display: none; }
.nav-search-suggest .nss-section {
    padding: 8px 12px 4px;
    font-size: .72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #b8935f;
}
.nav-search-suggest .nss-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #5a3d2b;
    text-decoration: none;
    border-top: 1px solid #f5ede0;
}
.nav-search-suggest .nss-item:first-of-type { border-top: none; }
.nav-search-suggest .nss-item:hover,
.nav-search-suggest .nss-item.active {
    background: #faf6ee;
}
.nav-search-suggest .nss-thumb {
    width: 42px; height: 42px;
    object-fit: cover;
    border-radius: 6px;
    background: #f5ede0;
    flex-shrink: 0;
}
.nav-search-suggest .nss-text { flex: 1; min-width: 0; }
.nav-search-suggest .nss-name {
    font-size: .9rem; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-search-suggest .nss-cat { font-size: .72rem; color: #8b7355; }
.nav-search-suggest .nss-price { font-size: .85rem; color: #5a3d2b; font-weight: 600; }
.nav-search-suggest .nss-empty {
    padding: 14px 12px; text-align: center; color: #8b7355; font-size: .85rem;
}
.nav-search-suggest .nss-all {
    display: block; text-align: center;
    padding: 10px; background: #f5ede0;
    color: #5a3d2b; font-size: .82rem; font-weight: 600;
    text-decoration: none; border-top: 1px solid #ede3d0;
}
.nav-search-suggest .nss-all:hover { background: #ede3d0; }

/* ====================================================
   MIS PEDIDOS
   ==================================================== */
@media (max-width: 991px) {
    .pedido-card .border-start {
        border-left: none !important;
        border-top: 1px solid #ede7dc !important;
    }
}

/* ====================================================
   SWATCHES DE COLOR EN TARJETAS
   ==================================================== */
.color-swatch-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    display: inline-block;
    cursor: default;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.color-swatch-dot:hover { transform: scale(1.3); }

/* ====================================================
   CARRITO Y CHECKOUT
   ==================================================== */
#btn-pedir-whatsapp:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
}

.wa-checkout-banner {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
}

/* ====================================================
   BADGES Y MISC
   ==================================================== */
.estado-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.alert-elegant {
    background: rgba(212,165,116,.08) !important;
    border: 1px solid rgba(212,165,116,.25) !important;
    border-left: 4px solid #d4a574 !important;
    color: #5a3d2b !important;
    border-radius: 12px !important;
}

.luxury-badge {
    display: inline-block;
    background: rgba(212,165,116,0.12);
    color: #b8935f;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(212,165,116,0.3);
}

#vistos-recientemente .product-card-elegant:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

/* ====================================================
   SPINNER ADD-TO-CART (feedback visual)
   ==================================================== */
.btn-add-cart-spinner .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

.btn-add-cart-spinner[disabled] {
    opacity: 0.75;
    cursor: not-allowed;
}

/* ====================================================
   ACCESIBILIDAD — focus visible y skip link
   ==================================================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    background: #5a3d2b;
    color: #fff;
    padding: 8px 14px;
    border-radius: 0 0 6px 0;
    font-weight: 600;
}
.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
}

:focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
    border-radius: 3px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
}
/* Mantener contraste de iconos decorativos */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    clip: rect(0,0,0,0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* ====================================================
   MÓVIL — ajustes UX
   ==================================================== */
@media (max-width: 575.98px) {
    /* Tap targets ≥ 40px en nav */
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    /* Tarjetas producto en 2 columnas más compactas */
    .product-card-elegant .product-info-elegant { padding: 0.75rem; }
    .product-card-elegant .product-title-elegant { font-size: 0.9rem; line-height: 1.25; }
    .product-card-elegant .product-price-elegant { font-size: 1rem; }
    .product-card-elegant .product-category-elegant { font-size: 0.72rem; }
    .product-card-elegant .card-see-btn { font-size: 0.78rem; padding: 0.4rem 0.6rem; }
    /* Favorito más pequeño pero tap-target 40px gracias a padding */
    .favorite-btn { width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
    /* Evitar overflow horizontal por gutters en carruseles */
    .related-carousel { scroll-padding-left: 16px; }
    /* Hero compactado */
    .section-title { font-size: 1.6rem !important; }
    .section-subtitle { font-size: 0.92rem; }
    /* Sticky cart bar padding safe-area */
    .sticky-cart-bar { padding-bottom: env(safe-area-inset-bottom, 0); }
    /* Buscador expandible ocupa más al abrirse */
    .navbar-search-wrap.open .navbar-search-input { width: 140px; }
}

/* Voto "Útil" en reseñas */
.resena-util-btn { transition: all .2s ease; }
.resena-util-btn:hover { background: rgba(212,165,116,.12) !important; color: #5a3d2b !important; }
.resena-util-btn.voted { background: linear-gradient(135deg,#d4a574,#b8935f) !important; color: #fff !important; border-color: transparent !important; }
.resena-util-btn.voted i { color: #fff !important; }


/* === FUTURISTIC LAYER === */
/* ═══════════════════════════════════════════════════════════════════
   FUTURISTIC LAYER — Confecciones Yaiza
   View transitions, scroll-reveal, splash, cursor, dark mode, social proof
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. View Transitions API ─────────────────────────────────────── */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .35s;
    animation-timing-function: cubic-bezier(.65,0,.35,1);
}
::view-transition-old(root) { animation-name: yaiza-fade-out; }
::view-transition-new(root) { animation-name: yaiza-fade-in; }

@keyframes yaiza-fade-out {
    to { opacity: 0; transform: translateY(-6px) scale(.995); filter: blur(2px); }
}
@keyframes yaiza-fade-in {
    from { opacity: 0; transform: translateY(8px) scale(.998); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* ── 2. Scroll-reveal ────────────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .85s cubic-bezier(.2,.7,.1,1), transform .85s cubic-bezier(.2,.7,.1,1);
    will-change: opacity, transform;
}
[data-reveal].revealed {
    opacity: 1;
    transform: none;
}
[data-reveal="left"]:not(.revealed)  { transform: translateX(-40px); }
[data-reveal="right"]:not(.revealed) { transform: translateX(40px); }
[data-reveal="zoom"]:not(.revealed)  { transform: scale(.92); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* Parallax suave para elementos marcados */
[data-parallax] { transform: translate3d(0, var(--parallax-y, 0), 0); transition: transform .05s linear; }

/* ── 3. Splash de marca ──────────────────────────────────────────── */
#yaizaSplash {
    position: fixed; inset: 0;
    background: radial-gradient(circle at 50% 40%, #fffaf3 0%, #f5e9d9 100%);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    pointer-events: all;
    animation: splash-vanish .7s .9s ease-in forwards;
}
#yaizaSplash .yaiza-splash-logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 9vw, 5rem);
    font-weight: 700;
    letter-spacing: .04em;
    background: linear-gradient(90deg, #d4a574 0%, #5a3d2b 50%, #d4a574 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: splash-shimmer 1.2s ease-in-out;
}
#yaizaSplash .yaiza-splash-tag {
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    letter-spacing: .45em;
    color: #8b7355;
    margin-top: .6rem;
    text-transform: uppercase;
    opacity: 0;
    animation: splash-tag .5s .35s forwards;
}
@keyframes splash-shimmer {
    0% { background-position: -100% 50%; opacity: 0; transform: translateY(8px); }
    40% { opacity: 1; transform: none; }
    100% { background-position: 200% 50%; opacity: 1; }
}
@keyframes splash-tag {
    to { opacity: 1; letter-spacing: .55em; }
}
@keyframes splash-vanish {
    to { opacity: 0; transform: scale(1.02); visibility: hidden; }
}

/* ── 4. Cursor magnético ─────────────────────────────────────────── */
.magnetic { transition: transform .25s cubic-bezier(.2,.9,.2,1.05); display: inline-block; }

/* ── 5. Modo nocturno ────────────────────────────────────────────── */
html[data-theme="dark"] {
    --yaiza-bg: #141013;
    --yaiza-surface: #1d181c;
    --yaiza-text: #f0e6dc;
    --yaiza-text-muted: #a8988a;
    --yaiza-primary: #d4a574;
    --yaiza-border: #2a2126;
    color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--yaiza-bg) !important; color: var(--yaiza-text) !important; }
html[data-theme="dark"] .navbar,
html[data-theme="dark"] .navbar.scrolled { background: rgba(20,16,19,.95) !important; border-bottom: 1px solid var(--yaiza-border); }
html[data-theme="dark"] .elegant-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .ck-card,
html[data-theme="dark"] .ck-summary,
html[data-theme="dark"] footer {
    background: var(--yaiza-surface) !important;
    color: var(--yaiza-text) !important;
    border-color: var(--yaiza-border) !important;
}
/* Secciones con inline style: las forzamos a oscuras */
html[data-theme="dark"] section[style*="background"],
html[data-theme="dark"] .hero-section-premium,
html[data-theme="dark"] .trust-strip {
    background: var(--yaiza-bg) !important;
    background-image: none !important;
}
html[data-theme="dark"] section[style*="#fff"],
html[data-theme="dark"] section[style*="#faf8f5"],
html[data-theme="dark"] section[style*="#fefdfb"] { background: var(--yaiza-bg) !important; }
html[data-theme="dark"] .text-elegant-muted,
html[data-theme="dark"] .text-elegant-secondary,
html[data-theme="dark"] .section-subtitle { color: var(--yaiza-text-muted) !important; }
html[data-theme="dark"] .section-title { color: var(--yaiza-text) !important; }
html[data-theme="dark"] .nav-link { color: var(--yaiza-text) !important; }
html[data-theme="dark"] .navbar-brand,
html[data-theme="dark"] .elegant-title,
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4,
html[data-theme="dark"] h5, html[data-theme="dark"] h6 { color: var(--yaiza-text) !important; }
html[data-theme="dark"] p, html[data-theme="dark"] span, html[data-theme="dark"] li { color: inherit; }
html[data-theme="dark"] [style*="color: var(--text-secondary)"],
html[data-theme="dark"] [style*="color:var(--text-secondary)"] { color: var(--yaiza-text) !important; }
html[data-theme="dark"] [style*="color: var(--text-muted)"],
html[data-theme="dark"] [style*="color:var(--text-muted)"] { color: var(--yaiza-text-muted) !important; }
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .ck-input {
    background: #262024 !important;
    color: var(--yaiza-text) !important;
    border-color: var(--yaiza-border) !important;
}
html[data-theme="dark"] .bg-light, html[data-theme="dark"] .bg-white { background: var(--yaiza-surface) !important; }
html[data-theme="dark"] #yaizaSplash {
    background: radial-gradient(circle at 50% 40%, #1d181c 0%, #0f0b0e 100%);
}
html[data-theme="dark"] #yaizaSplash .yaiza-splash-tag { color: #a8988a; }

/* Toggle modo noche — apilado encima del botón Volver Arriba */
.theme-toggle {
    position: fixed;
    right: 22px;
    bottom: 158px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #d4a574, #b8935f);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(184,147,95,.35);
    cursor: pointer;
    z-index: 998;
    display: flex; align-items: center; justify-content: center;
    transition: transform .25s, box-shadow .25s, background .25s;
}
.theme-toggle:hover { transform: scale(1.08) rotate(18deg); box-shadow: 0 8px 24px rgba(184,147,95,.5); }
html[data-theme="dark"] .theme-toggle { background: linear-gradient(135deg, #2d2329, #3a2e35); color: #ffd89a; }
@media (max-width: 576px) { .theme-toggle { right: 18px; bottom: 150px; width: 40px; height: 40px; font-size: 1rem; } }

/* ── 6. Social proof toast ───────────────────────────────────────── */
.social-proof-toast {
    position: fixed;
    left: 18px; bottom: 18px;
    max-width: 320px;
    background: #fff;
    border: 1px solid rgba(212,165,116,.25);
    border-radius: 14px;
    padding: .75rem 1rem;
    box-shadow: 0 10px 30px rgba(90,61,43,.15);
    display: flex; align-items: center; gap: .7rem;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform .5s cubic-bezier(.2,.9,.2,1), opacity .5s ease;
    z-index: 9997;
    font-size: .82rem;
    color: #5a3d2b;
}
.social-proof-toast.visible { transform: none; opacity: 1; }
.social-proof-toast .sp-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg,#d4a574,#b8935f);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
}
.social-proof-toast .sp-close {
    position: absolute; top: 4px; right: 6px;
    background: none; border: none; color: #a08d76; font-size: .75rem; cursor: pointer;
    padding: 2px 6px; line-height: 1;
}
.social-proof-toast strong { color: #5a3d2b; }
.social-proof-toast em { font-style: normal; color: #8b7355; }
html[data-theme="dark"] .social-proof-toast { background: #231c20; color: var(--yaiza-text); border-color: var(--yaiza-border); }
html[data-theme="dark"] .social-proof-toast strong { color: var(--yaiza-text); }
@media (max-width: 576px) {
    .social-proof-toast { left: 10px; right: 10px; max-width: none; bottom: 86px; }
}

/* ── 7. 360 tilt + zoom-lens ─────────────────────────────────────── */
.tilt-wrap {
    perspective: 1200px;
    position: relative;
}
.tilt-inner {
    transition: transform .15s linear;
    transform-style: preserve-3d;
    will-change: transform;
}
.zoom-lens {
    position: absolute;
    pointer-events: none;
    width: 160px; height: 160px;
    border: 2px solid rgba(212,165,116,.6);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: 200% 200%;
    box-shadow: 0 8px 30px rgba(0,0,0,.15), inset 0 0 0 2px #fff;
    opacity: 0;
    transition: opacity .2s;
    z-index: 5;
}
.tilt-wrap:hover .zoom-lens { opacity: 1; }
@media (hover: none) { .zoom-lens { display: none; } }

/* ── 8. Quiz de estilo ───────────────────────────────────────────── */
.quiz-shell { max-width: 720px; margin: 0 auto; }
.quiz-step {
    background: #fff;
    border: 1px solid rgba(212,165,116,.2);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 14px 40px rgba(184,147,95,.08);
    display: none;
    animation: quiz-fade .45s ease;
}
.quiz-step.active { display: block; }
@keyframes quiz-fade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
.quiz-progress {
    height: 4px;
    background: rgba(212,165,116,.15);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 1.8rem;
}
.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4a574, #b8935f);
    width: 0%;
    transition: width .5s cubic-bezier(.2,.9,.2,1);
}
.quiz-option {
    border: 1.5px solid #eadfce;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all .2s;
    display: flex; align-items: center; gap: .8rem;
    margin-bottom: .6rem;
    background: #fff;
    font-size: .92rem;
    color: #5a3d2b;
}
.quiz-option:hover { border-color: #d4a574; background: #fdf8f3; transform: translateY(-2px); }
.quiz-option.selected { border-color: #b8935f; background: linear-gradient(135deg,#fdf5ec,#fbeedd); box-shadow: 0 0 0 3px rgba(212,165,116,.2); }
.quiz-option i { font-size: 1.35rem; color: #b8935f; }
html[data-theme="dark"] .quiz-step,
html[data-theme="dark"] .quiz-option { background: var(--yaiza-surface); border-color: var(--yaiza-border); color: var(--yaiza-text); }
html[data-theme="dark"] .quiz-option:hover { background: #2a2127; }

.quiz-btn {
    background: linear-gradient(135deg,#d4a574,#b8935f);
    color: #fff; border: none;
    padding: .8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: transform .2s, box-shadow .25s;
}
.quiz-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(184,147,95,.35); color: #fff; }
.quiz-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── 9. Barra de progreso de scroll ──────────────────────────────── */
#yaiza-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #d4a574, #b8935f, #5a3d2b, #d4a574);
    background-size: 300% 100%;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(212,165,116,.55);
    transition: width .08s linear;
    animation: yaiza-flow 3s linear infinite;
}
@keyframes yaiza-flow { to { background-position: 300% 0; } }

/* ── 10. Títulos de sección con shimmer sutil ──────────────────── */
.section-title {
    position: relative;
    background: linear-gradient(90deg, #5a3d2b 0%, #b8935f 45%, #d4a574 55%, #5a3d2b 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: title-shimmer 9s ease-in-out infinite;
}
@keyframes title-shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
html[data-theme="dark"] .section-title {
    background: linear-gradient(90deg, #f0e6dc 0%, #d4a574 45%, #ffd89a 55%, #f0e6dc 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

/* ── 11. Hover holográfico en tarjetas de producto ─────────────── */
.product-card-elegant, .elegant-card {
    position: relative;
    overflow: hidden;
}
.product-card-elegant::after, .elegant-card.elegant-card-shine::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 35%,
        rgba(255,255,255,.28) 48%,
        rgba(212,165,116,.18) 52%,
        transparent 65%);
    transform: translateX(-120%);
    transition: transform .9s cubic-bezier(.2,.7,.1,1);
    pointer-events: none;
    mix-blend-mode: overlay;
}
.product-card-elegant:hover::after, .elegant-card.elegant-card-shine:hover::after {
    transform: translateX(120%);
}

/* ── 12. Botón con anillo glow al hacer hover ───────────────────── */
.btn-elegant, .btn-primary-elegant, .quiz-btn, .ck-btn-submit {
    position: relative;
}
.btn-elegant::before, .btn-primary-elegant::before, .quiz-btn::before, .ck-btn-submit::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, #d4a574, #b8935f, #ffdcb3, #d4a574);
    opacity: 0;
    z-index: -1;
    transition: opacity .35s;
    filter: blur(6px);
    animation: glow-spin 4s linear infinite;
}
.btn-elegant:hover::before, .btn-primary-elegant:hover::before,
.quiz-btn:hover::before, .ck-btn-submit:hover::before { opacity: .85; }
@keyframes glow-spin { to { transform: rotate(360deg); } }

/* ── 13. Contador animado para estadísticas ─────────────────────── */
.hero-stats [data-count] { font-variant-numeric: tabular-nums; }

/* ── 14. Mejoras globales: selección y scrollbar ────────────────── */
::selection { background: rgba(212,165,116,.35); color: #3a2613; }
html[data-theme="dark"] ::selection { background: rgba(212,165,116,.45); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: #d4a574 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a574, #b8935f);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #b8935f, #8b5a3c); background-clip: padding-box; }

/* ── 15. Aurora/mesh gradient detrás del hero ────────────────────── */
.hero-section-premium { position: relative; isolation: isolate; overflow: hidden; }
.hero-section-premium::before {
    content: '';
    position: absolute;
    inset: -20% -10%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(40% 45% at 20% 30%, rgba(212,165,116,.22), transparent 60%),
        radial-gradient(35% 40% at 80% 20%, rgba(184,147,95,.18), transparent 60%),
        radial-gradient(45% 50% at 65% 85%, rgba(90,61,43,.15),  transparent 60%),
        radial-gradient(30% 35% at 10% 90%, rgba(255,216,154,.18),transparent 60%);
    filter: blur(40px) saturate(1.05);
    animation: aurora-drift 22s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(3%, -2%, 0) scale(1.05); }
    100% { transform: translate3d(-2%, 3%, 0) scale(1.02); }
}
html[data-theme="dark"] .hero-section-premium::before {
    background:
        radial-gradient(40% 45% at 20% 30%, rgba(212,165,116,.28), transparent 60%),
        radial-gradient(35% 40% at 80% 20%, rgba(184,147,95,.22), transparent 60%),
        radial-gradient(45% 50% at 65% 85%, rgba(70,45,30,.35),   transparent 60%),
        radial-gradient(30% 35% at 10% 90%, rgba(255,216,154,.18),transparent 60%);
}

/* ── 16. Tilt magnético en tarjetas de producto ──────────────────── */
.product-card-elegant {
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.2,.7,.1,1), box-shadow .35s;
    will-change: transform;
}
@media (hover: none) { .product-card-elegant { transform: none !important; } }

/* ── 17. Bounce del contador del carrito ─────────────────────────── */
.cart-badge.pulse,
.navbar .badge.pulse,
#cart-count.pulse {
    animation: cart-bounce .55s cubic-bezier(.34,1.56,.64,1);
}
@keyframes cart-bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.55); }
    55%  { transform: scale(.88); }
    80%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ── 18. Ráfaga de corazones al marcar favorito ──────────────────── */
.heart-burst {
    position: absolute; pointer-events: none;
    width: 1.2rem; height: 1.2rem;
    color: #e26a6a;
    font-size: 1.2rem;
    animation: heart-fly .9s cubic-bezier(.2,.8,.2,1) forwards;
    z-index: 9999;
}
@keyframes heart-fly {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
    25%  { opacity: 1; transform: translate(var(--bx, 20px), var(--by, -30px)) scale(1.1); }
    100% { opacity: 0; transform: translate(calc(var(--bx, 20px) * 2), calc(var(--by, -30px) * 2.4)) scale(.4); }
}

/* ── 19. Skeleton shimmer para imágenes ──────────────────────────── */
img.yaiza-skeleton {
    background: linear-gradient(90deg, #efe4d3 25%, #f9f2e6 50%, #efe4d3 75%);
    background-size: 200% 100%;
    animation: sk-shimmer 1.4s ease-in-out infinite;
}
@keyframes sk-shimmer { to { background-position: -200% 0; } }
html[data-theme="dark"] img.yaiza-skeleton {
    background: linear-gradient(90deg, #231c20 25%, #2e2529 50%, #231c20 75%);
    background-size: 200% 100%;
}

/* ── 20. Command Palette (Cmd/Ctrl+K) ────────────────────────────── */
#yaiza-cmdk {
    position: fixed; inset: 0;
    background: rgba(20,16,19,.55);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: flex-start; justify-content: center;
    padding-top: min(14vh, 110px);
    animation: cmdk-in .22s cubic-bezier(.2,.9,.2,1);
}
#yaiza-cmdk.open { display: flex; }
#yaiza-cmdk .cmdk-panel {
    width: min(620px, 92vw);
    background: #fffaf4;
    border-radius: 18px;
    box-shadow: 0 40px 100px rgba(90,61,43,.35), 0 0 0 1px rgba(212,165,116,.2);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}
html[data-theme="dark"] #yaiza-cmdk .cmdk-panel { background: #1d181c; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px var(--yaiza-border); color: var(--yaiza-text); }
#yaiza-cmdk .cmdk-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 1.2rem 1.4rem;
    font-size: 1.05rem;
    color: #5a3d2b;
    outline: none;
    border-bottom: 1px solid rgba(212,165,116,.2);
}
html[data-theme="dark"] #yaiza-cmdk .cmdk-input { color: var(--yaiza-text); border-bottom-color: var(--yaiza-border); }
#yaiza-cmdk .cmdk-list { max-height: 50vh; overflow-y: auto; padding: .4rem; }
#yaiza-cmdk .cmdk-item {
    display: flex; align-items: center; gap: .8rem;
    padding: .7rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: .92rem;
    color: #5a3d2b;
    transition: background .15s;
}
#yaiza-cmdk .cmdk-item.focused { background: linear-gradient(135deg, rgba(212,165,116,.15), rgba(184,147,95,.12)); }
html[data-theme="dark"] #yaiza-cmdk .cmdk-item { color: var(--yaiza-text); }
html[data-theme="dark"] #yaiza-cmdk .cmdk-item.focused { background: rgba(212,165,116,.12); }
#yaiza-cmdk .cmdk-item i { font-size: 1.05rem; color: #b8935f; width: 1.3rem; text-align: center; }
#yaiza-cmdk .cmdk-kbd {
    margin-left: auto;
    font-size: .7rem;
    background: rgba(212,165,116,.15);
    border-radius: 5px;
    padding: 2px 7px;
    color: #8b7355;
    letter-spacing: .04em;
}
#yaiza-cmdk .cmdk-section {
    padding: .5rem 1rem .3rem;
    font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
    color: #a08d76;
}
#yaiza-cmdk .cmdk-footer {
    padding: .55rem 1rem;
    font-size: .72rem; color: #a08d76;
    border-top: 1px solid rgba(212,165,116,.15);
    display: flex; gap: 1rem; justify-content: flex-end;
}
html[data-theme="dark"] #yaiza-cmdk .cmdk-footer { color: var(--yaiza-text-muted); border-top-color: var(--yaiza-border); }
@keyframes cmdk-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 576px) { #yaiza-cmdk { padding-top: 5vh; } }

/* ── 21. Focus-visible accesible y elegante ──────────────────────── */
:focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── 22. Constelación canvas detrás del hero ─────────────────────── */
#yaiza-constellation {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: .55;
    mix-blend-mode: screen;
}
html[data-theme="dark"] #yaiza-constellation { opacity: .75; }

/* ── 23. Custom cursor ───────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
    html.yaiza-cursor-on, html.yaiza-cursor-on body { cursor: none !important; }
    html.yaiza-cursor-on a, html.yaiza-cursor-on button, html.yaiza-cursor-on input,
    html.yaiza-cursor-on textarea, html.yaiza-cursor-on select,
    html.yaiza-cursor-on [role="button"], html.yaiza-cursor-on label { cursor: none !important; }
}
#yaiza-cursor-dot, #yaiza-cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 10002;
    will-change: transform;
    transform: translate3d(-100px, -100px, 0);
}
#yaiza-cursor-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #d4a574;
    transition: width .2s, height .2s, background .25s;
    mix-blend-mode: difference;
}
#yaiza-cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgba(212,165,116,.7);
    border-radius: 50%;
    transition: width .25s cubic-bezier(.2,.9,.2,1),
                height .25s cubic-bezier(.2,.9,.2,1),
                border-color .25s,
                background .25s,
                transform .08s linear;
    backdrop-filter: invert(0);
}
#yaiza-cursor-ring.hover {
    width: 54px; height: 54px;
    border-color: #d4a574;
    background: rgba(212,165,116,.12);
}
#yaiza-cursor-ring.click { width: 22px; height: 22px; border-color: #5a3d2b; }
#yaiza-cursor-ring.text  { width: 3px;  height: 26px; border-radius: 2px; border-color: #d4a574; background: rgba(212,165,116,.3); }
@media (hover: none), (pointer: coarse), (max-width: 768px) {
    #yaiza-cursor-dot, #yaiza-cursor-ring { display: none; }
}

/* ── 24. Spotlight que sigue al cursor ───────────────────────────── */
.spotlight {
    position: relative;
    isolation: isolate;
}
.spotlight::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        400px circle at var(--mx, 50%) var(--my, 50%),
        rgba(212, 165, 116, .22),
        transparent 45%
    );
    opacity: 0;
    transition: opacity .35s;
    z-index: 1;
}
.spotlight:hover::after { opacity: 1; }
html[data-theme="dark"] .spotlight::after {
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 216, 154, .15), transparent 45%);
}

/* ── 25. Confetti al añadir al carrito ──────────────────────────── */
.yaiza-confetti {
    position: fixed;
    width: 8px; height: 14px;
    pointer-events: none;
    z-index: 10003;
    will-change: transform, opacity;
    animation: confetti-fall 1.5s cubic-bezier(.2,.7,.1,1) forwards;
}
@keyframes confetti-fall {
    0%   { transform: translate3d(0,0,0) rotate(0deg); opacity: 1; }
    100% { transform: translate3d(var(--cx, 0), var(--cy, 300px), 0) rotate(var(--cr, 720deg)); opacity: 0; }
}

/* ── 26. Fly-to-cart ────────────────────────────────────────────── */
.yaiza-fly-img {
    position: fixed;
    pointer-events: none;
    z-index: 10004;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(90,61,43,.4);
    object-fit: cover;
    transition: all .85s cubic-bezier(.7,-.1,.3,1.2);
    will-change: transform, opacity, width, height, top, left;
}

/* ── 27. Navegador de puntos de sección ──────────────────────────── */
#yaiza-section-dots {
    position: fixed;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: .55rem;
    z-index: 997;
}
#yaiza-section-dots .sd-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(212,165,116,.35);
    border: none; padding: 0; cursor: pointer;
    transition: all .35s cubic-bezier(.2,.9,.2,1);
    position: relative;
}
#yaiza-section-dots .sd-dot:hover { background: #d4a574; transform: scale(1.4); }
#yaiza-section-dots .sd-dot.active {
    background: #d4a574;
    height: 22px; border-radius: 4px;
    box-shadow: 0 0 10px rgba(212,165,116,.5);
}
#yaiza-section-dots .sd-dot::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 10px); top: 50%;
    transform: translateY(-50%) translateX(6px);
    font-size: .7rem;
    color: #5a3d2b;
    background: #fffaf4;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(90,61,43,.15);
    opacity: 0; pointer-events: none;
    transition: all .25s;
    letter-spacing: .02em;
}
#yaiza-section-dots .sd-dot:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
html[data-theme="dark"] #yaiza-section-dots .sd-dot::before { background: var(--yaiza-surface); color: var(--yaiza-text); }
@media (max-width: 992px) { #yaiza-section-dots { display: none; } }

/* ── 28. Voice search button ─────────────────────────────────────── */
.yaiza-voice-btn {
    background: transparent;
    border: none;
    color: #b8935f;
    font-size: 1rem;
    padding: 0 .4rem;
    cursor: pointer;
    transition: color .2s, transform .2s;
    display: inline-flex; align-items: center; justify-content: center;
}
.yaiza-voice-btn:hover { color: #5a3d2b; transform: scale(1.1); }
.yaiza-voice-btn.listening {
    color: #e26a6a;
    animation: voice-pulse 1.2s ease-in-out infinite;
}
@keyframes voice-pulse {
    0%,100% { transform: scale(1); text-shadow: 0 0 0 rgba(226,106,106,.6); }
    50%     { transform: scale(1.15); text-shadow: 0 0 14px rgba(226,106,106,.75); }
}

/* ── 29. Mini-cart drawer ───────────────────────────────────────── */
#yaiza-minicart-overlay {
    position: fixed; inset: 0;
    background: rgba(20,16,19,.5);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 10005;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
#yaiza-minicart-overlay.open { opacity: 1; pointer-events: auto; }

#yaiza-minicart {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(400px, 92vw);
    background: #fffaf4;
    z-index: 10006;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.2,.9,.2,1);
    display: flex; flex-direction: column;
    box-shadow: -20px 0 60px rgba(90,61,43,.2);
}
#yaiza-minicart.open { transform: none; }
html[data-theme="dark"] #yaiza-minicart { background: #1d181c; color: var(--yaiza-text); }

#yaiza-minicart .mc-header {
    padding: 1.2rem 1.3rem;
    border-bottom: 1px solid rgba(212,165,116,.2);
    display: flex; align-items: center; justify-content: space-between;
}
#yaiza-minicart .mc-header h4 {
    font-family: 'Playfair Display', serif;
    color: #5a3d2b;
    font-size: 1.15rem;
    margin: 0;
}
html[data-theme="dark"] #yaiza-minicart .mc-header h4 { color: var(--yaiza-text); }
#yaiza-minicart .mc-close {
    background: transparent; border: none;
    color: #8b7355;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}
#yaiza-minicart .mc-body {
    flex: 1;
    overflow-y: auto;
    padding: .5rem .7rem;
}
#yaiza-minicart .mc-item {
    display: flex; gap: .75rem;
    padding: .7rem;
    border-radius: 12px;
    transition: background .2s;
    animation: mc-in .35s ease;
}
#yaiza-minicart .mc-item:hover { background: rgba(212,165,116,.08); }
@keyframes mc-in { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: none; } }
#yaiza-minicart .mc-item img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
#yaiza-minicart .mc-item .mc-meta { flex: 1; min-width: 0; }
#yaiza-minicart .mc-item .mc-name {
    font-size: .88rem;
    color: #5a3d2b;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: .25rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
html[data-theme="dark"] #yaiza-minicart .mc-item .mc-name { color: var(--yaiza-text); }
#yaiza-minicart .mc-item .mc-opts { font-size: .72rem; color: #a08d76; margin-bottom: .3rem; }
#yaiza-minicart .mc-item .mc-price { font-size: .9rem; color: #b8935f; font-weight: 700; }
#yaiza-minicart .mc-item .mc-qty { font-size: .75rem; color: #8b7355; margin-left: .4rem; }

#yaiza-minicart .mc-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #8b7355;
}
#yaiza-minicart .mc-empty i { font-size: 3rem; color: #d4a574; margin-bottom: 1rem; display: block; }

#yaiza-minicart .mc-footer {
    padding: 1rem 1.3rem;
    border-top: 1px solid rgba(212,165,116,.2);
    background: rgba(212,165,116,.04);
}
html[data-theme="dark"] #yaiza-minicart .mc-footer { background: rgba(0,0,0,.15); border-top-color: var(--yaiza-border); }
#yaiza-minicart .mc-total {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: .9rem;
}
#yaiza-minicart .mc-total span:first-child { color: #8b7355; font-size: .9rem; }
#yaiza-minicart .mc-total strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #5a3d2b;
}
html[data-theme="dark"] #yaiza-minicart .mc-total strong { color: var(--yaiza-text); }
#yaiza-minicart .mc-actions { display: flex; gap: .6rem; }
#yaiza-minicart .mc-btn {
    flex: 1;
    padding: .7rem 1rem;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    transition: all .25s;
    border: none; cursor: pointer;
}
#yaiza-minicart .mc-btn.primary {
    background: linear-gradient(135deg, #d4a574, #b8935f);
    color: #fff;
}
#yaiza-minicart .mc-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(184,147,95,.4); }
#yaiza-minicart .mc-btn.secondary {
    background: transparent;
    color: #8b7355;
    border: 1px solid rgba(212,165,116,.3);
}
#yaiza-minicart .mc-btn.secondary:hover { background: rgba(212,165,116,.1); color: #5a3d2b; }

/* ── 30. Hover imagen secundaria en tarjetas de producto ─────────── */
.product-card-elegant {
    /* wrapper de imágenes sirve como contenedor de crossfade */
}
.product-card-elegant .product-img-wrap {
    position: relative;
    overflow: hidden;
}
.product-card-elegant .product-img-secondary {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .45s ease, transform .6s ease;
    pointer-events: none;
}
.product-card-elegant:hover .product-img-secondary {
    opacity: 1;
    transform: scale(1);
}
.product-card-elegant:hover .product-image-elegant { opacity: 0; transition: opacity .45s ease; }

/* ── 31. Badge de stock crítico pulsante ─────────────────────────── */
.yaiza-stock-low {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(226,106,106,.12);
    color: #c94545;
    padding: .25rem .65rem;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.yaiza-stock-low::before {
    content: '';
    width: 6px; height: 6px;
    background: #e26a6a;
    border-radius: 50%;
    animation: stock-blink 1.4s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(226,106,106,.6);
}
@keyframes stock-blink {
    0%   { box-shadow: 0 0 0 0 rgba(226,106,106,.6); }
    70%  { box-shadow: 0 0 0 10px rgba(226,106,106,0); }
    100% { box-shadow: 0 0 0 0 rgba(226,106,106,0); }
}

/* Reducir animaciones para usuarios con prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    #yaizaSplash { display: none !important; }
}

/* ── Cart Toast ──────────────────────────────────────────────────────── */
.cart-toast {
    position: fixed;
    top: 100px;
    right: -420px;
    width: 380px;
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    z-index: 9999;
    transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 4px solid var(--primary-color, #d4a574);
}
.cart-toast.visible { right: 24px; }
.cart-toast-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(212,165,116,0.15), rgba(212,165,116,0.05));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary-color, #d4a574);
    flex-shrink: 0;
}
.cart-toast-body { flex: 1; min-width: 0; }
.cart-toast-body strong {
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 0.92rem; color: var(--text-primary, #333);
}
@media (max-width: 576px) {
    .cart-toast { width: calc(100vw - 32px); right: -110vw; }
    .cart-toast.visible { right: 16px; }
}
[data-theme="dark"] .cart-toast {
    background: var(--bg-card, #1e1e2e);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* ── WhatsApp Widget ─────────────────────────────────────────────────── */
.whatsapp-widget {
    position: fixed; bottom: 28px; right: 22px; z-index: 998;
    display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.wa-tooltip {
    background: #25D366; color: white;
    padding: 10px 16px; border-radius: 12px;
    font-size: 0.85rem; font-weight: 500;
    display: flex; align-items: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    opacity: 0; transform: translateY(10px) scale(0.95);
    transition: all 0.35s ease; pointer-events: none; white-space: nowrap;
}
.wa-tooltip.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-tooltip::after {
    content: ''; position: absolute; bottom: -6px; right: 24px;
    width: 12px; height: 12px; background: #25D366; transform: rotate(45deg);
}
.whatsapp-widget .whatsapp-float { position: relative; bottom: auto; right: auto; }

