/* ═══════════════════════════════════════════════════════════════
   Duniyav (ദുനിയാവ്) — Premium Hospitality Design System
   Refined Micro-Radii (4px–6px), Warm Ivory Canvas, High Contrast
   Adaptive Responsive Layout (Mobile App & Desktop 3-Column)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600&display=swap');

/* ── Design Tokens ── */
:root {
    --bg-canvas: #FAF8F5;
    --bg-surface: #FFFFFF;
    --bg-muted: #F4F1EA;
    --bg-warm: #FDF9F4;

    --border-light: #ECE8E0;
    --border-default: #D6D0C4;
    --border-strong: #A8A194;
    --border-dark: #2B2825;

    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --text-tertiary: #8C877D;
    --text-inverse: #FFFFFF;

    --brand-primary: #C2410C;
    --brand-primary-light: #FAECE4;
    --brand-primary-hover: #9A3412;
    --brand-primary-glow: rgba(194, 65, 12, 0.16);

    --accent-gold: #D97706;
    --accent-gold-light: #FEF3C7;
    --accent-emerald: #059669;
    --accent-emerald-light: #E6F8F0;
    --accent-red: #DC2626;
    --accent-red-light: #FEE8E8;
    --accent-amber: #D97706;
    --accent-amber-light: #FEF3C7;
    --accent-sky: #0284C7;
    --accent-sky-light: #E0F2FE;

    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
    --shadow-md: 0 4px 14px rgba(28, 25, 23, 0.06);
    --shadow-lg: 0 10px 28px rgba(28, 25, 23, 0.08);
    --shadow-xl: 0 18px 48px rgba(28, 25, 23, 0.11);
    --shadow-brand: 0 6px 18px rgba(194, 65, 12, 0.22);

    /* Subtle Micro-Radii (Clean, Refined, Premium) */
    --radius-xs: 3px;
    --radius-sm: 5px;
    --radius-md: 7px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-default: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* KDS Light Theme Tokens */
    --kds-bg: #F7F5F0;
    --kds-surface: #FFFFFF;
    --kds-subbar: #EFECE4;
    --kds-border: #E0DBD0;
    --kds-text: #1C1917;
    --kds-muted: #6B7280;
}

/* ── Global Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Radius Utilities ── */
.rounded-xs { border-radius: var(--radius-xs); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded, .rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ── Typography ── */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}
.font-sans {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Scrollbars ── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-muted);
}
::-webkit-scrollbar-thumb {
    background: var(--border-default);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--border-strong);
}

.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Animations ── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes pulseSubtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { rotate: 360deg; }
}

.animate-fade-in { animation: fadeIn 0.3s ease both; }
.animate-slide-up { animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-slide-up-sheet { animation: slideUpSheet 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-scale-in { animation: scaleIn 0.25s ease both; }
.animate-pulse-slow { animation: pulseSubtle 2s infinite ease-in-out; }
.animate-spin { animation: spin 1s linear infinite; }

/* ── Glass & Surface Headers ── */
.glass-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    user-select: none;
    text-transform: uppercase;
}
.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--text-inverse);
    border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.2);
}
.btn-primary:hover {
    background-color: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-default);
}
.btn-secondary:hover {
    background-color: var(--bg-muted);
    border-color: var(--border-strong);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: var(--border-light);
}
.btn-ghost:hover {
    background-color: var(--bg-muted);
    color: var(--text-primary);
    border-color: var(--border-default);
}

.btn-success {
    background-color: var(--accent-emerald);
    color: white;
    border-color: var(--accent-emerald);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}
.btn-success:hover {
    background-color: #047857;
}

/* ── Category Pill Rail ── */
.category-pill, .pill {
    padding: 0.45rem 0.95rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid var(--border-default);
    background: var(--bg-surface);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.category-pill:hover, .pill:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.category-pill.active, .pill.active, .pill-active {
    background: var(--brand-primary) !important;
    color: var(--text-inverse) !important;
    border-color: var(--brand-primary) !important;
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.25);
}
.pill-inactive {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border-color: var(--border-default);
}

/* ── Dish Menu Cards (Modern Hospitality Luxury) ── */
.menu-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 6px rgba(28, 25, 23, 0.04);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.menu-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 65, 12, 0.12);
}

