:root {
--color-primary: #a855f7;
--color-primary-light: #c084fc;
--color-primary-dark: #9333ea;
--color-secondary: #fb7185;
--color-secondary-light: #fda4af;
--color-secondary-dark: #f43f5e;
--color-accent: #06b6d4;
--color-accent-light: #22d3ee;
--color-accent-dark: #0891b2;

--color-success: #059669;
--color-warning: #d97706;
--color-error: #be123c;
--color-info: #7c3aed;

--bg-primary: #f8f7fc;
--bg-secondary: #f3f1f9;
--bg-tertiary: #eae6f5;
--bg-elevated: #fefeff;
--bg-overlay: rgba(88, 28, 135, 0.45);

--surface-primary: #fefeff;
--surface-secondary: #faf9fd;
--surface-hover: #f0edf7;

--text-primary: #2e1065;
--text-secondary: #581c87;
--text-tertiary: #a78bfa;
--text-disabled: #c4b5fd;
--text-inverse: #f5f3ff;

--border-light: #f3f0ff;
--border-medium: #e9d5ff;
--border-strong: #d8b4fe;
--border-focus: var(--color-primary);

--radius-sm: 0.625rem;
--radius-md: 1rem;
--radius-lg: 1.25rem;
--radius-xl: 2rem;
--radius-full: 9999px;

--space-xs: 0.375rem;
--space-sm: 0.625rem;
--space-md: 1rem;
--space-lg: 1.875rem;
--space-xl: 3rem;
--space-2xl: 4.5rem;

--shadow-xs: 0 2px 4px 0 rgba(139, 92, 246, 0.06);
--shadow-sm: 0 3px 6px -1px rgba(139, 92, 246, 0.08), 0 2px 4px -2px rgba(139, 92, 246, 0.06);
--shadow-md: 0 8px 16px -3px rgba(139, 92, 246, 0.1), 0 4px 8px -4px rgba(139, 92, 246, 0.08);
--shadow-lg: 0 16px 32px -5px rgba(139, 92, 246, 0.12), 0 8px 16px -8px rgba(139, 92, 246, 0.1);
--shadow-xl: 0 32px 64px -10px rgba(139, 92, 246, 0.14), 0 16px 32px -16px rgba(139, 92, 246, 0.12);
--shadow-inner: inset 0 3px 8px 0 rgba(139, 92, 246, 0.1);

--shadow-primary: 0 8px 24px -4px rgba(168, 85, 247, 0.25);
--shadow-secondary: 0 8px 24px -4px rgba(251, 113, 133, 0.25);
--shadow-accent: 0 8px 24px -4px rgba(6, 182, 212, 0.25);

--elevation-1: var(--shadow-sm);
--elevation-2: var(--shadow-md);
--elevation-3: var(--shadow-lg);

--transition-fast: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
--transition-normal: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
--transition-slow: all 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);

--font-sans: 'Outfit', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-mono: 'Space Mono', 'IBM Plex Mono', monospace;
--font-display: 'Poppins', 'Montserrat', sans-serif;

--font-size-xs: 0.6875rem;
--font-size-sm: 0.8125rem;
--font-size-base: 0.9375rem;
--font-size-lg: 1.0625rem;
--font-size-xl: 1.25rem;
--font-size-2xl: 1.5rem;
--font-size-3xl: 1.875rem;
--font-size-4xl: 2.375rem;
--font-size-5xl: 3rem;

--font-weight-light: 300;
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
--font-weight-extrabold: 800;
--font-weight-black: 900;

--line-height-tight: 1.2;
--line-height-snug: 1.4;
--line-height-normal: 1.65;
--line-height-relaxed: 1.85;
--line-height-loose: 2;

--z-underground: -1;
--z-base: 0;
--z-content: 10;
--z-dropdown: 50;
--z-sticky: 100;
--z-overlay: 200;
--z-modal: 300;
--z-popover: 400;
--z-tooltip: 500;
--z-notification: 600;
--z-top: 999;

--opacity-ghost: 0.1;
--opacity-disabled: 0.35;
--opacity-muted: 0.65;
--opacity-hover: 0.85;
--opacity-full: 1;

--blur-sm: 8px;
--blur-md: 16px;
--blur-lg: 24px;
--blur-xl: 40px;
}

body {
margin: 0;
padding: 0;
font-family: var(--font-sans);
font-size: var(--font-size-base);
font-weight: var(--font-weight-normal);
line-height: var(--line-height-normal);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-feature-settings: 'kern' 1, 'liga' 1;

background-color: var(--bg-primary);
color: var(--text-primary);
transition: var(--transition-normal);
letter-spacing: 0.01em;
}

