/* ==========================================================================
   Meniu iRezervare — Corporate Design System
   ========================================================================== */

:root {
    --corp-navy: #0f172a;
    --corp-slate: #1e293b;
    --corp-slate-light: #334155;
    --corp-accent: #2563eb;
    --corp-accent-hover: #1d4ed8;
    --corp-accent-soft: #eff6ff;
    --corp-bg: #f1f5f9;
    --corp-surface: #ffffff;
    --corp-border: #e2e8f0;
    --corp-border-strong: #cbd5e1;
    --corp-text: #1e293b;
    --corp-text-muted: #64748b;
    --corp-success: #059669;
    --corp-radius: 0.5rem;
    --corp-radius-lg: 0.75rem;
    --corp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --corp-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --corp-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Brand aliases (legacy class names) */
    --primary-brand: var(--corp-accent);
    --primary-brand-hover: var(--corp-accent-hover);
    --primary-brand-light: var(--corp-accent-soft);
    --restaurant-primary: var(--corp-accent);
    --restaurant-accent: var(--corp-accent-hover);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    color: var(--corp-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Bootstrap overrides */
.btn-primary {
    --bs-btn-bg: var(--corp-accent);
    --bs-btn-border-color: var(--corp-accent);
    --bs-btn-hover-bg: var(--corp-accent-hover);
    --bs-btn-hover-border-color: var(--corp-accent-hover);
    --bs-btn-active-bg: var(--corp-accent-hover);
    --bs-btn-active-border-color: var(--corp-accent-hover);
    --bs-btn-focus-shadow-rgb: 37, 99, 235;
    font-weight: 500;
    border-radius: var(--corp-radius);
    padding: 0.5rem 1rem;
}
.btn-outline-primary {
    --bs-btn-color: var(--corp-accent);
    --bs-btn-border-color: var(--corp-border-strong);
    --bs-btn-hover-bg: var(--corp-accent-soft);
    --bs-btn-hover-border-color: var(--corp-accent);
    --bs-btn-hover-color: var(--corp-accent-hover);
    --bs-btn-active-bg: var(--corp-accent-soft);
    font-weight: 500;
    border-radius: var(--corp-radius);
}
.btn-secondary, .btn-outline-secondary {
    border-radius: var(--corp-radius);
    font-weight: 500;
}
.form-control, .form-select {
    border-color: var(--corp-border-strong);
    border-radius: var(--corp-radius);
    font-size: 0.9375rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--corp-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.nav-pills .nav-link {
    border-radius: var(--corp-radius);
    font-weight: 500;
    color: var(--corp-text-muted);
}
.nav-pills .nav-link.active {
    background-color: var(--corp-accent);
}
.table {
    --bs-table-border-color: var(--corp-border);
    font-size: 0.9375rem;
}
.table thead th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--corp-text-muted);
    background: var(--corp-bg);
    border-bottom-width: 1px;
}

.text-primary-brand { color: var(--corp-accent) !important; }
.bg-primary-brand { background-color: var(--corp-accent) !important; }

/* Cards */
.corp-card,
.glass-card {
    background: var(--corp-surface);
    border: 1px solid var(--corp-border);
    border-radius: var(--corp-radius-lg);
    box-shadow: var(--corp-shadow-sm);
}
.corp-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--corp-border);
    font-weight: 600;
    font-size: 0.9375rem;
}
.corp-card-body { padding: 1.25rem; }

.page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--corp-border);
}
.page-header h1 {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    color: var(--corp-navy);
}
.page-header .page-subtitle {
    font-size: 0.875rem;
    color: var(--corp-text-muted);
    margin: 0;
}

.stat-card {
    background: var(--corp-surface);
    border: 1px solid var(--corp-border);
    border-radius: var(--corp-radius-lg);
    padding: 1.25rem;
    transition: box-shadow 0.15s ease;
}
.stat-card:hover { box-shadow: var(--corp-shadow-md); }
.stat-card .stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--corp-text-muted);
    margin-bottom: 0.35rem;
}
.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--corp-navy);
    line-height: 1.2;
}

