/* ==========================================
   DIMACO - DISEÑO CORPORATIVO PREMIUM
   Ultra Profesional con Elementos Dinámicos
   ========================================== */

:root {
    /* Paleta Corporativa Refinada */
    --primary: #e30613;
    --primary-dark: #b30510;
    --primary-light: #ff1a2a;
    --primary-alpha-10: rgba(227, 6, 19, 0.1);
    --primary-alpha-20: rgba(227, 6, 19, 0.2);
    
    /* Escala de Grises Profesional */
    --neutral-0: #ffffff;
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-850: #1c1c1c;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
    
    /* Backgrounds con Capas */
    --bg-base: #000000;
    --bg-elevated: #0f0f0f;
    --bg-card: #141414;
    --bg-hover: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.96);
    
    /* Bordes Sutiles */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(227, 6, 19, 0.5);
    --border-active: rgba(227, 6, 19, 1);
    
    /* Tipografía Corporativa */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'SF Pro Display', -apple-system, system-ui, sans-serif;
    --font-mono: 'SF Mono', 'Consolas', 'Monaco', monospace;
    
    /* Sistema de Espaciado Preciso */
    --space-0: 0;
    --space-px: 1px;
    --space-0\.5: 0.125rem;
    --space-1: 0.25rem;
    --space-1\.5: 0.375rem;
    --space-2: 0.5rem;
    --space-2\.5: 0.625rem;
    --space-3: 0.75rem;
    --space-3\.5: 0.875rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 1.75rem;
    --space-8: 2rem;
    --space-9: 2.25rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-14: 3.5rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-28: 7rem;
    --space-32: 8rem;
    
    /* Sombras Estratificadas */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.6), 0 1px 2px -1px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.7), 0 2px 4px -2px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.8), 0 4px 6px -4px rgba(0, 0, 0, 0.8);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.85), 0 8px 10px -6px rgba(0, 0, 0, 0.85);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(227, 6, 19, 0.4), 0 0 40px rgba(227, 6, 19, 0.2);
    --shadow-glow-sm: 0 0 10px rgba(227, 6, 19, 0.3);
    
    /* Border Radius */
    --radius-none: 0;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Duraciones de Transición */
    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    
    /* Funciones de Easing */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-sharp: cubic-bezier(0.4, 0, 0.6, 1);
}

/* ==========================================
   RESET Y FUNDAMENTOS
   ========================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--neutral-200);
    background: var(--bg-base);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Fondo animado sutil con gradientes */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(227, 6, 19, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(227, 6, 19, 0.03) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 0%, rgba(20, 20, 20, 0.8) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: subtleGlow 20s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

/* Patrón de líneas sutiles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

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

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all var(--duration-200) var(--ease-out);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   HEADER CORPORATIVO
   ========================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--duration-300) var(--ease-out);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration-300) var(--ease-out);
}

.header:hover::after {
    opacity: 0.5;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    cursor: pointer;
    transition: transform var(--duration-200) var(--ease-out);
}

.logo:hover {
    transform: translateX(2px);
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--neutral-0);
    margin: 0;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--neutral-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    color: var(--neutral-300);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-out);
}

.cart-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--duration-200) var(--ease-out);
}

.cart-icon:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    color: var(--neutral-0);
    transform: translateY(-1px);
}

.cart-icon:hover::before {
    opacity: 1;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--neutral-0);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    padding: 0 var(--space-1\.5);
    box-shadow: 0 0 0 2px var(--bg-base), var(--shadow-glow-sm);
    animation: pulse 2s var(--ease-in-out) infinite;
}

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

/* ==========================================
   HERO EJECUTIVO
   ========================================== */

.hero-tienda {
    position: relative;
    padding: var(--space-24) 0 var(--space-20);
    text-align: center;
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

/* Línea decorativa superior animada */
.hero-tienda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    animation: slideAccent 3s ease-in-out infinite;
}

@keyframes slideAccent {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Elemento decorativo de fondo */
.hero-tienda::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-5);
    color: var(--neutral-0);
}

.hero-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    font-weight: 400;
    color: var(--neutral-400);
    letter-spacing: 0.01em;
}

/* ==========================================
   SISTEMA DE FILTROS
   ========================================== */

.filters-section {
    position: sticky;
    top: 72px;
    z-index: 100;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.search-box {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-500);
    font-size: 1rem;
    pointer-events: none;
    transition: color var(--duration-200) var(--ease-out);
}

