/* ==========================================================================
   FEASTFLOW — Core Application Styles
   Font: Plus Jakarta Sans — loaded locally via assets/css/fonts.css
   ========================================================================== */


:root {
    --ff-primary: #ff5200;
    --ff-primary-hover: #e04800;
    --ff-primary-gradient: linear-gradient(135deg, #ff5200 0%, #ff7a00 100%);
    --ff-secondary: #0f172a;
    --ff-accent: #ffb703;
    --ff-success: #10b981;
    --ff-info: #06b6d4;
    --ff-danger: #ef4444;
    
    --ff-bg-dark: #0b0f19;
    --ff-bg-card-dark: #141c2e;
    --ff-border-dark: #1e293b;
    
    --ff-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    overflow-x: clip;
    max-width: 100vw;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ff-font);
    color: #1e293b;
    background-color: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100vw;
}

/* Typography Helpers */
.fw-extrabold { font-weight: 800; }
.fw-black { font-weight: 900; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

/* Custom Buttons */
.btn-primary {
    background: var(--ff-primary-gradient);
    border: none;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 20px -6px rgba(255, 82, 0, 0.45);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #e04800 0%, #ff6200 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -6px rgba(255, 82, 0, 0.55);
    color: #ffffff;
}

.btn-outline-primary {
    color: var(--ff-primary);
    border: 2px solid var(--ff-primary);
    background: transparent;
    font-weight: 700;
    transition: all 0.25s;
}

.btn-outline-primary:hover {
    background: var(--ff-primary-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Mozzu Food Hero Canvas */
.mozzu-hero-canvas {
    background: linear-gradient(135deg, #ff5200 0%, #ff6b00 50%, #f94400 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.mozzu-hero-canvas::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Circular Food Category Avatars (Mozzu Style) */
.mozzu-cat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mozzu-cat-circle:hover {
    transform: translateY(-6px);
}

.mozzu-cat-img-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin-bottom: 0.5rem;
}

.mozzu-cat-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mozzu-cat-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Mozzu Offer Promo Cards */
.mozzu-offer-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #fff6f0;
    border: 1px solid #ffe3d1;
    box-shadow: 0 10px 25px -10px rgba(255, 82, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mozzu-offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(255, 82, 0, 0.2) !important;
}

.mozzu-offer-badge {
    background: #ffb703;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    display: inline-block;
}

.mozzu-price-bubble {
    background: var(--ff-primary);
    color: #ffffff;
    font-weight: 900;
    padding: 0.5rem 1rem;
    border-radius: 14px;
    display: inline-block;
    box-shadow: 0 6px 16px rgba(255, 82, 0, 0.35);
}

/* Glassmorphism & Micro Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
}

.glass-card-dark {
    background: rgba(20, 28, 46, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: #ffffff;
}

/* Card Hover Lift Effect */
.card-hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15) !important;
}

/* Restaurant Image Banners */
.restaurant-banner {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.restaurant-banner-large {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 24px;
}

/* Category Pills & Badges */
.category-pill-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-pill-tab:hover, .category-pill-tab.active {
    background: var(--ff-primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 16px -4px rgba(255, 82, 0, 0.4);
}

/* Feature Badge Icons */
.feature-badge-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-indigo-subtle { background-color: rgba(99, 102, 241, 0.12); color: #6366f1; }
.bg-emerald-subtle { background-color: rgba(16, 185, 129, 0.12); color: #10b981; }
.bg-cyan-subtle { background-color: rgba(6, 182, 212, 0.12); color: #06b6d4; }
.bg-amber-subtle { background-color: rgba(255, 183, 3, 0.15); color: #d97706; }
.bg-rose-subtle { background-color: rgba(255, 82, 0, 0.12); color: #ff5200; }
.bg-slate-subtle { background-color: rgba(100, 116, 139, 0.12); color: #64748b; }

/* Universal Admin & Vendor Sidebar */
.admin-layout-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f8fafc;
}

.admin-sidebar {
    width: 270px;
    background: #0f172a;
    color: #94a3b8;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid #1e293b;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    overflow: hidden;
}

.admin-sidebar.collapsed {
    transform: translateX(-100%);
}

.admin-main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #f8fafc;
    color: #0f172a;
    margin-left: 270px;
    min-height: 100vh;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sidebar-collapsed .admin-main-wrapper,
.admin-sidebar.collapsed ~ .admin-main-wrapper {
    margin-left: 0 !important;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
        z-index: 1050;
    }
    .admin-sidebar.mobile-open,
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-main-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* Top wrapper fills space between brand and footer */
.admin-sidebar-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.admin-sidebar-brand {
    padding: 1.5rem 1.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.admin-sidebar-brand-img {
    max-height: 36px;
    max-width: 150px;
    object-fit: contain;
}

.admin-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 991.98px) {
    .admin-sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

.admin-sidebar-menu {
    padding: 1.25rem 0.85rem 3rem;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.1);
}
.admin-sidebar-menu::-webkit-scrollbar { width: 7px; }
.admin-sidebar-menu::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); border-radius: 4px; }
.admin-sidebar-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.45); border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.2); }
.admin-sidebar-menu::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.75); }

.admin-sidebar-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #64748b;
    padding: 1.25rem 0.85rem 0.4rem;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.1rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    border-radius: 12px;
    transition: all 0.2s;
    margin-bottom: 0.25rem;
}

.admin-sidebar-link i {
    width: 22px;
    text-align: center;
    font-size: 1.1rem;
}

.admin-sidebar-link:hover,
.admin-sidebar-link.active {
    color: #ffffff;
    background: var(--ff-primary-gradient);
    box-shadow: 0 6px 18px rgba(255, 82, 0, 0.35);
}

.admin-sidebar-footer {
    padding: 0.95rem 1.15rem;
    border-top: 1px solid #1e293b;
    background: #090d16;
    flex-shrink: 0;
}

.admin-sidebar-profile-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.admin-sidebar-profile-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    min-width: 0;
    flex: 1;
}

.admin-sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.admin-sidebar-profile-info {
    min-width: 0;
    flex: 1;
}

.admin-sidebar-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-sidebar-role {
    font-size: 0.72rem;
    color: #94a3b8 !important;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-sidebar-role-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 6px #10b981;
}

.admin-sidebar-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.admin-sidebar-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.825rem;
    padding: 0;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.admin-sidebar-action-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.admin-sidebar-action-btn.logout-btn {
    color: #94a3b8;
}

.admin-sidebar-action-btn.logout-btn:hover {
    color: #f87171;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Admin Dashboard Main Wrapper, Content & Footer */
.admin-main-wrapper .main-content {
    flex: 1;
}

.admin-footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.8125rem;
    margin-top: auto;
}

.admin-main-wrapper .dashboard-title {
    color: #0f172a;
    font-weight: 800;
}

.admin-main-wrapper .text-muted {
    color: #64748b !important;
}

.admin-main-wrapper .card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    color: #0f172a !important;
}

.admin-main-wrapper .card-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #0f172a !important;
}

.admin-main-wrapper .card-title {
    color: #0f172a !important;
    font-weight: 800;
}

.admin-main-wrapper .card-subtitle {
    color: #64748b !important;
}

.admin-main-wrapper .dashboard-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
}

.admin-main-wrapper .table {
    color: #0f172a !important;
}

.admin-main-wrapper .table thead th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-weight: 700;
    border-color: #e2e8f0;
}

.admin-main-wrapper .table tbody td {
    color: #0f172a !important;
    border-color: #f1f5f9;
}

.admin-header-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 767.98px) {
    .admin-header-bar {
        padding: 0.75rem 0.85rem;
    }
    .admin-header-title {
        font-size: 1rem;
        max-width: 175px;
    }
    .admin-main-wrapper .main-content {
        padding: 1rem 0.75rem !important;
    }
    .admin-main-wrapper .dashboard-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
    }
}

/* Floating Cart & Badges */
.cart-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.btn-cart-float {
    width: 64px;
    height: 64px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ff-primary-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 12px 30px rgba(255, 82, 0, 0.45);
    transition: transform 0.25s;
}

.btn-cart-float:hover {
    transform: scale(1.08);
    color: #ffffff;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ff-primary);
}

.discount-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-right: 0.5rem;
}

/* ==========================================================================
   FEASTFLOW — Shared Component Styles
   All theme colors use CSS variables defined in the active theme file.
   Hardcoded rgba values replaced with rgba(var(--theme-primary-rgb), X)
   and rgba(var(--theme-bg-rgb), X) for theme compatibility.
   ========================================================================== */