/* Admin shell — sidebar layout */
.admin-body {
    background: var(--corp-bg);
    min-height: 100vh;
    margin: 0;
}
.admin-shell {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--corp-navy);
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    overflow-y: auto;
}
.admin-sidebar-brand {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-sidebar-brand a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.admin-sidebar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--corp-accent);
    border-radius: var(--corp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
}
.admin-sidebar-nav {
    padding: 1rem 0.75rem;
    flex: 1;
}
.admin-sidebar-nav .nav-section {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 0.75rem 0.75rem 0.35rem;
}
.admin-sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    color: #94a3b8;
    text-decoration: none;
    border-radius: var(--corp-radius);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2px;
    transition: background 0.15s, color 0.15s;
}
.admin-sidebar-nav .nav-link i {
    width: 18px;
    text-align: center;
    font-size: 0.8125rem;
    opacity: 0.85;
}
.admin-sidebar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}
.admin-sidebar-nav .nav-link.active {
    background: var(--corp-accent);
    color: #fff;
}
.admin-sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
}
.admin-main-wrap {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.admin-topbar {
    background: var(--corp-surface);
    border-bottom: 1px solid var(--corp-border);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}
.admin-topbar-user {
    font-size: 0.875rem;
    color: var(--corp-text-muted);
}
.admin-main {
    flex: 1;
    padding: 1.5rem;
}
.admin-mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--corp-border);
    border-radius: var(--corp-radius);
    padding: 0.375rem 0.625rem;
    color: var(--corp-text);
}

.impersonation-bar {
    background: #fef3c7;
    border-bottom: 1px solid #fcd34d;
    color: #92400e;
    padding: 0.5rem 1.5rem;
    font-size: 0.8125rem;
    text-align: center;
}