.search-box input {
    width: 100%;
    height: 48px;
    padding: 0 var(--space-5) 0 var(--space-12);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--neutral-0);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: all var(--duration-200) var(--ease-out);
}

.search-box input:focus {
    outline: none;
    background: var(--bg-hover);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-alpha-10);
}

.search-box input:focus ~ i {
    color: var(--primary);
}

.search-box input::placeholder {
    color: var(--neutral-500);
}

.category-filters {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    height: 42px;
    padding: 0 var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--neutral-400);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    overflow: hidden;
    transition: all var(--duration-200) var(--ease-out);
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity var(--duration-200) var(--ease-out);
}

.filter-btn i {
    position: relative;
    z-index: 1;
    font-size: 0.9375rem;
}

.filter-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    color: var(--neutral-0);
    transform: translateY(-1px);
}

.filter-btn.active {
    border-color: var(--primary);
    color: var(--neutral-0);
}

.filter-btn.active::before {
    opacity: 1;
}

/* ==========================================
   CATÁLOGO DE PRODUCTOS
   ========================================== */

.products-section {
    padding: var(--space-20) 0 var(--space-24);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-8);
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-300) var(--ease-out);
    cursor: pointer;
}

/* Brillo sutil al hacer hover */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left var(--duration-700) var(--ease-out);
    pointer-events: none;
    z-index: 2;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    border-color: var(--border-default);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 300px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-700) var(--ease-out);
}

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

.product-category-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
    animation: fadeInDown var(--duration-500) var(--ease-out);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-info {
    padding: var(--space-6);
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--neutral-0);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.product-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--neutral-500);
    margin-bottom: var(--space-5);
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.spec-tag {
    padding: var(--space-1\.5) var(--space-3);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--neutral-400);
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-mono);
    letter-spacing: 0.01em;
    transition: all var(--duration-200) var(--ease-out);
}

.spec-tag:hover {
    border-color: var(--border-default);
    color: var(--neutral-300);
}

.product-footer {
    display: flex;
    gap: var(--space-3);
}

.btn-add-cart {
    position: relative;
    flex: 1;
    height: 44px;
    background: var(--primary);
    color: var(--neutral-0);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    overflow: hidden;
    transition: all var(--duration-200) var(--ease-out);
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity var(--duration-200) var(--ease-out);
}

.btn-add-cart i {
    position: relative;
    z-index: 1;
}

.btn-add-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(227, 6, 19, 0.3);
}

.btn-add-cart:hover::before {
    opacity: 1;
}

.btn-add-cart:active {
    transform: translateY(0);
}

.btn-view-details {
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    color: var(--neutral-400);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-200) var(--ease-out);
}

.btn-view-details:hover {
    background: var(--bg-hover);
    border-color: var(--border-default);
    color: var(--neutral-0);
}

/* ==========================================
   ESTADO VACÍO
   ========================================== */

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-24) var(--space-8);
    text-align: center;
}

.no-results i {
    font-size: 4rem;
    color: var(--neutral-800);
    margin-bottom: var(--space-8);
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

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

.no-results p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-500);
}

/* ==========================================
   PANEL LATERAL DEL CARRITO
   ========================================== */

.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    animation: fadeIn var(--duration-300) var(--ease-out);
}

.cart-modal.active {
    display: flex;
    justify-content: flex-end;
}

.cart-content {
    width: 100%;
    max-width: 460px;
    height: 100%;
    background: var(--bg-elevated);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-subtle);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
    animation: slideInRight var(--duration-500) var(--ease-out);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-subtle);
}

.cart-header h2 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--neutral-0);
}

.cart-header h2 i {
    color: var(--primary);
}

.close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    color: var(--neutral-400);
    font-size: 1.125rem;
    transition: all var(--duration-200) var(--ease-out);
}

.close-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-default);
    color: var(--neutral-0);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-6);
    background: var(--bg-base);
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--bg-base);
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--neutral-800);
    border-radius: var(--radius-full);
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-700);
}

.cart-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    transition: all var(--duration-200) var(--ease-out);
}

.cart-item:hover {
    border-color: var(--border-default);
}

.cart-item-image {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--neutral-0);
    margin-bottom: var(--space-1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-category {
    font-size: 0.75rem;
    color: var(--neutral-500);
    margin-bottom: var(--space-3);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--neutral-0);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    transition: all var(--duration-150) var(--ease-out);
}

