/*
Theme Name: WSCosmetics
Description: Tema personalizado para WSCosmetics - Tienda de maquillaje premium.
Version: 1.0.0
Author: WSCosmetics
Author URI: https://cosmeticsws.com
Text Domain: wscosmetics
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =============== VARIABLES Y RESET =============== */
:root {
    /* Gradientes principales */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(45deg, #ffd700, #ffed4a);
    --success-gradient: linear-gradient(45deg, #28a745, #20c997);
    --danger-gradient: linear-gradient(45deg, #dc3545, #c82333);
    --info-gradient: linear-gradient(45deg, #17a2b8, #138496);
    --warning-gradient: linear-gradient(45deg, #ffc107, #e0a800);
    
    /* Colores base */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #1a1e21;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);
    --shadow-2xl: 0 35px 80px rgba(0,0,0,0.2);
    
    /* Efectos */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);
    --backdrop-blur: blur(25px);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 25px;
    --border-radius-full: 50px;
    
    /* Transiciones */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 9999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin: 0;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.125rem); }

p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =============== LOADING SCREEN =============== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(255,255,255,0.2);
    border-top: 6px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

.loading::after {
    content: 'WSCosmetics';
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    animation: logoFloat 2s ease-in-out infinite;
}

/* =============== HEADER PREMIUM =============== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-gradient);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    transition: var(--transition-normal);
    padding: 0.75rem 0;
}

header.scrolled {
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 2rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-bounce);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 10;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
    color: #ffd700;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.6));
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.6));
    animation: logoFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

/* Navigation mejorada */
nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

nav li {
    position: relative;
}

nav a {
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-full);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    white-space: nowrap;
}

nav a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

nav a.active,
nav a.current-menu-item a {
    background: rgba(255,255,255,0.2);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* Header Search */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    width: 250px;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.header-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.header-search input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    width: 300px;
}

.header-search button {
    position: absolute;
    right: 5px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.header-search button:hover {
    background: rgba(255,255,255,0.2);
}

/* CORRECCIONES CRÍTICAS PARA MÓVIL */

/* Fixed loading screen */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* MENU MÓVIL CORREGIDO */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.1);
        border: 2px solid rgba(255,255,255,0.2);
        color: var(--white);
        font-size: 1.5rem;
        padding: 0.6rem;
        border-radius: 12px;
        cursor: pointer;
        transition: var(--transition-normal);
        backdrop-filter: blur(10px);
        z-index: 1002;
        position: relative;
    }

    .menu-toggle:hover {
        background: rgba(255,255,255,0.2);
        transform: scale(1.05);
    }

    /* NAVIGATION MOBILE - CORREGIDO */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(102,126,234,0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 2rem 2rem;
        gap: 1rem;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    nav ul.active {
        right: 0;
    }

    nav li {
        width: 100%;
        margin: 0;
    }

    nav a {
        display: block;
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        text-align: center;
        background: rgba(255,255,255,0.15);
        border-radius: 12px;
        width: 100%;
        border: 2px solid rgba(255,255,255,0.2);
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        text-decoration: none;
        color: white;
    }

    nav a:hover,
    nav a:focus {
        background: rgba(255,255,255,0.25);
        border-color: rgba(255,255,255,0.4);
        transform: translateX(-5px) scale(1.02);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

    /* OVERLAY PARA CERRAR EL MENÚ */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* BODY LOCK WHEN MENU IS OPEN */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* HEADER SEARCH HIDDEN ON MOBILE */
    .header-search {
        display: none !important;
    }

    /* HERO SECTION MOBILE FIX */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 2.8rem);
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* PRODUCT GRID MOBILE */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* CART MOBILE */
    .cart {
        width: 100% !important;
        right: -100% !important;
        border-radius: 0;
    }

    .cart.active {
        right: 0 !important;
    }

    /* FLOATING BUTTONS MOBILE */
    .cart-toggle {
        right: 1.5rem;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .whatsapp-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    /* ACCORDION MOBILE FIX */
    .accordion-content.active {
        max-height: 80vh !important;
        overflow-y: auto;
    }
    
    .accordion-content .features-grid {
        padding: 1rem;
    }
    
    .accordion-header {
        padding: 1.2rem 1.5rem;
    }
    
    .accordion-header h2 {
        font-size: 1.2rem;
    }

    /* TERMS MODAL MOBILE */
    .terms-modal {
        width: 95%;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .terms-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-accept,
    .btn-decline {
        max-width: none;
    }

    /* FOOTER MOBILE */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo i,
    .logo-img {
        font-size: 1.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .section {
        padding: 3rem 0;
    }

    .feature-card,
    .product-card {
        padding: 1.5rem;
    }

    .cart-toggle,
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
        right: 1rem;
    }
    
    .whatsapp-button {
        bottom: 1rem;
    }
    
    .cart-count {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        top: -6px;
        right: -6px;
    }

    .container {
        padding: 0 1rem;
    }

    .accordion-content.active {
        max-height: 70vh !important;
    }

    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-header h2 {
        font-size: 1.1rem;
    }

    nav ul {
        padding: 80px 1rem 2rem;
    }

    nav a {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
}

/* SCROLL BEHAVIOR FIX */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-overflow-scrolling: touch;
}

/* PREVENT HORIZONTAL SCROLL */
body, html {
    overflow-x: hidden;
    max-width: 100%;
}

/* TOUCH IMPROVEMENTS */
.accordion-header,
.product-card,
.feature-card,
.cart-toggle,
.whatsapp-button,
.menu-toggle {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ENSURE JAVASCRIPT FUNCTIONS WORK */
.accordion-content {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
}

.accordion-content.active {
    max-height: 2000px;
}

.accordion-arrow {
    transition: transform 0.3s ease !important;
}

.accordion-arrow.rotated {
    transform: rotate(180deg) !important;
}

/* TERMS OVERLAY */
.terms-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    pointer-events: none;
}

.terms-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all;
}

/* Header Cart */
.header-cart {
    position: relative;
}

.cart-icon {
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
    padding: 0.5rem;
    transition: var(--transition-bounce);
}

/* Icono de cuenta de usuario */
.account-icon {
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
    padding: 0.5rem;
    margin-right: 1rem;
    transition: var(--transition-bounce);
}

.account-icon:hover {
    transform: scale(1.1);
    color: #ffd700;
}

.header-cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

/* Menu toggle mejorado */
.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 1.5rem;
    padding: 0.6rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* =============== HERO SECTION ESPECTACULAR =============== */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
    animation: heroBackground 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="heroGrad" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="120" fill="url(%23heroGrad)"/><circle cx="800" cy="300" r="180" fill="url(%23heroGrad)"/><circle cx="400" cy="700" r="150" fill="url(%23heroGrad)"/><circle cx="900" cy="800" r="100" fill="url(%23heroGrad)"/></svg>');
    animation: heroFloat 25s ease-in-out infinite;
    opacity: 0.6;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInLeft 1s ease-out 0.5s both;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 12px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-logo {
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.6));
}