/* Guest / Auth */
.guest-body {
    background: var(--corp-bg);
    min-height: 100vh;
}
.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.auth-brand-panel {
    background: var(--corp-navy);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-brand-panel h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.auth-brand-panel p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
}
.auth-brand-features {
    margin-top: 2.5rem;
    list-style: none;
    padding: 0;
}
.auth-brand-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #cbd5e1;
    font-size: 0.9375rem;
}
.auth-brand-features i {
    color: var(--corp-accent);
    width: 20px;
}
.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--corp-surface);
}
.auth-form-box {
    width: 100%;
    max-width: 400px;
}
.auth-form-box h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--corp-navy);
    margin-bottom: 0.35rem;
}
.auth-form-box .auth-subtitle {
    color: var(--corp-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
}

/* ==========================================================================
   Landing page
   ========================================================================== */
.lp-body {
    font-family: 'DM Sans', var(--font-sans);
    background: #fff;
    color: #1a1f2e;
    -webkit-font-smoothing: antialiased;
}

.lp-container {
    max-width: 72rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
@media (min-width: 768px) {
    .lp-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.lp-logo {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -0.03em;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}
.lp-logo-dot { color: #2563eb; }
.lp-logo-footer { color: #fff; margin-bottom: 0.75rem; display: inline-block; }
.lp-logo-footer .lp-logo-dot { color: #60a5fa; }

.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8eaed;
}
.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}
.lp-nav {
    display: flex;
    gap: 1.75rem;
    margin-left: auto;
    margin-right: 2rem;
}
.lp-nav a {
    color: #5c6370;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
}
.lp-nav a:hover { color: #1a1f2e; }
.lp-header-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-shrink: 0;
}
.lp-link {
    color: #1a1f2e;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}
.lp-link:hover { color: #2563eb; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.lp-btn-lg { padding: 0.8125rem 1.5rem; font-size: 0.9375rem; }
.lp-btn-solid {
    background: #1a1f2e;
    color: #fff;
    border-color: #1a1f2e;
    box-shadow: 0 1px 2px rgba(26, 31, 46, 0.12);
}
.lp-btn-solid:hover {
    background: #2d3548;
    border-color: #2d3548;
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 31, 46, 0.18);
}
.lp-btn-ghost {
    background: #fff;
    color: #1a1f2e;
    border-color: #c8cdd4;
}
.lp-btn-ghost:hover {
    border-color: #1a1f2e;
    color: #1a1f2e;
    background: #f8f9fa;
}
.lp-btn-light {
    background: #fff;
    color: #1a1f2e;
    border-color: #fff;
}
.lp-btn-light:hover { background: #f1f5f9; color: #1a1f2e; }

.lp-hero {
    position: relative;
    padding: 3.5rem 0 5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 55%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero-copy {
    position: relative;
    z-index: 1;
}
.lp-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.lp-headline {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 4.2vw, 2.875rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.035em;
    color: #1a1f2e;
    margin-bottom: 1.25rem;
    max-width: 22rem;
}
@media (min-width: 992px) {
    .lp-headline { max-width: 26rem; }
}
.lp-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #5c6370;
    max-width: 32rem;
    margin-bottom: 2rem;
}
.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.lp-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 0;
}
.lp-metrics > div {
    flex: 1 1 auto;
    min-width: 5.5rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(26, 31, 46, 0.04);
}
.lp-metrics dt {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1f2e;
    margin-bottom: 0.2rem;
}
.lp-metrics dd {
    font-size: 0.8125rem;
    color: #5c6370;
    margin: 0;
}

/* Product preview mockup */
.lp-hero-visual {
    position: relative;
    z-index: 1;
    padding: 1rem 0 2rem;
}
@media (min-width: 992px) {
    .lp-hero-visual {
        padding: 2rem 0 2rem 1.5rem;
    }
}
.lp-preview {
    position: relative;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(26, 31, 46, 0.03),
        0 20px 40px rgba(26, 31, 46, 0.1),
        0 4px 12px rgba(26, 31, 46, 0.05);
    overflow: hidden;
}
.lp-preview-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: #f4f5f7;
    border-bottom: 1px solid #e8eaed;
    font-size: 0.6875rem;
    color: #8b919a;
    font-style: normal;
}
.lp-preview-chrome span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d1d5db;
}
.lp-preview-chrome span:first-child { background: #fca5a5; }
.lp-preview-chrome span:nth-child(2) { background: #fcd34d; }
.lp-preview-chrome span:nth-child(3) { background: #86efac; }
.lp-preview-chrome em { margin-left: auto; font-style: normal; }
.lp-preview-body {
    display: flex;
    min-height: 220px;
}
.lp-preview-sidebar {
    width: 72px;
    background: #1a1f2e;
    padding: 1rem 0.75rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.lp-preview-logo {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.lp-preview-nav-item {
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    width: 100%;
}
.lp-preview-nav-item.active { background: rgba(255,255,255,0.45); width: 80%; }
.lp-preview-main {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: #fafbfc;
}
.lp-preview-title {
    height: 14px;
    width: 45%;
    background: #dfe3e8;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}
.lp-preview-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.lp-preview-card {
    flex: 1;
    height: 64px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
}
.lp-preview-line {
    height: 10px;
    background: #e8eaed;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.lp-preview-line.short { width: 65%; }
.lp-preview-phone {
    position: absolute;
    right: 1.5rem;
    bottom: -1.25rem;
    width: 130px;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 16px;
    padding: 1.75rem 0.875rem 1rem;
    box-shadow: 0 12px 32px rgba(26, 31, 46, 0.14);
}
.lp-preview-phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 5px;
    background: #e8eaed;
    border-radius: 3px;
}
.lp-preview-phone-title {
    height: 8px;
    width: 60%;
    background: #1a1f2e;
    border-radius: 3px;
    margin-bottom: 0.875rem;
}
.lp-preview-phone-item {
    height: 28px;
    background: #f4f5f7;
    border-radius: 6px;
    margin-bottom: 0.4rem;
}
.lp-preview-phone-item.highlight {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.lp-strip {
    background: #1a1f2e;
    color: #cbd5e1;
    padding: 1.125rem 0;
}
.lp-strip-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
}
.lp-strip-list li::before {
    content: '✓';
    margin-right: 0.5rem;
    color: #60a5fa;
    font-weight: 700;
}

.lp-section {
    padding: 5rem 0;
    background: #fff;
}
.lp-section-alt {
    background: #fff;
    border-top: 1px solid #e8eaed;
    border-bottom: 1px solid #e8eaed;
}
.lp-section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.125rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #1a1f2e;
    margin-bottom: 0.75rem;
}
.lp-section-desc {
    color: #5c6370;
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 28rem;
}

.lp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}
.lp-steps li {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid #e8eaed;
}
.lp-steps li:first-child { padding-top: 0; }
.lp-steps li:last-child { border-bottom: none; padding-bottom: 0; }
.lp-step-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
}
.lp-steps h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #1a1f2e;
}
.lp-steps p {
    font-size: 0.9375rem;
    color: #5c6370;
    line-height: 1.55;
    margin: 0;
}

.lp-count-badge {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5c6370;
    padding: 0.35rem 0.75rem;
    border: 1px solid #dfe3e8;
    border-radius: 4px;
    background: #fafbfc;
}

.lp-directory {
    border: 1px solid #e8eaed;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.lp-directory-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #e8eaed;
    transition: background 0.12s;
}
.lp-directory-row:last-child { border-bottom: none; }
.lp-directory-row:hover {
    background: #f8f9fa;
}
.lp-directory-main {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}
.lp-directory-logo {
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8eaed;
}
.lp-directory-logo-fallback {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1f2e;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
}
.lp-directory-main strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
}
.lp-directory-meta {
    display: block;
    font-size: 0.8125rem;
    color: #8b919a;
    margin-top: 0.1rem;
}
.lp-directory-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3d5a80;
    white-space: nowrap;
}
.lp-directory-row:hover .lp-directory-link { text-decoration: underline; }

.lp-cta-band {
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3548 100%);
    padding: 3.5rem 0;
}
.lp-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.lp-cta-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.35rem;
}
.lp-cta-text {
    color: #94a3b8;
    font-size: 0.9375rem;
    margin: 0;
}

.lp-footer {
    background: #12151c;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    font-size: 0.875rem;
}
.lp-footer-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.75rem;
}
.lp-footer-note {
    font-size: 0.8125rem;
    max-width: 20rem;
    line-height: 1.55;
    margin: 0;
}
.lp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lp-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8125rem;
    line-height: 2;
}
.lp-footer-links a:hover { color: #fff; }
.lp-footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    color: #64748b;
}

