/* ==========================================================================
   RESTAURANT E-COMMERCE TEMPLATE — STYLESHEET
   --------------------------------------------------------------------------
   REBRAND: edit the three brand colors in the :root block below.
     --brand-primary    main accent (buttons, prices, highlights)
     --brand-secondary  secondary accent
     --brand-accent     "popular"/badge highlight
   Fonts: Bebas Neue (headings) + Outfit (body) load from Google Fonts in
   index.html <head>. Everything below is component styling.
   Note: the primary color also appears as rgba(210,16,52,…) in a few soft
   glow/shadow effects — find & replace those too if you change the primary.
   ========================================================================== */

:root {
            /* Core Brand Colors */
            --brand-secondary: #00209F;
            --brand-primary: #D21034;
            --brand-accent: #FFC107;
            
            /* Dark Theme (Default) */
            --bg-base: #050505;
            --bg-glass: rgba(15, 15, 15, 0.60);
            --bg-card: rgba(20, 20, 20, 0.80);
            --bg-card-hover: rgba(30, 30, 30, 0.90);
            --text-main: #ffffff;
            --text-muted: #9ca3af;
            --border-light: rgba(255, 255, 255, 0.08);
            --border-focus: rgba(255, 255, 255, 0.20);
            --glow-color: rgba(210, 16, 52, 0.30);
            --nav-bg: rgba(10, 10, 10, 0.85);
            --shadow-subtle: 0 8px 32px rgba(0, 0, 0, 0.50);
            --gradient-primary: linear-gradient(135deg, var(--brand-primary) 0%, #ff4b6a 100%);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
        html { scroll-padding-top: 100px; }
        body {
            font-family: 'Outfit', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            overflow-x: hidden;
            transition: background-color 0.35s ease, color 0.35s ease;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-base); }
        ::-webkit-scrollbar-thumb { background: var(--border-focus); border-radius: 10px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--brand-primary); }

        h1, h2, h3, h4 { font-family: 'Bebas Neue', sans-serif; letter-spacing: 3px; font-weight: normal; }
        a { color: inherit; text-decoration: none; cursor: pointer; }
        button { cursor: pointer; border: none; background: none; font-family: inherit; }

        .bg-blob {
            position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1;
            opacity: 0.35; animation: float 20s infinite alternate ease-in-out; pointer-events: none;
        }
        .blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(210, 16, 52, 0.15); }
        .blob-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: rgba(0, 32, 159, 0.15); animation-delay: -5s; }

        @keyframes float {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(5%, 10%) scale(1.1); }
        }

        @keyframes heroLogoFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-9px); }
        }

        .skip-link {
            position: absolute; top: -50px; left: 0; background: var(--brand-primary); color: white;
            padding: 10px 15px; z-index: 10000; font-weight: 500; transition: top 0.3s ease;
        }
        .skip-link:focus { top: 0; }

        .flag-bar {
            height: 4px; width: 100%; background: linear-gradient(90deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
            position: fixed; top: 0; left: 0; z-index: 1000;
        }

        .main-nav {
            position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
            background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            padding: 10px 30px; border-radius: 100px; display: flex; align-items: center; gap: 35px;
            z-index: 999; border: 1px solid var(--border-light); box-shadow: var(--shadow-subtle);
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-link, .dropbtn {
            font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 2px;
            position: relative; cursor: pointer; display: flex; align-items: center;
            padding: 5px 0; transition: color 0.3s ease; background: transparent; border: none;
        }
        .nav-link::after, .dropbtn::after {
            content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
            background: var(--brand-primary); transition: width 0.3s ease;
        }
        .nav-link:hover::after, .dropbtn:hover::after, .dropdown:hover .dropbtn::after,
        .nav-link:focus-visible::after, .dropbtn:focus-visible::after { width: 100%; }
        .nav-link:hover, .dropbtn:hover, .dropdown:hover .dropbtn,
        .nav-link:focus-visible, .dropbtn:focus-visible { color: var(--brand-primary); outline: none; }

        .dropdown { position: relative; display: flex; align-items: center; height: 100%; }
        .dropdown-content {
            display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px);
            background: var(--bg-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            min-width: 200px; border-radius: 16px; border: 1px solid var(--border-light);
            box-shadow: var(--shadow-subtle); padding: 15px 0; z-index: 1000; opacity: 0; transition: all 0.3s ease;
        }
        .dropdown-content::before {
            content: ''; position: absolute; top: -25px; left: 0; width: 100%; height: 25px;
        }
        @media (min-width: 769px) {
            .dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content {
                display: block; opacity: 1; transform: translateX(-50%) translateY(0);
            }
        }
        .dropdown-content a {
            display: block; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 500;
            padding: 10px 25px; transition: all 0.2s ease;
        }
        .dropdown-content a:hover, .dropdown-content a:focus-visible {
            background: var(--border-light); color: var(--brand-primary); padding-left: 32px; outline: none;
        }

        .hamburger {
            display: none; position: fixed; top: 15px; right: 20px; z-index: 1001;
            background: var(--nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--border-light); padding: 12px; border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-subtle);
        }
        .hamburger .bar { display: block; width: 22px; height: 2px; margin: 5px auto; background-color: var(--text-main); transition: all 0.3s ease-in-out; }

        .cart-btn {
            display: flex; align-items: center; gap: 8px; background: var(--gradient-primary); color: white;
            padding: 8px 20px; border-radius: 100px; font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem;
            letter-spacing: 1px; transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .cart-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px var(--glow-color); }
        .cart-badge {
            background: white; color: var(--brand-primary); font-family: 'Outfit', sans-serif; font-weight: 700;
            font-size: 0.8rem; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
        }
        .mobile-cart-btn {
            display: none; position: fixed; right: 20px; bottom: 20px; z-index: 1001;
            width: 58px; height: 58px; border-radius: 50%; background: var(--gradient-primary); color: white;
            align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,0.45);
        }
        .mobile-cart-btn .cart-badge {
            position: absolute; top: -5px; right: -5px; display: none;
        }

        header {
            position: relative; min-height: 80vh; display: flex; justify-content: center; align-items: center;
            text-align: center; padding: 120px 20px 40px 20px; overflow: hidden;
        }
        .hero-bg {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28)), url('../images/hero.svg') center/cover no-repeat;
            z-index: -2; transform: scale(1.05); filter: brightness(0.72) saturate(0.92) contrast(1.04);
        }
        .hero-overlay {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to bottom, rgba(5, 5, 5, 0.34) 0%, rgba(5, 5, 5, 0.20) 55%, var(--bg-base) 100%);
            z-index: -1;
        }
        .hero-content {
            background: var(--bg-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            padding: 4rem 3rem; border-radius: 32px; border: 1px solid var(--border-light);
            box-shadow: var(--shadow-subtle); max-width: 650px; width: 100%; z-index: 1;
        }
        .hero-logo-wrap { max-width: 320px; margin: 0 auto 25px auto; position: relative; animation: heroLogoFloat 4s ease-in-out infinite; will-change: transform; }
        .hero-logo { max-width: 320px; width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: transform 0.5s ease; }
        .hero-logo:hover { transform: translateY(-5px); }
        .hero-logo-fallback, .category-fallback, .feature-fallback {
            display: none; align-items: center; justify-content: center; text-align: center;
            border-radius: 16px; border: 1px dashed var(--border-light);
            background: linear-gradient(135deg, rgba(210, 16, 52, 0.18), rgba(0, 32, 159, 0.18));
            color: var(--text-main); font-weight: 700; letter-spacing: 1px; min-height: 180px; padding: 20px;
        }
        .hero-logo-wrap.image-missing .hero-logo { display: none; }
        .hero-logo-wrap.image-missing .hero-logo-fallback { display: flex; }
        .slogan { font-size: 1.25rem; font-weight: 300; color: var(--text-muted); margin-bottom: 2.5rem; }
        .slogan span { color: var(--brand-primary); font-weight: 600; }

        .btn {
            display: inline-flex; align-items: center; justify-content: center;
            padding: 16px 40px; background: var(--gradient-primary); color: white;
            font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 2px;
            border-radius: 100px; transition: all 0.3s ease; position: relative; overflow: hidden; border: none; cursor: pointer;
        }
        .btn::before {
            content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease;
        }
        .btn:hover::before { left: 100%; }
        .btn:hover, .btn:focus-visible { transform: translateY(-3px); box-shadow: 0 15px 30px var(--glow-color); outline: none; }

        .container { max-width: 1280px; margin: 0 auto; padding: 100px 20px; }

        /* --- HOME VIEW SPECIFIC STYLES --- */
        .featured-campaign { display: flex; justify-content: center; max-width: 680px; margin: 0 auto 60px auto; padding: 0 20px; }
        .feature-media {
            width: 100%; overflow: hidden; position: relative; padding: 14px;
            background: linear-gradient(135deg, rgba(210, 16, 52, 0.08), rgba(0, 32, 159, 0.08));
            border-radius: 28px; border: 1px solid var(--border-light); box-shadow: var(--shadow-subtle);
        }
        .feature-media img { width: 100%; height: auto; display: block; border-radius: 18px; }
        .feature-media.image-missing img { display: none; }
        .feature-media.image-missing .feature-fallback { display: flex; min-height: 360px; border-radius: 18px; }
        
        .section-title {
            text-align: center; font-size: 4rem; margin: 0 auto 70px auto; color: var(--text-main);
            display: block; position: relative; width: fit-content;
        }
        .section-title::after {
            content: ''; position: absolute; bottom: -15px; left: 25%; width: 50%; height: 4px;
            background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-secondary) 100%); border-radius: 2px;
        }

        .menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; align-items: stretch; }
        .menu-category {
            background: var(--bg-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            padding: 26px 24px; border-radius: 24px; border: 1px solid var(--border-light);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; height: 100%; display: flex; flex-direction: column;
        }
        .menu-category:hover { transform: translateY(-8px); background: var(--bg-card-hover); border-color: var(--border-focus); box-shadow: var(--shadow-subtle); }
        .menu-category h3 { font-size: 2rem; margin-bottom: 16px; color: var(--text-main); border-bottom: 2px solid var(--border-light); padding-bottom: 12px; }
        
        .card-badge {
            min-height: 1.8rem; margin: -6px 0 16px; display: inline-flex; align-items: center; width: fit-content;
            padding: 6px 12px; border-radius: 50px; background: rgba(210, 16, 52, 0.10); color: var(--brand-primary);
            font-size: 0.8rem; font-weight: 600;
        }
        .card-badge.placeholder { display: none; }

        .category-img-wrapper {
            width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; margin-bottom: 18px;
            box-shadow: var(--shadow-subtle); border: 1px solid var(--border-light); line-height: 0; position: relative;
            background: linear-gradient(135deg, rgba(210, 16, 52, 0.10), rgba(0, 32, 159, 0.10));
            animation: heroLogoFloat 4.5s ease-in-out infinite; will-change: transform;
        }
        /* Stagger the float so the four cards bob in a gentle wave, not in unison */
        .menu-category:nth-child(2) .category-img-wrapper { animation-delay: 0.6s; }
        .menu-category:nth-child(3) .category-img-wrapper { animation-delay: 1.2s; }
        .menu-category:nth-child(4) .category-img-wrapper { animation-delay: 1.8s; }
        .category-img-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
        .category-img-wrapper .category-fallback { position: absolute; inset: 0; min-height: 0; border-radius: 0; }
        .category-img-wrapper.image-missing img { display: none; }
        .category-img-wrapper.image-missing .category-fallback { display: flex; }
        .menu-category:hover .category-img-wrapper img { transform: scale(1.08); }

        .menu-content { display: flex; flex-direction: column; flex: 1; }
        .menu-item { margin-bottom: 10px; display: flex; flex-direction: column; min-height: 32px; }
        .menu-item:last-child { margin-bottom: 0; }
        .item-name { font-weight: 600; font-size: 1.08rem; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .item-sub { font-size: 0.9rem; color: var(--text-muted); margin-top: 2px; }
        .menu-item.placeholder { visibility: hidden; pointer-events: none; }

        .order-banner {
            text-align: center; margin-top: 60px; padding: 60px 30px;
            background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-glass) 100%);
            border-radius: 32px; border: 1px solid var(--border-light); box-shadow: var(--shadow-subtle); position: relative; overflow: hidden;
        }
        .order-banner h3 { font-size: 2.5rem; color: var(--text-main); margin-bottom: 25px; }

        .footer-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 60px; }
        .info-card {
            background: var(--bg-card); padding: 28px 30px; border-radius: 20px; border: 1px solid var(--border-light);
            transition: transform 0.3s ease, border-color 0.3s ease; height: 100%;
        }
        .info-card:hover { border-color: var(--border-focus); }
        .info-card h4 { color: var(--text-main); font-size: 1.6rem; margin-bottom: 18px; }

        .contact-list p { margin-bottom: 13px; display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--text-muted); }
        .contact-label {
            background: var(--border-light); color: var(--text-main); font-size: 0.75rem; font-weight: 700;
            letter-spacing: 1px; padding: 5px 12px; border-radius: 6px; text-transform: uppercase; flex-shrink: 0;
        }
        .contact-list a:hover, .contact-list a:focus-visible { color: var(--brand-primary); outline: none; }
        .payment-section-content { display: flex; flex-direction: column; gap: 18px; }
        .qr-code-container { background: #ffffff; padding: 12px; border-radius: 14px; max-width: 158px; margin: 0 auto; text-align: center; }
        .qr-code-container img { width: 100%; height: auto; display: block; border-radius: 8px; }
        .payment-grid { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
        .pay-tag {
            background: var(--bg-base); padding: 9px 18px; border-radius: 10px; font-size: 0.82rem; font-weight: 600;
            border: 1px solid var(--border-light); display: flex; align-items: center; gap: 8px;
        }
        .pay-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
        .pay-tag.pay-a::before { background: #9c5cff; }
        .pay-tag.pay-b::before { background: #00d632; }
        .pay-tag.pay-c::before { background: var(--text-main); }


        /* --- ORDER VIEW SPECIFIC STYLES --- */
        .category-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; justify-content: center; justify-content: safe center; gap: 10px; margin-bottom: 0; padding-bottom: 4px; scrollbar-width: none; -ms-overflow-style: none; }
        .category-nav::-webkit-scrollbar { display: none; }
        .cat-btn {
            padding: 10px 22px; border-radius: 100px; border: 1px solid var(--border-light);
            background: var(--bg-glass); color: var(--text-muted); font-weight: 500; transition: all 0.3s ease;
            min-height: 44px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; flex-shrink: 0;
        }
        .cat-btn:hover { border-color: var(--brand-primary); background: rgba(210, 16, 52, 0.1); color: var(--text-main); }
        .cat-btn.active { border-color: var(--brand-primary); background: var(--brand-primary); color: white; box-shadow: 0 4px 14px rgba(210, 16, 52, 0.35); }

        .menu-section { margin-bottom: 80px; scroll-margin-top: 120px; }
        .section-header { margin-bottom: 30px; position: relative; }
        .section-header h2 { font-size: 3.5rem; color: var(--text-main); display: inline-block; position: relative; z-index: 1; }
        .section-header h2::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 12px; background: rgba(210, 16, 52, 0.3); z-index: -1; transform: rotate(-1deg); }
        .section-note { color: var(--brand-accent); font-weight: 500; margin-top: 10px; display: flex; align-items: center; gap: 8px; }

        .order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }

        .menu-item-card {
            background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 20px;
            overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; cursor: pointer; position: relative;
        }
        .menu-item-card:hover, .menu-item-card:focus-visible { transform: translateY(-5px); border-color: var(--border-focus); box-shadow: 0 15px 30px rgba(0,0,0,0.4); outline: none; }
        
        .item-img-placeholder {
            height: 220px; background: linear-gradient(135deg, #1a1a1a, #0a0a0a); display: flex; align-items: center;
            justify-content: center; color: rgba(255,255,255,0.1); font-family: 'Bebas Neue', sans-serif; font-size: 3rem; letter-spacing: 5px; position: relative; overflow: hidden;
        }
        .item-img-placeholder::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-card) 0%, transparent 65%); z-index: 1; pointer-events: none; }
        .item-price-tag {
            position: absolute; top: 15px; right: 15px; background: var(--bg-glass); backdrop-filter: blur(10px);
            padding: 6px 12px; border-radius: 100px; font-weight: 700; border: 1px solid var(--border-light); z-index: 2;
        }
        .item-content { padding: 25px; display: flex; flex-direction: column; flex: 1; }
        .item-content h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; line-height: 1.2; }
        .item-desc { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
        .add-to-cart-hint {
            margin-top: 16px; padding: 10px 20px; border-radius: 100px;
            background: rgba(210, 16, 52, 0.10); border: 1px solid rgba(210, 16, 52, 0.22);
            color: var(--brand-primary); font-weight: 600; font-size: 0.92rem;
            text-align: center; transition: all 0.25s ease; display: flex; align-items: center; justify-content: center; gap: 6px; letter-spacing: 0.5px;
        }
        .menu-item-card:hover .add-to-cart-hint, .menu-item-card:focus-visible .add-to-cart-hint {
            background: var(--gradient-primary); color: white; border-color: transparent;
            box-shadow: 0 4px 14px rgba(210, 16, 52, 0.35);
        }


        /* --- MODALS & CART --- */
        .modal-overlay, .cart-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
            z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px;
            opacity: 0; visibility: hidden; transition: all 0.3s ease;
        }
        .modal-overlay.active, .cart-overlay.active { opacity: 1; visibility: visible; }
        
        .modal-container {
            background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 24px;
            width: 100%; max-width: 500px; overflow: hidden; transform: scale(0.95);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative;
        }
        .modal-overlay.active .modal-container { transform: scale(1); }
        
        .close-modal {
            position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.5); color: white;
            width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 1.5rem; z-index: 10; border: 1px solid rgba(255,255,255,0.1);
        }
        .close-modal:hover { background: rgba(255,255,255,0.1); }

        .modal-header-img {
            height: 200px; background: var(--border-light); display: flex; align-items: center; justify-content: center;
            font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: rgba(255,255,255,0.1);
        }
        .modal-body { padding: 30px; max-height: 65vh; overflow-y: auto; }
        .modal-body h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.8rem; margin-bottom: 10px; }
        .modal-body p { color: var(--text-muted); margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--border-light); }
        
        .options-group { margin-bottom: 30px; }
        .options-title { font-weight: 700; margin-bottom: 15px; font-size: 1.1rem; }
        .option-label {
            display: flex; align-items: center; justify-content: space-between; padding: 15px;
            border: 2px solid var(--border-light); border-radius: 12px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s;
            background: rgba(255,255,255,0.02);
        }
        .option-label:hover { background: rgba(255,255,255,0.05); }
        .option-label:has(input:checked) {
            border-color: var(--brand-primary);
            background: rgba(210, 16, 52, 0.1);
        }
        .option-label input[type="radio"] { accent-color: var(--brand-primary); width: 20px; height: 20px; margin-right: 15px; flex-shrink: 0; }
        .option-label .opt-name { display: flex; align-items: center; flex: 1; }
        .option-label .opt-price { font-weight: 600; color: var(--text-muted); white-space: nowrap; margin-left: 10px; }

        .modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
        .qty-selector { display: flex; align-items: center; background: rgba(0,0,0,0.3); border: 1px solid var(--border-light); border-radius: 100px; padding: 5px; }
        .qty-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; transition: background 0.2s; }
        .qty-btn:hover { background: rgba(255,255,255,0.1); }
        .qty-display { width: 40px; text-align: center; font-weight: 700; font-size: 1.1rem; }
        .btn-add {
            flex: 1; background: var(--gradient-primary); color: white; font-family: 'Bebas Neue', sans-serif;
            font-size: 1.5rem; letter-spacing: 2px; padding: 15px 30px; border-radius: 100px; display: flex;
            justify-content: space-between; align-items: center; transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn-add:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(210, 16, 52, 0.3); }

        .cart-sidebar {
            position: fixed; top: 0; right: 0; width: 100%; max-width: 450px; height: 100%;
            background: var(--bg-card); border-left: 1px solid var(--border-light); z-index: 2001;
            transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        }
        .cart-sidebar.active { transform: translateX(0); }
        .cart-header { padding: 25px 30px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; }
        .cart-header h2 { font-size: 2.5rem; margin: 0; }
        .cart-body { flex: 1; overflow-y: auto; padding: 30px; }
        .empty-cart { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text-muted); text-align: center; }
        .empty-cart svg { width: 64px; height: 64px; margin-bottom: 20px; opacity: 0.5; }
        .empty-cart h3 { font-size: 2rem; margin-bottom: 10px; color: var(--text-main); }
        
        .cart-item { display: flex; gap: 15px; padding: 20px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: 16px; margin-bottom: 15px; }
        .cart-item-info { flex: 1; }
        .cart-item-header { display: flex; justify-content: space-between; margin-bottom: 5px; }
        .cart-item-title { font-weight: 700; }
        .cart-item-price { font-weight: 600; }
        .cart-item-option { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; }
        .cart-item-actions { display: flex; justify-content: space-between; align-items: center; }
        .cart-item-remove { color: var(--text-muted); font-size: 0.85rem; text-decoration: underline; }
        .cart-item-remove:hover { color: var(--brand-primary); }

        .cart-footer { padding: 30px; border-top: 1px solid var(--border-light); background: rgba(0,0,0,0.5); }
        .cart-summary { margin-bottom: 25px; }
        .summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-muted); font-size: 0.95rem; }
        .summary-total { display: flex; justify-content: space-between; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border-light); font-weight: 700; font-size: 1.3rem; color: var(--text-main); }
        
        .btn-checkout {
            width: 100%; background: var(--gradient-primary); color: white; font-family: 'Bebas Neue', sans-serif;
            font-size: 2rem; letter-spacing: 3px; padding: 15px; border-radius: 16px; transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(210, 16, 52, 0.3); }

        .form-group { margin-bottom: 20px; }
        .form-label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); text-align: left; }
        .form-control {
            width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border-light); padding: 12px 15px;
            border-radius: 12px; color: white; font-family: inherit; font-size: 1rem; transition: border-color 0.3s;
        }
        .form-control:focus { outline: none; border-color: var(--brand-primary); }
        select.form-control {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%239ca3af%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 12px auto;
        }

        .toast {
            position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
            background: var(--brand-secondary); color: white; padding: 12px 24px; border-radius: 100px; font-weight: 500;
            display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,32,159,0.4); opacity: 0;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); z-index: 3000;
            max-width: calc(100vw - 32px); text-align: center; pointer-events: none;
        }
        .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
        body.no-scroll .toast { bottom: 110px; }

        footer { text-align: center; padding: 40px 20px; font-size: 0.95rem; color: var(--text-muted); border-top: 1px solid var(--border-light); margin-top: 60px; }

        .reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
        .reveal.active { opacity: 1; transform: translateY(0); }

        @keyframes gradientFlow {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }

        @keyframes surfaceGlow {
            0%, 100% { box-shadow: var(--shadow-subtle), 0 0 0 1px rgba(255,255,255,0.04); }
            50% { box-shadow: var(--shadow-subtle), 0 0 34px rgba(210,16,52,0.22), 0 0 0 1px rgba(255,193,7,0.12); }
        }

        @keyframes softSweep {
            0% { transform: translateX(-120%); opacity: 0; }
            18% { opacity: 0.65; }
            48%, 100% { transform: translateX(120%); opacity: 0; }
        }

        @keyframes ctaGlow {
            0%, 100% { box-shadow: 0 12px 28px rgba(210,16,52,0.28); }
            50% { box-shadow: 0 16px 42px rgba(210,16,52,0.44), 0 0 0 1px rgba(255,193,7,0.24); }
        }

        .flag-bar {
            background-size: 200% 100%;
            animation: gradientFlow 9s linear infinite;
        }

        #view-home .reveal {
            transform: none;
            filter: blur(8px);
            transition: opacity 0.75s ease, filter 0.75s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        }

        #view-home .reveal.active {
            transform: none;
            filter: blur(0);
        }

        #view-home .hero-content,
        #view-home .feature-media,
        #view-home .menu-category,
        #view-home .order-banner,
        #view-home .info-card {
            position: relative;
            isolation: isolate;
        }

        #view-home .hero-content {
            overflow: hidden;
            border-color: rgba(255,255,255,0.14);
            animation: surfaceGlow 7s ease-in-out infinite;
        }

        #view-home .hero-content::after,
        #view-home .feature-media::after,
        #view-home .order-banner::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            width: 38%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
            pointer-events: none;
            transform: translateX(-120%);
            animation: softSweep 7s ease-in-out infinite;
            z-index: 2;
        }

        #view-home .hero-content > *,
        #view-home .feature-media > *,
        #view-home .order-banner > * {
            position: relative;
            z-index: 1;
        }

        #view-home .hero-logo {
            border: 1px solid rgba(255,255,255,0.12);
            transition: filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
        }

        #view-home .hero-logo:hover,
        #view-home .hero-logo:focus-visible {
            transform: none;
            filter: saturate(1.08) brightness(1.04);
            border-color: rgba(255,193,7,0.34);
            box-shadow: 0 14px 38px rgba(0,0,0,0.34), 0 0 24px rgba(255,193,7,0.12);
        }

        #view-home .slogan span {
            background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-primary));
            background-size: 200% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradientFlow 6s linear infinite;
        }

        #view-home .btn {
            animation: ctaGlow 4.8s ease-in-out infinite;
        }

        #view-home .btn:hover,
        #view-home .btn:focus-visible {
            transform: none;
        }

        #view-home .feature-media {
            border-color: rgba(255,255,255,0.12);
            transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
        }

        #view-home .feature-media:hover {
            border-color: rgba(255,193,7,0.26);
            box-shadow: var(--shadow-subtle), 0 0 36px rgba(0,32,159,0.18);
        }

        #view-home .feature-media img,
        #view-home .category-img-wrapper img {
            transition: filter 0.35s ease;
        }

        #view-home .feature-media:hover img,
        #view-home .menu-category:hover .category-img-wrapper img {
            transform: none;
            filter: saturate(1.08) contrast(1.03);
        }

        #view-home .section-title::after {
            background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-secondary), var(--brand-primary));
            background-size: 220% 100%;
            animation: gradientFlow 7s linear infinite;
        }

        #view-home .menu-category,
        #view-home .info-card {
            overflow: hidden;
        }

        #view-home .menu-category::before,
        #view-home .info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 18px;
            right: 18px;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--brand-accent), var(--brand-primary), transparent);
            opacity: 0;
            transition: opacity 0.35s ease;
            z-index: 0;
        }

        #view-home .menu-category:hover,
        #view-home .menu-category:focus-within,
        #view-home .info-card:hover,
        #view-home .info-card:focus-within {
            transform: none;
            border-color: rgba(255,255,255,0.22);
            box-shadow: var(--shadow-subtle), 0 0 28px rgba(210,16,52,0.16);
        }

        #view-home .menu-category:hover::before,
        #view-home .menu-category:focus-within::before,
        #view-home .info-card:hover::before,
        #view-home .info-card:focus-within::before {
            opacity: 1;
        }

        #view-home .menu-category > *,
        #view-home .info-card > * {
            position: relative;
            z-index: 1;
        }

        #view-home .menu-item {
            transition: color 0.25s ease, opacity 0.25s ease;
        }

        #view-home .menu-category:hover .item-name {
            color: #ffffff;
        }

        #view-home .card-badge,
        #view-home .contact-label,
        #view-home .pay-tag {
            transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
        }

        #view-home .card-badge {
            border: 1px solid rgba(210,16,52,0.16);
        }

        #view-home .menu-category:hover .card-badge,
        #view-home .contact-list p:hover .contact-label,
        #view-home .pay-tag:hover {
            border-color: rgba(255,193,7,0.28);
            box-shadow: 0 0 18px rgba(255,193,7,0.10);
        }

        #view-home .order-banner {
            border-color: rgba(255,255,255,0.12);
            animation: surfaceGlow 8s ease-in-out infinite;
        }

        @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
            .main-nav, .hero-content, .menu-category, .info-card, .order-banner, .dropdown-content, .hamburger, .menu-item-card, .modal-container, .cart-sidebar { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .main-nav { background: rgba(10, 10, 10, 0.95); }
        }

        @media (max-width: 900px) {
            .section-title { font-size: 3rem; }
            .hero-content { padding: 3rem 2rem; }
        }

        @media (max-width: 768px) {
            .bg-blob { display: none; }
            body { background-attachment: scroll; }
            .hamburger { display: block; }
            .mobile-cart-btn.has-items { display: flex; }
            
            .main-nav {
                position: fixed; top: 0; left: -100%; transform: none; width: 100vw; width: 100dvw; height: 100vh; height: 100dvh;
                background: var(--bg-card); backdrop-filter: none; -webkit-backdrop-filter: none;
                flex-direction: column; justify-content: center; border-radius: 0; gap: 25px; border: none; box-shadow: none; visibility: hidden;
            }
            .main-nav.active { left: 0; visibility: visible; }
            .nav-link, .dropbtn { font-size: 2rem; opacity: 0; transform: translateY(20px); }
            .main-nav.active .nav-link, .main-nav.active .dropbtn { opacity: 1; transform: translateY(0); }
            .hamburger.active .bar:nth-child(2) { opacity: 0; }
            .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
            .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

            .dropdown { flex-direction: column; width: 100%; }
            .dropdown-content {
                position: relative; top: 0; left: 0; transform: none; background: transparent; box-shadow: none; border: none;
                display: none; opacity: 1; width: 100%; text-align: center; padding: 5px 0 0 0;
            }
            .dropdown.mobile-active .dropdown-content { display: block; }
            .dropdown-content a { font-size: 1.3rem; }

            .container { padding: 64px 16px; }
            #view-order { padding-top: 78px !important; }
            #view-order .container { padding-top: 0; }
            #view-order .section-title { font-size: clamp(3.4rem, 17vw, 4.4rem) !important; line-height: 0.95; margin-bottom: 26px !important; }
            .category-nav { gap: 10px; margin-bottom: 36px; }
            .cat-btn { padding: 9px 18px; font-size: 0.95rem; }
            .menu-section { margin-bottom: 56px; }
            .modal-overlay { align-items: flex-end; padding: 12px; }
            .modal-container { max-height: calc(100dvh - 24px); border-radius: 20px; }
            .modal-body { max-height: calc(100dvh - 250px); padding: 24px; }
            .cart-sidebar { max-width: none; }
            .cart-body, .cart-footer { padding: 22px; }
            .toast { bottom: calc(76px + env(safe-area-inset-bottom)); border-radius: 24px; }
            body.no-scroll .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
            .featured-campaign { padding: 0 10px 10px; }
            .menu-grid, .order-grid { grid-template-columns: 1fr; }
            header { min-height: 72vh; }
            .menu-category { padding: 28px 22px; }
            .menu-category h3 { font-size: 2rem; }
            .item-name { font-size: 1rem; }
            .section-header h2 { font-size: 2.5rem; }
        }

        /* Mobile performance: stop the looping decorative animations (box-shadow
           glows, image floats, light sweeps). They repaint large areas every
           frame, which drains battery and makes scrolling feel sluggish on
           phones. The gradients/shadows stay — only the per-frame motion stops. */
        @media (max-width: 768px) {
            .hero-logo-wrap,
            .category-img-wrapper,
            #view-home .hero-content,
            #view-home .order-banner,
            #view-home .btn,
            #view-home .slogan span,
            .flag-bar { animation: none !important; }

            .category-img-wrapper,
            .hero-logo-wrap { will-change: auto; }

            #view-home .hero-content::after,
            #view-home .feature-media::after,
            #view-home .order-banner::after { display: none !important; }
        }

        @media (prefers-reduced-motion: reduce) {
            * { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !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: 0;
        }

        body.menu-open, body.no-scroll { overflow: hidden; }

        /* ─── Premium UI Additions ─────────────────────────── */

        /* Popular badge on item cards */
        .popular-badge {
            position: absolute; top: 12px; left: 12px;
            background: var(--brand-accent); color: #000;
            font-size: 0.68rem; font-weight: 800; letter-spacing: 0.6px;
            padding: 3px 10px; border-radius: 100px; z-index: 3;
            text-transform: uppercase; pointer-events: none;
        }

        /* Hero stats row */
        .hero-stats {
            display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem;
        }
        .stat-pill {
            display: flex; align-items: center; gap: 8px;
            background: rgba(255,255,255,0.06); border: 1px solid var(--border-light);
            padding: 6px 14px; border-radius: 100px; font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
        }
        .stat-pill strong { color: var(--text-main); }
        .stat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-primary); flex-shrink: 0; }

        /* Sticky category nav wrapper */
        .category-nav-wrapper {
            position: sticky; top: 82px; z-index: 800;
            background: linear-gradient(to bottom, var(--bg-base) 75%, transparent);
            padding: 8px 0 20px; transition: background 0.35s ease;
        }

        /* Bottom tab bar */
        .bottom-tab-bar {
            display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1002;
            background: var(--bg-card); border-top: 1px solid var(--border-light);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        }
        .tab-bar-inner { display: flex; align-items: stretch; padding-bottom: env(safe-area-inset-bottom); }
        .tab-btn {
            flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
            padding: 10px 4px 9px; color: var(--text-muted); font-size: 0.68rem; font-weight: 600;
            letter-spacing: 0.3px; text-transform: uppercase; transition: color 0.2s ease;
            border: none; background: none; cursor: pointer; position: relative; font-family: 'Outfit', sans-serif;
        }
        .tab-btn svg { width: 22px; height: 22px; transition: transform 0.2s ease; flex-shrink: 0; }
        .tab-btn.tab-active { color: var(--brand-primary); }
        .tab-btn.tab-active svg { transform: scale(1.1); }
        .tab-cart-count {
            position: absolute; top: 6px; left: 50%; margin-left: 4px;
            background: var(--brand-primary); color: white; font-size: 0.6rem; font-weight: 800;
            min-width: 17px; height: 17px; border-radius: 100px; padding: 0 4px;
            display: none; align-items: center; justify-content: center;
        }
        .tab-cart-count.show { display: flex; }

        /* Section header label */
        .section-category-label {
            display: inline-flex; align-items: center; gap: 7px;
            background: rgba(210, 16, 52, 0.10); color: var(--brand-primary);
            font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 700;
            letter-spacing: 1px; text-transform: uppercase;
            padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
        }

        /* Mobile overrides for tab bar + sticky nav */
        @media (max-width: 768px) {
            .bottom-tab-bar { display: block; }
            .mobile-cart-btn { display: none !important; }
            body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
            .category-nav-wrapper { top: 66px; padding-top: 6px; padding-bottom: 14px; }
            .popular-badge { font-size: 0.64rem; padding: 3px 8px; }
            .item-img-placeholder { height: 190px; }
        }