.hero-logo:hover {
    transform: scale(1.1) rotate(5deg);
    transition: all 0.3s ease;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--accent-gradient);
    color: var(--gray-800);
    padding: 1.25rem 2.5rem;
    border-radius: var(--border-radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

/* Product Showcase en Hero */
.product-showcase {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: fadeInRight 1s ease-out 0.7s both;
    position: relative;
    overflow: hidden;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: showcaseGlow 4s ease-in-out infinite;
}

.product-showcase h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.product-item:hover::before {
    opacity: 1;
}

.product-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.product-item i {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.6));
    animation: productIconFloat 3s ease-in-out infinite;
}

.product-item h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin: 0;
}

.loading {
  opacity: 1;
  transition: opacity 0.5s ease;
}


/* =============== SECTIONS MEJORADAS =============== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-primary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.section-accent {
    background: linear-gradient(135deg, #c3cfe2 0%, #f5f7fa 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out both;
}

.section-title h2 {
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

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

.section-title p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============== GRIDS Y CARDS PREMIUM =============== */
.features-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature-card,
.product-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before,
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover::before,
.product-card:hover::before {
    transform: scaleX(1);
}

.feature-card::after,
.product-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102,126,234,0.05) 0%, transparent 70%);
    transition: var(--transition-slow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.feature-card:hover::after,
.product-card:hover::after {
    width: 200%;
    height: 200%;
}

.feature-card:hover,
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(102,126,234,0.1);
}