@media (max-width: 991.98px) {
    .lp-preview-phone { display: none; }
    .lp-headline { max-width: none; }
    .lp-hero { padding: 2.5rem 0 3.5rem; }
}
@media (max-width: 575.98px) {
    .lp-hero-cta { flex-direction: column; }
    .lp-hero-cta .lp-btn { width: 100%; }
    .lp-header-actions .lp-link { display: none; }
    .lp-metrics { flex-direction: column; }
    .lp-metrics > div { min-width: 0; }
    .lp-strip-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }
    .lp-directory-row { flex-direction: column; align-items: flex-start; }
}

/* Legacy landing aliases — keep for compatibility */
.landing-body { background: #fafbfc; }

/* Public menu — restaurant catalog */
.menu-public-body {
    background: #faf8f5;
    margin: 0;
}
.menu-public {
    --menu-bg: #faf8f5;
    --menu-text: #2c2417;
    --menu-muted: #6b5e4f;
    --menu-card-bg: #ffffff;
    --menu-border: #e8e0d4;
    --menu-shadow: 0 2px 12px rgba(44, 36, 23, 0.06);
    --menu-shadow-hover: 0 8px 24px rgba(44, 36, 23, 0.1);
    --menu-placeholder-bg: color-mix(in srgb, var(--restaurant-primary, #2563eb) 6%, var(--menu-card-bg));
    --menu-placeholder-color: color-mix(in srgb, var(--restaurant-primary, #2563eb) 50%, var(--menu-muted));
    --menu-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --menu-font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    background: var(--menu-bg);
    color: var(--menu-text);
    font-family: var(--menu-font-sans);
}
.menu-public.menu-dark {
    --menu-bg: #1c1915;
    --menu-text: #f5f0e8;
    --menu-muted: #a89f8f;
    --menu-card-bg: #2a2620;
    --menu-border: #3d3830;
    --menu-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    --menu-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.35);
    --menu-placeholder-bg: color-mix(in srgb, var(--restaurant-primary, #2563eb) 10%, var(--menu-card-bg));
    --menu-placeholder-color: color-mix(in srgb, var(--restaurant-primary, #2563eb) 35%, var(--menu-muted));
}
.menu-public.menu-high-contrast { --menu-text: #000; --menu-bg: #fff; --menu-card-bg: #fff; --menu-muted: #333; }
.menu-public.menu-high-contrast.menu-dark { --menu-text: #fff; --menu-bg: #000; --menu-card-bg: #111; --menu-muted: #ccc; }
.menu-public.menu-font-lg { font-size: 1.0625rem; }
.menu-public.menu-font-xl { font-size: 1.125rem; }

/* Hero header */
.menu-hero {
    background: var(--menu-card-bg);
    border-bottom: 1px solid var(--menu-border);
    position: relative;
    overflow: hidden;
}
.menu-hero--cover {
    color: #fff;
    border-bottom: none;
}
.menu-hero-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.menu-hero-overlay {
    display: none;
}
.menu-hero--cover .menu-hero-overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.75) 100%);
    z-index: 1;
}
.menu-hero--cover .menu-title,
.menu-hero--cover .menu-subtitle { color: #fff; }
.menu-hero--cover .menu-subtitle { opacity: 0.85; }
.menu-hero--cover .menu-search-input {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.25);
    color: #fff;
    backdrop-filter: blur(8px);
}
.menu-hero--cover .menu-search-input::placeholder { color: rgba(255,255,255,.6); }
.menu-hero--cover .menu-search-input:focus {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.5);
    box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}
.menu-hero--cover .menu-search-icon { color: rgba(255,255,255,.7); }
.menu-hero--cover .btn-glass {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.25);
    color: #fff;
    backdrop-filter: blur(8px);
}
.menu-hero--cover .btn-glass:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.4);
    color: #fff;
}
.menu-hero .container { position: relative; z-index: 2; }

.menu-logo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 2px solid var(--menu-border);
    border-radius: 50%;
    box-shadow: var(--menu-shadow);
}
.menu-hero--cover .menu-logo {
    border-color: rgba(255,255,255,.3);
}
.menu-logo-placeholder {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--menu-placeholder-bg);
    color: var(--menu-placeholder-color);
    font-size: 1.375rem;
    border-radius: 50%;
    border: 2px solid var(--menu-border);
}
.menu-hero--cover .menu-logo-placeholder {
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.8);
    border-color: rgba(255,255,255,.3);
}
.menu-title {
    font-family: var(--menu-font-serif);
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--menu-text);
    line-height: 1.2;
}
.menu-subtitle {
    font-size: 0.875rem;
    color: var(--menu-muted);
    margin-top: 0.125rem;
}
.btn-glass {
    background: var(--menu-card-bg);
    border: 1px solid var(--menu-border);
    color: var(--menu-muted);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-glass:hover {
    background: var(--menu-placeholder-bg);
    border-color: var(--restaurant-primary, var(--corp-accent));
    color: var(--restaurant-primary, var(--corp-accent));
}

/* Search */
.menu-search-wrap { position: relative; }
.menu-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--menu-muted);
    font-size: 0.875rem;
    pointer-events: none;
}
.menu-search-input {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border-radius: 999px;
    border: 1px solid var(--menu-border);
    background: var(--menu-bg);
    font-size: 0.9375rem;
    box-shadow: none;
    color: var(--menu-text);
}
.menu-search-input::placeholder { color: var(--menu-muted); opacity: 0.7; }
.menu-search-input:focus {
    border-color: var(--restaurant-primary, var(--corp-accent));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--restaurant-primary, #2563eb) 15%, transparent);
    background: var(--menu-card-bg);
}