/* Base */
body {
    background-color: var(--theme-bg, #0a0f1e);
    color: var(--theme-text, #f1f5f9);
}

/* Navbar */
.ff-navbar {
    background: var(--theme-navbar-bg);
    border-bottom: 1px solid var(--theme-navbar-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.ff-navbar .navbar-brand-name {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.ff-navbar .navbar-brand-name span { color: var(--theme-primary); }

.navbar-brand-logo {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.footer-brand-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.reservation-hero-header {
    background: linear-gradient(135deg, #1f2937, #111827) !important;
}

.reservation-status-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
}

.reservation-booking-card .form-text,
.card .form-text,
.form-text {
    color: var(--theme-text-muted, #94a3b8);
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

.plan-price-subtitle {
    font-size: 0.75rem !important;
}

.ff-navbar .nav-link {
    color: var(--theme-text-sub);
    font-weight: 600;
    font-size: 0.925rem;
    padding: 0.4rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.ff-navbar .nav-link:hover { color: var(--theme-primary); background: rgba(var(--theme-primary-rgb), 0.08); }
.ff-navbar .nav-link.active { color: var(--theme-primary) !important; background: rgba(var(--theme-primary-rgb), 0.1); font-weight: 700; }

.ff-btn-nav-login {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    color: var(--theme-text) !important;
    border-radius: 50rem;
    padding: 0.5rem 1.4rem !important;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.ff-btn-nav-login:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary) !important;
}

.ff-btn-nav-cta {
    background: var(--theme-primary-grad);
    border: none;
    color: var(--theme-bg) !important;
    border-radius: 50rem;
    padding: 0.55rem 1.6rem !important;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb), 0.35);
    transition: all 0.25s;
    text-decoration: none;
}

.ff-btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--theme-primary-rgb), 0.45); }

/* Navbar Mobile Toggler & Dropdown */
.ff-navbar-toggler {
    padding: 0.45rem 0.65rem;
    border: 1.5px solid var(--theme-border, rgba(255, 255, 255, 0.22)) !important;
    background: var(--theme-surface, rgba(255, 255, 255, 0.08)) !important;
    border-radius: 10px;
    color: var(--theme-text, #ffffff) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ff-navbar-toggler svg {
    stroke: var(--theme-text, #ffffff) !important;
    transition: stroke 0.2s ease;
}

.ff-navbar-toggler:hover,
.ff-navbar-toggler:focus {
    border-color: var(--theme-primary) !important;
    background: rgba(var(--theme-primary-rgb), 0.15) !important;
    box-shadow: 0 0 12px rgba(var(--theme-primary-rgb), 0.25) !important;
    outline: none !important;
}

.ff-navbar-toggler:hover svg,
.ff-navbar-toggler:focus svg {
    stroke: var(--theme-primary) !important;
}

[data-theme="editorial-light"] .ff-navbar-toggler {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
}

[data-theme="editorial-light"] .ff-navbar-toggler svg {
    stroke: #1e293b !important;
}

.ff-navbar .dropdown-menu {
    background-color: var(--theme-bg-card, #111827) !important;
    background: var(--theme-bg-card, #111827) !important;
    border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.15)) !important;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65) !important;
    opacity: 1 !important;
}

.ff-navbar .dropdown-item {
    color: var(--theme-text, #ffffff);
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
}

.ff-navbar .dropdown-item:hover,
.ff-navbar .dropdown-item:focus {
    background: rgba(var(--theme-primary-rgb), 0.15);
    color: var(--theme-primary);
}

[data-theme="editorial-light"] .ff-navbar .dropdown-menu {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="editorial-light"] .ff-navbar .dropdown-item {
    color: #1e293b;
}

[data-theme="editorial-light"] .ff-navbar .dropdown-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Base Auth Actions Reset */
.ff-navbar-auth-actions {
    border: none !important;
    border-top: none !important;
}

/* Navbar User Profile Dropdown Desktop Alignment & Anti-Cutoff Defense */
@media (min-width: 992px) {
    .ff-navbar-auth-actions {
        border: none !important;
        border-top: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .ff-navbar-user-dropdown {
        position: relative !important;
    }

    .ff-navbar .dropdown-menu-end,
    .ff-navbar-user-dropdown .dropdown-menu {
        background-color: var(--theme-bg-card, #111827) !important;
        background: var(--theme-bg-card, #111827) !important;
        right: 0 !important;
        left: auto !important;
        min-width: 220px !important;
        max-width: 280px !important;
        transform: none !important;
        margin-top: 0.5rem !important;
        opacity: 1 !important;
    }

    [dir="rtl"] .ff-navbar .dropdown-menu-end,
    [dir="rtl"] .ff-navbar-user-dropdown .dropdown-menu {
        left: 0 !important;
        right: auto !important;
    }

    [data-theme="editorial-light"] .ff-navbar-user-dropdown .dropdown-menu {
        background-color: #ffffff !important;
        background: #ffffff !important;
        border-color: #e2e8f0 !important;
    }
}

/* ── Cuisine Auto-Sliding Marquee Strip (High-Performance GPU-Composited) ── */
.ff-cuisine-strip {
    background: var(--theme-bg);
    border-bottom: 1px solid var(--theme-navbar-border);
    padding: 0.85rem 0;
    overflow: hidden;
    position: relative;
    contain: layout paint;
    mask-image: linear-gradient(to right, transparent 0%, black 50px, black calc(100% - 50px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50px, black calc(100% - 50px), transparent 100%);
}

/* Fallback fade edges for older browsers lacking mask-image */
.ff-cuisine-strip::before,
.ff-cuisine-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.ff-cuisine-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--theme-bg), transparent);
}
.ff-cuisine-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--theme-bg), transparent);
}

.ff-cuisine-track {
    display: flex;
    width: max-content;
    animation: ff-marquee 36s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    gap: 0;
}

.ff-cuisine-track-group {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.ff-cuisine-track:hover {
    animation-play-state: paused;
}

@keyframes ff-marquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.ff-cuisine-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50rem;
    border: 1px solid var(--theme-border);
    background: var(--theme-surface);
    color: var(--theme-text-sub);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    margin: 0 0.35rem;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.ff-cuisine-pill:hover,
.ff-cuisine-pill.active {
    background: var(--theme-primary-grad);
    border-color: transparent;
    color: var(--theme-bg);
    box-shadow: 0 4px 14px rgba(var(--theme-primary-rgb), 0.3);
    transform: translate3d(0, -1px, 0);
}

/* HERO — Asymmetric Split */
.ff-hero {
    height: 100vh;
    max-height: 800px;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    background: var(--theme-bg);
    overflow: hidden;
    position: relative;
    padding: 0 5%;
    contain: layout style;
}

.ff-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(var(--theme-primary-rgb), 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.ff-hero-left {
    padding: 3rem 1.5rem 3rem 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 540px;
}

.ff-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    width: fit-content;
    max-width: fit-content;
    background: rgba(var(--theme-primary-rgb), 0.12);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
    color: var(--theme-primary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.45rem 1.1rem;
    border-radius: 50rem;
    margin-bottom: 1.75rem;
}

.ff-hero-heading {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
}

.ff-hero-heading span {
    background: var(--theme-primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ff-hero-sub {
    font-size: 1.1rem;
    color: var(--theme-text-sub);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

/* Glassmorphism Search Box */
.ff-search-glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(20px);
    max-width: 500px;
}

.ff-search-glass label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--theme-text-sub);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
}

.ff-search-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
}

.ff-search-input-row input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
}

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

.ff-search-btn {
    background: var(--theme-primary-grad);
    border: none;
    color: var(--theme-bg);
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 0.65rem 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.ff-search-btn:hover { transform: scale(1.03); }

/* Hero CTA Button */
.ff-hero-cta-row {
    margin-top: 1.5rem;
}

.ff-btn-hero-cta {
    display: inline-block;
    background: var(--ff-accent, #00c896);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50rem;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    letter-spacing: 0.02em;
}

.ff-btn-hero-cta:hover {
    background: #00b084;
    color: #fff;
    transform: translateY(-2px);
}

.ff-hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.ff-stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
}

.ff-stat-item span {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    font-weight: 600;
}

/* HERO RIGHT — Floating Dish Visual */
.ff-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    overflow: visible;
    padding: 2rem 0;
}

.ff-dish-orbit {
    position: relative;
    width: min(450px, 92%);
    aspect-ratio: 1;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.ff-dish-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--theme-primary);
    box-shadow: 0 0 60px rgba(var(--theme-primary-rgb), 0.3), inset 0 0 40px rgba(var(--theme-primary-rgb), 0.05);
    animation: ff-pulse-ring 3s ease-in-out infinite;
}

@keyframes ff-pulse-ring {
    0%, 100% { opacity: 0.6; transform: scale3d(1, 1, 1); }
    50%      { opacity: 1;   transform: scale3d(1.03, 1.03, 1); }
}

.ff-dish-ring-outer {
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.15);
    animation: ff-pulse-ring 4s ease-in-out infinite reverse;
}

.ff-dish-img {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    object-fit: cover;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Floating ingredient particles (GPU Composited) */
.ff-particle {
    position: absolute;
    border-radius: 50%;
    animation: ff-float 4s ease-in-out infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@keyframes ff-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50%      { transform: translate3d(0, -14px, 0) rotate(12deg); }
}

.ff-particle-1 {
    width: 14px;
    height: 14px;
    top: 6%;
    right: 12%;
    background: var(--theme-primary, #00e599);
    box-shadow: 0 0 16px var(--theme-primary, #00e599);
    animation-delay: 0s;
}

.ff-particle-2 {
    width: 10px;
    height: 10px;
    bottom: 12%;
    right: 6%;
    background: var(--theme-accent, #ffd166);
    box-shadow: 0 0 14px var(--theme-accent, #ffd166);
    animation-delay: 1.2s;
}

.ff-particle-3 {
    width: 12px;
    height: 12px;
    bottom: 14%;
    left: 8%;
    background: var(--theme-primary, #00e599);
    box-shadow: 0 0 14px var(--theme-primary, #00e599);
    animation-delay: 2.3s;
}

.ff-particle-4 {
    width: 8px;
    height: 8px;
    top: 14%;
    left: 12%;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff;
    animation-delay: 0.7s;
}

/* ── Midnight Emerald Floating Dish & Orbiting Satellite Elements (GPU-Accelerated) ── */
.ff-hero-floating-burger-wrap {
    position: absolute;
    left: 54%;
    top: 48%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    backface-visibility: hidden;
}

.ff-hero-floating-burger {
    width: clamp(260px, 30vw, 400px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.72));
    animation: ff-float-burger 6.5s ease-in-out infinite alternate;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@keyframes ff-float-burger {
    0%   { transform: translate3d(0, 0, 0) rotate(-2deg) scale(0.98); }
    50%  { transform: translate3d(0, -14px, 0) rotate(1deg) scale(1.01); }
    100% { transform: translate3d(0, -6px, 0) rotate(-1deg) scale(1.0); }
}

/* Orbiting Satellites (GPU Layer Promoted) */
.ff-dish-satellite-track {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.ff-satellite-track-1 {
    animation: ff-orbit-spin-cw 24s linear infinite;
}

.ff-satellite-track-2 {
    inset: -52px;
    animation: ff-orbit-spin-ccw 30s linear infinite;
}

.ff-satellite-track-1 .ff-dish-satellite-item {
    top: -15px;
    left: 30%;
}

.ff-satellite-track-2 .ff-dish-satellite-item {
    bottom: -15px;
    right: 25%;
}

.ff-dish-satellite-item {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background: #090e1a;
    border: 2px solid rgba(var(--theme-primary-rgb, 0, 200, 150), 0.65);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.65), 0 0 14px rgba(var(--theme-primary-rgb, 0, 200, 150), 0.35);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.ff-satellite-track-1 .ff-satellite-dish-img {
    animation: ff-orbit-counter-cw 24s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.ff-satellite-track-2 .ff-satellite-dish-img {
    animation: ff-orbit-counter-ccw 30s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.ff-satellite-dish-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.ff-satellite-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(var(--theme-primary-rgb, 0, 200, 150), 0.45);
    animation: ff-pulse-ring 3s ease-in-out infinite;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
}

@keyframes ff-orbit-spin-cw {
    from { transform: rotate3d(0, 0, 1, 0deg); }
    to   { transform: rotate3d(0, 0, 1, 360deg); }
}

@keyframes ff-orbit-spin-ccw {
    from { transform: rotate3d(0, 0, 1, 0deg); }
    to   { transform: rotate3d(0, 0, 1, -360deg); }
}

@keyframes ff-orbit-counter-cw {
    from { transform: rotate3d(0, 0, 1, 0deg); }
    to   { transform: rotate3d(0, 0, 1, -360deg); }
}

@keyframes ff-orbit-counter-ccw {
    from { transform: rotate3d(0, 0, 1, 0deg); }
    to   { transform: rotate3d(0, 0, 1, 360deg); }
}

/* ── Horizontal Scroll Card Row ── */
.ff-hscroll-row {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--theme-border) transparent;
    scroll-snap-type: x mandatory;
}

.ff-hscroll-row::-webkit-scrollbar { height: 4px; }
.ff-hscroll-row::-webkit-scrollbar-track { background: transparent; }
.ff-hscroll-row::-webkit-scrollbar-thumb { background: var(--theme-border); border-radius: 4px; }

.ff-hscroll-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.ff-hscroll-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    color: inherit;
}

.ff-hscroll-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.ff-hscroll-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.ff-hscroll-card:hover .ff-hscroll-card-img {
    transform: scale(1.05);
}

.ff-hscroll-card-body {
    padding: 1.1rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ff-grand-opening-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.ff-badge-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: #0284c7;
    color: #ffffff;
    padding: 0.15rem 0.38rem;
    border-radius: 4px;
    line-height: 1.1;
}

.ff-badge-new-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme-text-muted);
}

.ff-rating-val {
    font-weight: 700;
    color: var(--theme-text);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.ff-meta-dot {
    color: var(--theme-text-muted);
    font-size: 0.75rem;
    opacity: 0.6;
}

.ff-eta-val {
    color: var(--theme-text-muted);
    font-weight: 600;
}

/* ── Animated Sliding Marquee / Carousel ── */
.ff-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0.75rem 0 1.75rem;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ff-sliding-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    animation: ff-slide-track 45s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.ff-sliding-track-slow {
    animation-duration: 55s;
}

.ff-sliding-track:hover {
    animation-play-state: paused;
}

@keyframes ff-slide-track {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ff-slider-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ff-slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    color: var(--theme-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.85rem;
    padding: 0;
}

.ff-slider-btn:hover {
    background: var(--theme-primary);
    color: #ffffff;
    border-color: var(--theme-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.35);
}

.ff-sliding-card {
    flex: 0 0 290px;
    width: 290px;
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ff-sliding-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(var(--theme-primary-rgb), 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(var(--theme-primary-rgb), 0.2);
    color: inherit;
}

.ff-sliding-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ff-sliding-card:hover .ff-sliding-card-img {
    transform: scale(1.06);
}

.ff-sliding-card-body {
    padding: 1.1rem 1.25rem 1.3rem;
}

/* ── Deal / Offer Card ── */
.ff-deal-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s;
}

.ff-deal-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.ff-deal-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(var(--theme-primary-rgb), 0.3);
}

.ff-deal-badge {
    background: var(--theme-accent);
    color: var(--theme-bg);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.3rem 0.85rem;
    border-radius: 50rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.ff-deal-title { font-size: 1.1rem; font-weight: 800; color: #ffffff; margin-bottom: 0.3rem; }
.ff-deal-price {
    display: inline-block;
    background: var(--theme-primary-grad);
    color: var(--theme-bg);
    font-weight: 900;
    font-size: 1rem;
    padding: 0.35rem 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

/* ── Cuisine Photo Grid Cards ── */
.ff-cuisine-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    display: block;
    text-decoration: none;
    aspect-ratio: 16 / 10;
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ff-cuisine-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--theme-primary-rgb), 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.ff-cuisine-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.ff-cuisine-card:hover img {
    transform: scale(1.06);
}

.ff-cuisine-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 26, 0.88) 0%, rgba(8, 14, 26, 0.35) 42%, transparent 72%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.ff-cuisine-card:hover .ff-cuisine-card-overlay {
    background: linear-gradient(to top, rgba(8, 14, 26, 0.95) 0%, rgba(var(--theme-primary-rgb), 0.3) 48%, transparent 78%);
}

.ff-cuisine-card-label {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.ff-cuisine-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    border-radius: 50rem;
    background: rgba(15, 12, 30, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.ff-cuisine-card:hover .ff-cuisine-badge-pill {
    background: rgba(var(--theme-primary-rgb), 0.22);
    border-color: rgba(var(--theme-primary-rgb), 0.45);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ── Featured Banner (Full Width) ── */
.ff-featured-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.08));
}

.ff-featured-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-featured-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 14, 26, 0.96) 0%, rgba(8, 14, 26, 0.88) 45%, rgba(8, 14, 26, 0.35) 85%, rgba(8, 14, 26, 0.15) 100%);
    z-index: 1;
}

.ff-featured-banner-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    max-width: 680px;
}

.ff-featured-banner-eyebrow {
    color: #ffd166;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.25);
    border-radius: 9999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.ff-featured-banner-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.85rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.ff-featured-banner-desc {
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
    max-width: 620px;
}

.ff-featured-banner-meta {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Hero & Mobile Scrolling Performance */
@media (max-width: 991px) {
    /* Mobile scrolling speed optimizations: replace heavy backdrop-filter blur with performant GPU-friendly layers */
    .ff-navbar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--theme-navbar-bg, #060b11) !important;
        transform: translateZ(0);
    }

    .ff-navbar .navbar-collapse,
    #ffCustomerNav {
        background: var(--theme-surface, #0d1522);
        border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.1));
        border-radius: 16px;
        padding: 1.25rem;
        margin-top: 0.75rem;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    }

    [data-theme="editorial-light"] .ff-navbar .navbar-collapse,
    [data-theme="editorial-light"] #ffCustomerNav {
        background: #ffffff;
        border-color: #e2e8f0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .ff-navbar-auth-actions {
        border-top: 1px solid var(--theme-border, rgba(255, 255, 255, 0.1)) !important;
        width: 100%;
    }

    .ff-navbar-user-dropdown {
        width: 100% !important;
        position: relative;
    }

    .ff-navbar-user-dropdown .ff-btn-nav-login {
        width: 100% !important;
        border-radius: 12px !important;
        padding: 0.6rem 1rem !important;
    }

    .ff-navbar-user-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        box-shadow: none !important;
        border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.15)) !important;
        background-color: var(--theme-bg-card, #111827) !important;
        background: var(--theme-bg-card, #111827) !important;
        opacity: 1 !important;
        float: none !important;
    }

    [data-theme="editorial-light"] .ff-navbar-user-dropdown .dropdown-menu {
        background-color: #ffffff !important;
        background: #ffffff !important;
        border-color: #e2e8f0 !important;
    }

    .ff-search-glass {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--theme-surface, rgba(255, 255, 255, 0.06)) !important;
        max-width: 100%;
        width: 100%;
    }

    .ff-featured-banner-meta {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(0, 0, 0, 0.75) !important;
    }

    .ff-cuisine-badge-pill {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--theme-surface, rgba(15, 12, 30, 0.9)) !important;
    }

    /* Fast momentum touch scrolling */
    .ff-cuisine-track,
    .ff-hscroll-row,
    .ff-chef-spotlight-row,
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    /* Hero layout on mobile */
    .ff-hero {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
        overflow: hidden;
        padding-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .ff-hero-left {
        padding: 2.25rem 1rem 1rem;
        text-align: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .ff-hero-eyebrow {
        font-size: clamp(0.68rem, 2.4vw, 0.76rem);
        letter-spacing: 0.6px;
        padding: 0.35rem 0.85rem;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.25rem;
        box-sizing: border-box;
    }

    .ff-hero-heading {
        font-size: clamp(1.9rem, 7vw, 2.9rem);
        line-height: 1.15;
        max-width: 100%;
        word-break: break-word;
        margin-bottom: 0.85rem;
    }

    .ff-hero-sub {
        font-size: 0.94rem;
        line-height: 1.6;
        max-width: 100%;
        width: 100%;
        margin-bottom: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ff-hero-stats {
        justify-content: center;
        margin-top: 1.5rem;
    }

    /* Search Glass Panel on Mobile */
    .ff-search-glass {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--theme-surface, rgba(255, 255, 255, 0.06)) !important;
        max-width: 100%;
        width: 100%;
        padding: 0.9rem 0.85rem;
        box-sizing: border-box;
    }

    .ff-search-glass label {
        font-size: 0.72rem;
        margin-bottom: 0.5rem;
        text-align: left;
        letter-spacing: 0.8px;
    }

    .ff-search-input-row {
        padding: 0.35rem 0.35rem 0.35rem 0.65rem;
        gap: 0.4rem;
        width: 100%;
        box-sizing: border-box;
    }

    .ff-search-input-row svg.ff-search-icon {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
    }

    .ff-search-input-row input {
        min-width: 0 !important;
        font-size: 0.85rem;
        width: 100%;
    }

    .ff-search-input-row input::placeholder {
        font-size: 0.82rem;
        text-overflow: ellipsis;
    }

    .ff-search-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.84rem;
        white-space: nowrap;
        flex-shrink: 0;
        gap: 0.3rem;
    }

    /* Prominent Hero Floating Dish Orbit on Mobile */
    .ff-hero-right {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1rem 2rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .ff-dish-orbit {
        width: min(250px, 66vw);
        max-width: 250px;
        margin: 0 auto;
    }

    .ff-dish-ring-outer {
        inset: -14px;
    }

    .ff-hero-floating-burger-wrap {
        left: 50%;
        top: 32%;
        opacity: 0.18;
        width: min(290px, 80vw);
    }

    .ff-hero-floating-burger {
        width: 100%;
    }

    .ff-dish-satellite-track {
        inset: -18px;
    }

    .ff-dish-satellite-track-2 {
        inset: -28px;
    }

    .ff-dish-satellite-item {
        width: 52px;
        height: 52px;
        padding: 2px;
    }

    .ff-dish-img {
        inset: 12px;
        width: calc(100% - 24px);
        height: calc(100% - 24px);
    }

    .ff-dish-ring,
    .ff-dish-ring-outer,
    .ff-particle {
        will-change: transform, opacity;
        transform: translateZ(0);
    }
}

@media (max-width: 480px) {
    .ff-hero-left {
        padding: 2rem 0.75rem 1rem;
    }

    .ff-search-glass {
        padding: 0.75rem 0.65rem;
    }

    .ff-search-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }

    .ff-search-input-row {
        padding: 0.3rem 0.3rem 0.3rem 0.55rem;
    }

    .ff-search-input-row input {
        font-size: 0.8rem;
    }

    .ff-dish-orbit {
        width: min(220px, 62vw);
        max-width: 220px;
    }

    .ff-dish-ring-outer {
        inset: -10px;
    }

    .ff-dish-img {
        inset: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
    }

    .ff-particle-1 { width: 10px; height: 10px; }
    .ff-particle-2 { width: 8px; height: 8px; }
    .ff-particle-3 { width: 10px; height: 10px; }
    .ff-particle-4 { width: 6px; height: 6px; }
}