.feature-card i,
.product-card i {
    font-size: 3.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
    position: relative;
    z-index: 2;
}

.feature-card:hover i,
.product-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #764ba2;
}

.feature-card h3,
.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    position: relative;
    z-index: 2;
}

.feature-card p,
.product-card p {
    color: var(--gray-600);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Category Cards especiales */
.category-card {
    cursor: pointer;
    transition: var(--transition-bounce);
}

/* Category-with-image: imágen ocupa el ancho completo, sin padding arriba */
.category-with-image {
    padding: 0 0 2rem 0;
    overflow: hidden;
}

.category-with-image .product-image {
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    margin-bottom: 0;
    height: 200px;
}

.category-with-image .product-info {
    padding: 1.5rem 2rem 0;
}

.category-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: #667eea;
    font-weight: 600;
    transition: var(--transition-normal);
    position: relative;
    z-index: 2;
}

.category-card:hover .category-action {
    color: #764ba2;
    transform: translateX(8px);
}

.category-card:hover .category-action i {
    transform: translateX(5px);
}

/* Product Cards específicas */
.product-image {
    height: 220px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    transform: scale(0);
    transition: var(--transition-slow);
}

.product-card:hover .product-image::before {
    transform: scale(1);
}

.product-image i {
    font-size: 4rem;
    color: var(--white);
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.3));
    z-index: 2;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    text-align: left;
    position: relative;
    z-index: 2;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #667eea;
    margin: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.add-to-cart {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-bounce);
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.add-to-cart:hover::before {
    left: 100%;
}

.add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* =============== CART Y WHATSAPP FLOTANTES =============== */



/* WhatsApp Button - MANTENER */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-bounce);
    z-index: var(--z-fixed);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition-normal);
}

.whatsapp-button:hover::before {
    transform: scale(1);
}

.whatsapp-button:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(37,211,102,0.4);
}

/* Responsive WhatsApp */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
        right: 1rem;
        bottom: 1rem;
    }
}




/* =============== MODALES Y OVERLAYS =============== */

/* Terms Modal */
.terms-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(25px);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.terms-overlay.show {
    opacity: 1;
    visibility: visible;
}

.terms-modal {
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255,255,255,0.2);
    transform: translateY(50px) scale(0.9);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.terms-overlay.show .terms-modal {
    transform: translateY(0) scale(1);
}

.terms-header {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.terms-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 70%);
}

.terms-header h2 {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.terms-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
}