/* Standardized 16:10 Dish Thumbnails */
.dish-thumb-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 145px;
    max-height: 195px;
    position: relative;
    overflow: hidden;
    background: var(--bg-muted);
}
.dish-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-card:hover .dish-thumb-img {
    transform: scale(1.04);
}

/* Card Body with Guaranteed Generous Padding away from borders */
.menu-card-body {
    padding: 1rem 1.15rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    gap: 0.85rem;
    background: var(--bg-surface);
}
.menu-card-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0;
}
.menu-card-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-top: 0.25rem;
}
.menu-card-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}
.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.15rem;
}

/* Hero Hospitality Highlight Banner */
.hero-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.hero-thumb {
    width: 92px;
    height: 92px;
    min-width: 92px;
    max-width: 92px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-default);
    background: var(--bg-muted);
}
.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-info {
    flex: 1 1 auto;
    min-width: 0;
}

/* Mobile & Global Dietary Filter Bar */
.mobile-diet-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-canvas);
    border-bottom: 1px solid var(--border-light);
}
.diet-pill-btn {
    flex: 1;
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-xs);
    border: 1.5px solid var(--border-default);
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    user-select: none;
}
.diet-pill-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.diet-pill-btn.active {
    background: var(--brand-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--brand-primary) !important;
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.28);
}

/* Portion Pills */
.portion-pill {
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    border: 1px solid var(--border-default);
    background: var(--bg-surface);
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
}
.portion-pill:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.portion-pill.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

/* Inline Quantity Controls */
.qty-counter {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--brand-primary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-surface);
}
.qty-counter button {
    width: 2rem;
    height: 2rem;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    border: none;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.qty-counter button:hover {
    background: #EED8CC;
}
.qty-counter span {
    width: 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--brand-primary);
}

/* Veg / Non-Veg Badges */
.veg-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.45rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
}
.veg-badge-veg {
    background: var(--accent-emerald-light);
    color: var(--accent-emerald);
    border-color: rgba(5, 150, 105, 0.3);
}
.veg-badge-nonveg {
    background: var(--accent-red-light);
    color: var(--accent-red);
    border-color: rgba(220, 38, 38, 0.3);
}

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
}
.badge-brand {
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    border-color: rgba(194, 65, 12, 0.25);
}
.badge-emerald {
    background: var(--accent-emerald-light);
    color: var(--accent-emerald);
    border-color: rgba(5, 150, 105, 0.25);
}
.badge-amber {
    background: var(--accent-amber-light);
    color: var(--accent-amber);
    border-color: rgba(217, 119, 6, 0.25);
}
.badge-red {
    background: var(--accent-red-light);
    color: var(--accent-red);
    border-color: rgba(220, 38, 38, 0.25);
}
.badge-sky {
    background: var(--accent-sky-light);
    color: var(--accent-sky);
    border-color: rgba(2, 132, 199, 0.25);
}

/* ── KPI Metrics Cards ── */
.kpi-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.kpi-card-green::before { background: var(--accent-emerald); }
.kpi-card-brand::before { background: var(--brand-primary); }
.kpi-card-amber::before { background: var(--accent-amber); }
.kpi-card-blue::before  { background: var(--accent-sky); }

/* ── Floor Section Tabs ── */
.floor-tab {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid var(--border-default);
    background: var(--bg-surface);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.floor-tab:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}
.floor-tab.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.floor-table-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.875rem;
    text-align: center;
    background: var(--bg-surface);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: block;
}
.floor-table-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-default);
}
.floor-table-card.has-active {
    background: var(--accent-amber-light);
    border-color: var(--accent-amber);
}