/* Section Titles */
.ff-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--theme-primary);
    margin-bottom: 0.75rem;
}

.ff-section-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

/* Restaurant Cards */
.ff-restaurant-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.ff-restaurant-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(var(--theme-primary-rgb), 0.15);
    color: inherit;
}

.ff-restaurant-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.ff-restaurant-card-body {
    padding: 1.25rem 1.4rem;
}

.ff-badge-cuisine {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    background: #0f172a !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
    letter-spacing: 0.2px;
    display: inline-block;
    z-index: 2;
}

.ff-badge-cuisine.ff-badge-sm {
    font-size: 0.7rem;
    padding: 0.2rem 0.65rem;
}

body[data-theme="midnight-emerald"] .ff-badge-cuisine {
    background: #022c22 !important;
    color: #34d399 !important;
    border: 1px solid #059669 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65) !important;
}

body[data-theme="midnight-violet"] .ff-badge-cuisine,
.ff-violet-badge-cuisine {
    background: #1e1138 !important;
    color: #e9d5ff !important;
    border: 1px solid #a855f7 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65) !important;
}

body[data-theme="editorial-light"] .ff-badge-cuisine {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

.ff-restaurant-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0.6rem 0 0.3rem;
}

.ff-restaurant-meta {
    font-size: 0.82rem;
    color: var(--theme-text-muted);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.ff-btn-view {
    background: var(--theme-primary-grad);
    border: none;
    color: var(--theme-bg);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50rem;
    padding: 0.5rem 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s;
}

.ff-btn-view:hover { transform: scale(1.04); color: var(--theme-bg); }

/* Feature Cards */
.ff-feature-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.3s;
}

.ff-feature-card:hover {
    border-color: rgba(var(--theme-primary-rgb), 0.25);
    transform: translateY(-4px);
    box-shadow: var(--theme-card-shadow);
}

.ff-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(var(--theme-primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--theme-primary);
    margin-bottom: 1.1rem;
}

.ff-feature-title { font-size: 1rem; font-weight: 800; color: #ffffff; margin-bottom: 0.5rem; }
.ff-feature-desc { font-size: 0.875rem; color: var(--theme-text-sub); line-height: 1.65; margin: 0; }

/* Stats Bar */
.ff-stats-bar {
    background: var(--theme-bg-card);
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
    padding: 2.5rem 0;
}

.ff-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--theme-primary);
    letter-spacing: -0.04em;
}

.ff-stat-label { font-size: 0.875rem; color: var(--theme-text-muted); font-weight: 600; margin-top: 0.25rem; }

/* Sections bg */
.ff-section { padding: 6rem 0; background: var(--theme-bg); }
.ff-section-alt { padding: 6rem 0; background: var(--theme-bg-alt); }

/* Footer */
.ff-footer {
    background: var(--theme-navbar-bg);
    border-top: 1px solid var(--theme-navbar-border);
    padding: 4rem 0 2rem;
}