.terms-content {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.terms-content::-webkit-scrollbar {
    width: 10px;
}

.terms-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 5px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

.terms-content h3 {
    color: #667eea;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 1.2rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.terms-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.terms-content ul {
    margin: 1.5rem 0 1.5rem 2rem;
}

.terms-content li {
    margin-bottom: 0.8rem;
    color: var(--gray-600);
    position: relative;
}

.terms-content li::marker {
    color: #667eea;
    font-weight: 700;
}

.terms-actions {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    border-top: 1px solid var(--gray-200);
}

.btn-accept,
.btn-decline {
    border: none;
    padding: 1.4rem 3rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-bounce);
    flex: 1;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

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

.btn-accept:hover::before,
.btn-decline:hover::before {
    left: 100%;
}

.btn-accept {
    background: var(--success-gradient);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-accept:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.btn-decline {
    background: linear-gradient(45deg, var(--gray-500), var(--gray-600));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-decline:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

/* =============== ACCORDION SECTIONS =============== */
.accordion-sections {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.accordion-item {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}

.accordion-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.accordion-header {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.accordion-header:hover::before {
    left: 100%;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b5b95 100%);
}

.accordion-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.accordion-arrow {
    font-size: 1.2rem;
    transition: var(--transition-normal);
    background: rgba(255,255,255,0.15);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0; /* ESTA LÍNEA ES CLAVE */
    margin-left: 1rem; /* ESTA LÍNEA ES CLAVE */
}

@media (max-width: 768px) {
    .accordion-header {
        flex-wrap: nowrap !important;
    }
    
    .accordion-header h2 {
        flex: 1;
        margin-right: 1rem;
    }

    .accordion-arrow {
        font-size: 1rem !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .accordion-arrow {
        width: 35px !important;
        height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 35px !important;
        min-height: 35px !important;
        font-size: 0.9rem !important;
    }
}

.accordion-arrow.rotated {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
}

.accordion-content.active {
    max-height: 2000px;
}

.accordion-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.7;
    padding: 0 2rem;
}

.accordion-content .features-grid {
    padding: 0 2rem 2rem;
}

/* Estilos para categorías en mantenimiento */
.category-maintenance {
    position: relative;
}

.category-maintenance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
    z-index: 1;
    border-radius: var(--border-radius-xl);
}

.category-maintenance .product-info {
    position: relative;
    z-index: 2;
}

/* =============== FOOTER MEJORADO =============== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.02) 0%, transparent 50%);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: #ffd700;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    transition: var(--transition-fast);
    line-height: 1.6;
    position: relative;
    padding-left: 0;
}

.footer-section a:hover {
    color: var(--white);
    transform: translateX(8px);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition-fast);
    color: #ffd700;
}

.footer-section a:hover::before {
    opacity: 1;
    left: -15px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: var(--transition-normal);
    border-radius: 50%;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #999;
    position: relative;
    z-index: 2;
}

/* =============== WOOCOMMERCE COMPATIBILITY =============== */
.woocommerce div.product {
    margin-bottom: 2rem;
}

.woocommerce div.product .product_title {
    color: var(--gray-900);
}

.woocommerce div.product p.price {
    color: #667eea;
    font-weight: 700;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1rem 2rem;
    border: none;
    transition: var(--transition-bounce);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.woocommerce .star-rating {
    color: #ffd700;
}

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

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes productIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

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

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

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

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

@keyframes heroBackground {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes showcaseGlow {
    0%, 100% { opacity: 0.3; transform: rotate(0deg); }
    50% { opacity: 0.6; transform: rotate(180deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

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

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1200px) {
    .header-content {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .header-search input {
        width: 220px;
    }
    
    .header-search input:focus {
        width: 260px;
    }
    
    .hero-text h1 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
    
    .cart-toggle,
    .whatsapp-button {
        width: 65px;
        height: 65px;
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .header-search {
        display: none;
    }

  
  
    /* MENÚ LATERAL MEJORADO */
    nav ul {
        position: fixed;
        top: 85px;
        right: -260px;
        width: 260px;
        height: calc(100vh - 85px);
        background: rgba(102,126,234,0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        transform: translateX(0);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-left: 1px solid rgba(255,255,255,0.2);
        border-bottom-left-radius: 20px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        z-index: 1001;
        overflow-y: auto;
    }

    nav ul.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    nav a {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        text-align: center;
        background: rgba(255,255,255,0.15);
        border-radius: 12px;
        width: 100%;
        border: 2px solid rgba(255,255,255,0.2);
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        display: block;
        text-decoration: none;
    }

    nav a:hover {
        background: rgba(255,255,255,0.25);
        border-color: rgba(255,255,255,0.4);
        transform: translateX(-5px) scale(1.02);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }
  
  #loading {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(45deg, #667eea, #764ba2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  visibility: visible;
}

#loading.hidden {
  opacity: 0;
  visibility: hidden;
}


    /* OVERLAY PARA CERRAR EL MENÚ */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart {
        width: 100%;
        right: -100%;
        border-radius: 0;
    }

    .cart-toggle {
        right: 1.5rem;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .whatsapp-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .terms-modal {
        width: 95%;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .terms-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-accept,
    .btn-decline {
        max-width: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* CORRECCIÓN ACORDEONES MÓVILES */
    .accordion-content.active {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .accordion-content .features-grid {
        padding: 1rem;
        max-height: none;
    }
    
    .accordion-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .accordion-content::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 3px;
    }
    
    .accordion-content::-webkit-scrollbar-thumb {
        background: var(--primary-gradient);
        border-radius: 3px;
    }

    .accordion-header {
        padding: 1.2rem 1.5rem;
    }
    
    .accordion-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 1.6rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .feature-card,
    .product-card {
        padding: 2rem 1.5rem;
    }

    .cart-toggle,
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    .cart-count {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        top: -6px;
        right: -6px;
    }

    .terms-modal {
        margin: 0.5rem;
        border-radius: var(--border-radius-lg);
    }
    
    .terms-header,
    .terms-content,
    .terms-actions {
        padding: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .accordion-content.active {
        max-height: 50vh;
    }

    .accordion-content .features-grid {
        padding: 1rem;
    }

    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-header h2 {
        font-size: 1.1rem;
    }
    
    .accordion-actions {
        padding: 1rem;
    }
}


/* =============== UTILITY CLASSES =============== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
}

.shadow-soft { box-shadow: var(--shadow-sm); }
.shadow-medium { box-shadow: var(--shadow-md); }
.shadow-strong { box-shadow: var(--shadow-lg); }
.shadow-mega { box-shadow: var(--shadow-xl); }

.rounded-soft { border-radius: var(--border-radius-sm); }
.rounded-medium { border-radius: var(--border-radius-md); }
.rounded-strong { border-radius: var(--border-radius-lg); }
.rounded-mega { border-radius: var(--border-radius-xl); }

.transition-fast { transition: var(--transition-fast); }
.transition-normal { transition: var(--transition-normal); }
.transition-slow { transition: var(--transition-slow); }
.transition-bounce { transition: var(--transition-bounce); }

/* =============== SCROLLBAR PERSONALIZADA =============== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 6px;
    border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b5b95 100%);
}

/* =============== TEXT SELECTION =============== */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--gray-900);
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--gray-900);
}

/* =============== FOCUS STATES MEJORADOS =============== */
*:focus {
    outline: 2px solid rgba(102, 126, 234, 0.4);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid rgba(102, 126, 234, 0.6);
    outline-offset: 3px;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 1px;
}

/* =============== ACCESIBILIDAD =============== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =============== PRINT STYLES =============== */
@media print {
    .cart-toggle,
    .whatsapp-button,
    .terms-overlay,
    .cart,
    header {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 1.5rem 0;
        break-inside: avoid;
    }
}

/* =============== ESTADOS DE HOVER AVANZADOS =============== */
@media (hover: hover) {
    .feature-card:hover,
    .product-card:hover {
        transform: translateY(-10px);
    }
    
    .cart-toggle:hover,
    .whatsapp-button:hover {
        transform: scale(1.15);
    }
    
    .cta-button:hover {
        transform: translateY(-4px) scale(1.05);
    }
}

/* Fallback para dispositivos táctiles */
@media (hover: none) {
    .feature-card:active,
    .product-card:active {
        transform: translateY(-5px);
    }
    
    .cart-toggle:active,
    .whatsapp-button:active {
        transform: scale(1.05);
    }
    
    .cta-button:active {
        transform: translateY(-2px) scale(1.02);
    }
}

/* MENÚ MÓVIL CORREGIDO */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.1);
        border: 2px solid rgba(255,255,255,0.2);
        color: var(--white);
        font-size: 1.5rem;
        padding: 0.6rem;
        border-radius: 12px;
        cursor: pointer;
        transition: var(--transition-normal);
        backdrop-filter: blur(10px);
        z-index: 1002;
        position: relative;
    }

    .menu-toggle:hover {
        background: rgba(255,255,255,0.2);
        transform: scale(1.05);
    }

    /* NAVIGATION MOBILE - COMPLETAMENTE CORREGIDO */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(102,126,234,0.98) 0%, rgba(118,75,162,0.98) 100%);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 120px 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        border-left: 3px solid rgba(255,215,0,0.5);
    }

    nav ul.active {
        right: 0;
    }

    nav li {
        width: 100%;
        margin: 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.4s ease;
    }

    nav ul.active li {
        opacity: 1;
        transform: translateX(0);
    }
  
  /* FORZAR HEADER EN WOOCOMMERCE */
header {
    position: fixed !important;
    top: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1030 !important;
}

.woocommerce header,
.single-product header,
.tax-product_cat header,
.woocommerce-page header,
.woocommerce-cart header,
.woocommerce-checkout header {
    position: fixed !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1030 !important;
}

/* ESPACIADO PARA CONTENIDO WOOCOMMERCE */
.woocommerce main,
.single-product main,
.tax-product_cat main,
.woocommerce-page main {
    padding-top: 120px !important;
    margin-top: 0 !important;
}

body.woocommerce,
body.single-product,
body.tax-product_cat {
    padding-top: 0 !important;
}

    /* STAGGERED ANIMATION */
    nav ul.active li:nth-child(1) { transition-delay: 0.1s; }
    nav ul.active li:nth-child(2) { transition-delay: 0.2s; }
    nav ul.active li:nth-child(3) { transition-delay: 0.3s; }
    nav ul.active li:nth-child(4) { transition-delay: 0.4s; }
    nav ul.active li:nth-child(5) { transition-delay: 0.5s; }

    nav a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        text-align: center;
        background: rgba(255,255,255,0.15);
        border-radius: 15px;
        width: 100%;
        border: 2px solid rgba(255,255,255,0.2);
        font-weight: 600;
        letter-spacing: 1px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        text-decoration: none;
        color: white;
        position: relative;
        overflow: hidden;
    }

    nav a::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.6s ease;
    }

    nav a:hover::before {
        left: 100%;
    }

    nav a:hover,
    nav a:focus {
        background: rgba(255,255,255,0.25);
        border-color: rgba(255,215,0,0.8);
        transform: translateX(-10px) scale(1.03);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        color: #ffd700;
        text-shadow: 0 0 10px rgba(255,215,0,0.5);
    }

    /* OVERLAY PARA CERRAR EL MENÚ */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1000;
        backdrop-filter: blur(5px);
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* CERRAR MENÚ CON X */
    .menu-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: rgba(255,107,107,0.2);
        border: 2px solid #ff6b6b;
        color: #ff6b6b;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
    }

    .menu-close:hover {
        background: #ff6b6b;
        color: white;
        transform: rotate(90deg) scale(1.1);
    }
}

/* HEADER SEARCH HIDDEN ON MOBILE */
@media (max-width: 768px) {
    .header-search {
        display: none !important;
    }
}

/* PREVENT BODY SCROLL WHEN MENU IS OPEN */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* =============== NOTIFICACIONES TOAST =============== */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: var(--success-gradient);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-toast);
    animation: toastSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 300px;
}

