/**
 * ============================================================================
 * FRONT-END VARIABLES CSS - ECOMMERCE MEX
 * ============================================================================
 * Variables CSS para la tienda principal (estilo EFE.com.pe)
 * ============================================================================
 */

:root {
    /* =========================================================================
       COLORES PRINCIPALES
       ========================================================================= */
    
    /* Azul Oscuro (Header, Footer, Navegación) */
    --color-primary-dark: #1e3a5f;
    --color-primary: #1e40af;
    --color-primary-light: #3b82f6;
    
    /* Naranja (Botones, Precios, CTAs) */
    --color-accent: #f97316;
    --color-accent-hover: #ea580c;
    --color-accent-light: #fed7aa;
    
    /* Celeste (Banners de servicio, info) */
    --color-info: #e0f2fe;
    --color-info-dark: #0284c7;
    
    /* Verde (Stock, éxito) */
    --color-success: #059669;
    --color-success-light: #d1fae5;
    
    /* Rojo (Descuentos, errores) */
    --color-danger: #dc2626;
    --color-danger-light: #fee2e2;
    
    /* Amarillo (Ofertas especiales) */
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    
    /* Morado (Ofertas flash) */
    --color-flash: #7c3aed;
    --color-flash-light: #ede9fe;
    
    /* =========================================================================
       GRISES Y NEUTROS
       ========================================================================= */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-black: #000000;
    
    /* =========================================================================
       TIPOGRAFÍA
       ========================================================================= */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* =========================================================================
       ESPACIADO
       ========================================================================= */
    --spacing-0: 0;
    --spacing-1: 0.25rem;    /* 4px */
    --spacing-2: 0.5rem;     /* 8px */
    --spacing-3: 0.75rem;    /* 12px */
    --spacing-4: 1rem;       /* 16px */
    --spacing-5: 1.25rem;    /* 20px */
    --spacing-6: 1.5rem;     /* 24px */
    --spacing-8: 2rem;       /* 32px */
    --spacing-10: 2.5rem;    /* 40px */
    --spacing-12: 3rem;      /* 48px */
    --spacing-16: 4rem;      /* 64px */
    --spacing-20: 5rem;      /* 80px */
    
    /* =========================================================================
       BORDER RADIUS
       ========================================================================= */
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* =========================================================================
       SOMBRAS
       ========================================================================= */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* =========================================================================
       TRANSICIONES
       ========================================================================= */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* =========================================================================
       Z-INDEX
       ========================================================================= */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
    --z-toast: 700;
    
    /* =========================================================================
       CONTENEDOR
       ========================================================================= */
    --container-max-width: 1320px;
    --container-padding: 1rem;
    
    /* =========================================================================
       HEADER
       ========================================================================= */
    --header-height: 140px;
    --header-mobile-height: 70px;
}

/* =========================================================================
   MEDIA QUERIES (Dark Mode - Opcional)
   ========================================================================= */
@media (prefers-color-scheme: dark) {
    :root {
        /* Se pueden agregar variables para modo oscuro aquí */
    }
}