/* ── Kitchen KDS System (Light Mode) ── */
body.kds-body {
    background-color: var(--kds-bg);
    color: var(--kds-text);
}
.kds-header {
    background: var(--kds-surface);
    border-bottom: 1px solid var(--kds-border);
}
.kds-subbar {
    background: var(--kds-subbar);
    border-bottom: 1px solid var(--kds-border);
}
.kds-pill {
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid var(--border-default);
    background: var(--bg-surface);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.kds-pill:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.kds-pill.kds-pill-active {
    background: var(--text-primary);
    color: var(--text-inverse);
    border-color: var(--text-primary);
}
.kds-pill.kds-pill-inactive {
    background: #FFFFFF;
    color: var(--text-secondary);
    border-color: var(--kds-border);
}

.kds-card {
    background: var(--kds-surface);
    border: 1px solid var(--kds-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition-fast);
}
.kds-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.kds-card.status-pending {
    border-left: 5px solid var(--accent-red);
}
.kds-card.status-preparing {
    border-left: 5px solid var(--accent-amber);
}
.kds-card.status-ready {
    border-left: 5px solid var(--accent-emerald);
}

/* ── Desktop 3-Column Luxury Architecture ── */
@media (min-width: 1024px) {
    .desktop-ordering-grid {
        display: grid;
        grid-template-columns: 260px 1fr 340px;
        gap: 1.5rem;
        max-width: 1400px;
        margin: 0 auto;
        padding: 1.5rem;
        align-items: start;
    }
    .desktop-sidebar-nav {
        position: sticky;
        top: 5rem;
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
    }
    .desktop-cart-tray {
        position: sticky;
        top: 5rem;
        max-height: calc(100vh - 6rem);
        display: flex;
        flex-direction: column;
    }
    .dish-grid-desktop {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

/* ── Utility Classes ── */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-3\.5 > * + * { margin-top: 0.875rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }

.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-2\.5 { padding-bottom: 0.625rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mr-2 { margin-right: 0.5rem; }

.w-full { width: 100%; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-28 { width: 7rem; }
.w-32 { width: 8rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-28 { height: 7rem; }
.h-32 { height: 8rem; }
.h-44 { height: 11rem; }
.min-w-0 { min-width: 0; }
.min-h-0 { min-height: 0; }
.min-h-screen { min-height: 100vh; }
.aspect-16-10 { aspect-ratio: 16 / 10; }
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-4 { left: 1rem; right: 1rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom: 1px solid; }
.border-b-2 { border-bottom: 2px solid; }
.border-t { border-top: 1px solid; }
.border-l-4 { border-left: 4px solid; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.whitespace-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer; }

/* Colors */
.text-white { color: #FFFFFF; }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-brand { color: var(--brand-primary); }
.text-emerald { color: var(--accent-emerald); }
.text-red { color: var(--accent-red); }
.text-amber { color: var(--accent-amber); }
.text-sky { color: var(--accent-sky); }

.bg-canvas { background-color: var(--bg-canvas); }
.bg-surface { background-color: var(--bg-surface); }
.bg-muted { background-color: var(--bg-muted); }
.bg-warm { background-color: var(--bg-warm); }
.bg-brand { background-color: var(--brand-primary); }
.bg-brand-light { background-color: var(--brand-primary-light); }
.bg-emerald { background-color: var(--accent-emerald); }
.bg-red { background-color: var(--accent-red); }

.border-light { border-color: var(--border-light); }
.border-default { border-color: var(--border-default); }
.border-brand { border-color: var(--brand-primary); }

.divide-y > * + * { border-top: 1px solid var(--border-light); }

/* Responsive Grid helpers */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:hidden { display: none !important; }
    .sm\:flex { display: flex !important; }
    .sm\:block { display: block !important; }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:hidden { display: none !important; }
    .md\:flex { display: flex !important; }
    .md\:block { display: block !important; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-1 { grid-column: span 1 / span 1; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:hidden { display: none !important; }
    .lg\:block { display: block !important; }
    .lg\:flex { display: flex !important; }
}

/* Modals */
.modal-overlay {
    background: rgba(20, 16, 13, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease both;
}
.modal-sheet {
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-center {
    animation: scaleIn 0.2s ease both;
    border-radius: var(--radius-lg);
}

/* Inputs */
input[type="text"],
input[type="search"],
textarea {
    font-family: 'Inter', sans-serif;
    outline: none;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
input[type="text"]:focus,
input[type="search"]:focus,
textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-glow);
}

/* Print Styles */
@media print {
    .no-print { display: none !important; }
    body { background: white !important; color: black !important; padding: 0 !important; }
    .print-card { page-break-inside: avoid; border: 2px solid #000 !important; box-shadow: none !important; }
}

/* ── Full Grid Span Helper ── */
.col-span-full {
    grid-column: 1 / -1;
    width: 100%;
}

/* ── Experience Division Switcher (Grills vs Café) ── */
.division-switcher {
    display: inline-flex;
    align-items: center;
    background: var(--bg-muted);
    border: 1.5px solid var(--border-default);
    border-radius: var(--radius-sm);
    padding: 3px;
    gap: 3px;
}
.division-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
}
.division-btn:hover {
    color: var(--text-primary);
}
.division-btn.active {
    background: var(--bg-surface);
    color: var(--brand-primary);
    border-color: rgba(194, 65, 12, 0.25);
    box-shadow: 0 1px 4px rgba(28, 25, 23, 0.08);
    font-weight: 800;
}

/* ── Luxury Hero Landing Section ── */
.landing-hero-backdrop {
    background: linear-gradient(175deg, rgba(24, 20, 17, 0.88) 0%, rgba(20, 16, 13, 0.95) 100%),
                url('/static/images/exterior.jpg') center/cover no-repeat;
    color: #FFFFFF;
}
.landing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    max-width: 860px;
}
@media (min-width: 680px) {
    .landing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.landing-choice-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: #FFFFFF;
}
.landing-choice-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 14px 40px rgba(194, 65, 12, 0.35);
}
.landing-card-thumb {
    width: 100%;
    height: 170px;
    position: relative;
    overflow: hidden;
    background: #2B2825;
}
.landing-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.landing-choice-card:hover .landing-card-thumb img {
    transform: scale(1.05);
}
.landing-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 1rem;
}
.landing-system-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    width: 100%;
    max-width: 860px;
}
.landing-system-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    color: #E7E5E4;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.landing-system-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* ── Modern World-Class Hospitality Layout ── */
.hospitality-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1rem 6rem;
}
@media (min-width: 768px) {
    .hospitality-container {
        padding: 1.25rem 2rem 6rem;
    }
}

/* Cinematic Hero Ambiance Strip */
.hero-banner-cinema {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 160px;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border-default);
    background: #1C1917;
}
@media (min-width: 768px) {
    .hero-banner-cinema {
        height: 210px;
    }
}
.hero-banner-cinema img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}
.hero-banner-cinema .scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 16, 13, 0.88) 0%, rgba(20, 16, 13, 0.6) 45%, rgba(20, 16, 13, 0.25) 100%),
                linear-gradient(to top, rgba(20, 16, 13, 0.75) 0%, transparent 65%);
}
.hero-banner-cinema .content {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    color: #FFFFFF;
}