.toast-notification.error {
    background: var(--danger-gradient);
}

.toast-notification.warning {

  background: var(--warning-gradient);
    color: var(--gray-800);
}

.toast-notification.info {
    background: var(--info-gradient);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
}


/* ===============================================
   HERO IMAGES GRID - 3 IMÁGENES CON LINKS
   =============================================== */

.hero-images-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInRight 1s ease-out 0.7s both;
}

.hero-images-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.hero-image-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border: 2px solid rgba(255,255,255,0.1);
}

.hero-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.hero-image-card:hover::before {
    transform: scale(1);
}

.hero-image-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,215,0,0.5);
}

.hero-image-card i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-image-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-image-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.hero-image-large {
    min-height: 200px;
    padding: 2.5rem;
}

.hero-image-large i {
    font-size: 4rem;
}

.hero-image-large h3 {
    font-size: 1.5rem;
}

/* Animación iconos flotantes */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* ===============================================
   BOTÓN VOLVER AL INICIO
   =============================================== */

.back-to-home-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    position: relative;
    overflow: hidden;
}

.back-to-home-btn::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;
}

.back-to-home-btn:hover::before {
    left: 100%;
}

.back-to-home-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(102,126,234,0.5) !important;
    border-color: rgba(255,215,0,0.5) !important;
}