.ff-footer .navbar-brand-name,
.ff-footer-brand { font-size: 1.4rem; font-weight: 900; color: #ffffff; margin-bottom: 0.75rem; }
.ff-footer .navbar-brand-name span,
.ff-footer-brand span { color: var(--theme-primary); }
.ff-footer-desc { font-size: 0.875rem; color: var(--theme-text-sub); line-height: 1.7; max-width: 300px; }
.ff-footer-heading { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--theme-text-sub); margin-bottom: 1rem; }
.ff-footer-link { display: block; color: var(--theme-text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.6rem; transition: color 0.2s; }
.ff-footer-link:hover { color: var(--theme-primary); }
.ff-footer-bottom { border-top: 1px solid var(--theme-navbar-border); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.8rem; color: var(--theme-text-muted); }
.ff-footer-support-desc { margin-bottom: 0.75rem; }
.ff-footer-support-link { align-items: center; display: inline-flex; gap: 0.45rem; }
.ff-footer .ff-footer-address { font-size: 0.85rem; color: var(--theme-text-sub); }

.ff-footer-socials {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.ff-footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ff-footer-social-icon:hover {
    background: var(--theme-primary);
    color: #ffffff;
    border-color: var(--theme-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 0, 200, 150), 0.35);
}

/* =============================================================
   PUBLIC INFORMATION PAGES
   ============================================================= */
.ff-public-page-hero { background: linear-gradient(135deg, var(--theme-bg) 0%, var(--theme-bg-alt) 100%); border-bottom: 1px solid var(--theme-border); padding: 6rem 0 4.5rem; }
.ff-public-page-title { color: var(--theme-text); font-size: clamp(2.2rem, 5vw, 4.25rem); font-weight: 900; letter-spacing: -0.05em; line-height: 1.05; margin: 0.75rem 0 1.25rem; max-width: 900px; }
.ff-public-page-lead { color: var(--theme-text-sub); font-size: 1.1rem; line-height: 1.7; margin: 0; max-width: 720px; }
.ff-public-page-section { background: var(--theme-bg); padding: 5rem 0; }
.ff-public-page-section-title { color: var(--theme-text); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.ff-public-page-card { background: var(--theme-bg-card); border: 1px solid var(--theme-border); border-radius: 1.25rem; height: 100%; padding: 1.75rem; }
.ff-public-page-card h2 { color: var(--theme-text); font-size: 1.15rem; font-weight: 800; margin: 0 0 0.75rem; }
.ff-public-page-card p { color: var(--theme-text-sub); line-height: 1.7; margin: 0; }
.ff-public-page-icon { color: var(--theme-primary); font-size: 1.75rem; margin-bottom: 1.25rem; }
.ff-public-page-step { color: var(--theme-primary); display: block; font-size: 0.85rem; font-weight: 900; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.ff-public-page-cta { display: inline-flex; gap: 0.6rem; margin-top: 2rem; text-decoration: none; }

/* ── Modern About Us Page Components ── */
.ff-about-hero {
    background: linear-gradient(135deg, var(--theme-bg) 0%, var(--theme-bg-alt) 100%);
    border-bottom: 1px solid var(--theme-border);
    padding: 5.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.ff-about-hero-title {
    color: var(--theme-text);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0.75rem 0 1.25rem;
}

.ff-about-hero-lead {
    color: var(--theme-text-sub);
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.ff-about-visual-wrap {
    position: relative;
    padding: 1.5rem;
}

.ff-about-visual-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--theme-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--theme-primary-rgb), 0.15);
}

.ff-about-floating-chip {
    position: absolute;
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    z-index: 3;
    animation: ff-float 4s ease-in-out infinite alternate;
}

.ff-about-chip-top {
    top: 0;
    left: 0;
}

.ff-about-chip-bottom {
    bottom: 0;
    right: 0;
    animation-delay: 2s;
}

.ff-about-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(var(--theme-primary-rgb), 0.12);
    color: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.ff-about-chip-val {
    color: var(--theme-text);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.2;
}

.ff-about-chip-lbl {
    color: var(--theme-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes ff-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* Stats Counter Bar */
.ff-about-stats-bar {
    background: var(--theme-bg-card);
    border-bottom: 1px solid var(--theme-border);
    padding: 2.5rem 0;
}

.ff-about-stat-card {
    text-align: center;
    padding: 1rem;
}

.ff-about-stat-num {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: var(--theme-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.ff-about-stat-lbl {
    color: var(--theme-text-sub);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Story & Pillars */
.ff-about-pillar-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.ff-about-pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--theme-primary-rgb), 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--theme-primary-rgb), 0.15);
}

.ff-about-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(var(--theme-primary-rgb), 0.12);
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.ff-about-pillar-title {
    color: var(--theme-text);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.ff-about-pillar-desc {
    color: var(--theme-text-sub);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* Multi-Stakeholder Testimonials */
.ff-about-testimonial-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ff-about-testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--theme-primary-rgb), 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(var(--theme-primary-rgb), 0.12);
}

.ff-about-testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(var(--theme-primary-rgb), 0.12);
    color: var(--theme-primary);
    margin-bottom: 1.25rem;
    width: fit-content;
}

.ff-about-testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
}

.ff-about-testimonial-quote {
    color: var(--theme-text);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.ff-about-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--theme-border);
}

.ff-about-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--theme-primary);
}

.ff-about-testimonial-name {
    color: var(--theme-text);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.ff-about-testimonial-role {
    color: var(--theme-text-muted);
    font-size: 0.82rem;
}

/* Team Showcase */
.ff-about-team-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ff-about-team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--theme-primary-rgb), 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.ff-about-team-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ff-about-team-card:hover .ff-about-team-img {
    transform: scale(1.05);
}

.ff-about-team-body {
    padding: 1.5rem;
}

.ff-about-team-role {
    color: var(--theme-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.ff-about-team-name {
    color: var(--theme-text);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.ff-about-team-bio {
    color: var(--theme-text-sub);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Core Values */
.ff-about-value-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ff-about-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--theme-primary-rgb), 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--theme-primary-rgb), 0.12);
}

.ff-about-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(var(--theme-primary-rgb), 0.12);
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.ff-about-value-title {
    color: var(--theme-text);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.ff-about-value-desc {
    color: var(--theme-text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* CTA Banner */
.ff-about-cta-banner {
    background: linear-gradient(135deg, var(--theme-bg-card) 0%, var(--theme-bg-alt) 100%);
    border: 1px solid var(--theme-border);
    border-radius: 28px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.ff-about-cta-title {
    color: var(--theme-text);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.ff-about-cta-lead {
    color: var(--theme-text-sub);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 2rem;
}

@media (max-width: 991.98px) {
    .ff-about-hero { padding: 4rem 0 3rem; }
    .ff-about-visual-wrap { margin-top: 2rem; }
    .ff-about-visual-img { height: 300px; }
}

/* ── Midnight Violet Theme Specific About Us Elements ── */
.ff-about-violet-card {
    background: linear-gradient(135deg, rgba(26, 16, 48, 0.8) 0%, rgba(13, 8, 32, 0.95) 100%);
    border: 1px solid rgba(245, 200, 66, 0.2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(192, 132, 252, 0.12);
}

.ff-about-violet-gold-badge {
    background: rgba(245, 200, 66, 0.12);
    border: 1px solid rgba(245, 200, 66, 0.35);
    color: #f5c842;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ff-about-gold-quote-box {
    background: rgba(245, 200, 66, 0.04);
    border-left: 3px solid #f5c842;
    border-radius: 0 16px 16px 0;
    padding: 1.5rem 1.75rem;
    font-style: italic;
    color: var(--theme-text);
    margin: 1.5rem 0;
}

/* ── Editorial Light Theme Specific About Us Elements ── */
.ff-about-editorial-eyebrow {
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--theme-primary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.ff-about-editorial-stat {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.ff-about-editorial-chapter {
    border-top: 2px solid var(--theme-border);
    padding-top: 1.25rem;
    margin-top: 2rem;
}

.ff-about-editorial-num {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--theme-primary);
    margin-bottom: 0.5rem;
}

/* ── For Restaurants Page Specific Components ── */
.ff-vendor-step-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ff-vendor-step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--theme-primary-rgb), 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), 0 0 20px rgba(var(--theme-primary-rgb), 0.1);
}

.ff-vendor-step-num {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(var(--theme-primary-rgb), 0.12);
    color: var(--theme-primary);
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-family: monospace;
}

.ff-vendor-faq-accordion .accordion-item {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 16px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.ff-vendor-faq-accordion .accordion-button {
    background: var(--theme-bg-card);
    color: var(--theme-text);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.ff-vendor-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(var(--theme-primary-rgb), 0.06);
    color: var(--theme-primary);
    border-bottom: 1px solid var(--theme-border);
}

.ff-vendor-faq-accordion .accordion-body {
    background: var(--theme-bg-card);
    color: var(--theme-text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 1.25rem 1.5rem;
}

/* ── Driver Application Specific Components ── */
.ff-driver-form-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.ff-driver-form-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--theme-text);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--theme-border);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ff-driver-form-section-title i {
    color: var(--theme-primary);
}

.ff-driver-upload-box {
    border: 2px dashed var(--theme-border);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    background: rgba(var(--theme-primary-rgb), 0.03);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ff-driver-upload-box:hover {
    border-color: var(--theme-primary);
    background: rgba(var(--theme-primary-rgb), 0.06);
}

@media (max-width: 767.98px) {
    .ff-driver-form-card { padding: 2rem 1.25rem; }
}

/* ── SaaS Pricing Page Components ── */
.ff-pricing-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ff-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: var(--theme-primary);
}

.ff-pricing-card-highlight {
    border-color: var(--theme-primary);
    box-shadow: 0 16px 36px rgba(var(--theme-primary-rgb), 0.18);
    position: relative;
}

.ff-pricing-popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(var(--theme-primary-rgb), 0.4);
}

.ff-pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--theme-text);
    line-height: 1;
}

.ff-pricing-cycle {
    color: var(--theme-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.ff-pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ff-pricing-feature-row {
    font-size: 0.92rem;
    color: var(--theme-text-sub);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ff-pricing-feature-row i {
    color: var(--theme-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ff-pricing-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    margin-bottom: 3.5rem;
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
}

.ff-pricing-trust-item {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--theme-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ff-pricing-trust-item i {
    color: var(--theme-primary);
}

/* Feature Comparison Table */
.ff-pricing-table-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.ff-pricing-table-card.ff-pricing-table-light {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.ff-pricing-table,
.ff-pricing-matrix-table {
    width: 100%;
    min-width: 620px;
    margin-bottom: 0;
    border-collapse: collapse;
}

.ff-pricing-table th,
.ff-pricing-matrix-table th {
    background: rgba(var(--theme-primary-rgb), 0.05);
    color: var(--theme-text);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--theme-border);
    white-space: nowrap;
}

.ff-pricing-table td,
.ff-pricing-matrix-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--theme-border);
    color: var(--theme-text-sub);
    font-size: 0.9rem;
    vertical-align: middle;
    white-space: nowrap;
}

.ff-pricing-table td:first-child,
.ff-pricing-matrix-table td:first-child {
    white-space: normal;
    min-width: 220px;
}

.ff-pricing-table tr:last-child td,
.ff-pricing-matrix-table tr:last-child td {
    border-bottom: none;
}

.ff-pricing-table tr:hover td,
.ff-pricing-matrix-table tr:hover td {
    background: rgba(var(--theme-primary-rgb), 0.02);
}

/* Light theme table specific */
.ff-pricing-table-light th {
    background: #f8fafc;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.ff-pricing-table-light td {
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.ff-pricing-table-light tr:hover td {
    background: #f8fafc;
}

/* Mobile Scroll Hint Pill */
.ff-mobile-scroll-hint {
    background: rgba(var(--theme-primary-rgb), 0.12);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
    color: var(--theme-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
}

[data-theme="editorial-light"] .ff-mobile-scroll-hint {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

/* ── Contact Page Components ── */
.ff-contact-channel-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ff-contact-channel-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-primary);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.ff-contact-channel-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
    background: rgba(var(--theme-primary-rgb), 0.12);
    color: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.ff-contact-info-card {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: border-color 0.2s ease;
}

.ff-contact-info-card:hover {
    border-color: var(--theme-primary);
}

.ff-contact-info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: rgba(var(--theme-primary-rgb), 0.1);
    color: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* =============================================================
   ADMIN FRONTEND CONTENT MANAGER
   ============================================================= */
.ff-cms-intro { border: 1px solid rgba(var(--theme-primary-rgb), 0.25); }
.ff-cms-intro-icon { align-items: center; background: rgba(var(--theme-primary-rgb), 0.12); border-radius: 0.85rem; color: var(--theme-primary); display: flex; flex: 0 0 2.75rem; font-size: 1.25rem; height: 2.75rem; justify-content: center; }
.ff-cms-card { border: 1px solid var(--theme-border); color: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.ff-cms-card:hover { border-color: var(--theme-primary); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1); transform: translateY(-2px); }
.ff-cms-card-icon { color: var(--theme-primary); font-size: 1.4rem; margin-bottom: 1rem; }
.ff-cms-guide { border-left: 4px solid var(--theme-primary); }
.ff-cms-table-value { max-width: 16rem; }
.ff-cms-media-thumb { border: 1px solid var(--theme-border); border-radius: 0.5rem; height: 3.5rem; object-fit: cover; width: 4.5rem; }

@media (max-width: 991.98px) {
    .ff-public-page-hero { padding: 4.5rem 0 3.5rem; }
}

/* =============================================================
   RESTAURANT MARKETPLACE PAGE
   ============================================================= */
.ff-marketplace-header { background: var(--theme-bg-alt); border-bottom: 1px solid var(--theme-border); padding: 3.5rem 0 2.5rem; }
.ff-marketplace-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--theme-text); letter-spacing: -0.035em; margin-bottom: 0.25rem; }
.ff-marketplace-count { font-size: 0.9rem; color: var(--theme-text-muted); font-weight: 600; }
.ff-marketplace-count strong { color: var(--theme-primary); }
.ff-marketplace-body { background: var(--theme-bg); padding: 3rem 0 5rem; }

.ff-filter-bar { background: var(--theme-bg-card); border: 1px solid var(--theme-border); border-radius: 18px; padding: 1rem 1.25rem; display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.ff-filter-input-wrap { flex: 1 1 220px; display: flex; align-items: center; gap: 0.6rem; background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 12px; padding: 0.65rem 1rem; }
.ff-filter-input-wrap svg { color: var(--theme-text-muted); flex-shrink: 0; }
.ff-filter-input { flex: 1; background: transparent; border: none; outline: none; color: var(--theme-text); font-size: 0.95rem; font-family: inherit; }
.ff-filter-input::placeholder { color: var(--theme-text-muted); }
.ff-filter-select { flex: 0 1 200px; background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 12px; padding: 0.65rem 1rem; color: var(--theme-text); font-size: 0.9rem; font-family: inherit; font-weight: 600; appearance: none; cursor: pointer; outline: none; }
.ff-filter-select option { background: var(--theme-bg-card); color: var(--theme-text); }
.ff-filter-btn { background: var(--theme-primary-grad); border: none; color: var(--theme-bg); font-weight: 800; font-size: 0.9rem; border-radius: 12px; padding: 0.7rem 1.5rem; cursor: pointer; display: flex; align-items: center; gap: 0.4rem; transition: all 0.2s; white-space: nowrap; font-family: inherit; }
.ff-filter-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb), 0.35); }

.ff-restaurant-desc { font-size: 0.85rem; color: var(--theme-text-sub); line-height: 1.5; margin-bottom: 0.75rem; }
.ff-dish-pill { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 50rem; background: var(--theme-surface); border: 1px solid var(--theme-border); color: var(--theme-text-sub); margin: 0.2rem 0.15rem 0 0; }
.ff-restaurant-divider { border-top: 1px solid var(--theme-border); margin-top: 0.85rem; padding-top: 0.85rem; display: flex; justify-content: space-between; align-items: center; }
.ff-free-delivery { font-size: 0.82rem; font-weight: 800; color: var(--theme-primary); }
.ff-empty-state { text-align: center; padding: 5rem 1rem; color: var(--theme-text-muted); }
.ff-empty-state-icon { font-size: 4rem; opacity: 0.35; display: block; margin-bottom: 1.25rem; }
.ff-empty-state-title { font-size: 1.4rem; font-weight: 800; color: var(--theme-text-sub); margin-bottom: 0.5rem; }
.pagination .page-link {
    background: var(--theme-surface);
    border-color: var(--theme-border);
    color: var(--theme-text);
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    min-width: 38px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination .page-item.active .page-link { background: var(--theme-primary-grad); border-color: transparent; color: var(--theme-bg); }
.pagination .page-link:hover { background: var(--theme-bg-card); color: var(--theme-primary); }

/* Constrain Laravel's default SVG prev/next chevron arrows */
.pagination .page-link svg {
    width: 14px !important;
    height: 14px !important;
    display: block;
    flex-shrink: 0;
}

/* =============================================================
   RESTAURANT SHOW / MENU PAGE
   ============================================================= */
.ff-restaurant-hero { position: relative; min-height: 360px; background: #0a0f1e; display: flex; align-items: flex-end; }
.ff-restaurant-hero > img, .ff-restaurant-hero img.ff-restaurant-hero-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ff-restaurant-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 15, 30, 0.95) 0%, rgba(10, 15, 30, 0.65) 55%, rgba(10, 15, 30, 0.35) 100%); }
.ff-restaurant-hero-content { position: relative; z-index: 2; width: 100%; padding: 2.5rem 2rem 2rem; }
.ff-restaurant-hero-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; color: #ffffff !important; letter-spacing: -0.03em; margin-bottom: 0.4rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.ff-restaurant-hero-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; color: rgba(255, 255, 255, 0.92) !important; font-size: 0.9rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.ff-restaurant-hero-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

.ff-info-strip { background: var(--theme-bg-card); border-bottom: 1px solid var(--theme-border); padding: 1.25rem 0; }
.ff-info-pill { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 700; color: var(--theme-text-sub); padding: 0.4rem 1rem; border-radius: 50rem; background: var(--theme-surface); border: 1px solid var(--theme-border); margin: 0.2rem; }

.ff-back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--theme-text-muted); font-size: 0.88rem; font-weight: 700; text-decoration: none; padding: 0.5rem 1rem; border-radius: 50rem; background: var(--theme-surface); border: 1px solid var(--theme-border); transition: all 0.2s; }
.ff-back-link:hover { color: var(--theme-primary); border-color: rgba(var(--theme-primary-rgb), 0.3); }

