
        /* ============================================
           DESIGN TOKENS
           ============================================ */
        :root {
            /* Paleta "Trattoria Rústica" — terracota de horno a leña, oliva, trigo */
            --primary: #C1440E;
            --primary-hover: #A8380B;
            --primary-rgb: 193, 68, 14;
            --secondary: #5C6B3C;
            --secondary-rgb: 92, 107, 60;
            --tertiary: #D4A657;
            --tertiary-rgb: 212, 166, 87;
            --bg: #211B16;
            --surface: #2B231B;
            --surface-hover: #362B20;
            --text: #F2E8D5;
            --text-muted: #B3A38C;
            --on-primary: #FFF8ED;
            --whatsapp: #25D366;
            --whatsapp-hover: #1EBE53;
            --danger: #ef4444;
            --warning: #f59e0b;
            --success: #22c55e;
            --cream: #F2E8D5;
            --cream-rgb: 242, 232, 213;
            --radius: 20px;
            --radius-sm: 12px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.16);
            --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.22);
            --font-display: 'Playfair Display', Georgia, serif;
            --font-body: 'Inter', system-ui, sans-serif;
            --font-accent: 'Caveat', cursive;
            /* Escala de espaciado — ritmo vertical consistente */
            --space-xs: 8px;
            --space-sm: 16px;
            --space-md: 24px;
            --space-lg: 48px;
            --space-xl: 80px;
            --space-2xl: 100px;
            /* Textura papel/lienzo rústica, sutil, vía SVG inline (sin request extra) */
            --texture-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
        }

        /* Light Mode */
        [data-theme="light"] {
            --primary-hover: #D4520F;
            --bg: #F5EEDF;
            --surface: #FFFFFF;
            --surface-hover: #F0E6D2;
            --text: #2B2115;
            --text-muted: #6E5F49;
            --on-primary: #FFF8ED;
            --shadow-soft: 0 2px 12px rgba(43, 33, 21, 0.06);
            --shadow-card: 0 4px 24px rgba(43, 33, 21, 0.09);
        }

        [data-theme="light"] .hero-bg {
            opacity: 0.7;
            filter: brightness(0.75) contrast(1.05);
        }

        [data-theme="light"] nav {
            background: rgba(var(--cream-rgb), 0.9);
            border-bottom-color: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .nav-links a {
            color: var(--text);
        }

        [data-theme="light"] .ig-link {
            background: rgba(0, 0, 0, 0.06);
        }

        [data-theme="light"] .cart-item {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .cart-footer {
            background: rgba(0, 0, 0, 0.03);
        }

        [data-theme="light"] .form-group input,
        [data-theme="light"] .form-group select,
        [data-theme="light"] .form-group textarea {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.12);
            color: var(--text);
        }

        [data-theme="light"] ::-webkit-scrollbar-track {
            background: var(--bg);
        }

        [data-theme="light"] ::-webkit-scrollbar-thumb {
            background: #C9B896;
        }

        [data-theme="light"] .seo-block {
            background: rgba(0, 0, 0, 0.03);
        }

        [data-theme="light"] .skeleton {
            background: #E3D6BC;
        }

        [data-theme="light"] .skeleton::after {
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
        }

        /* ============================================
           RESET & BASE
           ============================================ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            /* Sin scroll-behavior global en táctil: en móvil, el "smooth" global
               pelea con el gesto rápido y produce scroll trabado. Se restaura solo
               en dispositivos con puntero fino (desktop), donde las anclas se
               desplazan suaves sin conflicto con el gesto táctil. */
            scroll-padding-top: 140px;
        }

        @media (hover: hover) {
            html {
                scroll-behavior: smooth;
            }
        }

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

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

        ::-webkit-scrollbar-thumb {
            background: #333;
            border-radius: 5px;
        }

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

        body {
            font-family: var(--font-body);
            background-color: var(--bg);
            background-image: var(--texture-paper);
            color: var(--text);
            overflow-x: hidden;
            overflow-x: clip; /* clip NO crea scroll container (evita conflictos sticky/scroll en móvil) */
            transition: background-color 0.4s, color 0.4s;
            -webkit-font-smoothing: antialiased;
        }

        h1,
        h2,
        h3 {
            font-family: var(--font-display);
            letter-spacing: 0.5px;
        }

        .nav-logo {
            font-family: var(--font-display);
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* ============================================
           NAV
           ============================================ */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(33, 27, 22, 0.88);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(var(--cream-rgb), 0.06);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 15px;
            min-width: 0;
            flex-shrink: 1;
            overflow: hidden;
        }

        .nav-logo {
            font-size: 22px;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 12px;
            white-space: nowrap;
            min-width: 0;
        }

        .nav-logo img {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary);
        }

        .nav-logo span {
            color: var(--text);
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Horario badge */
        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 14px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-family: 'Inter', sans-serif;
            animation: statusPulse 2s ease-in-out infinite;
        }

        .status-badge.abierto {
            background: rgba(34, 197, 94, 0.15);
            color: var(--success);
            border: 1px solid rgba(34, 197, 94, 0.3);
        }

        .status-badge.cerrado {
            background: rgba(239, 68, 68, 0.15);
            color: var(--danger);
            border: 1px solid rgba(239, 68, 68, 0.3);
            animation: none;
        }

        .status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
        }

        .status-badge.abierto .status-dot {
            background: var(--success);
        }

        .status-badge.cerrado .status-dot {
            background: var(--danger);
        }

        @keyframes statusPulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.7;
            }
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            text-transform: uppercase;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .ig-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.1);
            padding: 8px 15px;
            border-radius: 20px;
            transition: background 0.3s !important;
        }

        .ig-link:hover {
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
            color: white !important;
        }

        /* Theme toggle */
        .theme-toggle {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            color: var(--text);
            font-size: 18px;
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(20deg);
        }

        /* Hamburger */
        .hamburger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            width: 30px;
            height: 24px;
            position: relative;
            z-index: 1001;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 3px;
            background: var(--text);
            border-radius: 3px;
            transition: all 0.3s;
            position: absolute;
            left: 0;
        }

        .hamburger span:nth-child(1) {
            top: 0;
        }

        .hamburger span:nth-child(2) {
            top: 10px;
        }

        .hamburger span:nth-child(3) {
            top: 20px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg);
            top: 10px;
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg);
            top: 10px;
        }

        /* Mobile Menu */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(33, 27, 22, 0.97);
            backdrop-filter: blur(20px);
            z-index: 999;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 30px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }

        .mobile-menu.open {
            opacity: 1;
            pointer-events: all;
        }

        .mobile-menu a {
            color: var(--text);
            text-decoration: none;
            font-family: var(--font-display);
            font-size: 2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            transition: color 0.3s;
        }

        .mobile-menu a:hover {
            color: var(--primary);
        }

        /* ============================================
           HERO
           ============================================ */
        .hero {
            /* Tamaño del contenido (no pantalla completa): el comensal llega al menú sin scroll largo */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            padding: 96px 20px 110px;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('../assets/background.jpeg');
            background-size: cover;
            background-position: center;
            opacity: 0.6;
            z-index: -1;
            transform: scale(1.1);
            filter: brightness(0.7) contrast(1.1);
            will-change: transform; /* GPU-accelerated parallax sin repaint en scroll */
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 160px;
            background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
            z-index: -1;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 8vw, 6.5rem);
            line-height: 1.15;
            margin-bottom: 20px;
            color: var(--text);
            text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.9);
            font-weight: 700;
        }

        .hero h1 span {
            display: inline-block;
            margin-top: 5px;
            color: var(--tertiary); /* Dorado trigo: mejor contraste que el rojo sobre fondo oscuro y coherente con la paleta */
            text-shadow: 2px 4px 15px rgba(0, 0, 0, 1), 0 0 5px rgba(0,0,0,0.8);
        }

        .hero p {
            font-size: clamp(1.2rem, 3vw, 1.5rem);
            max-width: 700px;
            margin-bottom: 40px;
            color: #E8DFCE;
            text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.9);
        }

        .weight-badge {
            display: inline-block;
            background: rgba(var(--primary-rgb), 0.2);
            border: 1px solid var(--primary);
            color: var(--tertiary);
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 1rem;
            margin-bottom: 30px;
            backdrop-filter: blur(5px);
            z-index: 10;
            font-family: var(--font-body);
            letter-spacing: 1px;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: var(--primary);
            color: var(--on-primary);
            padding: 16px 45px;
            font-size: 18px;
            font-family: var(--font-display);
            font-weight: 700;
            text-decoration: none;
            letter-spacing: 1px;
            border-radius: 50px;
            transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
            box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
        }

        .cta-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.5);
            background: var(--primary-hover);
        }

        /* Closed overlay on hero CTA */
        .cta-btn.cerrado {
            background: linear-gradient(45deg, #555, #333);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            pointer-events: none;
            opacity: 0.8;
        }

        /* ============================================
           PROMO BANNER
           ============================================ */
        .promo-banner {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
            padding: 14px 5%;
            text-align: center;
            position: relative;
            overflow: hidden;
            display: none;
        }

        .promo-banner.visible {
            display: block;
        }

        .promo-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
        }

        .promo-content .promo-icon {
            font-size: 1.4rem;
        }

        .promo-content .promo-text {
            font-weight: 700;
            font-size: 1rem;
            color: white;
        }

        .promo-content .promo-desc {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.85);
        }

        .promo-close {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            font-size: 1.2rem;
            transition: color 0.3s;
        }

        .promo-close:hover {
            color: white;
        }

        /* ============================================
           SECTIONS
           ============================================ */
        section {
            padding: var(--space-2xl) 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 3rem;
            margin-bottom: var(--space-sm);
            color: var(--text);
            text-align: center;
            font-weight: 700;
        }

        .section-title span {
            color: var(--primary);
            font-style: italic;
        }

        .section-subtitle {
            text-align: center;
            color: var(--text-muted);
            margin-bottom: var(--space-lg);
            font-size: 1.5rem;
            font-family: var(--font-accent);
            font-weight: 600;
        }

        /* ============================================
           SEARCH BAR
           ============================================ */
        .search-container {
            max-width: 500px;
            margin: 0 auto 40px;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 14px 20px 14px 50px;
            background: var(--surface);
            border: 1px solid rgba(var(--cream-rgb), 0.08);
            border-radius: 50px;
            color: var(--text);
            font-size: 1rem;
            font-family: var(--font-body);
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .search-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
        }

        .search-input::placeholder {
            color: var(--text-muted);
        }

        .search-icon {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
        }

        .search-clear {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 1.1rem;
            display: none;
            transition: color 0.3s;
        }

        .search-clear.visible {
            display: block;
        }

        .search-clear:hover {
            color: var(--text);
        }

        /* Search results overlay */
        .search-results {
            display: none;
            margin-bottom: 30px;
        }

        .search-results.visible {
            display: block;
        }

        .search-results-title {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 15px;
            text-align: center;
        }

        .search-results-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0;
        }

        /* ============================================
           SKELETON LOADERS
           ============================================ */
        .skeleton {
            background: var(--surface-hover);
            border-radius: var(--radius);
            position: relative;
            overflow: hidden;
        }

        .skeleton::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
            animation: shimmer 1.5s infinite;
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        /* ============================================
           CARTA ONE-PAGE (chips sticky + scroll-spy)
           Estándar de la industria (PedidosYa/Rappi/Uber Eats):
           todo el menú visible, barra de categorías fija.
           ============================================ */
        .carta-chips {
            position: sticky;
            top: 78px;
            z-index: 900;
            background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            padding: 8px 10px;
            margin: 0 -5% 40px;
            border-bottom: 2px solid var(--primary);
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
            transition: background 0.4s;
            display: flex;
            align-items: center;
        }

        [data-theme="light"] .carta-chips {
            background: linear-gradient(135deg, rgba(var(--cream-rgb), 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .nav-arrow {
            background: var(--surface);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--primary);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 2;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
            transition: all 0.2s;
            font-size: 14px;
        }

        .nav-arrow:hover {
            background: var(--primary);
            color: var(--on-primary);
            transform: scale(1.1);
        }

        .nav-arrow.hidden {
            opacity: 0;
            pointer-events: none;
            width: 0;
            margin: 0;
            border: none;
        }

        .carta-chips-scroll {
            flex: 1;
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding: 4px 5px;
            scrollbar-width: none;
            scroll-snap-type: x mandatory;
            scroll-padding-left: 5px;
            scroll-behavior: smooth;
        }

        .carta-chips-scroll::-webkit-scrollbar {
            display: none;
        }

        /* Evita que el scroll-anchoring de Chrome "ancle" la vista durante la
           carga/fallo de imágenes y bloquee el scroll rápido en móviles */
        #carta-container {
            overflow-anchor: none;
        }

        .carta-chip {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            padding: 12px 20px;
            min-height: 44px;
            border-radius: 50px;
            background: var(--surface);
            border: 1px solid rgba(var(--cream-rgb), 0.08);
            color: var(--text-muted);
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            scroll-snap-align: start;
        }

        .carta-chip:hover {
            color: var(--text);
            background: var(--surface-hover);
            border-color: rgba(var(--primary-rgb), 0.4);
            transform: translateY(-2px);
        }

        .carta-chip:active {
            transform: scale(0.95);
        }

        .carta-chip.active {
            background: var(--primary);
            color: var(--on-primary);
            border-color: var(--primary);
            font-weight: 800;
            box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
            transform: none;
        }

        /* Mejoras táctiles móviles: sin flash de tap, sin zoom por doble tap, sin selección de texto */
        .carta-chip,
        .producto-fila-add {
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            user-select: none;
            -webkit-user-select: none;
        }

        .carta {
            display: flex;
            flex-direction: column;
            gap: var(--space-lg);
        }

        .carta-section {
            scroll-margin-top: 140px;
            /* Neutraliza la regla global 'section { padding/max-width/margin: 0 auto }'
               que centraba cada categoría (efecto Word) y le daba 100px de padding */
            width: 100%;
            max-width: none;
            margin: 0;
            padding: 0;
        }

        /* Entrada suave al mostrar una categoría filtrada (fade + desliz sutil) */
        .carta-section.filtro-in {
            animation: filtro-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
        }

        @keyframes filtro-in {
            from {
                opacity: 0;
                transform: translateY(14px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Accesibilidad: sin animación si el usuario la desactiva en el sistema */
        @media (prefers-reduced-motion: reduce) {
            .carta-section.filtro-in {
                animation: none;
            }
        }

        .carta-section-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 6px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(var(--primary-rgb), 0.2);
        }

        .carta-section-icon {
            font-size: 1.35rem;
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(var(--secondary-rgb), 0.12);
            border: 1px solid rgba(var(--secondary-rgb), 0.25);
            border-radius: 12px;
            flex-shrink: 0;
        }

        .carta-section-title {
            font-family: var(--font-display);
            letter-spacing: 1px;
            text-transform: uppercase;
            font-size: 1.7rem;
            margin: 0;
            color: var(--text);
            font-weight: 700;
            line-height: 1.1;
            min-width: 0;
        }

        .carta-section-count {
            margin-left: auto;
            font-size: 0.72rem;
            font-weight: 800;
            color: var(--secondary);
            background: rgba(var(--secondary-rgb), 0.14);
            border: 1px solid rgba(var(--secondary-rgb), 0.28);
            padding: 4px 12px;
            border-radius: 50px;
            white-space: nowrap;
        }

        .carta-productos {
            padding-top: 8px;
        }

        /* Fila compacta de producto (estilo PedidosYa/Rappi) */
        .producto-fila {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 14px 8px;
            border-bottom: 1px solid rgba(var(--cream-rgb), 0.06);
            border-radius: 12px;
            transition: background 0.25s, box-shadow 0.25s;
        }

        [data-theme="light"] .producto-fila {
            border-bottom-color: rgba(0, 0, 0, 0.06);
        }

        .producto-fila:hover {
            background: var(--surface);
            box-shadow: var(--shadow-soft);
        }

        .producto-fila:last-child {
            border-bottom: none;
        }

        .producto-fila-img {
            width: 110px;
            height: 110px;
            border-radius: 14px;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid rgba(var(--cream-rgb), 0.06);
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: var(--shadow-soft);
        }

        /* Si la imagen falla (ej. límite de tasa de R2), NO colapsa el contenedor:
           mantiene el espacio reservado para no desplazar el layout ni bloquear
           el scroll (scroll-anchoring) en móviles */
        .producto-fila-img.img-error {
            visibility: hidden;
            background: rgba(255, 255, 255, 0.04);
            border-style: dashed;
        }

        .producto-fila:hover .producto-fila-img {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }

        .producto-fila-info {
            flex: 1;
            min-width: 0;
        }

        .producto-fila-titulo {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px 10px;
        }

        .producto-fila-titulo h4 {
            font-size: 1.05rem;
            color: var(--text);
            margin: 0;
        }

        .producto-fila-cat {
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--primary);
            background: rgba(var(--primary-rgb), 0.1);
            padding: 2px 10px;
            border-radius: 50px;
        }

        .producto-fila-desc {
            color: var(--text-muted);
            font-size: 0.85rem;
            line-height: 1.5;
            margin-top: 3px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .producto-fila-precio {
            color: var(--tertiary);
            font-weight: 800;
            font-size: 1.05rem;
            margin-top: 5px;
        }

        .producto-fila-add {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--on-primary);
            border: none;
            font-size: 1.7rem;
            font-weight: 700;
            line-height: 1;
            cursor: pointer;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
            box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.35);
        }

        .producto-fila-add:hover {
            transform: scale(1.12);
            box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.5);
            background: var(--primary-hover);
        }

        .producto-fila-add:active {
            transform: scale(0.95);
        }

        .producto-fila-add:disabled {
            background: #555;
            color: #999;
            box-shadow: none;
            cursor: not-allowed;
            transform: none;
        }

        .producto-fila.agotado {
            opacity: 0.55;
        }

        /* ============================================
           MODALS & CART
           ============================================ */
        .ui-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            z-index: 9999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }

        .ui-overlay.open {
            opacity: 1;
            pointer-events: all;
        }

        .cart-header {
            padding: 20px 25px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-header h2 {
            color: var(--primary);
            font-size: 1.8rem;
            margin: 0;
            font-family: var(--font-display);
        }

        .close-btn {
            background: rgba(255, 255, 255, 0.05);
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            color: var(--text);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
            font-size: 14px;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        /* ============================================
           PRODUCT DETAIL MODAL
           ============================================ */
        .product-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 10000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 40px 20px;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .product-modal-overlay.open {
            opacity: 1;
            pointer-events: all;
        }

        .product-modal {
            background: var(--surface);
            border-radius: 20px;
            width: 100%;
            max-width: 500px;
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 20px 50px rgba(0,0,0,0.4);
            border: 1px solid rgba(var(--cream-rgb), 0.06);
            margin: auto;
            overflow: hidden;
        }

        .product-modal-overlay.open .product-modal {
            transform: translateY(0);
        }

        .product-modal-img {
            width: 100%;
            height: auto;
            max-height: 40vh;
            object-fit: cover;
            border-radius: 20px 20px 0 0;
            display: block;
        }

        .product-modal-info {
            padding: 25px;
        }

        .product-modal-title {
            font-size: 1.6rem;
            color: var(--text);
            margin-bottom: 10px;
            line-height: 1.2;
            font-family: var(--font-display);
            font-weight: 700;
        }

        .product-modal-desc {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .product-modal-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .product-modal-cat {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--secondary);
            background: rgba(var(--secondary-rgb), 0.16);
            border: 1px solid rgba(var(--secondary-rgb), 0.3);
            padding: 4px 12px;
            border-radius: 50px;
        }

        .product-modal-stock {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 4px 12px;
            border-radius: 50px;
        }

        .product-modal-stock.disponible {
            color: #22c55e;
            background: rgba(34, 197, 94, 0.1);
            border: 1px solid rgba(34, 197, 94, 0.2);
        }

        .product-modal-stock.pocas {
            color: #f59e0b;
            background: rgba(245, 158, 11, 0.15);
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        .product-modal-stock.agotado {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        .product-modal-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(var(--cream-rgb), 0.08);
        }

        .product-modal-price {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--tertiary);
            margin: 0;
        }

        .product-modal-add-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: var(--on-primary);
            border: none;
            padding: 14px 28px;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 700;
            font-family: var(--font-body);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
            box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
            white-space: nowrap;
        }

        .product-modal-add-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.5);
            background: var(--primary-hover);
        }

        .product-modal-add-btn:disabled {
            background: #555;
            box-shadow: none;
            cursor: not-allowed;
            transform: none;
        }

        .close-modal-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0,0,0,0.6);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            transition: background 0.3s;
            z-index: 2;
        }

        .close-modal-btn:hover {
            background: var(--primary);
            color: var(--on-primary);
        }

        /* Stock badges */
        .stock-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
        }

        .stock-badge.agotado {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        .stock-badge.pocas {
            background: rgba(245, 158, 11, 0.15);
            color: #f59e0b;
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        .stock-badge.disponible {
            background: rgba(34, 197, 94, 0.1);
            color: #22c55e;
            border: 1px solid rgba(34, 197, 94, 0.2);
        }

        /* Cart Sidebar */
        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 100%;
            max-width: 400px;
            height: 100vh;
            height: 100dvh;
            background: var(--surface);
            z-index: 10000;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            border-left: 1px solid rgba(var(--cream-rgb), 0.06);
            box-shadow: -10px 0 40px rgba(0,0,0,0.3);
        }

        .cart-sidebar.open {
            right: 0;
        }

        .cart-items-container {
            flex: 1;
            overflow-y: auto;
            padding: 25px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .cart-item {
            background: rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(var(--cream-rgb), 0.05);
            padding: 15px;
            border-radius: var(--radius-sm);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-item-info h4 {
            margin-bottom: 5px;
            font-size: 1rem;
        }

        .cart-item-info p {
            color: var(--tertiary);
            font-weight: bold;
        }

        .cart-item-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .qty-btn {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 6px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s;
        }

        .qty-btn:hover {
            background: var(--primary);
            color: var(--on-primary);
        }

        .cart-footer {
            padding: 25px;
            background: rgba(0, 0, 0, 0.2);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            flex-shrink: 0;
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 12px;
        }

        /* Minimum order indicator */
        .min-order-indicator {
            margin-bottom: 16px;
        }

        .min-order-bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 6px;
        }

        .min-order-fill {
            height: 100%;
            border-radius: 3px;
            transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
        }

        .min-order-fill.incomplete {
            background: var(--warning);
        }

        .min-order-fill.complete {
            background: var(--success);
        }

        .min-order-text {
            font-size: 0.8rem;
            font-weight: 600;
            margin: 0;
        }

        .min-order-text.incomplete {
            color: var(--warning);
        }

        .min-order-text.complete {
            color: var(--success);
        }

        .cart-actions {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .share-btn {
            flex: 1;
            background: rgba(255, 255, 255, 0.08);
            color: var(--text);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
            font-size: 0.85rem;
        }

        .share-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        .checkout-btn {
            width: 100%;
            background: var(--whatsapp);
            color: white;
            border: none;
            padding: 16px;
            border-radius: var(--radius-sm);
            font-size: 1.1rem;
            font-weight: bold;
            font-family: var(--font-body);
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            transition: background 0.3s, transform 0.2s;
        }

        .checkout-btn:hover:not(.disabled) {
            background: var(--whatsapp-hover);
            transform: translateY(-1px);
        }

        .checkout-btn.disabled {
            background: #555;
            cursor: not-allowed;
            opacity: 0.7;
            transform: none;
        }

        /* Delivery Selector */
        .delivery-options {
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .delivery-options label {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .options-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            background: rgba(0, 0, 0, 0.2);
            padding: 5px;
            border-radius: 10px;
        }

        .option-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            padding: 10px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            font-size: 0.85rem;
            transition: all 0.3s;
        }

        .option-btn.active {
            background: var(--primary);
            color: var(--on-primary);
            box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
        }

        /* Checkout Form */
        .cart-step {
            display: none;
            flex-direction: column;
            flex: 1;
            min-height: 0;
        }

        .cart-step.active {
            display: flex;
        }

        .checkout-form {
            padding: 20px 0;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 600;
            text-transform: uppercase;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px;
            border-radius: 8px;
            color: var(--text);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--primary);
            outline: none;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .back-to-cart {
            background: transparent;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.9rem;
            margin-bottom: 10px;
            padding: 0;
            transition: color 0.3s;
        }

        .back-to-cart:hover {
            color: var(--text);
        }

        /* ============================================
           GALLERY
           ============================================ */
        .gallery-section {
            display: none;
            padding: 80px 5%;
            max-width: 1200px;
            margin: 0 auto;
            overflow-anchor: none;
        }

        .gallery-section.visible {
            display: block;
        }

        .gallery-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 8px 4px 18px 4px;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            overscroll-behavior-y: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .gallery-scroll::-webkit-scrollbar {
            display: none;
        }

        .gallery-item {
            min-width: 280px;
            width: 280px;
            height: 350px;
            border-radius: var(--radius);
            overflow: hidden;
            position: relative;
            flex-shrink: 0;
            cursor: pointer;
            user-select: none;
            -webkit-user-select: none;
            -webkit-touch-callout: none;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
            pointer-events: none;
            -webkit-user-drag: none;
            user-select: none;
        }

        .gallery-item:hover img {
            transform: scale(1.06);
        }

        .gallery-item .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            pointer-events: none;
        }

        /* ============================================
           CONTACT
           ============================================ */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            background: var(--surface);
            padding: 50px;
            border-radius: var(--radius);
            border: 1px solid rgba(var(--cream-rgb), 0.06);
            margin-top: 30px;
            box-shadow: var(--shadow-card);
        }

        .contact-info h3 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 25px;
        }

        .contact-info p {
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .map-container {
            width: 100%;
            min-height: 300px;
            border-radius: 15px;
            overflow: hidden;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .seo-block {
            margin-top: 60px;
            padding: 25px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* ============================================
           TOAST NOTIFICATIONS
           ============================================ */
        .toast-container {
            position: fixed;
            top: 90px;
            right: 20px;
            z-index: 20000;
            display: flex;
            flex-direction: column;
            gap: 10px;
            pointer-events: none;
        }

        .toast {
            padding: 14px 20px;
            border-radius: var(--radius-sm);
            color: white;
            font-size: 0.9rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            pointer-events: all;
            transform: translateX(120%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            min-width: 280px;
            max-width: 380px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .toast.show {
            transform: translateX(0);
        }

        .toast.success {
            background: rgba(34, 197, 94, 0.9);
        }

        .toast.error {
            background: rgba(239, 68, 68, 0.9);
        }

        .toast.info {
            background: rgba(59, 130, 246, 0.9);
        }

        .toast.warning {
            background: rgba(245, 158, 11, 0.9);
        }

        /* ============================================
           FLOATING BUTTONS
           ============================================ */
        .cart-floating-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: var(--secondary);
            color: var(--on-primary);
            width: 65px;
            height: 65px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 8px 24px rgba(var(--secondary-rgb), 0.4);
            z-index: 1000;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .cart-floating-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 32px rgba(var(--secondary-rgb), 0.55);
        }

        .cart-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--primary);
            color: var(--on-primary);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 13px;
            font-weight: bold;
            border: 2px solid var(--bg);
        }

        /* ============================================
           FOOTER
           ============================================ */
        footer {
            background: var(--surface);
            border-top: 1px solid rgba(var(--cream-rgb), 0.06);
            padding: 60px 5% 30px;
            margin-top: 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: var(--space-lg);
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-brand .footer-logo {
            font-family: var(--font-display);
            font-size: 1.8rem;
            color: var(--primary);
            text-transform: uppercase;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .footer-brand .footer-logo span {
            color: var(--text);
        }

        .footer-brand p {
            color: var(--text-muted);
            line-height: 1.7;
            font-size: 0.9rem;
        }

        .footer-col h4 {
            color: var(--primary);
            font-family: var(--font-display);
            font-size: 1.1rem;
            text-transform: uppercase;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-col ul li a:hover {
            color: var(--primary);
        }

        .footer-col .hours-item {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-bottom: 8px;
        }

        .footer-col .hours-item .day {
            font-weight: 600;
            color: var(--text);
        }

        .footer-social {
            display: flex;
            gap: 12px;
            margin-top: 15px;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: all 0.3s;
            text-decoration: none;
        }

        .footer-social a:hover {
            background: var(--primary);
            color: var(--on-primary);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 40px;
            padding-top: 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--text-muted);
            font-size: 0.8rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ============================================
           ANIMATIONS
           ============================================ */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-1 {
            transition-delay: 0.1s;
        }

        .stagger-2 {
            transition-delay: 0.2s;
        }

        /* ============================================
           CHECKOUT STEPS
           ============================================ */

        .step-header {
            padding: 20px 25px 0;
            flex-shrink: 0;
        }

        .step-body {
            flex: 1;
            overflow-y: auto;
            padding: 0 25px 15px;
        }

        .step-footer {
            padding: 15px 25px 25px;
            flex-shrink: 0;
            background: rgba(0, 0, 0, 0.2);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* ============================================
           ORDER SUMMARY (STEP 3)
           ============================================ */
        .resumen-section {
            margin-bottom: 20px;
        }

        .resumen-section h4 {
            font-family: var(--font-display);
            font-size: 1rem;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
        }

        .resumen-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(var(--cream-rgb), 0.05);
        }

        .resumen-item:last-child {
            border-bottom: none;
        }

        .resumen-item-info {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .resumen-item-name {
            font-weight: 600;
            font-size: 0.95rem;
        }

        .resumen-item-img {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .resumen-item-price {
            color: var(--tertiary);
            font-weight: 700;
            font-size: 0.95rem;
            flex-shrink: 0;
        }

        .resumen-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            margin-bottom: 20px;
            border-top: 2px solid rgba(var(--primary-rgb), 0.3);
            font-size: 1.2rem;
            font-weight: 800;
        }

        .resumen-total span:last-child {
            color: var(--tertiary);
        }

        .resumen-row {
            display: flex;
            justify-content: space-between;
            padding: 6px 0;
            font-size: 0.9rem;
        }

        .resumen-row span:first-child {
            color: var(--text-muted);
        }

        .resumen-row span:last-child {
            font-weight: 600;
            text-align: right;
            max-width: 60%;
        }

        /* ============================================
           RESPONSIVE
           ============================================ */
        @media (max-width: 768px) {
            .carta-chips {
                top: 66px;
            }

            .nav-links {
                display: none;
            }

            .hamburger {
                display: block;
            }

            .mobile-menu {
                display: flex;
            }

            .status-badge {
                font-size: 0.6rem;
                padding: 4px 10px;
            }

            .hero h1 {
                font-size: clamp(2rem, 10vw, 3.5rem);
                line-height: 1.2;
            }

            .weight-badge {
                font-size: 0.8rem;
                padding: 5px 15px;
                margin-bottom: 15px;
            }

            .hero p {
                font-size: 1rem;
                margin-bottom: 30px;
            }

            .section-title {
                font-size: 2.2rem;
            }

            .contact-container {
                grid-template-columns: 1fr;
                padding: 30px;
            }

            .cart-sidebar {
                max-width: 100%;
                right: -100%;
            }

            .cart-sidebar.open {
                right: 0;
            }

            .cart-floating-btn {
                width: 55px;
                height: 55px;
                right: 20px;
                bottom: 30px;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }

            .search-input {
                font-size: 0.9rem;
            }

            .toast {
                min-width: auto;
                max-width: calc(100vw - 40px);
            }

            .toast-container {
                right: 10px;
                left: 10px;
            }

            .gallery-item {
                min-width: 240px;
                width: 240px;
                height: 280px;
            }

            .nav-left {
                gap: 10px;
            }

            .nav-logo {
                font-size: 18px;
            }

            .nav-logo img {
                width: 35px;
                height: 35px;
            }
        }

        @media (max-width: 480px) {
            .status-badge {
                display: none;
            }

            .nav-left {
                gap: 8px;
            }

            .nav-logo {
                font-size: 16px;
                gap: 8px;
            }

            .nav-logo img {
                width: 30px;
                height: 30px;
            }

            .producto-fila-img {
                width: 92px;
                height: 92px;
            }

            .producto-fila-desc {
                -webkit-line-clamp: 4;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }
        }
    