/* Navigation */
.menu-pill-nav {
    background: var(--menu-card-bg);
    border-bottom: 1px solid var(--menu-border);
    z-index: 1020;
    box-shadow: var(--menu-shadow);
}
.menu-section-tabs {
    border-bottom: 1px solid var(--menu-border);
}
.section-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--menu-muted);
    padding: 0.625rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.section-tab:hover {
    color: var(--menu-text);
}
.section-tab.active {
    color: var(--restaurant-primary, var(--corp-accent));
    border-bottom-color: var(--restaurant-primary, var(--corp-accent));
}
.menu-category-tabs {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.pill-btn {
    border: 1px solid var(--menu-border);
    background: var(--menu-bg);
    color: var(--menu-text);
    padding: 0.4375rem 1rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.8125rem;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: all 0.15s;
}
.pill-btn:hover {
    border-color: var(--restaurant-primary, var(--corp-accent));
    color: var(--restaurant-primary, var(--corp-accent));
    background: var(--menu-placeholder-bg);
}
.pill-btn.active {
    background: var(--restaurant-primary, var(--corp-accent));
    border-color: var(--restaurant-primary, var(--corp-accent));
    color: #fff;
}

/* Section labels */
.menu-section-label {
    font-family: var(--menu-font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--menu-text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* Featured carousel */
.featured-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}
.featured-card {
    width: 180px;
    scroll-snap-align: start;
    cursor: pointer;
    background: var(--menu-card-bg);
    border: 1px solid var(--menu-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: var(--menu-shadow);
}
.featured-card:hover {
    box-shadow: var(--menu-shadow-hover);
    transform: translateY(-2px);
}
.featured-card-img, .featured-card-placeholder {
    width: 180px;
    height: 120px;
    object-fit: cover;
}
.featured-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--menu-placeholder-bg);
    color: var(--menu-placeholder-color);
    font-size: 2rem;
}
.featured-card-body { padding: 0.75rem 0.875rem; }
.featured-card-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--menu-text);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}
.featured-card-price {
    color: var(--restaurant-primary, var(--corp-accent));
    font-weight: 700;
    font-size: 0.875rem;
}