body.dark {
--color-primary: #c084fc;
--color-primary-light: #e9d5ff;
--color-primary-dark: #a855f7;
--color-secondary: #fda4af;
--color-secondary-light: #fecdd3;
--color-secondary-dark: #fb7185;
--color-accent: #67e8f9;
--color-accent-light: #a5f3fc;
--color-accent-dark: #22d3ee;

--color-success: #34d399;
--color-warning: #fbbf24;
--color-error: #fb7185;
--color-info: #a78bfa;

--bg-primary: #000000;
--bg-secondary: #0a0a0f;
--bg-tertiary: #12121a;
--bg-elevated: #1a1a24;
--bg-overlay: rgba(10, 10, 15, 0.92);

--surface-primary: #0f0f17;
--surface-secondary: #16161f;
--surface-hover: #1f1f2e;

--text-primary: #f5f3ff;
--text-secondary: #e9d5ff;
--text-tertiary: #c084fc;
--text-disabled: #6b21a8;
--text-inverse: #0f0f17;

--border-light: #1e1b24;
--border-medium: #2d2640;
--border-strong: #4c1d95;
--border-focus: var(--color-primary);

--shadow-xs: 0 2px 4px 0 rgba(0, 0, 0, 0.7);
--shadow-sm: 0 3px 6px -1px rgba(0, 0, 0, 0.8), 0 2px 4px -2px rgba(0, 0, 0, 0.7);
--shadow-md: 0 8px 16px -3px rgba(0, 0, 0, 0.85), 0 4px 8px -4px rgba(0, 0, 0, 0.8);
--shadow-lg: 0 16px 32px -5px rgba(0, 0, 0, 0.9), 0 8px 16px -8px rgba(0, 0, 0, 0.85);
--shadow-xl: 0 32px 64px -10px rgba(0, 0, 0, 0.95), 0 16px 32px -16px rgba(0, 0, 0, 0.9);
--shadow-inner: inset 0 3px 8px 0 rgba(0, 0, 0, 0.6);

--shadow-primary: 0 0 32px rgba(192, 132, 252, 0.4), 0 8px 24px -4px rgba(192, 132, 252, 0.3);
--shadow-secondary: 0 0 32px rgba(253, 164, 175, 0.4), 0 8px 24px -4px rgba(253, 164, 175, 0.3);
--shadow-accent: 0 0 32px rgba(103, 232, 249, 0.4), 0 8px 24px -4px rgba(103, 232, 249, 0.3);

--glow-primary: 0 0 40px rgba(192, 132, 252, 0.5);
--glow-secondary: 0 0 40px rgba(253, 164, 175, 0.5);
--glow-accent: 0 0 40px rgba(103, 232, 249, 0.5);
--glow-text: 0 0 20px rgba(192, 132, 252, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .footer iframe:hover,
    .footer > ul:first-of-type a:hover,
    .footer-a-Direccion:hover,
    .footer > a[href^="tel"]:hover,
    .footer-ul-horario li:hover,
    .Producto:hover,
    .hd-bn-modos:hover,
    .hd-bn-hamburguesa:hover,
    .main-section-Pri p:hover,
    .header:hover {
        transform: none;
    }

    .hd-p-logo,
    .main-section-p h2,
    .footer h4,
    .footer h3,
    .footer > a[href^="tel"] {
        animation: none;
    }

    .main-section-Pri::before,
    .main-section-Pri::after,
    #menu-container::before {
        animation: none;
    }
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.Producto,
.Producto img,
.hd-bn-modos,
.hd-bn-hamburguesa,
.footer > ul:first-of-type a,
.main-section-Pri p,
.footer iframe,
.footer-a-Direccion,
.footer > a[href^="tel"],
.footer-ul-horario li {
    will-change: transform;
}

.Producto::before,
.main-section-Pri::before,
.main-section-Pri::after,
.footer::before,
.footer::after {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hd-nav.nav-abierto {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--surface-hover);
}

.hd-nav.nav-abierto::-webkit-scrollbar {
    width: 0.625rem;
}

.hd-nav.nav-abierto::-webkit-scrollbar-track {
    background: var(--surface-hover);
    border-radius: var(--radius-full);
}

.hd-nav.nav-abierto::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-full);
}

.hd-nav.nav-abierto::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-secondary-light));
}

body.dark .hd-nav.nav-abierto::-webkit-scrollbar-thumb {
    box-shadow: var(--glow-primary);
}

.hd-bn-modos:focus-visible,
.hd-bn-hamburguesa:focus-visible,
.hd-nav-ul-li-a:focus-visible,
.submenu a:focus-visible,
.footer > ul:first-of-type a:focus-visible,
.footer-a-Direccion:focus-visible,
.footer > a[href^="tel"]:focus-visible {
    outline: 0.1875rem solid var(--color-primary);
    outline-offset: 0.5rem;
}