.ff-cat-tabs { background: var(--theme-bg-card); border-bottom: 1px solid var(--theme-border); position: sticky; top: 70px; z-index: 50; }
.ff-cat-tabs-inner { display: flex; gap: 0.4rem; overflow-x: auto; padding: 1rem; scrollbar-width: none; }
.ff-cat-tabs-inner::-webkit-scrollbar { display: none; }
.ff-cat-btn { flex-shrink: 0; background: var(--theme-surface); border: 1px solid var(--theme-border); color: var(--theme-text-sub); font-size: 0.875rem; font-weight: 700; border-radius: 50rem; padding: 0.5rem 1.25rem; cursor: pointer; transition: all 0.2s; font-family: inherit; white-space: nowrap; }
.ff-cat-btn:hover, .ff-cat-btn.active { background: var(--theme-primary-grad); border-color: transparent; color: var(--theme-bg); box-shadow: 0 4px 14px rgba(var(--theme-primary-rgb), 0.3); }

.ff-menu-section { padding: 3rem 0 5rem; background: var(--theme-bg); }
.ff-menu-category-title { font-size: 1.2rem; font-weight: 900; color: var(--theme-text); letter-spacing: -0.02em; margin: 2.5rem 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--theme-border); display: flex; align-items: center; gap: 0.6rem; }
.ff-menu-category-title::before { content: ''; display: inline-block; width: 4px; height: 1.1em; background: var(--theme-primary-grad); border-radius: 4px; }
.ff-theme-accent { color: var(--theme-accent); }

.ff-restaurant-reviews-section { background: var(--theme-bg-alt); border-top: 1px solid var(--theme-border); padding: 5rem 0; }
.ff-restaurant-reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.ff-review-summary { align-items: center; color: var(--theme-text-muted); display: flex; flex-direction: column; font-size: 0.82rem; font-weight: 700; gap: 0.2rem; text-align: right; }
.ff-review-summary-rating { color: var(--theme-text); font-size: 1.7rem; font-weight: 900; letter-spacing: -0.03em; }
.ff-review-summary-rating i { color: var(--theme-accent); font-size: 1.25rem; }
.ff-customer-review { background: var(--theme-bg-card); border: 1px solid var(--theme-border); border-radius: 1rem; display: flex; gap: 1rem; margin-bottom: 1rem; padding: 1.25rem; }
.ff-customer-review-avatar { align-items: center; background: rgba(var(--theme-primary-rgb), 0.14); border: 1px solid rgba(var(--theme-primary-rgb), 0.25); border-radius: 50%; color: var(--theme-primary); display: flex; flex: 0 0 2.75rem; font-size: 1rem; font-weight: 900; height: 2.75rem; justify-content: center; }
.ff-customer-review-content { flex: 1; min-width: 0; }
.ff-customer-review-meta { align-items: flex-start; display: flex; gap: 1rem; justify-content: space-between; }
.ff-customer-review-meta h3 { color: var(--theme-text); font-size: 0.95rem; font-weight: 800; margin: 0; }
.ff-customer-review-meta time { color: var(--theme-text-muted); font-size: 0.78rem; }
.ff-customer-review-stars { color: var(--theme-border); display: flex; font-size: 0.8rem; gap: 0.2rem; }
.ff-customer-review-stars .is-filled { color: var(--theme-accent); }
.ff-customer-review-content p { color: var(--theme-text-sub); font-size: 0.9rem; line-height: 1.65; margin: 0.75rem 0 0; }
.ff-customer-review-content .ff-customer-review-no-comment { color: var(--theme-text-muted); font-style: italic; }
.ff-restaurant-review-empty { align-items: center; background: var(--theme-bg-card); border: 1px dashed var(--theme-border); border-radius: 1rem; color: var(--theme-text-muted); display: flex; gap: 1rem; padding: 1.5rem; }
.ff-restaurant-review-empty i { color: var(--theme-primary); font-size: 1.5rem; }
.ff-restaurant-review-empty p { margin: 0; }

@media (max-width: 575.98px) {
    .ff-restaurant-reviews-section { padding: 3.5rem 0; }
    .ff-restaurant-reviews-heading { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
    .ff-review-summary { align-items: flex-start; text-align: left; }
    .ff-customer-review-meta { flex-direction: column; gap: 0.5rem; }
}

.ff-menu-card { background: var(--theme-bg-card); border: 1px solid var(--theme-border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); height: 100%; }
.ff-menu-card:hover { transform: translateY(-5px); border-color: rgba(var(--theme-primary-rgb), 0.25); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.ff-menu-card-img { width: 100%; height: 180px; object-fit: cover; }
.ff-menu-card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.ff-menu-item-name { font-size: 1rem; font-weight: 800; color: var(--theme-text); margin-bottom: 0.35rem; }
.ff-menu-item-desc { font-size: 0.82rem; color: var(--theme-text-sub); line-height: 1.5; margin-bottom: 0.85rem; flex: 1; }
.ff-menu-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--theme-border); gap: 0.5rem; }
.ff-menu-price { font-size: 1.15rem; font-weight: 900; color: var(--theme-primary); }
.ff-menu-price-strike { font-size: 0.8rem; color: var(--theme-text-muted); text-decoration: line-through; font-weight: 600; display: block; }
.ff-menu-prep-time { font-size: 0.75rem; font-weight: 700; color: var(--theme-text-muted); display: flex; align-items: center; gap: 0.3rem; }

.ff-add-cart-btn { background: var(--theme-primary-grad); border: none; color: var(--theme-bg); font-weight: 800; font-size: 0.82rem; border-radius: 50rem; padding: 0.5rem 1.1rem; cursor: pointer; display: flex; align-items: center; gap: 0.35rem; transition: all 0.2s; font-family: inherit; white-space: nowrap; }
.ff-add-cart-btn:hover { transform: scale(1.05); box-shadow: 0 6px 18px rgba(var(--theme-primary-rgb), 0.35); }

.ff-cart-fab { position: fixed; top: 50%; right: 1.5rem; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--theme-primary-grad); color: var(--theme-bg); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; box-shadow: 0 8px 30px rgba(var(--theme-primary-rgb), 0.45); text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; z-index: 1040; }
.ff-cart-fab:hover { transform: translateY(-50%) scale(1.08); color: var(--theme-bg); box-shadow: 0 12px 36px rgba(var(--theme-primary-rgb), 0.55); }
.ff-cart-fab-badge { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--theme-accent); color: var(--theme-bg); font-size: 0.7rem; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 2px solid var(--theme-bg); }