/* Category sections */
.menu-category-section {
    background: var(--menu-card-bg);
    border: 1px solid var(--menu-border);
    border-radius: 1rem;
    padding: 1.25rem 1.25rem 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--menu-shadow);
    scroll-margin-top: calc(var(--menu-sticky-nav-height, 140px) + 0.75rem);
}

/* Category headings */
.category-heading {
    font-family: var(--menu-font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--menu-text);
    margin-bottom: 1rem !important;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--menu-border);
    position: relative;
}
.category-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 3rem;
    height: 2px;
    background: var(--restaurant-primary, var(--corp-accent));
}

/* Menu item list — classic restaurant layout */
.menu-item-list {
    display: flex;
    flex-direction: column;
}
.menu-item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--menu-border);
    border-radius: 0.5rem;
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.menu-item-list .menu-item-row:last-child {
    border-bottom: none;
}
.menu-item-row.is-unavailable {
    opacity: 0.55;
}
.menu-item-row-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 0.625rem;
    overflow: hidden;
    border: 1px solid var(--menu-border);
}
.menu-item-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.menu-item-row-content {
    flex: 1;
    min-width: 0;
}
.menu-item-row-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.menu-item-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--menu-text);
    line-height: 1.3;
    flex-shrink: 0;
    max-width: 65%;
}
.menu-item-leader {
    flex: 1;
    min-width: 1rem;
    border-bottom: 1px dotted var(--menu-border);
    margin-bottom: 0.25rem;
    opacity: 0.7;
}
.menu-item-price {
    color: var(--restaurant-primary, var(--corp-accent));
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.menu-item-desc {
    font-size: 0.875rem;
    color: var(--menu-muted);
    line-height: 1.55;
    margin: 0 0 0.5rem;
}
.menu-item-variants {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    font-size: 0.8125rem;
}
.menu-item-variants li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.25rem 0;
    color: var(--menu-text);
}
.menu-item-variant-price {
    font-weight: 600;
    color: var(--restaurant-primary, var(--corp-accent));
    white-space: nowrap;
}
.menu-item-nutrition {
    margin: 0.625rem 0 0.5rem;
    padding: 0.75rem 0.875rem;
    background: color-mix(in srgb, var(--restaurant-primary, #2563eb) 5%, var(--menu-card-bg));
    border: 1px solid color-mix(in srgb, var(--restaurant-primary, #2563eb) 12%, var(--menu-border));
    border-radius: 8px;
}
.menu-item-nutrition-title {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--menu-muted);
    margin-bottom: 0.5rem;
}
.menu-item-nutrition-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
    margin: 0;
}
.menu-item-nutrition-grid > div {
    display: contents;
}
.menu-item-nutrition-grid dt {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--menu-text);
    margin: 0;
}
.menu-item-nutrition-grid dd {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--menu-text);
    text-align: right;
    margin: 0;
}
.menu-item-nutrition-portion {
    font-size: 0.6875rem;
    color: var(--menu-muted);
    margin: 0.5rem 0 0;
    font-style: italic;
}
.menu-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
}
.menu-item-allergens {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.badge-nou {
    background: var(--corp-success);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
    padding: 0.2em 0.5em;
}
.badge-unavailable {
    background: color-mix(in srgb, var(--menu-muted) 20%, var(--menu-card-bg));
    color: var(--menu-muted);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
    padding: 0.2em 0.5em;
}
.allergen-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.15em 0.5em;
    border-radius: 999px;
    background: color-mix(in srgb, #d97706 12%, var(--menu-card-bg));
    color: #92400e;
    border: 1px solid color-mix(in srgb, #d97706 25%, transparent);
    white-space: nowrap;
}
.allergen-tag--lg {
    font-size: 0.75rem;
    padding: 0.25em 0.625em;
}
.menu-dark .allergen-tag {
    background: color-mix(in srgb, #d97706 18%, var(--menu-card-bg));
    color: #fcd34d;
    border-color: color-mix(in srgb, #d97706 35%, transparent);
}

/* Toolbar fixes */
.menu-toolbar .dropdown-toggle::after { display: none; }
.menu-toolbar .dropdown-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.menu-footer {
    background: #1c1915;
    color: #c4b8a8;
    margin-top: 2rem;
    padding: 2rem 0 0.5rem;
}
.menu-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .menu-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}
.menu-footer-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
}
.menu-footer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f5f0e8;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 1rem;
}
.menu-footer-title i {
    color: #d4b896;
    width: 1rem;
    text-align: center;
}
.menu-footer-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}
.menu-footer-field:last-child {
    margin-bottom: 0;
}
.menu-footer-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8b8070;
}
.menu-footer-value {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f0e8;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    letter-spacing: 0.02em;
    word-break: break-all;
}
.menu-footer-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #c4b8a8;
    margin: 0 0 0.75rem;
}
.menu-footer-text:last-of-type {
    margin-bottom: 0.75rem;
}
.menu-footer-link {
    color: #d4b896;
    text-decoration: none;
}
.menu-footer-link:hover {
    color: #f5f0e8;
}
.menu-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.menu-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #f5f0e8;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.menu-footer-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.menu-footer-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #f5f0e8;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
}
.menu-footer-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.menu-footer-credit {
    background: #141210;
    padding: 1rem 0 1.25rem;
    text-align: center;
}
.menu-footer-credit small {
    font-size: 0.75rem;
    color: #8b8070;
}
.menu-footer-credit a {
    color: #d4b896;
    text-decoration: none;
}
.menu-footer-credit a:hover {
    color: #f5f0e8;
    text-decoration: underline;
}