.back-to-home-btn i {
    transition: transform 0.3s ease;
}

.back-to-home-btn:hover i {
    transform: translateX(-5px);
}

/* ===============================================
   RESPONSIVE HERO IMAGES
   =============================================== */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr !important;
    }
    
    .hero-images-grid {
        margin-top: 2rem;
    }
    
    .hero-images-top {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-image-card {
        min-height: 150px;
        padding: 1.5rem;
    }
    
    .hero-image-card i {
        font-size: 2.5rem;
    }
    
    .hero-image-card h3 {
        font-size: 1.1rem;
    }
    
    .hero-image-large {
        min-height: 160px;
    }
    
    .hero-image-large i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-image-card {
        min-height: 130px;
        padding: 1.2rem;
    }
    
    .hero-image-card i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-image-card h3 {
        font-size: 1rem;
    }
    
    .hero-image-card p {
        font-size: 0.85rem;
    }
    
    .back-to-home-btn {
        font-size: 0.9rem !important;
        padding: 0.7rem 1.2rem !important;
    }
}


/* MÓVIL - NAVEGACIÓN */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        display: block !important;
    }
    
    .woocommerce-MyAccount-navigation {
        padding: 1.5rem !important;
    }
    
    .woocommerce-MyAccount-navigation a {
        padding: 1rem 1.2rem !important;
        font-size: 0.95rem !important;
    }
    
    .woocommerce-MyAccount-content {
        padding: 1.5rem !important;
    }
}