.qty-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-value {
    min-width: 28px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--neutral-0);
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--neutral-500);
    font-size: 0.875rem;
    transition: all var(--duration-200) var(--ease-out);
}

.cart-item-remove:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: var(--neutral-0);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-20) var(--space-6);
    text-align: center;
}

.cart-empty i {
    font-size: 5rem;
    color: var(--neutral-850);
    margin-bottom: var(--space-8);
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.cart-empty p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-500);
}

.cart-footer {
    padding: var(--space-6);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.cart-total span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-total strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-0);
}

.btn-whatsapp {
    position: relative;
    width: 100%;
    height: 52px;
    background: #25D366;
    color: var(--neutral-0);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    overflow: hidden;
    transition: all var(--duration-200) var(--ease-out);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2feb73 0%, #25D366 100%);
    opacity: 0;
    transition: opacity var(--duration-200) var(--ease-out);
}

.btn-whatsapp i {
    position: relative;
    z-index: 1;
    font-size: 1.375rem;
}

.btn-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover::before {
    opacity: 1;
}

.btn-clear {
    width: 100%;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--neutral-400);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--duration-200) var(--ease-out);
}

.btn-clear:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: var(--neutral-0);
}

/* ==========================================
   MODAL DE PRODUCTO
   ========================================== */

.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    animation: fadeIn var(--duration-300) var(--ease-out);
}

.product-modal.active {
    display: flex;
}

.product-modal-content {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    overflow-y: auto;
    position: relative;
    animation: zoomIn var(--duration-500) var(--ease-out);
    box-shadow: var(--shadow-2xl);
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.product-modal-content .close-btn {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    z-index: 10;
}

/* ==========================================
   FOOTER CORPORATIVO
   ========================================== */

.footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-20) 0 var(--space-8);
    margin-top: var(--space-24);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-section h3 {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--neutral-0);
    margin-bottom: var(--space-5);
}

.footer-section p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--neutral-500);
    margin-bottom: var(--space-2);
}

.footer-section i {
    color: var(--primary);
    margin-right: var(--space-2);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

/* ==========================================
   SCROLLBAR CORPORATIVO
   ========================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-850);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-base);
    transition: background var(--duration-200) var(--ease-out);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-5);
    }
    
    .header-content {
        height: 64px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-tienda {
        padding: var(--space-16) 0 var(--space-12);
    }
    
    .filters-section {
        top: 64px;
        padding: var(--space-5) 0;
    }
    
    .category-filters {
        gap: var(--space-2);
    }
    
    .filter-btn {
        height: 38px;
        padding: 0 var(--space-4);
        font-size: 0.75rem;
    }
    
    .products-section {
        padding: var(--space-12) 0 var(--space-16);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .cart-content {
        max-width: 100%;
    }
    
    .product-modal {
        padding: var(--space-4);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .filter-btn {
        height: 36px;
        padding: 0 var(--space-3);
    }
    
    .product-image {
        height: 240px;
    }
}

/* ==========================================
   ACCESIBILIDAD
   ========================================== */

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================
   ESTADOS DE INTERACCIÓN
   ========================================== */

button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

::selection {
    background: var(--primary-alpha-20);
    color: var(--neutral-0);
}

/* ==========================================
   NAVEGACIÓN ENTRE PÁGINAS
   ========================================== */

.header-nav {
    display: flex;
    gap: var(--space-3);
    margin-right: var(--space-6);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--neutral-400);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--duration-200) var(--ease-out);
}

.nav-link:hover {
    background: var(--bg-hover);
    border-color: var(--border-default);
    color: var(--neutral-0);
}

.nav-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--neutral-0);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.nav-link i {
    font-size: 1rem;
}

/* ==========================================
   BADGES DE HERO
   ========================================== */

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-8);
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--neutral-0);
    font-weight: 600;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    transition: all var(--duration-200) var(--ease-out);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--primary);
    font-size: 1rem;
}

/* ==========================================
   BADGES DE ALQUILER
   ========================================== */

.rental-info {
    margin: var(--space-3) 0;
}

.rental-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, var(--primary), #ff4444);
    color: var(--neutral-0);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
}

.rental-badge i {
    font-size: 0.875rem;
}

.product-featured-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.product-featured-badge i {
    font-size: 0.75rem;
}

/* ==========================================
   RESPONSIVE PARA NAVEGACIÓN
   ========================================== */

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .hero-badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