.menu-item-modal {
    background: var(--menu-bg);
    z-index: 1055;
}
.menu-item-modal .modal-dialog {
    margin: 0;
    max-width: 100%;
}
.menu-item-modal .modal-content {
    background: var(--menu-bg);
    color: var(--menu-text);
    border: none;
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.menu-item-modal-hero {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: min(42vh, 360px);
    background: var(--menu-placeholder-bg);
    overflow: hidden;
}
.menu-item-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.menu-item-modal-header {
    flex-shrink: 0;
    padding: 1rem 1.25rem;
    background: var(--menu-card-bg);
    border-bottom: 1px solid var(--menu-border);
}
.menu-item-modal-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid var(--menu-border);
    border-radius: 50%;
    background: var(--menu-card-bg);
    color: var(--menu-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.menu-item-modal-close--overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.menu-item-modal-close:hover,
.menu-item-modal-close--overlay:hover {
    background: var(--menu-placeholder-bg);
    border-color: var(--restaurant-primary, var(--corp-accent));
    color: var(--restaurant-primary, var(--corp-accent));
}
.menu-item-modal-close--overlay:hover {
    background: #fff;
}
.menu-item-modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.menu-item-modal-details {
    padding: 1.25rem 1.25rem 1.5rem;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}
.menu-item-modal-title {
    font-family: var(--menu-font-serif);
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    color: var(--menu-text);
}
.menu-item-modal-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--menu-muted);
    margin: 0 0 1.25rem;
}
.menu-item-modal-section {
    margin-bottom: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--menu-border);
}
.menu-item-modal-section-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--menu-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}
.menu-item-modal-variants {
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-item-modal-variants li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--menu-border);
    font-size: 0.9375rem;
}
.menu-item-modal-variants li:last-child {
    border-bottom: none;
}
.menu-item-modal-variants strong {
    color: var(--restaurant-primary, var(--corp-accent));
    white-space: nowrap;
}
.menu-item-modal-footer {
    flex-shrink: 0;
    padding: 1rem 1.25rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    background: var(--menu-card-bg);
    border-top: 1px solid var(--menu-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}
.menu-item-modal-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--restaurant-primary, var(--corp-accent));
    text-align: center;
}
.menu-item-row-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--menu-placeholder-bg);
    color: var(--menu-placeholder-color);
    font-size: 1.25rem;
}