.ff-storefront-perks-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
}
.ff-storefront-perks-wrap > span,
.ff-storefront-perks-wrap > div {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 767px) {
    .ff-cart-fab {
        top: auto !important;
        bottom: 20px !important;
        right: 20px !important;
        transform: none !important;
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }
    .ff-cart-fab.has-ai-concierge,
    body:has(#aiConciergeWidget) .ff-cart-fab {
        bottom: 88px !important;
        right: 23px !important;
    }
    .ff-cart-fab:hover {
        transform: scale(1.06) !important;
    }
    .ff-storefront-perks-wrap {
        gap: 0.45rem 0.75rem;
    }
    .ff-restaurant-hero { min-height: 310px; }
    .ff-restaurant-hero-content { padding: 1.25rem 1rem 1.25rem; }
    .ff-restaurant-hero-title { font-size: clamp(1.45rem, 5vw, 2rem); line-height: 1.25; padding-right: 54px; margin-bottom: 0.35rem; }
    .ff-restaurant-hero-meta { gap: 0.45rem 0.85rem; font-size: 0.82rem; padding-right: 54px; }
    .ff-back-link { font-size: 0.8rem; padding: 0.35rem 0.8rem; margin-bottom: 0.85rem !important; }
    .ff-info-strip { padding: 0.75rem 0; }
    .ff-info-pill { font-size: 0.78rem; padding: 0.35rem 0.75rem; margin: 0.15rem; }
}
.ff-step-circle { width: 50px; height: 50px; border-radius: 50%; background: var(--theme-primary-grad); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1rem; color: var(--theme-bg); margin: 0 auto 1.25rem; }
.ff-step-emoji { font-size: 1.55rem; line-height: 1; margin-bottom: 1.15rem; }
.ff-step-title { font-size: 1.25rem; font-weight: 800; color: #ffffff; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.ff-step-desc { font-size: 0.875rem; color: var(--theme-text-muted); line-height: 1.6; margin: 0; }

/* ==========================================================================
   THEME 2: MIDNIGHT VIOLET — Chef Spotlight & Deal Cards
   ========================================================================== */

/* --- Violet Hero Overrides --- */
.ff-hero-violet .ff-dish-orbit-violet .ff-dish-ring {
    border: 3px solid rgba(var(--theme-primary-rgb), 0.5);
    box-shadow: 0 0 70px rgba(var(--theme-primary-rgb), 0.3), inset 0 0 40px rgba(var(--theme-primary-rgb), 0.06);
}

/* --- Chef Spotlight Section --- */
.ff-chef-spotlight-section { padding: 4rem 0; }

.ff-chef-spotlight-row {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ff-chef-spotlight-row::-webkit-scrollbar { display: none; }

.ff-chef-card {
    flex: 0 0 200px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.15);
    border-radius: 1.25rem;
    padding: 2rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}
.ff-chef-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(var(--theme-primary-rgb), 0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(var(--theme-primary-rgb), 0.2);
}

.ff-chef-avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.ff-chef-avatar-ring {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, rgba(var(--theme-primary-rgb), 0.4) 100%);
    box-shadow: 0 0 25px rgba(var(--theme-primary-rgb), 0.4), 0 0 8px rgba(var(--theme-primary-rgb), 0.2);
}

.ff-chef-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--theme-bg-card);
}

.ff-chef-card-body { text-align: center; width: 100%; }

.ff-chef-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--theme-text);
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.ff-chef-title {
    font-size: 0.72rem;
    color: var(--theme-text-muted);
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

.ff-chef-specialty {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--theme-primary);
    background: rgba(var(--theme-primary-rgb), 0.12);
    border-radius: 50rem;
    padding: 0.2rem 0.65rem;
    letter-spacing: 0.02em;
}

/* --- Restaurant Deal Cards V2 (Violet Theme) --- */
.ff-deal-card-v2 {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.ff-deal-card-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--theme-primary-rgb), 0.25);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(var(--theme-primary-rgb), 0.12);
}

.ff-deal-card-v2-img-wrap {
    position: relative;
    overflow: hidden;
}

.ff-deal-card-v2-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.ff-deal-card-v2:hover .ff-deal-card-v2-img { transform: scale(1.06); }

.ff-deal-heart {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(var(--theme-bg-rgb), 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--theme-text-muted);
    transition: all 0.25s;
}
.ff-deal-heart:hover,
.ff-deal-heart.active {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}
.ff-deal-heart.active svg {
    fill: currentColor;
}

.ff-deal-type-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--theme-bg);
    background: var(--theme-primary);
    border-radius: 50rem;
    padding: 0.2rem 0.65rem;
    letter-spacing: 0.02em;
}

.ff-deal-card-v2-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ff-deal-card-v2-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--theme-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.ff-deal-card-v2-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--theme-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ff-deal-card-v2-desc {
    font-size: 0.8rem;
    color: var(--theme-text-sub);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1rem;
}

.ff-deal-card-v2-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--theme-border);
}

.ff-deal-card-v2-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--theme-primary);
}

.ff-btn-view-sm {
    padding: 0.38rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 800;
}

/* View button outline variant for violet theme */
.ff-btn-view-outline {
    background: transparent;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.35);
    color: var(--theme-primary);
    padding: 0.45rem 1.1rem;
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    transition: all 0.25s;
}
.ff-btn-view-outline:hover {
    background: rgba(var(--theme-primary-rgb), 0.12);
    border-color: var(--theme-primary);
    color: var(--theme-primary);
}

/* ==========================================================================
   THEME 3: EDITORIAL LIGHT — Full-Width Hero, Filter Pills, Stats Strip
   ========================================================================== */

/* --- Full-Width Background Hero --- */
.ff-hero-fullbg {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-hero-fullbg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.ff-hero-fullbg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.72) 100%
    );
    z-index: 1;
}

.ff-hero-fullbg-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
    max-width: 800px;
}

.ff-hero-fullbg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.45rem 1.25rem;
    border-radius: 50rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ff-hero-fullbg-heading {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.ff-hero-fullbg-search {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.ff-hero-fullbg-search-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border-radius: 50rem;
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.ff-hero-fullbg-search-inner svg { color: #94a3b8; flex-shrink: 0; }

.ff-hero-fullbg-search-inner input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #0f172a;
    font-family: inherit;
    background: transparent;
    font-weight: 500;
}
.ff-hero-fullbg-search-inner input::placeholder { color: #94a3b8; }

.ff-hero-fullbg-search-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--theme-primary-grad);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ff-hero-fullbg-search-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb), 0.45);
}

/* --- Light Theme Filter Bar --- */
.ff-light-filter-bar {
    background: var(--theme-bg-alt);
    border-bottom: 1px solid var(--theme-border);
    padding: 1rem 0;
}

.ff-light-filter-row {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
}
.ff-light-filter-row::-webkit-scrollbar { display: none; }

.ff-light-filter-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--theme-text);
    background: var(--theme-bg-card);
    border: 1.5px solid var(--theme-border);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(15,23,42,0.06);
}
.ff-light-filter-pill:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    box-shadow: 0 3px 12px rgba(var(--theme-primary-rgb), 0.15);
    transform: translateY(-1px);
}
.ff-light-filter-pill.active {
    background: var(--theme-primary-grad);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--theme-primary-rgb), 0.35);
}

/* --- Light Theme Restaurant Cards (horizontal scroll with $ badge) --- */
.ff-light-restaurant-row {
    padding-bottom: 1rem;
    gap: 1.25rem;
}

.ff-light-restaurant-card {
    flex: 0 0 240px;
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border);
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(15,23,42,0.06);
}
.ff-light-restaurant-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--theme-primary-rgb), 0.25);
    box-shadow: 0 15px 40px rgba(15,23,42,0.12);
}

.ff-light-restaurant-img-wrap { position: relative; overflow: hidden; }

.ff-light-restaurant-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ff-light-restaurant-card:hover .ff-light-restaurant-img { transform: scale(1.05); }

.ff-light-price-badge {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffffff;
    background: var(--theme-primary);
    border-radius: 0.35rem;
    padding: 0.25rem 0.55rem;
    letter-spacing: 0.04em;
}

.ff-light-restaurant-body {
    padding: 1rem 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ff-light-restaurant-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--theme-text);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.ff-light-restaurant-desc {
    font-size: 0.78rem;
    color: var(--theme-text-sub);
    line-height: 1.5;
    margin: 0;
}

/* --- Light Theme Stats Strip --- */
.ff-light-stats-strip {
    background: var(--theme-bg-card);
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
    padding: 2.5rem 0;
}

.ff-light-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.ff-light-stat {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
}

.ff-light-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--theme-text);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.ff-light-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--theme-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ff-light-stats-divider {
    width: 1px;
    height: 60px;
    background: var(--theme-border);
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .ff-light-stats-row { flex-direction: column; gap: 1.5rem; }
    .ff-light-stats-divider { display: none; }
    .ff-hero-fullbg { height: 420px; }
    .ff-chef-card { flex: 0 0 170px; }
    .ff-light-restaurant-card { flex: 0 0 200px; }
}

/* ==========================================================================
   ADMIN-SAFE PAGINATION — Hard-coded, no CSS variables, works in all themes
   ========================================================================== */
.ff-pagination-nav { padding: 0.75rem 0; }

.ff-pagination-info {
    font-size: 0.82rem;
    color: #64748b;
    white-space: nowrap;
}

.ff-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 3px;
    flex-wrap: wrap;
    align-items: center;
}

.ff-page-item { display: flex; }

.ff-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 0.6rem;
    font-size: 0.85rem !important;
    font-weight: 600;
    line-height: 1 !important;
    color: #374151;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    font-family: inherit;
    /* Override any inherited large font-size */
    font-size: 13px !important;
}

.ff-page-link:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}

.ff-page-item.active .ff-page-link {
    background: #ff5200;
    border-color: #ff5200;
    color: #ffffff;
    font-weight: 700;
}

.ff-page-item.disabled .ff-page-link {
    color: #9ca3af;
    background: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================================
   SETTINGS PAGES — Sidebar Sub-links & Page Styles
   ============================================================ */

/* Sidebar sub-links (indented settings menu items) */
.admin-sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 44px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.825rem;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.admin-sidebar-sublink:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.04);
    border-left-color: rgba(255, 255, 255, 0.15);
}

.admin-sidebar-sublink.active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.08);
    border-left-color: #60a5fa;
    font-weight: 600;
}

.admin-sidebar-sublink i {
    font-size: 0.75rem;
    width: 16px;
    text-align: center;
    opacity: 0.7;
}

.admin-sidebar-sublink.active i {
    opacity: 1;
}

/* Settings collapse chevron rotation */
.settings-chevron {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    opacity: 0.5;
}

.admin-sidebar-link[aria-expanded="true"] .settings-chevron {
    transform: rotate(180deg);
}

/* Settings page breadcrumb */
.settings-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.settings-breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.settings-breadcrumb a:hover {
    text-decoration: underline;
}

.settings-breadcrumb .breadcrumb-separator {
    color: #d1d5db;
}

/* Settings section header */
.settings-section-header {
    margin-bottom: 28px;
}

.settings-section-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.settings-section-header p {
    color: #64748b;
    font-size: 0.925rem;
    margin-bottom: 0;
}

/* Settings user guide card */
.settings-guide-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.settings-guide-card h6 {
    color: #1e40af;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-guide-card ul {
    margin-bottom: 0;
    padding-left: 18px;
}

.settings-guide-card li {
    color: #334155;
    font-size: 0.85rem;
    margin-bottom: 6px;
    line-height: 1.5;
}

.settings-guide-card p {
    color: #334155;
    font-size: 0.85rem;
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Status dot indicator */
.settings-status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ef4444;
    margin-right: 6px;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.settings-status-dot-active {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

/* Gateway card */
.settings-gateway-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.settings-gateway-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08);
}

.settings-gateway-card .card-header {
    background: #fafbfc;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 20px;
    cursor: pointer;
}

.settings-gateway-card .card-header:hover {
    background: #f0f4f8;
}

.settings-gateway-card .card-body {
    padding: 20px;
}

.settings-gateway-card .gateway-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-gateway-card .gateway-title i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.settings-gateway-card .gateway-help {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 4px;
}

.settings-gateway-card .gateway-help a {
    color: #3b82f6;
}

/* System info display */
.settings-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.settings-info-row:last-child {
    border-bottom: none;
}

.settings-info-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.settings-info-value {
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 600;
    font-family: 'SFMono-Regular', 'Menlo', monospace;
}

/* Extension badges */
.settings-ext-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 3px;
}

.settings-ext-badge-ok {
    background: #dcfce7;
    color: #166534;
}

.settings-ext-badge-missing {
    background: #fef2f2;
    color: #991b1b;
}

/* Sidebar username truncation (replaces inline style) */
.admin-sidebar-username {
    max-width: 140px;
}

/* ============================================
   BOOTSTRAP VARIABLE OVERRIDES — Customer/Public Views
   Forces Bootstrap components to use theme variables
   ============================================ */