/* =============== FINAL TOUCHES =============== */
.container-fluid {
    max-width: 100%;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.m-0 { margin: 0 !important; }
.p-0 { padding: 0 !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

/* =============== END OF PROFESSIONAL CSS =============== */


/* ===============================================
   CARRUSEL HERO - PRODUCTOS
   =============================================== */

.hero-carousel-wrap {
    padding: 1.5rem !important;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    min-width: 0;
}

.hero-carousel {
    min-height: 220px;
    overflow: hidden;
    border-radius: 14px;
    position: relative;
}

.hero-carousel-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-carousel-slide {
    min-width: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hero-carousel-slide:hover {
    transform: scale(1.01);
}

.hero-carousel-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}

.hero-carousel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.hero-carousel-slide:hover .hero-carousel-img-wrap img {
    transform: scale(1.05);
}

.hero-carousel-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    gap: 0.5rem;
}

.hero-carousel-name {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.hero-carousel-price {
    color: #ffd700;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-carousel-price ins,
.hero-carousel-price .woocommerce-Price-amount {
    text-decoration: none !important;
    color: #ffd700 !important;
}

.hero-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-carousel-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-carousel-btn:hover {
    background: rgba(255,215,0,0.35);
    border-color: #ffd700;
    transform: scale(1.1);
}

.hero-carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    padding: 0;
}

.hero-dot.active {
    background: #ffd700;
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .hero-carousel-img-wrap {
        height: 180px;
    }
    .hero-carousel-wrap {
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-carousel-img-wrap {
        height: 150px;
    }
}

/* =============== END CARRUSEL =============== */