.menu-empty-state {
    color: var(--menu-muted);
}
.menu-empty-state i { opacity: 0.4; }

.featured-scroll::-webkit-scrollbar,
.menu-category-tabs::-webkit-scrollbar { height: 3px; }
.featured-scroll::-webkit-scrollbar-thumb,
.menu-category-tabs::-webkit-scrollbar-thumb {
    background: var(--menu-border);
    border-radius: 3px;
}

.restaurant-pick-card {
    cursor: pointer;
    border: 1px solid var(--corp-border);
    border-radius: var(--corp-radius-lg);
    padding: 1.25rem;
    background: var(--corp-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.restaurant-pick-card:hover {
    border-color: var(--corp-accent);
    box-shadow: var(--corp-shadow-md);
}

.settings-preview-card { top: 80px; }

/* Admin fullscreen modals */
.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: rgba(15, 23, 42, 0.55);
    overflow: hidden;
}
.admin-modal-fullscreen {
    height: 100%;
    max-height: 100dvh;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}
.admin-modal-fullscreen .modal-header {
    flex-shrink: 0;
    background: var(--corp-surface);
    border-bottom: 1px solid var(--corp-border);
    padding: 1rem 1.25rem;
    padding-top: max(1rem, env(safe-area-inset-top));
}
.admin-modal-fullscreen .modal-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.admin-modal-fullscreen .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.25rem;
}
.admin-modal-fullscreen .modal-footer {
    flex-shrink: 0;
    background: var(--corp-surface);
    border-top: 1px solid var(--corp-border);
    padding: 1rem 1.25rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    gap: 0.75rem;
}
.admin-modal-fullscreen .modal-footer .btn {
    min-height: 48px;
    font-weight: 600;
}
.admin-modal-fullscreen .modal-footer .btn-primary {
    flex: 1 1 auto;
}
@media (min-width: 768px) {
    .admin-modal-fullscreen .modal-footer {
        justify-content: flex-end;
    }
    .admin-modal-fullscreen .modal-footer .btn-primary {
        flex: 0 1 auto;
        min-width: 160px;
    }
}

/* Compact modal (category, template) — fullscreen on mobile */
@media (max-width: 767.98px) {
    .admin-modal-compact .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
        max-height: 100dvh;
    }
    .admin-modal-compact .modal-content {
        height: 100%;
        max-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    .admin-modal-compact .modal-form {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
    .admin-modal-compact .modal-body {
        flex: 1;
        overflow-y: auto;
    }
    .admin-modal-compact .modal-footer {
        flex-shrink: 0;
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* Responsive admin */
@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }
    .admin-sidebar.is-open { transform: translateX(0); }
    .admin-main-wrap { margin-left: 0; }
    .admin-mobile-toggle { display: inline-flex; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand-panel { display: none; }
}

@media (max-width: 575.98px) {
    .menu-title { font-size: 1.125rem; }
    .menu-item-img, .menu-item-placeholder { height: 120px; }
    .admin-main { padding: 1rem; }
}