body {
    --bs-body-bg: var(--theme-bg, #ffffff);
    --bs-body-color: var(--theme-text, #0f172a);
}

body[data-theme="midnight-emerald"],
body[data-theme="midnight-violet"] {
    --bs-table-bg: transparent;
    --bs-table-color: var(--theme-text);
    --bs-table-striped-bg: var(--theme-surface);
    --bs-table-striped-color: var(--theme-text);
    --bs-table-hover-bg: var(--theme-surface);
    --bs-table-hover-color: var(--theme-text);
    --bs-table-border-color: var(--theme-border);
    --bs-card-bg: var(--theme-bg-card);
    --bs-card-border-color: var(--theme-border);
    --bs-card-color: var(--theme-text);
    --bs-card-cap-bg: var(--theme-surface);
    --bs-border-color: var(--theme-border);
    --bs-secondary-bg: var(--theme-surface);
    --bs-tertiary-bg: var(--theme-bg-alt);
    --bs-link-color: var(--theme-primary);
}

/* Dark theme form controls */
body[data-theme="midnight-emerald"] .form-control,
body[data-theme="midnight-emerald"] .form-select,
body[data-theme="midnight-violet"] .form-control,
body[data-theme="midnight-violet"] .form-select {
    background-color: var(--theme-bg-alt);
    border-color: var(--theme-border);
    color: var(--theme-text);
}

body[data-theme="midnight-emerald"] .form-control:focus,
body[data-theme="midnight-emerald"] .form-select:focus,
body[data-theme="midnight-violet"] .form-control:focus,
body[data-theme="midnight-violet"] .form-select:focus {
    background-color: var(--theme-bg-alt);
    border-color: var(--theme-primary);
    color: var(--theme-text);
    box-shadow: 0 0 0 0.2rem rgba(var(--theme-primary-rgb), 0.2);
}

body[data-theme="midnight-emerald"] .form-control::placeholder,
body[data-theme="midnight-violet"] .form-control::placeholder {
    color: var(--theme-text-muted);
}

/* Dark theme tables in customer views */
body[data-theme="midnight-emerald"] .table,
body[data-theme="midnight-violet"] .table {
    --bs-table-bg: transparent;
    color: var(--theme-text);
}

body[data-theme="midnight-emerald"] .table th,
body[data-theme="midnight-violet"] .table th {
    background-color: var(--theme-surface);
    color: var(--theme-text-sub);
    border-color: var(--theme-border);
}

body[data-theme="midnight-emerald"] .table td,
body[data-theme="midnight-violet"] .table td {
    border-color: var(--theme-border);
    color: var(--theme-text);
}

/* Dark theme cards */
body[data-theme="midnight-emerald"] .card,
body[data-theme="midnight-violet"] .card {
    background-color: var(--theme-bg-card);
    border-color: var(--theme-border);
    color: var(--theme-text);
}

body[data-theme="midnight-emerald"] .card-header,
body[data-theme="midnight-violet"] .card-header {
    background-color: var(--theme-surface);
    border-color: var(--theme-border);
    color: var(--theme-text);
}

/* Dark theme text helpers */
body[data-theme="midnight-emerald"] .text-muted,
body[data-theme="midnight-violet"] .text-muted,
body[data-theme="midnight-emerald"] .form-text,
body[data-theme="midnight-violet"] .form-text,
[data-theme="midnight-emerald"] .form-text,
[data-theme="midnight-violet"] .form-text {
    color: var(--theme-text-muted) !important;
}

body[data-theme="midnight-emerald"] .text-dark,
body[data-theme="midnight-violet"] .text-dark {
    color: var(--theme-text) !important;
}

/* Dark theme badge contrast helpers */
body[data-theme="midnight-emerald"] .badge.bg-light,
body[data-theme="midnight-emerald"] .badge.bg-light.text-dark {
    background-color: rgba(0, 200, 150, 0.14) !important;
    color: #00c896 !important;
    border: 1px solid rgba(0, 200, 150, 0.3) !important;
}

body[data-theme="midnight-violet"] .badge.bg-light,
body[data-theme="midnight-violet"] .badge.bg-light.text-dark {
    background-color: rgba(245, 200, 66, 0.14) !important;
    color: #f5c842 !important;
    border: 1px solid rgba(245, 200, 66, 0.3) !important;
}

body[data-theme="midnight-emerald"] .badge.bg-warning,
body[data-theme="midnight-violet"] .badge.bg-warning,
body[data-theme="midnight-emerald"] .badge.bg-warning.text-dark,
body[data-theme="midnight-violet"] .badge.bg-warning.text-dark,
body[data-theme="midnight-emerald"] .badge.bg-warning *,
body[data-theme="midnight-violet"] .badge.bg-warning *,
body[data-theme="midnight-emerald"] .badge.bg-warning-subtle,
body[data-theme="midnight-violet"] .badge.bg-warning-subtle,
body[data-theme="midnight-emerald"] .badge.bg-warning-subtle *,
body[data-theme="midnight-violet"] .badge.bg-warning-subtle *,
body[data-theme="midnight-emerald"] .badge-warning,
body[data-theme="midnight-violet"] .badge-warning,
body[data-theme="midnight-emerald"] .badge-warning *,
body[data-theme="midnight-violet"] .badge-warning *,
body[data-theme="midnight-emerald"] .vendor-badge.warning,
body[data-theme="midnight-violet"] .vendor-badge.warning,
body[data-theme="midnight-emerald"] .vendor-badge.warning *,
body[data-theme="midnight-violet"] .vendor-badge.warning *,
body[data-theme="midnight-emerald"] .dash-badge-pending,
body[data-theme="midnight-violet"] .dash-badge-pending,
body[data-theme="midnight-emerald"] .dash-badge-pending *,
body[data-theme="midnight-violet"] .dash-badge-pending *,
body[data-theme="midnight-emerald"] .sub-plan-badge.bg-warning,
body[data-theme="midnight-violet"] .sub-plan-badge.bg-warning,
body[data-theme="midnight-emerald"] .sub-plan-badge.bg-warning *,
body[data-theme="midnight-violet"] .sub-plan-badge.bg-warning *,
body[data-theme="midnight-emerald"] .sub-plan-badge.bg-warning.text-dark,
body[data-theme="midnight-violet"] .sub-plan-badge.bg-warning.text-dark,
body[data-theme="midnight-emerald"] .sub-plan-badge.bg-warning.text-dark *,
body[data-theme="midnight-violet"] .sub-plan-badge.bg-warning.text-dark *,
body[data-theme="midnight-emerald"] .badge-pending,
body[data-theme="midnight-violet"] .badge-pending,
body[data-theme="midnight-emerald"] .badge-pending *,
body[data-theme="midnight-violet"] .badge-pending *,
body[data-theme="midnight-emerald"] .ff-pricing-popular-tag.bg-warning,
body[data-theme="midnight-violet"] .ff-pricing-popular-tag.bg-warning,
body[data-theme="midnight-emerald"] .reservation-status-icon.bg-warning,
body[data-theme="midnight-violet"] .reservation-status-icon.bg-warning {
    background-color: rgba(245, 158, 11, 0.22) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.15) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

body[data-theme="midnight-emerald"] .text-warning,
body[data-theme="midnight-violet"] .text-warning,
body[data-theme="midnight-emerald"] .text-warning-emphasis,
body[data-theme="midnight-violet"] .text-warning-emphasis {
    color: #fbbf24 !important;
}

/* Dark theme container & surface contrast helpers */
body[data-theme="midnight-emerald"] .bg-light,
body[data-theme="midnight-emerald"] .bg-light-subtle,
body[data-theme="midnight-violet"] .bg-light,
body[data-theme="midnight-violet"] .bg-light-subtle {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--theme-text) !important;
}

body[data-theme="midnight-emerald"] .bg-light *:not(.badge):not(.btn):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-muted),
body[data-theme="midnight-emerald"] .bg-light-subtle *:not(.badge):not(.btn):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-muted),
body[data-theme="midnight-violet"] .bg-light *:not(.badge):not(.btn):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-muted),
body[data-theme="midnight-violet"] .bg-light-subtle *:not(.badge):not(.btn):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-muted) {
    color: var(--theme-text);
}

body[data-theme="midnight-emerald"] .bg-light .text-muted,
body[data-theme="midnight-emerald"] .bg-light-subtle .text-muted,
body[data-theme="midnight-violet"] .bg-light .text-muted,
body[data-theme="midnight-violet"] .bg-light-subtle .text-muted {
    color: var(--theme-text-muted, #94a3b8) !important;
}

body[data-theme="midnight-emerald"] .btn-outline-secondary,
body[data-theme="midnight-violet"] .btn-outline-secondary {
    color: var(--theme-text) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
}

body[data-theme="midnight-emerald"] .btn-outline-secondary:hover {
    background-color: rgba(0, 200, 150, 0.15) !important;
    border-color: #00c896 !important;
    color: #00c896 !important;
}

body[data-theme="midnight-violet"] .btn-outline-secondary:hover {
    background-color: rgba(139, 92, 246, 0.2) !important;
    border-color: #f5c842 !important;
    color: #f5c842 !important;
}

body[data-theme="midnight-emerald"] .btn-outline-dark,
body[data-theme="midnight-violet"] .btn-outline-dark {
    color: var(--theme-text) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

body[data-theme="midnight-emerald"] .btn-outline-dark:hover,
body[data-theme="midnight-violet"] .btn-outline-dark:hover {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}



/* Dark theme pagination */
body[data-theme="midnight-emerald"] .pagination .page-link,
body[data-theme="midnight-violet"] .pagination .page-link {
    background-color: var(--theme-bg-card);
    border-color: var(--theme-border);
    color: var(--theme-text);
}

body[data-theme="midnight-emerald"] .pagination .page-item.active .page-link,
body[data-theme="midnight-violet"] .pagination .page-item.active .page-link {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

/* Dark theme alerts */
body[data-theme="midnight-emerald"] .alert-success,
body[data-theme="midnight-violet"] .alert-success {
    background: rgba(var(--theme-primary-rgb), 0.1);
    border-color: rgba(var(--theme-primary-rgb), 0.2);
    color: var(--theme-primary);
}

body[data-theme="midnight-emerald"] .alert-danger,
body[data-theme="midnight-violet"] .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* ==========================================================================
   App Download / Mobile Apps CTA Section
   ========================================================================== */
.ff-app-download-banner {
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb, 0, 200, 150), 0.12) 0%, var(--theme-bg-card, #111a2e) 100%);
    border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.08));
    border-radius: 24px;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.ff-app-download-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--theme-primary-rgb, 0, 200, 150), 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

.ff-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 0.75rem 1.4rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ff-app-btn:hover {
    background: var(--theme-primary, #00c896);
    color: #ffffff;
    border-color: var(--theme-primary, #00c896);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.ff-app-btn-icon {
    font-size: 2rem;
    line-height: 1;
}

.ff-app-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.ff-app-btn-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.75;
}

.ff-app-btn-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.ff-app-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--theme-text, #ffffff);
}