/* Sticky Category & Filter Bar */
.sticky-subnav {
    position: sticky;
    top: 57px;
    z-index: 25;
    background: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1.5px solid var(--border-light);
    margin: 0 -1rem 1.5rem;
    padding: 0.65rem 1rem;
}
@media (min-width: 768px) {
    .sticky-subnav {
        margin: 0 -2rem 1.75rem;
        padding: 0.75rem 2rem;
    }
}

/* Modern Multi-Column Responsive Dish Grid */
.dish-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 600px) {
    .dish-grid-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 980px) {
    .dish-grid-modern {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}
@media (min-width: 1320px) {
    .dish-grid-modern {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

/* Artisanal Food Card */
.food-card-modern {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    box-shadow: var(--shadow-sm);
}
.food-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.food-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #EAE6DF;
}
.food-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.food-card-modern:hover .food-card-thumb img {
    transform: scale(1.04);
}
.food-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 0.85rem;
}

/* Interactive Quantity Stepper Button */
.stepper-btn-group {
    display: inline-flex;
    align-items: center;
    background: var(--brand-primary);
    color: #FFFFFF;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(194, 65, 12, 0.25);
}
.stepper-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.3rem 0.65rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.stepper-btn:hover {
    background: rgba(0, 0, 0, 0.16);
}
.stepper-val {
    font-weight: 800;
    font-size: 0.8125rem;
    padding: 0 0.4rem;
    min-width: 1.5rem;
    text-align: center;
}

/* Floating Bottom Order Bar */
.floating-order-bar {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 580px;
    background: #1C1917;
    color: #FFFFFF;
    border-radius: var(--radius-full);
    padding: 0.65rem 1rem 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    z-index: 40;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.floating-order-bar.hidden {
    display: none !important;
}
.floating-order-bar .order-cta {
    background: var(--brand-primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.floating-order-bar .order-cta:hover {
    background: var(--brand-primary-hover);
    transform: scale(1.02);
}

/* Slide-Over Order Receipt Drawer */
.slide-over-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--bg-surface);
    box-shadow: -8px 0 32px rgba(28, 25, 23, 0.22);
    z-index: 50;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-over-drawer.open {
    transform: translateX(0);
}