body.dark .hd-bn-modos:focus-visible,
body.dark .hd-bn-hamburguesa:focus-visible,
body.dark .hd-nav-ul-li-a:focus-visible,
body.dark .submenu a:focus-visible,
body.dark .footer > ul:first-of-type a:focus-visible,
body.dark .footer-a-Direccion:focus-visible,
body.dark .footer > a[href^="tel"]:focus-visible {
    outline-color: var(--color-primary-light);
    box-shadow: 0 0 0 0.5rem rgba(192, 132, 252, 0.3);
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.Producto.loading {
    background: linear-gradient(
        90deg,
        var(--surface-primary) 0%,
        var(--surface-hover) 50%,
        var(--surface-primary) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 2s ease-in-out infinite;
}

body.dark .Producto.loading {
    background: linear-gradient(
        90deg,
        var(--surface-secondary) 0%,
        var(--surface-hover) 50%,
        var(--surface-secondary) 100%
    );
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes ripple-burst {
    from {
        opacity: 1;
        transform: scale(0);
    }
    to {
        opacity: 0;
        transform: scale(3);
    }
}

.hd-bn-modos:active::after,
.hd-bn-hamburguesa:active::after,
.footer > ul:first-of-type a:active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
    opacity: 0.4;
    animation: ripple-burst 0.6s ease-out;
    pointer-events: none;
}

body.dark .Producto:nth-child(odd) {
    animation: randomGlow 5s ease-in-out infinite;
}

body.dark .Producto:nth-child(even) {
    animation: randomGlow 5s ease-in-out 2.5s infinite;
}

@keyframes randomGlow {
    0%, 90%, 100% {
        box-shadow: var(--shadow-lg), inset 0 0 1.25rem rgba(192, 132, 252, 0.05);
    }
    95% {
        box-shadow: var(--shadow-lg), inset 0 0 2rem rgba(192, 132, 252, 0.15), var(--glow-primary);
    }
}

@media (prefers-contrast: high) {
    .header,
    .Producto,
    .footer,
    .main-section-Pri p {
        border-width: 0.25rem;
    }

    .hd-bn-modos,
    .hd-bn-hamburguesa,
    .footer > ul:first-of-type a {
        border-width: 0.25rem;
    }

    body.dark {
        --text-primary: #ffffff;
        --text-secondary: #f0f0f0;
        --border-strong: #8b5cf6;
    }
}

@media print {
    .header,
    .hd-bn-modos,
    .hd-bn-hamburguesa,
    .hd-nav,
    .footer > ul:first-of-type,
    .footer > a[href^="tel"],
    .main-section-Pri::before,
    .main-section-Pri::after,
    #menu-container::before,
    .footer::before,
    .footer::after {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .Producto,
    .footer-ul-horario li {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .main-section-Pri {
        background: white;
        min-height: auto;
        padding: 2rem;
    }

    .footer {
        background: white;
        border-top: 0.125rem solid black;
    }

    .main-section-Pri h1,
    .main-section-p h2,
    .footer h3,
    .footer h4 {
        color: black;
        -webkit-text-fill-color: black;
        background: none;
    }

    .Producto strong {
        position: static;
        display: block;
        margin: 1rem 0;
        background: #f3f3f3;
        color: black;
    }
}

body.dark {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.dark .main-section-Pri {
    background-attachment: fixed;
}

body.dark .Producto {
    backdrop-filter: blur(var(--blur-sm));
}

body.dark::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 75rem;
    height: 75rem;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: breatheGlow 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes breatheGlow {
    0%, 100% {
        opacity: 0.02;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.05;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

body,
.header,
.hd-nav,
.main-section-Pri,
#menu-container,
.Producto,
.footer,
.hd-bn-modos,
.hd-bn-hamburguesa,
.hd-nav-ul-li-a,
.submenu,
.footer > ul:first-of-type a,
.footer-a-Direccion,
.footer > a[href^="tel"],
.footer-ul-horario li {
    transition: 
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        color var(--transition-normal),
        box-shadow var(--transition-normal),
        transform var(--transition-fast),
        filter var(--transition-normal);
}

@media (hover: none) and (pointer: coarse) {
    .hd-bn-modos,
    .hd-bn-hamburguesa,
    .hd-nav-ul-li-a,
    .submenu a,
    .footer > ul:first-of-type a {
        min-height: 3rem;
        min-width: 3rem;
    }
}

.Producto:hover,
.footer > ul:first-of-type a:hover,
.footer-a-Direccion:hover,
.footer > a[href^="tel"]:hover {
    will-change: transform, box-shadow, filter;
}