.ff-app-mockup-card {
    background: linear-gradient(135deg, var(--theme-bg-card, #111a2e) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 2px solid var(--theme-border, rgba(255, 255, 255, 0.12));
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    max-width: 320px;
    margin: 0 auto;
    position: relative;
}

.ff-app-screen-inner {
    background: var(--theme-bg, #090e17);
    border-radius: 20px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ff-app-status-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: left;
}

/* Ensure admin layout never creates an overflow trap for sticky elements */
html:has(.admin-layout-wrapper),
body.admin-body,
body:has(.admin-layout-wrapper),
.admin-layout-wrapper,
.admin-main-wrapper,
.main-content {
    overflow-x: clip;
}

/* Sticky Sidebar for Admin Actions, Guides & Save Controls */
.ff-cms-sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 1.5rem;
    z-index: 30;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    scrollbar-width: thin;
}

.ff-cms-sticky-sidebar::-webkit-scrollbar {
    width: 4px;
}

.ff-cms-sticky-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.ff-cms-sticky-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

@media (max-width: 991.98px) {
    .ff-cms-sticky-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}



/**
 * Universal Theme-Aware Confirmation Modal Styles — FeastFlow
 */

.app-confirm-modal .modal-dialog {
    max-width: 440px;
    margin: 1.75rem auto;
}

.app-confirm-modal .modal-content.app-confirm-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.app-confirm-modal.fade .modal-dialog {
    transform: scale(0.94);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-confirm-modal.show .modal-dialog {
    transform: scale(1);
}

.app-confirm-body {
    padding: 2.25rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon Badges */
.app-confirm-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    transition: all 0.25s ease;
}

/* Typography */
.app-confirm-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.app-confirm-message {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    word-break: break-word;
}

/* Action Buttons */
.app-confirm-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.app-confirm-btn {
    flex: 1;
    padding: 0.7rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

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

/* ==========================================================================
   Theme: Default / Light / Admin Mode
   ========================================================================== */
.app-confirm-modal .modal-content.app-confirm-content {
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    border: 1px solid #e2e8f0;
}

.app-confirm-title {
    color: #0f172a;
}

.app-confirm-message {
    color: #64748b;
}

.app-confirm-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.app-confirm-btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* Default Light Icon Badges & Confirm Buttons */
.app-confirm-icon-wrapper.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 8px solid rgba(239, 68, 68, 0.05);
}

.app-confirm-btn-confirm.danger {
    background: #dc2626;
    color: #ffffff;
    border: 1px solid #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.app-confirm-btn-confirm.danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #ffffff;
}

.app-confirm-icon-wrapper.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 8px solid rgba(245, 158, 11, 0.05);
}

.app-confirm-btn-confirm.warning {
    background: #d97706;
    color: #ffffff;
    border: 1px solid #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.app-confirm-btn-confirm.warning:hover {
    background: #b45309;
    border-color: #b45309;
    color: #ffffff;
}

.app-confirm-icon-wrapper.primary,
.app-confirm-icon-wrapper.success {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 8px solid rgba(37, 99, 235, 0.05);
}

.app-confirm-btn-confirm.primary,
.app-confirm-btn-confirm.success {
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.app-confirm-btn-confirm.primary:hover,
.app-confirm-btn-confirm.success:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

/* ==========================================================================
   Theme: Midnight Emerald (data-theme="midnight-emerald")
   ========================================================================== */
body[data-theme="midnight-emerald"] .app-confirm-modal .modal-content.app-confirm-content {
    background: #091413 !important;
    border: 1px solid rgba(16, 185, 129, 0.28) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(16, 185, 129, 0.18) !important;
}

body[data-theme="midnight-emerald"] .app-confirm-title {
    color: #ffffff !important;
}

body[data-theme="midnight-emerald"] .app-confirm-message {
    color: #94a3b8 !important;
}

body[data-theme="midnight-emerald"] .app-confirm-btn-cancel {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body[data-theme="midnight-emerald"] .app-confirm-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="midnight-emerald"] .app-confirm-icon-wrapper.danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.25) !important;
}

body[data-theme="midnight-emerald"] .app-confirm-btn-confirm.danger {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45) !important;
}

body[data-theme="midnight-emerald"] .app-confirm-btn-confirm.danger:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

body[data-theme="midnight-emerald"] .app-confirm-icon-wrapper.primary,
body[data-theme="midnight-emerald"] .app-confirm-icon-wrapper.success {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25) !important;
}

body[data-theme="midnight-emerald"] .app-confirm-btn-confirm.primary,
body[data-theme="midnight-emerald"] .app-confirm-btn-confirm.success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45) !important;
}

body[data-theme="midnight-emerald"] .app-confirm-btn-confirm.primary:hover,
body[data-theme="midnight-emerald"] .app-confirm-btn-confirm.success:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    border-color: #059669 !important;
    color: #ffffff !important;
}

body[data-theme="midnight-emerald"] .app-confirm-icon-wrapper.warning {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25) !important;
}

body[data-theme="midnight-emerald"] .app-confirm-btn-confirm.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4) !important;
}

/* ==========================================================================
   Theme: Midnight Violet (data-theme="midnight-violet")
   ========================================================================== */
body[data-theme="midnight-violet"] .app-confirm-modal .modal-content.app-confirm-content {
    background: #110920 !important;
    border: 1px solid rgba(139, 92, 246, 0.32) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(139, 92, 246, 0.2) !important;
}

body[data-theme="midnight-violet"] .app-confirm-title {
    color: #ffffff !important;
}

body[data-theme="midnight-violet"] .app-confirm-message {
    color: #cbd5e1 !important;
}

body[data-theme="midnight-violet"] .app-confirm-btn-cancel {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body[data-theme="midnight-violet"] .app-confirm-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="midnight-violet"] .app-confirm-icon-wrapper.danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.25) !important;
}

body[data-theme="midnight-violet"] .app-confirm-btn-confirm.danger {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45) !important;
}

body[data-theme="midnight-violet"] .app-confirm-btn-confirm.danger:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

body[data-theme="midnight-violet"] .app-confirm-icon-wrapper.primary,
body[data-theme="midnight-violet"] .app-confirm-icon-wrapper.success {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #c084fc !important;
    border: 1px solid rgba(139, 92, 246, 0.35) !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25) !important;
}

body[data-theme="midnight-violet"] .app-confirm-btn-confirm.primary,
body[data-theme="midnight-violet"] .app-confirm-btn-confirm.success {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    border-color: #8b5cf6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45) !important;
}

body[data-theme="midnight-violet"] .app-confirm-btn-confirm.primary:hover,
body[data-theme="midnight-violet"] .app-confirm-btn-confirm.success:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
}

body[data-theme="midnight-violet"] .app-confirm-icon-wrapper.warning {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25) !important;
}

body[data-theme="midnight-violet"] .app-confirm-btn-confirm.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4) !important;
}

/* Snappy Mobile Navigation Collapse Transition */
.navbar-collapse.collapsing {
    transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: height;
}

/* ══════════════════════════════════════════════════════════════════
   CUSTOMER PORTAL: MOBILE APP BOTTOM NAVIGATION BAR
   ══════════════════════════════════════════════════════════════════ */
.customer-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--theme-bg-card, #ffffff);
    border-top: 1px solid var(--theme-border, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 0 0.5rem;
    padding-bottom: env(safe-area-inset-bottom, 0);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body[data-theme="midnight-emerald"] .customer-bottom-nav,
body[data-theme="midnight-violet"] .customer-bottom-nav {
    background: rgba(17, 24, 39, 0.95);
    border-top-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.4);
}

.customer-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--theme-text-muted, #64748b);
    font-size: 0.72rem;
    font-weight: 500;
    transition: color 0.15s ease, transform 0.15s ease;
    position: relative;
    padding: 6px 8px;
    border-radius: 8px;
    min-width: 54px;
}

.customer-bottom-nav-item i {
    font-size: 1.15rem;
    margin-bottom: 2px;
    transition: transform 0.15s ease;
}

.customer-bottom-nav-item:hover,
.customer-bottom-nav-item:focus {
    color: var(--theme-primary, #10b981);
}

.customer-bottom-nav-item.active {
    color: var(--theme-primary, #10b981) !important;
    font-weight: 700;
}

.customer-bottom-nav-item.active i {
    transform: scale(1.1);
}

.customer-bottom-nav-badge {
    position: absolute;
    top: 2px;
    right: 10px;
    font-size: 0.65rem;
    padding: 0.15em 0.45em;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 0 2px var(--theme-bg-card, #ffffff);
}

body[data-theme="midnight-emerald"] .customer-bottom-nav-badge,
body[data-theme="midnight-violet"] .customer-bottom-nav-badge {
    box-shadow: 0 0 0 2px #111827;
}

/* Customer Portal Responsive Main Padding when Bottom Nav is Active */
@media (max-width: 767.98px) {
    body.has-customer-bottom-nav {
        padding-bottom: 76px !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   CUSTOMER MOBILE APP CARDS (ORDERS & RESERVATIONS)
   ══════════════════════════════════════════════════════════════════ */
.customer-mobile-card {
    background: var(--theme-bg-card, #ffffff);
    border: 1px solid var(--theme-border, #e2e8f0);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body[data-theme="midnight-emerald"] .customer-mobile-card,
body[data-theme="midnight-violet"] .customer-mobile-card {
    background: var(--theme-bg-card, #111827);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.customer-mobile-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.customer-mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--theme-border, #f1f5f9);
    padding-bottom: 0.65rem;
    margin-bottom: 0.75rem;
}

body[data-theme="midnight-emerald"] .customer-mobile-card-header,
body[data-theme="midnight-violet"] .customer-mobile-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.customer-mobile-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.customer-mobile-card-footer {
    border-top: 1px solid var(--theme-border, #f1f5f9);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

body[data-theme="midnight-emerald"] .customer-mobile-card-footer,
body[data-theme="midnight-violet"] .customer-mobile-card-footer {
    border-top-color: rgba(255, 255, 255, 0.07);
}

/* Horizontal Table Swipe Hint for Desktop-preserved tables */
.table-swipe-hint {
    display: none;
    font-size: 0.75rem;
    color: var(--theme-text-muted, #94a3b8);
    margin-bottom: 0.5rem;
}
@media (max-width: 991.98px) {
    .table-swipe-hint {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }
}

/* Dining Table Type Badges */
.table-badge-vip {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
}
body[data-theme="midnight-emerald"] .table-badge-vip,
body[data-theme="midnight-violet"] .table-badge-vip,
body[data-theme="dark"] .table-badge-vip {
    background: rgba(245, 158, 11, 0.22) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.5) !important;
}

.table-badge-booth {
    background: rgba(14, 165, 233, 0.14) !important;
    color: #0284c7 !important;
    border: 1px solid rgba(14, 165, 233, 0.35) !important;
}
body[data-theme="midnight-emerald"] .table-badge-booth,
body[data-theme="midnight-violet"] .table-badge-booth,
body[data-theme="dark"] .table-badge-booth {
    background: rgba(14, 165, 233, 0.2) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(14, 165, 233, 0.45) !important;
}

.table-badge-outdoor {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
}
body[data-theme="midnight-emerald"] .table-badge-outdoor,
body[data-theme="midnight-violet"] .table-badge-outdoor,
body[data-theme="dark"] .table-badge-outdoor {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

.table-badge-bar {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
}
body[data-theme="midnight-emerald"] .table-badge-bar,
body[data-theme="midnight-violet"] .table-badge-bar,
body[data-theme="dark"] .table-badge-bar {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
}

.table-badge-private {
    background: rgba(168, 85, 247, 0.14) !important;
    color: #9333ea !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
}
body[data-theme="midnight-emerald"] .table-badge-private,
body[data-theme="midnight-violet"] .table-badge-private,
body[data-theme="dark"] .table-badge-private {
    background: rgba(168, 85, 247, 0.2) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
}

.table-badge-regular {
    background: rgba(100, 116, 139, 0.12) !important;
    color: #475569 !important;
    border: 1px solid rgba(100, 116, 139, 0.3) !important;
}
body[data-theme="midnight-emerald"] .table-badge-regular,
body[data-theme="midnight-violet"] .table-badge-regular,
body[data-theme="dark"] .table-badge-regular {
    background: rgba(148, 163, 184, 0.15) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
}

/* ── CodeCanyon Compliant Utility Classes (Zero Inline Styles) ── */
.avatar-32 {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
}

.avatar-36 {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
}

.avatar-48 {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    font-size: 1.25rem !important;
}

.text-pre-line {
    white-space: pre-line !important;
}

.qr-thumb-preview {
    max-height: 70px !important;
    width: auto !important;
}

.qr-thumb-sm {
    max-height: 50px !important;
    width: auto !important;
}

.inquiry-body-content {
    white-space: pre-line !important;
    line-height: 1.7 !important;
    font-size: 1.05rem !important;
}

/* Support Ticket Attachment Thumbnail */
.ticket-attachment-thumb {
    width: auto !important;
    max-width: 160px !important;
    max-height: 110px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ticket-attachment-thumb:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15) !important;
}

body[data-theme="midnight-emerald"] .ticket-attachment-thumb,
body[data-theme="midnight-violet"] .ticket-attachment-thumb,
body[data-theme="dark"] .ticket-attachment-thumb {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Language Manager Utilities */
.lang-flag-sm {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.lang-flag-lg {
    font-size: 1.6rem !important;
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.progress-sm {
    height: 8px !important;
}

/* Universal Floating Toast Notifications */
.notification-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    min-width: 300px;
    max-width: 440px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    animation: toastNotificationSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastNotificationSlide {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.coupon-error-feedback {
    display: block;
    animation: couponShake 0.4s ease-in-out;
}

@keyframes couponShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

body[data-theme="midnight-emerald"] .notification-toast,
body[data-theme="midnight-violet"] .notification-toast {
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6);
}



