/*
|--------------------------------------------------------------------------
| Merri's Grills — Global CSS Design System
| Version 1.0 | Come For The Food. Stay For The Tinz.
|--------------------------------------------------------------------------
| This file defines:
| 1. CSS Custom Properties (brand tokens)
| 2. Google Fonts imports
| 3. Global base resets
| 4. Reusable component classes (.btn-primary, .card, etc.)
| 5. Animation utilities
| 6. Mobile-specific overrides
|--------------------------------------------------------------------------
*/

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. TAILWIND DIRECTIVES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. CSS CUSTOM PROPERTIES (BRAND TOKENS)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    /* Brand Colors */
    --color-primary:     #F5C41A;   /* Grill Yellow */
    --color-brand:       #CC2929;   /* Fire Red */
    --color-dark:        #1A1A1A;   /* Grill Black */
    --color-cream:       #FFF8EC;   /* Cream White */
    --color-white:       #FFFFFF;
    --color-gray-light:  #F5F5F5;
    --color-gray-mid:    #888888;
    --color-success:     #27AE60;
    --color-warning:     #F39C12;
    --color-error:       #E74C3C;

    /* Typography */
    --font-display:      'Pacifico', cursive;
    --font-heading:      'Poppins', sans-serif;
    --font-body:         'Inter', sans-serif;

    /* Spacing (8px grid) */
    --space-1:   8px;
    --space-2:   16px;
    --space-3:   24px;
    --space-4:   32px;
    --space-5:   40px;
    --space-6:   48px;
    --space-8:   64px;
    --space-10:  80px;
    --space-12:  96px;

    /* Border Radius */
    --radius-btn:   8px;
    --radius-card:  12px;
    --radius-modal: 16px;
    --radius-badge: 999px;
    --radius-input: 8px;

    /* Shadows */
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.16);
    --shadow-brand: 0 4px 20px rgba(204,41,41,0.25);

    /* Transitions */
    --transition-base:  all 0.2s ease;
    --transition-slow:  all 0.35s ease;

    /* Nav */
    --nav-height-desktop: 72px;
    --nav-height-mobile:  64px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. BASE RESETS & GLOBAL STYLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@layer base {
    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }

    body {
        font-family: var(--font-body);
        color: var(--color-dark);
        background-color: var(--color-white);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Heading defaults */
    h1, h2, h3 {
        font-family: var(--font-heading);
        font-weight: 700;
        color: var(--color-dark);
        line-height: 1.2;
    }

    h4, h5, h6 {
        font-family: var(--font-heading);
        font-weight: 600;
        color: var(--color-dark);
    }

    /* Focus outlines — brand style */
    *:focus-visible {
        outline: 2px solid var(--color-brand);
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Image defaults */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Selection color */
    ::selection {
        background-color: var(--color-brand);
        color: #ffffff;
    }

    /* Smooth scrollbar */
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.04); }
    ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.18); border-radius: 999px; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.35); }

    /* Hide scrollbar utility */
    .scrollbar-none::-webkit-scrollbar,
    .no-scrollbar::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        -webkit-appearance: none !important;
    }
    .scrollbar-none,
    .no-scrollbar {
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }

    /* Admin sleek scrollbar utility */
    .admin-palette-scroll::-webkit-scrollbar { width: 5px; }
    .admin-palette-scroll::-webkit-scrollbar-track { background: rgba(20, 18, 16, 0.6); }
    .admin-palette-scroll::-webkit-scrollbar-thumb { background: rgba(255, 87, 34, 0.35); border-radius: 9999px; }
    .admin-palette-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 87, 34, 0.65); }

    /* Admin navigation scoped red horizontal scrollbar */
    .admin-tabs-scroll {
        scrollbar-width: thin !important;
        scrollbar-color: #CC2929 rgba(255, 255, 255, 0.08) !important;
        -webkit-overflow-scrolling: touch;
    }
    .admin-tabs-scroll::-webkit-scrollbar {
        display: block !important;
        height: 4px !important;
        width: auto !important;
        -webkit-appearance: none !important;
    }
    .admin-tabs-scroll::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 9999px !important;
        margin-left: 2.75rem !important;
        margin-right: 2.75rem !important;
    }
    .admin-tabs-scroll::-webkit-scrollbar-thumb {
        background: #CC2929 !important;
        border-radius: 9999px !important;
        box-shadow: 0 0 6px rgba(204, 41, 41, 0.5) !important;
    }
    .admin-tabs-scroll::-webkit-scrollbar-thumb:hover {
        background: #e53935 !important;
        box-shadow: 0 0 8px rgba(229, 57, 53, 0.8) !important;
    }

    /* ── FIREPLACE HIGH CONTRAST DARK MODE ENGINE ── */
    html.fireplace-dark { background-color: #0c0a09 !important; color-scheme: dark; }
    html.fireplace-dark body { background-color: #0c0a09 !important; color: #f5f5f4 !important; }
    html.fireplace-dark .bg-\[\#FFF8EC\],
    html.fireplace-dark .bg-\[\#FAF8F5\],
    html.fireplace-dark .bg-\[\#FFF8ED\],
    html.fireplace-dark .bg-stone-50,
    html.fireplace-dark .bg-gray-50 { background-color: #0c0a09 !important; }
    html.fireplace-dark .bg-white { background-color: #181614 !important; color: #f5f5f4 !important; border-color: rgba(255, 255, 255, 0.14) !important; }
    html.fireplace-dark .bg-white .bg-white,
    html.fireplace-dark .grid > .bg-white,
    html.fireplace-dark .bg-cream,
    html.fireplace-dark .bg-cream\/20,
    html.fireplace-dark .bg-cream\/30,
    html.fireplace-dark .bg-cream\/40,
    html.fireplace-dark .bg-cream\/50,
    html.fireplace-dark .bg-cream\/60,
    html.fireplace-dark .bg-cream\/70,
    html.fireplace-dark .bg-cream\/80 { background-color: #24211e !important; color: #f5f5f4 !important; border-color: rgba(255, 255, 255, 0.14) !important; }
    html.fireplace-dark .grid > .bg-white:hover { border-color: #ff5c5c !important; box-shadow: 0 4px 20px rgba(204, 41, 41, 0.25) !important; }
    html.fireplace-dark .text-grill-black,
    html.fireplace-dark .text-dark,
    html.fireplace-dark h1,
    html.fireplace-dark h2,
    html.fireplace-dark h3,
    html.fireplace-dark h4 { color: #ffffff !important; }
    html.fireplace-dark .text-gray-900,
    html.fireplace-dark .text-gray-800,
    html.fireplace-dark .text-gray-700,
    html.fireplace-dark .text-dark\/80,
    html.fireplace-dark .text-dark\/70 { color: #f5f5f4 !important; }
    html.fireplace-dark .text-gray-600,
    html.fireplace-dark .text-stone-600,
    html.fireplace-dark .text-dark\/60 { color: #e7e5e4 !important; }
    html.fireplace-dark .text-gray-500,
    html.fireplace-dark .text-stone-500,
    html.fireplace-dark .text-gray-mid,
    html.fireplace-dark .text-dark\/50,
    html.fireplace-dark .text-dark\/40 { color: #d6d3d1 !important; }
    html.fireplace-dark .text-gray-400,
    html.fireplace-dark .text-stone-400 { color: #a8a29e !important; }
    html.fireplace-dark .text-brand,
    html.fireplace-dark a.text-brand,
    html.fireplace-dark span.text-brand,
    html.fireplace-dark strong.text-brand { color: #ff5c5c !important; }
    html.fireplace-dark a.text-brand:hover { color: #ff8585 !important; }
    html.fireplace-dark .text-brand-yellow,
    html.fireplace-dark .text-amber-500 { color: #facc15 !important; }
    html.fireplace-dark input:not([type="checkbox"]):not([type="radio"]),
    html.fireplace-dark select,
    html.fireplace-dark textarea { background-color: #24211e !important; color: #ffffff !important; border: 1px solid rgba(255, 255, 255, 0.22) !important; }
    html.fireplace-dark input:focus,
    html.fireplace-dark select:focus,
    html.fireplace-dark textarea:focus { border-color: #ff5c5c !important; outline: none !important; box-shadow: 0 0 0 2px rgba(255, 92, 92, 0.3) !important; }
    html.fireplace-dark input::placeholder,
    html.fireplace-dark textarea::placeholder { color: #a8a29e !important; opacity: 1 !important; }
    html.fireplace-dark .bg-gray-100,
    html.fireplace-dark .bg-gray-200,
    html.fireplace-dark .bg-stone-100,
    html.fireplace-dark .bg-stone-200,
    html.fireplace-dark .bg-dark\/5,
    html.fireplace-dark .bg-dark\/10 { background-color: #2a2622 !important; color: #f5f5f4 !important; border: 1px solid rgba(255, 255, 255, 0.16) !important; }
    html.fireplace-dark .bg-gray-100:hover,
    html.fireplace-dark .bg-gray-200:hover,
    html.fireplace-dark .bg-dark\/5:hover,
    html.fireplace-dark .bg-dark\/10:hover { background-color: #38332d !important; color: #ffffff !important; }
    /* Charcoal and Grill Black Surfaces & Fixed Header */
    html.fireplace-dark .bg-grill-black,
    html.fireplace-dark .bg-charcoal {
        background-color: #141210 !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
        box-shadow: none !important;
    }
    html.fireplace-dark header.bg-grill-black {
        background-color: #141210 !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(204, 41, 41, 0.3) !important;
    }
    html.fireplace-dark .bg-cream\/70 { background-color: #1a1715 !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; color: #ffffff !important; }
    html.fireplace-dark .bg-cream\/70:hover { background-color: #CC2929 !important; border-color: #CC2929 !important; color: #ffffff !important; }
    html.fireplace-dark .bg-cream\/70 span:first-child { color: #ffffff !important; }
    html.fireplace-dark .bg-cream\/70 span:last-child,
    html.fireplace-dark .bg-cream\/70 strong { color: #facc15 !important; }
    html.fireplace-dark .bg-cream\/70:hover span,
    html.fireplace-dark .bg-cream\/70:hover strong { color: #ffffff !important; }
    html.fireplace-dark .border-dark\/5,
    html.fireplace-dark .border-dark\/6,
    html.fireplace-dark .border-dark\/8,
    html.fireplace-dark .border-dark\/10,
    html.fireplace-dark .border-dark\/15,
    html.fireplace-dark .border-dark\/20,
    html.fireplace-dark .border-gray-100,
    html.fireplace-dark .border-gray-200,
    html.fireplace-dark .border-gray-300,
    html.fireplace-dark .border-stone-100,
    html.fireplace-dark .border-stone-200,
    html.fireplace-dark .divide-dark\/5,
    html.fireplace-dark .divide-dark\/6,
    html.fireplace-dark .divide-dark\/8,
    html.fireplace-dark .divide-dark\/10,
    html.fireplace-dark .divide-gray-100,
    html.fireplace-dark .divide-gray-200 { border-color: rgba(255, 255, 255, 0.16) !important; }
    html.fireplace-dark .bg-sky-50,
    html.fireplace-dark .bg-sky-100 { background-color: rgba(14, 165, 233, 0.2) !important; color: #7dd3fc !important; border: 1px solid rgba(56, 189, 248, 0.4) !important; }
    html.fireplace-dark .text-sky-900,
    html.fireplace-dark .text-sky-800,
    html.fireplace-dark .text-sky-700 { color: #7dd3fc !important; }
    html.fireplace-dark .border-sky-200,
    html.fireplace-dark .border-sky-300 { border-color: rgba(56, 189, 248, 0.4) !important; }
    html.fireplace-dark .bg-amber-50,
    html.fireplace-dark .bg-amber-100 { background-color: rgba(245, 158, 11, 0.2) !important; color: #fde047 !important; border: 1px solid rgba(245, 158, 11, 0.4) !important; }
    html.fireplace-dark .text-amber-900,
    html.fireplace-dark .text-amber-800,
    html.fireplace-dark .text-amber-700 { color: #fde047 !important; }
    html.fireplace-dark .border-amber-200,
    html.fireplace-dark .border-amber-300 { border-color: rgba(245, 158, 11, 0.4) !important; }
    html.fireplace-dark .bg-emerald-50,
    html.fireplace-dark .bg-emerald-100,
    html.fireplace-dark .bg-green-50,
    html.fireplace-dark .bg-green-100 { background-color: rgba(16, 185, 129, 0.2) !important; color: #6ee7b7 !important; border: 1px solid rgba(16, 185, 129, 0.4) !important; }
    html.fireplace-dark .text-emerald-900,
    html.fireplace-dark .text-emerald-800,
    html.fireplace-dark .text-emerald-700,
    html.fireplace-dark .text-green-900,
    html.fireplace-dark .text-green-800 { color: #6ee7b7 !important; }
    html.fireplace-dark .border-emerald-200,
    html.fireplace-dark .border-emerald-300 { border-color: rgba(16, 185, 129, 0.4) !important; }
    html.fireplace-dark .bg-red-50,
    html.fireplace-dark .bg-red-100,
    html.fireplace-dark .bg-rose-50,
    html.fireplace-dark .bg-rose-100 { background-color: rgba(239, 68, 68, 0.2) !important; color: #fca5a5 !important; border: 1px solid rgba(239, 68, 68, 0.4) !important; }
    html.fireplace-dark .text-red-900,
    html.fireplace-dark .text-red-800,
    html.fireplace-dark .text-rose-900,
    html.fireplace-dark .text-rose-800 { color: #fca5a5 !important; }
    html.fireplace-dark .border-red-200,
    html.fireplace-dark .border-red-300 { border-color: rgba(239, 68, 68, 0.4) !important; }
    html.fireplace-dark table { color: #f5f5f4 !important; }
    html.fireplace-dark thead,
    html.fireplace-dark thead tr { background-color: #141210 !important; border-bottom: 2px solid rgba(255, 255, 255, 0.16) !important; }
    html.fireplace-dark th { color: #d6d3d1 !important; font-weight: 700 !important; }
    html.fireplace-dark td { color: #f5f5f4 !important; border-color: rgba(255, 255, 255, 0.1) !important; }
    html.fireplace-dark tbody tr:hover { background-color: rgba(255, 255, 255, 0.05) !important; }
    html.fireplace-dark .fixed.inset-0 .bg-white { background-color: #181614 !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.95) !important; color: #f5f5f4 !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. COMPONENT CLASSES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@layer components {

    /* ── BUTTONS ──────────────────────────────────────────────────────── */

    .btn-primary {
        @apply inline-flex items-center gap-2 cursor-pointer border-none;
        background-color: var(--color-brand);
        color: #ffffff;
        font-family: var(--font-heading);
        font-weight: 500;
        font-size: 1rem;
        padding: 14px 28px;
        border-radius: var(--radius-btn);
        transition: var(--transition-base);
        text-decoration: none;
        white-space: nowrap;
        min-height: 44px; /* Accessibility: minimum tap target */
    }

    .btn-primary:hover {
        background-color: #B02020;
        box-shadow: var(--shadow-brand);
        transform: scale(1.02);
        color: #ffffff;
    }

    .btn-primary:active {
        transform: scale(0.98);
    }

    .btn-primary:disabled {
        @apply opacity-50 cursor-not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

    .btn-primary.loading {
        @apply opacity-80 cursor-wait;
        pointer-events: none;
    }

    /* Secondary button (outlined) */
    .btn-secondary {
        @apply inline-flex items-center gap-2 cursor-pointer;
        background: transparent;
        border: 2px solid var(--color-brand);
        color: var(--color-brand);
        font-family: var(--font-heading);
        font-weight: 500;
        font-size: 1rem;
        padding: 12px 28px;
        border-radius: var(--radius-btn);
        transition: var(--transition-base);
        text-decoration: none;
        min-height: 44px;
    }

    .btn-secondary:hover {
        background-color: var(--color-brand);
        color: #ffffff;
    }

    .btn-secondary:disabled {
        @apply opacity-50 cursor-not-allowed;
    }

    /* Yellow button (celebration / CTA alt) */
    .btn-yellow {
        @apply inline-flex items-center gap-2 cursor-pointer border-none;
        background-color: var(--color-primary);
        color: var(--color-dark);
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 1rem;
        padding: 14px 28px;
        border-radius: var(--radius-btn);
        transition: var(--transition-base);
        text-decoration: none;
        min-height: 44px;
    }

    .btn-yellow:hover {
        background-color: #E5B510;
        transform: scale(1.02);
    }

    /* Small button variants */
    .btn-sm {
        padding: 8px 16px !important;
        font-size: 0.875rem !important;
        min-height: 36px !important;
    }

    .btn-lg {
        padding: 18px 36px !important;
        font-size: 1.125rem !important;
    }

    /* Icon button */
    .btn-icon {
        @apply inline-flex items-center justify-center cursor-pointer;
        width: 44px;
        height: 44px;
        border-radius: var(--radius-btn);
        transition: var(--transition-base);
        background: transparent;
        border: none;
    }

    .btn-icon:hover {
        background-color: var(--color-gray-light);
    }

    /* ── FORM INPUTS ──────────────────────────────────────────────────── */

    .form-input {
        @apply w-full block;
        border: 1.5px solid #E0E0E0;
        border-radius: var(--radius-input);
        padding: 12px 16px;
        font-size: 1rem;
        font-family: var(--font-body);
        color: var(--color-dark);
        background-color: #ffffff;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        min-height: 48px;
    }

    .form-input:focus {
        outline: none;
        border-color: var(--color-brand);
        box-shadow: 0 0 0 3px rgba(204, 41, 41, 0.15);
    }

    .form-input::placeholder {
        color: var(--color-gray-mid);
        font-size: 0.9375rem;
    }

    .form-input.error {
        border-color: var(--color-error);
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
    }

    .form-input.success {
        border-color: var(--color-success);
        box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
    }

    .form-label {
        @apply block font-medium mb-1;
        font-family: var(--font-heading);
        font-size: 0.875rem;
        color: var(--color-dark);
    }

    .form-label.required::after {
        content: ' *';
        color: var(--color-brand);
    }

    .form-error {
        @apply block mt-1 text-sm;
        color: var(--color-error);
        font-family: var(--font-body);
    }

    .form-group {
        @apply mb-4;
    }

    /* ── CARDS ────────────────────────────────────────────────────────── */

    .card {
        background: #ffffff;
        border: 1px solid #F0F0F0;
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-sm);
        transition: var(--transition-base);
        overflow: hidden;
    }

    .card-hover:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

    .card-cream {
        background-color: var(--color-cream);
        border: 1px solid rgba(245, 196, 26, 0.2);
    }

    .card-dark {
        background-color: var(--color-dark);
        color: #ffffff;
        border: none;
    }

    /* Food item card specific */
    .food-card {
        background: #ffffff;
        border: 1px solid #F0F0F0;
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-sm);
        transition: all 0.25s ease;
        overflow: hidden;
        cursor: pointer;
    }

    .food-card:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
    }

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

    .food-card-image {
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: var(--radius-card) var(--radius-card) 0 0;
        background-color: var(--color-gray-light);
    }

    .food-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

    .food-card-body {
        padding: var(--space-2);
    }

    .food-card-name {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 1.125rem;
        color: var(--color-dark);
        margin-bottom: 4px;
    }

    .food-card-desc {
        font-family: var(--font-body);
        font-size: 0.875rem;
        color: #555555;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.5;
        margin-bottom: var(--space-1);
    }

    .food-card-price {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.25rem;
        color: var(--color-brand);
        margin-bottom: var(--space-2);
    }

    /* ── BADGES ───────────────────────────────────────────────────────── */

    .badge {
        @apply inline-flex items-center gap-1;
        padding: 3px 10px;
        border-radius: var(--radius-badge);
        font-family: var(--font-heading);
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .badge-brand   { background: rgba(204,41,41,0.1); color: var(--color-brand); }
    .badge-yellow  { background: rgba(245,196,26,0.15); color: #8B6F00; }
    .badge-success { background: rgba(39,174,96,0.1); color: var(--color-success); }
    .badge-warning { background: rgba(243,156,18,0.1); color: var(--color-warning); }
    .badge-error   { background: rgba(231,76,60,0.1); color: var(--color-error); }
    .badge-dark    { background: var(--color-dark); color: #ffffff; }
    .badge-gray    { background: var(--color-gray-light); color: var(--color-gray-mid); }

    /* ── NAVIGATION ───────────────────────────────────────────────────── */

    .nav-link {
        @apply relative inline-flex items-center gap-1;
        font-family: var(--font-heading);
        font-weight: 500;
        font-size: 0.9375rem;
        color: var(--color-dark);
        text-decoration: none;
        padding: 4px 0;
        transition: color 0.2s ease;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--color-brand);
        transition: width 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--color-brand);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    /* ── SECTION TITLES ───────────────────────────────────────────────── */

    .section-title {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        color: var(--color-dark);
        line-height: 1.2;
    }

    .section-title span {
        color: var(--color-brand);
    }

    .section-subtitle {
        font-family: var(--font-body);
        font-size: clamp(1rem, 2vw, 1.125rem);
        color: var(--color-gray-mid);
        line-height: 1.6;
        max-width: 600px;
    }

    .display-title {
        font-family: var(--font-display);
        color: var(--color-brand);
    }

    /* ── DIVIDERS ─────────────────────────────────────────────────────── */

    .divider {
        height: 1px;
        background-color: var(--color-gray-light);
        border: none;
    }

    .divider-brand {
        height: 3px;
        width: 60px;
        background-color: var(--color-brand);
        border: none;
        border-radius: 999px;
    }

    /* ── STATUS INDICATORS ────────────────────────────────────────────── */

    .status-dot {
        @apply inline-block rounded-full;
        width: 8px;
        height: 8px;
    }

    .status-pending    { background-color: var(--color-warning); }
    .status-confirmed  { background-color: var(--color-success); }
    .status-on-grill   { background-color: var(--color-brand); }
    .status-cancelled  { background-color: var(--color-error); }

    /* ── SKELETON SCREENS ─────────────────────────────────────────────── */

    .skeleton {
        background: linear-gradient(90deg, #F0F0F0 25%, #E8E8E8 50%, #F0F0F0 75%);
        background-size: 400% 100%;
        animation: skeleton 1.5s ease-in-out infinite;
        border-radius: 6px;
    }

    .skeleton-text { height: 1em; border-radius: 4px; }
    .skeleton-title { height: 1.5em; border-radius: 4px; }
    .skeleton-image { aspect-ratio: 16/9; border-radius: var(--radius-card); }

    /* ── TOAST NOTIFICATIONS ──────────────────────────────────────────── */

    .toast-container {
        position: fixed;
        top: 88px; /* below nav */
        right: 1rem;
        z-index: 400;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 320px;
        max-width: calc(100vw - 2rem);
    }

    @media (max-width: 640px) {
        .toast-container {
            right: 50%;
            transform: translateX(50%);
        }
    }

    .toast {
        @apply flex items-start gap-3;
        padding: 14px 16px;
        border-radius: var(--radius-card);
        background: #ffffff;
        box-shadow: var(--shadow-lg);
        border-left: 4px solid;
        animation: toastIn 0.35s ease-out forwards;
        min-height: 52px;
    }

    .toast.dismissing {
        animation: toastOut 0.25s ease-in forwards;
    }

    .toast-success { border-color: var(--color-success); }
    .toast-error   { border-color: var(--color-error); }
    .toast-info    { border-color: var(--color-primary); }
    .toast-warning { border-color: var(--color-warning); }

    .toast-icon { font-size: 1.125rem; margin-top: 1px; flex-shrink: 0; }
    .toast-body { flex: 1; }
    .toast-title { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--color-dark); }
    .toast-msg   { font-size: 0.8125rem; color: var(--color-gray-mid); margin-top: 2px; }

    /* ── CART BADGE ───────────────────────────────────────────────────── */

    .cart-badge {
        @apply absolute flex items-center justify-center;
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
        background-color: var(--color-brand);
        color: #ffffff;
        border-radius: 999px;
        font-size: 0.6875rem;
        font-weight: 700;
        font-family: var(--font-heading);
        animation: pulseBrand 2s ease-in-out infinite;
    }

    /* ── PROGRESS BAR ─────────────────────────────────────────────────── */

    .progress-bar-track {
        @apply w-full overflow-hidden;
        height: 8px;
        background-color: var(--color-gray-light);
        border-radius: 999px;
    }

    .progress-bar-fill {
        height: 100%;
        background-color: var(--color-brand);
        border-radius: 999px;
        transition: width 0.5s ease;
    }

    .progress-bar-fill.yellow { background-color: var(--color-primary); }
    .progress-bar-fill.green  { background-color: var(--color-success); }

    /* ── MOBILE BOTTOM NAV ────────────────────────────────────────────── */

    .mobile-bottom-nav {
        @apply fixed bottom-0 left-0 right-0 flex items-center justify-around;
        height: var(--nav-height-mobile);
        background: #ffffff;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
        z-index: 200;
        border-top: 1px solid var(--color-gray-light);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-nav-item {
        @apply flex flex-col items-center justify-center gap-0.5 flex-1 h-full;
        font-family: var(--font-heading);
        font-size: 0.6875rem;
        font-weight: 500;
        color: var(--color-gray-mid);
        transition: color 0.15s ease;
        text-decoration: none;
        min-width: 44px;
    }

    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: var(--color-brand);
    }

    .mobile-nav-item svg { width: 24px; height: 24px; }

    @media (min-width: 768px) {
        .mobile-bottom-nav { display: none; }
    }

    /* ── ORDER STATUS TIMELINE ────────────────────────────────────────── */

    .timeline-item {
        @apply flex items-start gap-4 relative;
    }

    .timeline-item:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 19px;
        top: 40px;
        width: 2px;
        height: calc(100% - 8px);
        background-color: var(--color-gray-light);
    }

    .timeline-item.completed::before {
        background-color: var(--color-success);
    }

    .timeline-dot {
        @apply flex-shrink-0 flex items-center justify-center;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background-color: var(--color-gray-light);
        border: 2px solid var(--color-gray-light);
        font-size: 1.125rem;
    }

    .timeline-item.completed .timeline-dot {
        background-color: var(--color-success);
        border-color: var(--color-success);
    }

    .timeline-item.active .timeline-dot {
        background-color: var(--color-brand);
        border-color: var(--color-brand);
        animation: pulseBrand 2s ease-in-out infinite;
    }

    /* ── MODAL OVERLAY ────────────────────────────────────────────────── */

    .modal-overlay {
        @apply fixed inset-0 flex items-center justify-center;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 300;
    }

    .modal-box {
        @apply relative;
        background: #ffffff;
        border-radius: var(--radius-modal);
        box-shadow: var(--shadow-lg);
        max-width: 480px;
        width: calc(100% - 2rem);
        max-height: 90vh;
        overflow-y: auto;
        animation: scaleIn 0.2s ease-out forwards;
    }

    /* Mobile: sheet from bottom */
    @media (max-width: 640px) {
        .modal-overlay {
            align-items: flex-end;
        }

        .modal-box {
            width: 100%;
            max-width: 100%;
            border-radius: var(--radius-modal) var(--radius-modal) 0 0;
            animation: slideUp 0.3s ease-out forwards;
            max-height: 92vh;
        }
    }

    /* ── TABLE STYLES ─────────────────────────────────────────────────── */

    .table-merri {
        @apply w-full border-collapse;
    }

    .table-merri th {
        @apply px-4 py-3 text-left text-sm font-semibold uppercase tracking-wide;
        background-color: var(--color-gray-light);
        color: var(--color-gray-mid);
        border-bottom: 2px solid #E8E8E8;
        font-family: var(--font-heading);
        white-space: nowrap;
    }

    .table-merri td {
        @apply px-4 py-3 text-sm;
        border-bottom: 1px solid var(--color-gray-light);
        color: var(--color-dark);
        font-family: var(--font-body);
    }

    .table-merri tr:hover td {
        background-color: rgba(245, 196, 26, 0.04);
    }

    .table-merri tr:last-child td {
        border-bottom: none;
    }

    /* ── ADMIN SIDEBAR ────────────────────────────────────────────────── */

    .admin-sidebar-link {
        @apply flex items-center gap-3 px-4 py-3 rounded-lg font-medium text-sm;
        font-family: var(--font-heading);
        color: rgba(255, 255, 255, 0.7);
        transition: var(--transition-base);
        text-decoration: none;
    }

    .admin-sidebar-link:hover,
    .admin-sidebar-link.active {
        background: rgba(245, 196, 26, 0.15);
        color: var(--color-primary);
    }

    .admin-sidebar-link.active {
        background: rgba(245, 196, 26, 0.2);
        border-left: 3px solid var(--color-primary);
    }

    /* ── SECTION CONTAINERS ───────────────────────────────────────────── */

    .section {
        @apply py-16 md:py-20;
    }

    .section-sm {
        @apply py-10 md:py-12;
    }

    .section-lg {
        @apply py-20 md:py-28;
    }

    /* ── GLOW EFFECTS ─────────────────────────────────────────────────── */

    .glow-brand {
        box-shadow: 0 0 30px rgba(204, 41, 41, 0.3);
    }

    .glow-yellow {
        box-shadow: 0 0 30px rgba(245, 196, 26, 0.4);
    }

    /* ── SCROLL ANIMATION SETUP ───────────────────────────────────────── */

    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }

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

    /* Staggered children */
    .stagger-children > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }

    .stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; }
    .stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; }
    .stagger-children.visible > *:nth-child(3) { transition-delay: 200ms; }
    .stagger-children.visible > *:nth-child(4) { transition-delay: 300ms; }
    .stagger-children.visible > *:nth-child(5) { transition-delay: 400ms; }
    .stagger-children.visible > *:nth-child(6) { transition-delay: 500ms; }
    .stagger-children.visible > *:nth-child(n) { opacity: 1; transform: translateY(0); }

    /* ── CUSTOM CURSOR ────────────────────────────────────────────────── */

    .custom-cursor {
        pointer-events: none;
        position: fixed;
        width: 16px;
        height: 16px;
        border-radius: 999px;
        background-color: var(--color-brand);
        mix-blend-mode: multiply;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
        opacity: 0;
    }

    .custom-cursor.visible { opacity: 1; }
    .custom-cursor.hovering { width: 32px; height: 32px; }

    @media (max-width: 1024px) {
        .custom-cursor { display: none; }
    }

    /* ── ASK MERRI CHAT WIDGET ────────────────────────────────────────── */

    .chat-fab {
        @apply fixed flex items-center justify-center cursor-pointer;
        bottom: 24px;
        right: 24px;
        width: 60px;
        height: 60px;
        background-color: var(--color-brand);
        border-radius: 999px;
        box-shadow: var(--shadow-brand);
        z-index: 200;
        border: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        animation: scaleIn 0.3s ease-out 3s both;
    }

    .chat-fab:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 24px rgba(204, 41, 41, 0.4);
    }

    .chat-fab .pulse-dot {
        @apply absolute;
        top: 2px;
        right: 2px;
        width: 12px;
        height: 12px;
        background-color: var(--color-primary);
        border-radius: 999px;
        border: 2px solid #ffffff;
        animation: pulseBrand 2s ease-in-out infinite;
    }

    @media (max-width: 768px) {
        .chat-fab { bottom: 80px; } /* Above mobile bottom nav */
    }

    /* ── UPSELL BANNER ────────────────────────────────────────────────── */

    .upsell-banner {
        background: rgba(245, 196, 26, 0.12);
        border: 1.5px solid rgba(245, 196, 26, 0.4);
        border-radius: var(--radius-card);
        padding: var(--space-3);
    }

    /* ── COUPON / VOUCHER ─────────────────────────────────────────────── */

    .coupon-card {
        @apply relative overflow-hidden;
        border: 2px dashed var(--color-brand);
        border-radius: var(--radius-card);
        padding: 20px;
        background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    }

    .coupon-card::before {
        content: '';
        @apply absolute left-0 top-1/2 -translate-y-1/2;
        width: 20px;
        height: 20px;
        background: white;
        border-radius: 999px;
        border-right: 2px dashed var(--color-brand);
    }

    .coupon-card::after {
        content: '';
        @apply absolute right-0 top-1/2 -translate-y-1/2;
        width: 20px;
        height: 20px;
        background: white;
        border-radius: 999px;
        border-left: 2px dashed var(--color-brand);
    }

    /* ── GAME CARDS ───────────────────────────────────────────────────── */

    .game-card {
        @apply relative overflow-hidden cursor-pointer;
        background: var(--color-dark);
        border-radius: var(--radius-card);
        transition: all 0.25s ease;
        border: 2px solid transparent;
    }

    .game-card:hover {
        border-color: var(--color-brand);
        box-shadow: 0 8px 32px rgba(204, 41, 41, 0.2);
        transform: translateY(-4px);
    }

    /* ── GRADIENT OVERLAYS ────────────────────────────────────────────── */

    .gradient-overlay-dark {
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
    }

    .gradient-overlay-brand {
        background: linear-gradient(135deg, rgba(204,41,41,0.9) 0%, rgba(26,26,26,0.9) 100%);
    }

    /* ── NOTIFICATION BELL ────────────────────────────────────────────── */

    .notification-bell.has-unread {
        animation: jiggle 0.5s ease-in-out;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. KEYFRAME ANIMATIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes skeleton {
    0%   { background-position: -400px 0; }
    100% { background-position: calc(400px + 100%) 0; }
}

@keyframes pulseBrand {
    0%, 100% { box-shadow: 0 0 0 0 rgba(204, 41, 41, 0.4); }
    50%       { box-shadow: 0 0 0 12px rgba(204, 41, 41, 0); }
}

@keyframes jiggle {
    0%, 100% { transform: rotate(0deg); }
    20%       { transform: rotate(-12deg); }
    40%       { transform: rotate(12deg); }
    60%       { transform: rotate(-6deg); }
    80%       { transform: rotate(6deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to   { opacity: 0; transform: translateY(-12px) scale(0.97); }
}

@keyframes navFlashGreen {
    0%, 100% { background-color: transparent; }
    50%       { background-color: rgba(39, 174, 96, 0.15); }
}

@keyframes navFlashRed {
    0%, 100% { background-color: transparent; }
    50%       { background-color: rgba(231, 76, 60, 0.15); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. PRINT STYLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media print {
    .no-print,
    nav,
    footer,
    .mobile-bottom-nav,
    .chat-fab,
    .toast-container,
    .custom-cursor {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .receipt-header {
        text-align: center;
        margin-bottom: 16px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. UTILITY OVERRIDES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@layer utilities {
    /* Text brand */
    .text-brand   { color: var(--color-brand); }
    .text-primary { color: var(--color-primary); }
    .text-cream   { color: var(--color-cream); }
    .text-mid     { color: var(--color-gray-mid); }

    /* Backgrounds */
    .bg-brand   { background-color: var(--color-brand); }
    .bg-primary { background-color: var(--color-primary); }
    .bg-cream   { background-color: var(--color-cream); }
    .bg-dark    { background-color: var(--color-dark); }

    /* Font families */
    .font-display { font-family: var(--font-display); }
    .font-heading { font-family: var(--font-heading); }
    .font-body    { font-family: var(--font-body); }

    /* Line clamping */
    .clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

    /* Add to cart button added state */
    .btn-added {
        background-color: var(--color-success) !important;
    }

    /* Naira symbol */
    .naira::before { content: '₦'; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. MISSING UTILITIES — brand tokens not auto-generated by Tailwind
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Alpine.js x-cloak — hide elements until Alpine initialises */
[x-cloak] { display: none !important; }

/* ── SITE CONTAINER ─────────────────────────────────────────────────────── */
.container-site {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-site { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .container-site { padding-left: 2rem; padding-right: 2rem; }
}

/* ── SECTION PADDING ────────────────────────────────────────────────────── */
.section-pad        { padding-top: 5rem; padding-bottom: 5rem; }
.section-pad-sm     { padding-top: 3rem; padding-bottom: 3rem; }
.section-pad-lg     { padding-top: 7rem; padding-bottom: 7rem; }

@media (min-width: 768px) {
    .section-pad    { padding-top: 6rem; padding-bottom: 6rem; }
    .section-pad-sm { padding-top: 4rem; padding-bottom: 4rem; }
    .section-pad-lg { padding-top: 9rem; padding-bottom: 9rem; }
}

/* ── BTN BASE CLASS ─────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;     /* rounded-xl */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 44px;           /* Accessibility tap target */
}

/* Primary — fire red */
.btn.btn-primary, .btn-primary {
    background-color: var(--color-brand, #CC2929);
    color: #ffffff;
    border-color: var(--color-brand, #CC2929);
}
.btn.btn-primary:hover, .btn-primary:hover {
    background-color: #B02020;
    border-color: #B02020;
    box-shadow: 0 4px 20px rgba(204,41,41,0.35);
    transform: translateY(-1px);
}
.btn.btn-primary:active, .btn-primary:active { transform: translateY(0); }

/* Yellow — grill gold */
.btn-yellow {
    background-color: var(--color-primary, #F5C41A);
    color: #1A1A1A;
    border-color: var(--color-primary, #F5C41A);
}
.btn-yellow:hover {
    background-color: #E5B510;
    transform: translateY(-1px);
}

/* Outline dark */
.btn-outline-dark {
    background: transparent;
    color: var(--color-dark, #1A1A1A);
    border-color: rgba(26,26,26,0.25);
}
.btn-outline-dark:hover {
    background: var(--color-dark, #1A1A1A);
    color: #ffffff;
    border-color: var(--color-dark, #1A1A1A);
}

/* Outline light (on dark backgrounds) */
.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* Ghost (nav) */
.btn-ghost {
    background: transparent;
    color: var(--color-dark, #1A1A1A);
    border-color: transparent;
}
.btn-ghost:hover { background: rgba(0,0,0,0.06); }

/* Small / Large size modifiers */
.btn-sm { padding: 0.5rem 1rem !important; font-size: 0.8125rem !important; min-height: 36px !important; border-radius: 0.625rem !important; }
.btn-lg { padding: 1rem 2rem !important; font-size: 1.0625rem !important; }

/* ── EMBER (orange-red accent for pricing/highlights) ───────────────────── */
.text-ember { color: #E85D26; }
.bg-ember   { background-color: #E85D26; }
.border-ember { border-color: #E85D26; }

/* ── GLOW SHADOWS ───────────────────────────────────────────────────────── */
.shadow-glow        { box-shadow: 0 0 20px rgba(204,41,41,0.4); }
.shadow-glow-yellow { box-shadow: 0 0 20px rgba(245,196,26,0.5); }

/* ── PILL / BADGE SHAPE ─────────────────────────────────────────────────── */
.rounded-badge { border-radius: 999px; }

/* ── GRADIENT TEXT ──────────────────────────────────────────────────────── */
.text-gradient-brand {
    background: linear-gradient(135deg, #CC2929, #F5C41A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── ASPECT RATIOS (fallback for older browsers) ────────────────────────── */
.aspect-video  { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-4-3    { aspect-ratio: 4 / 3; }

/* ── MARQUEE ANIMATION (used in home hero ticker) ───────────────────────── */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee, .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}

/* ── FIRE FLICKER ANIMATION (decorative) ───────────────────────────────── */
@keyframes flicker {
    0%, 100% { opacity: 1; transform: scale(1) rotate(-2deg); }
    25%       { opacity: 0.9; transform: scale(1.05) rotate(2deg); }
    50%       { opacity: 0.95; transform: scale(0.97) rotate(-1deg); }
    75%       { opacity: 1; transform: scale(1.03) rotate(1deg); }
}
.animate-flicker { animation: flicker 2.5s ease-in-out infinite; }

/* ── FOCUS RING (brand-coloured) ────────────────────────────────────────── */
.focus-ring:focus-visible {
    outline: 2px solid var(--color-brand, #CC2929);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ── MOBILE SAFE AREA BOTTOM ────────────────────────────────────────────── */
.pb-safe { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ── SMOKE PARTICLES (hero background effect) ───────────────────────────── */
@keyframes smoke-float {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    20%  { opacity: 0.35; }
    80%  { opacity: 0.15; }
    100% { transform: translateY(-350px) scale(3.5); opacity: 0; }
}
.smoke-particle {
    position: absolute;
    bottom: -30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    animation: smoke-float linear infinite;
}

/* ── FLUID RESPONSIVE CONTAINER & TOUCH ACCESSIBILITY ──────────────────── */
.container-site {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .container-site {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .container-site {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Touch targets minimum standard (Apple HIG) */
button, a.btn, select, input[type="button"], input[type="submit"] {
    min-height: 42px;
    touch-action: manipulation;
}
.btn-sm, .nav-icon-btn {
    min-height: 36px;
}


