@font-face {
    font-family: "YekanBakh";
    src: url("font/YekanBakh-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #FAFCFA;
    --surface: #FAFCFA;
    --surface-soft: #EEF3EE;
    --text: #2F4F3A;
    --muted: #5A7260;
    --primary: #5E7C60;
    --primary-dark: #2F4F3A;
    --accent: #5E7C60;
    --primary-rgb: 94 124 96;
    --text-rgb: 47 79 58;
    --success: #1f7a45;
    --warning: #c48212;
    --danger: #9e2f28;
    --border: rgba(94 124 96 / 0.18);
    --shadow: 0 18px 40px rgba(47 79 58 / 0.12);
    --shadow-soft: 0 10px 24px rgba(47 79 58 / 0.08);
    --shadow-hover: 0 24px 48px rgba(47 79 58 / 0.16);
    --radius: 22px;
    --radius-sm: 16px;
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 20px;
    --space-5: 24px;
    --space-6: 32px;
}

body[data-theme="dark"] {
    --bg: #2F4F3A;
    --surface: rgba(47 79 58 / 0.92);
    --surface-soft: rgba(94 124 96 / 0.16);
    --text: #FFFDF8;
    --muted: rgba(245 233 218 / 0.78);
    --primary: #5E7C60;
    --primary-dark: #F5E9DA;
    --accent: #F5E9DA;
    --border: rgba(255 253 248 / 0.12);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.28);
    --shadow-hover: 0 24px 48px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "YekanBakh", Tahoma, Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.18), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

body[data-theme="dark"] {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.16), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
}

::selection {
    background: rgba(var(--primary-rgb) / 0.2);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    line-height: 1.35;
}

.site-body,
.admin-body,
.auth-body {
    min-height: 100vh;
}

.page-shell,
.admin-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.toolbar-card,
.info-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius);
    padding: 20px 22px;
}

.site-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 10px;
    z-index: 25;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: grid;
    align-items: start;
    gap: 2px;
    min-width: 0;
}

.navbar-brand strong {
    font-size: 15px;
    white-space: nowrap;
}

.navbar-working-hours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 2px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(var(--primary-rgb) / 0.14);
    font-size: 10.5px;
    color: #5b3a22;
    line-height: 1.6;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tool {
    position: relative;
}

.nav-tool > summary {
    list-style: none;
}

.nav-tool > summary::-webkit-details-marker {
    display: none;
}

.nav-tool > summary::marker {
    content: "";
    display: none;
}

.nav-icon-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.08);
    border-color: rgba(var(--primary-rgb) / 0.22);
}

.nav-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.nav-popover {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: min(320px, calc(100vw - 32px));
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-hover);
    z-index: 120;
    display: none;
}

.nav-popover.is-hidden {
    display: none;
}

.nav-tool.is-open {
    z-index: 121;
}

.nav-tool[open] {
    z-index: 121;
}

.nav-tool.is-open .nav-popover,
.nav-tool[open] .nav-popover {
    display: block;
}

.nav-popover strong {
    display: block;
    margin-bottom: 10px;
}

.compact-tools {
    margin-top: 0;
}

.mobile-quick-tools {
    display: none;
}

.mobile-tool-card {
    display: grid;
    gap: 10px;
    padding: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.mobile-tool-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    cursor: pointer;
    list-style: none;
}

.mobile-tool-summary::-webkit-details-marker {
    display: none;
}

.mobile-tool-summary::marker {
    content: "";
    display: none;
}

.mobile-tool-summary::after {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.mobile-tool-card[open] .mobile-tool-summary::after {
    transform: rotate(135deg);
}

.mobile-tool-card strong {
    font-size: 13px;
}

.mobile-tool-body {
    padding: 0 14px 14px;
}

.language-switcher,
.theme-mode-group,
.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.lang-chip {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-weight: 700;
}

.lang-chip.active,
.theme-mode-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.theme-controls {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.theme-color-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.theme-color-picker input[type="color"] {
    width: 54px;
    height: 40px;
    border: 0;
    background: transparent;
    padding: 0;
}

.hero-card,
.admin-header,
.auth-card,
.admin-panel,
.sticky-card,
.subcategory-card,
.subcategory-block,
.category-block,
.stat-card,
.table-banner {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

body[data-theme="dark"] .hero-card,
body[data-theme="dark"] .admin-header,
body[data-theme="dark"] .auth-card,
body[data-theme="dark"] .admin-panel,
body[data-theme="dark"] .sticky-card,
body[data-theme="dark"] .subcategory-card,
body[data-theme="dark"] .subcategory-block,
body[data-theme="dark"] .category-block,
body[data-theme="dark"] .stat-card,
body[data-theme="dark"] .table-banner,
body[data-theme="dark"] .toolbar-card,
body[data-theme="dark"] .info-card,
body[data-theme="dark"] .menu-item,
body[data-theme="dark"] .table-wrap,
body[data-theme="dark"] table,
body[data-theme="dark"] .table-card,
body[data-theme="dark"] .social-link,
body[data-theme="dark"] .meta-chip,
body[data-theme="dark"] .badge,
body[data-theme="dark"] .checkout-choice,
body[data-theme="dark"] .info-item,
body[data-theme="dark"] input[type="text"],
body[data-theme="dark"] input[type="tel"],
body[data-theme="dark"] input[type="number"],
body[data-theme="dark"] input[type="password"],
body[data-theme="dark"] input[type="url"],
body[data-theme="dark"] textarea,
body[data-theme="dark"] select {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

body[data-theme="dark"] thead {
    background: #2f241d;
}

body[data-theme="dark"] tbody tr:nth-child(even) {
    background: #251d18;
}

body[data-theme="dark"] tbody tr:hover {
    background: #30241d;
}

body[data-theme="dark"] .btn-light {
    background: #3a2d24;
    color: var(--text);
}

body[data-theme="dark"] .btn-danger {
    background: #5a2c2a;
    color: #ffe5e2;
}

body[data-theme="dark"] .site-navbar,
body[data-theme="dark"] .nav-popover,
body[data-theme="dark"] .nav-icon-btn {
    background: linear-gradient(180deg, rgba(30, 50, 38, 0.96) 0%, rgba(22, 37, 29, 0.98) 100%);
    color: var(--text);
    border-color: rgba(200, 216, 202, 0.1);
}

body[data-theme="dark"] .delivery-map-block,
body[data-theme="dark"] #delivery-map {
    border-color: var(--border);
}

.hero-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.hero-card > div:first-child {
    flex: 1;
    min-width: 0;
}

.hero-card::after,
.admin-header::after {
    content: "";
    position: absolute;
    inset: auto auto -60px -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb) / 0.16), transparent 70%);
    pointer-events: none;
}

.hero-card h1,
.admin-header h1,
.auth-card h1 {
    margin: 2px 0 4px;
    font-size: clamp(18px, 2.4vw, 24px);
}

.hero-card p,
.admin-header p,
.empty-state,
.helper-note,
.menu-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 13px;
}

.hero-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    direction: ltr;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 12px;
    width: 100% !important;
    justify-self: stretch !important;
    align-self: start;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
}

.hero-social-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    color: #40281a;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-social-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.42);
}

.hero-social-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.hero-social-link svg path,
.hero-social-link svg rect,
.hero-social-link svg circle {
    fill: none;
    stroke: currentColor;
}

.eyebrow {
    display: inline-flex;
    background: rgba(var(--primary-rgb) / 0.1);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    border: 1px solid rgba(var(--primary-rgb) / 0.08);
}

.hero-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-width: min(48%, 280px);
    width: min(48%, 280px);
}

.meta-chip,
.badge {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
    padding: 8px 10px;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.meta-chip {
    align-items: flex-start;
    text-align: right;
    border-radius: 16px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.meta-chip-label {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
}

.meta-chip-value {
    display: block;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    font-weight: 800;
    word-break: break-word;
}

.meta-chip-address .meta-chip-value {
    font-size: 12px;
    line-height: 1.75;
}

.table-banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding: 20px 24px;
    margin-bottom: var(--space-5);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb) / 0.16), transparent 34%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.table-banner::after {
    content: "";
    position: absolute;
    inset: auto -38px -42px auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--text-rgb) / 0.1), transparent 68%);
    pointer-events: none;
}

.table-banner-copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.table-banner-title {
    display: block;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
}

.table-banner-text {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    word-break: break-word;
    text-wrap: pretty;
}

.table-banner-copy-empty {
    padding: 2px 0;
}

.table-banner-empty-card {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(250, 252, 250, 0.74);
    border: 1px solid var(--border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 12px 28px rgba(47 79 58 / 0.08);
}

.table-banner-empty-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.table-banner-empty-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.18);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
}

.table-banner-countdown {
    min-width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(var(--text-rgb) / 0.1) 0%, rgba(var(--primary-rgb) / 0.22) 100%);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.table-banner-inline-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(200, 216, 202, 0.98) 100%);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.8;
    font-weight: 700;
}

.table-banner-inline-note::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb) / 0.14);
}

.table-banner .badge {
    flex: 0 0 auto;
    width: clamp(156px, 34%, 240px);
    max-width: 100%;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
    justify-content: center;
}

.table-banner-hint-badge {
    position: relative;
    z-index: 1;
    width: clamp(180px, 36%, 260px);
    align-self: center;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(200, 216, 202, 0.98) 100%);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.site-tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.info-item {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.info-item span {
    color: var(--muted);
    font-size: 13px;
}

.badge.success {
    color: var(--success);
    background: #edf8f1;
}

.badge.warning {
    color: var(--warning);
    background: #fff7e7;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 380px;
    gap: 24px;
    grid-template-areas: "menu cart";
}

.order-step-bar {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.step-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
}

.step-switcher .step-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--muted);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.step-switcher .step-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.08);
}

.step-switcher .step-chip.active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.step-switcher .step-continue-btn {
    min-height: 40px;
    width: 100%;
    padding-inline: 10px;
    white-space: nowrap;
    justify-self: stretch;
    margin-inline: 0;
    border-radius: 12px;
}

.step-switcher .step-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-soft);
}

.step-chip-number {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.12);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.step-chip.active .step-chip-number {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.menu-panel {
    display: grid;
    gap: 10px;
    grid-area: menu;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.menu-search-bar {
    grid-column: 1 / -1 !important;
    display: grid !important;
    gap: 8px;
    width: 100%;
}

.menu-search-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 12px 0 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.menu-search-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--muted);
}

.menu-search-field input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}

.menu-search-field input[type="search"]::placeholder {
    color: var(--muted);
    font-weight: 500;
}

.menu-search-field input[type="search"]::-webkit-search-decoration,
.menu-search-field input[type="search"]::-webkit-search-cancel-button,
.menu-search-field input[type="search"]::-webkit-search-results-button,
.menu-search-field input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.menu-search-clear {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.12);
    color: var(--primary-dark);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.menu-search-empty {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb) / 0.08);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

body[data-theme="dark"] .menu-search-field {
    background: rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .menu-search-clear {
    background: rgba(255, 255, 255, 0.12);
    color: var(--primary-dark);
}

.category-block.is-search-hidden,
.subcategory-block.is-search-hidden,
.menu-item.is-search-hidden,
.subcategory-card.is-search-hidden,
.parent-direct-items.is-search-hidden {
    display: none !important;
}

.cart-panel {
    grid-area: cart;
}

.category-block {
    overflow: hidden;
    border-radius: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.category-block[open] {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    order: 99;
}

.category-block:hover {
    border-color: rgba(var(--primary-rgb) / 0.18);
    box-shadow: 0 8px 18px rgba(var(--text-rgb) / 0.07);
    transform: translateY(-1px);
}

.category-block.category-block-disabled,
.category-block.category-block-disabled:hover {
    border-color: rgba(138, 129, 118, 0.18);
    box-shadow: none;
    transform: none;
    opacity: 0.72;
}

.category-toggle {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    align-content: center;
    min-height: 0;
    height: auto;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.category-toggle.is-disabled {
    cursor: not-allowed;
}

.category-toggle::-webkit-details-marker {
    display: none;
}

.category-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    text-align: right;
}

.category-toggle .section-title {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.category-block[open] .category-toggle {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    height: auto;
    padding: 10px 12px 8px;
    align-items: center;
}

.category-block[open] .category-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
}

.category-thumb,
.subcategory-thumb {
    overflow: hidden;
    border-radius: 16px;
    flex-shrink: 0;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
}

.category-thumb {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.subcategory-thumb {
    width: 52px;
    height: 52px;
}

.category-thumb img,
.subcategory-thumb img,
.menu-media img,
.admin-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-summary h2 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-block[open] .category-thumb {
    width: 44px;
    height: 44px;
}

.category-availability-note {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
}

.category-availability-note.is-active {
    background: rgba(99, 152, 108, 0.14);
    color: #2f6b3f;
}

.category-availability-note.is-disabled {
    background: rgba(164, 120, 120, 0.12);
    color: #975353;
}

.category-count {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.category-chevron {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.14);
    border: 1px solid rgba(var(--text-rgb) / 0.14);
    box-shadow: 0 8px 18px rgba(47 79 58 / 0.12);
    position: relative;
    transition: transform 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
    flex-shrink: 0;
}

.category-chevron::before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2.5px solid var(--primary);
    border-bottom: 2.5px solid var(--primary);
    transform: rotate(-45deg);
    margin-top: -2px;
    transition: transform 0.24s ease, border-color 0.24s ease;
}

.category-toggle:hover .category-chevron {
    background: rgba(var(--primary-rgb) / 0.22);
    box-shadow: 0 12px 22px rgba(47 79 58 / 0.16);
}

.category-toggle.is-disabled:hover .category-chevron {
    background: rgba(var(--primary-rgb) / 0.14);
    box-shadow: 0 8px 18px rgba(47 79 58 / 0.12);
}

.category-block[open] .category-chevron {
    background: var(--primary);
    transform: translateY(-1px);
}

.category-block[open] .category-chevron::before {
    border-color: #fff;
    transform: rotate(135deg);
}

.subcategory-browser {
    display: grid;
    gap: 10px;
    padding: 0 10px 10px;
}

.subcategory-stack {
    display: grid;
    gap: 12px;
}

.subcategory-block {
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.subcategory-block:hover {
    border-color: rgba(var(--primary-rgb) / 0.16);
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.subcategory-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.subcategory-toggle::-webkit-details-marker {
    display: none;
}

.subcategory-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.subcategory-toggle .section-title {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.subcategory-toggle h3 {
    font-size: 16px;
    margin-bottom: 0;
}

.subcategory-chevron {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.14);
    border: 1px solid rgba(var(--text-rgb) / 0.14);
    box-shadow: 0 8px 18px rgba(47 79 58 / 0.12);
    position: relative;
    transition: transform 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
    flex-shrink: 0;
}

.subcategory-chevron::before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2.5px solid var(--primary);
    border-bottom: 2.5px solid var(--primary);
    transform: rotate(-45deg);
    margin-top: -2px;
    transition: transform 0.24s ease, border-color 0.24s ease;
}

.subcategory-body {
    padding: 0 14px 14px;
}

.subcategory-body .subcategory-card {
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.subcategory-block[open] .subcategory-chevron {
    background: var(--primary);
    transform: translateY(-1px);
}

.subcategory-block[open] .subcategory-chevron::before {
    border-color: #fff;
    transform: rotate(135deg);
}

.subcategory-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subcategory-tab {
    border: 1px solid rgba(var(--primary-rgb) / 0.14);
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.08);
    color: var(--primary-dark);
    padding: 9px 14px;
    min-height: 40px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.subcategory-tab:hover {
    transform: translateY(-1px);
    background: rgba(var(--primary-rgb) / 0.14);
}

.subcategory-tab.is-active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.category-content {
    padding: 0;
}

.parent-direct-items {
    margin-top: 10px;
}

.subcategory-card {
    padding: 14px;
    background: linear-gradient(180deg, rgba(251, 248, 243, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(180, 198, 183, 0.8);
}

.subcategory-card:not(.is-active) {
    display: none;
}

.subcategory-head,
.section-title,
.section-title.compact,
.admin-actions,
.admin-nav,
.inline-actions,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-title h2,
.subcategory-head h3,
.menu-item h4,
.site-footer h3 {
    margin: 0;
}

.section-title {
    margin-bottom: 16px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.menu-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-areas:
        "media copy"
        "media actions";
    align-items: flex-start;
    gap: 10px 12px;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(var(--primary-rgb) / 0.18);
}

.menu-media {
    grid-area: media;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.menu-copy {
    grid-area: copy;
    min-width: 0;
}

.item-label {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.12);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
}

.item-label--discount {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.menu-copy h4 {
    margin: 0 0 6px;
    font-size: 16px;
}

.rating-summary,
.rating-form {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.rating-summary {
    color: var(--muted);
    font-size: 13px;
}

.rating-label {
    color: var(--muted);
    font-size: 13px;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-btn {
    border: 0;
    background: transparent;
    color: #d1b48f;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.star-btn:hover {
    color: #f0b64b;
    transform: scale(1.08);
}

.menu-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.price,
.cart-badge {
    color: var(--primary-dark);
    font-weight: 700;
}

.price {
    white-space: nowrap;
    font-size: 15px;
}

.price-stack,
.cart-price-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.price-original,
.cart-price-original {
    color: var(--muted);
    font-size: 12px;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.price-discounted {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.subcategory-title {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    width: 100%;
}

.subcategory-title span {
    color: var(--muted);
    font-size: 13px;
}

.subcategory-title h3 {
    min-width: 0;
    text-align: right;
}

.admin-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.sticky-card {
    position: sticky;
    top: 28px;
    padding: 24px;
}

.mobile-cart-bar {
    display: none;
}

.bottom-app-nav {
    display: none;
}

.credit-toast {
    display: none;
}

.waiter-call-sheet {
    position: fixed;
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(calc(100% - 32px), 560px);
    padding: 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.18), transparent 42%),
        linear-gradient(180deg, rgba(250, 252, 250, 0.99) 0%, rgba(200, 216, 202, 0.98) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(16px);
    z-index: 45;
}

.waiter-call-sheet-form {
    display: grid;
    gap: 14px;
}

.waiter-call-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.waiter-call-sheet-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.waiter-call-sheet-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.24) 0%, rgba(var(--text-rgb) / 0.1) 100%);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.waiter-call-sheet-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.waiter-call-sheet-head strong {
    display: block;
    font-size: 16px;
    color: var(--text);
}

.waiter-call-sheet-kicker {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.waiter-call-sheet-text {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.9;
}

.waiter-call-table-picker {
    width: min(calc(100% - 28px), 720px);
}

.waiter-call-table-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.waiter-call-table-btn {
    display: grid;
    gap: 6px;
    min-height: 86px;
    padding: 14px 10px;
    border: 1px solid rgba(180, 198, 183, 0.96);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 24px rgba(var(--text-rgb) / 0.07);
}

.waiter-call-table-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--primary-rgb) / 0.42);
    box-shadow: var(--shadow-hover);
}

.waiter-call-table-btn:disabled {
    opacity: 0.58;
    cursor: progress;
    transform: none;
}

.waiter-call-table-btn-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
}

.waiter-call-table-btn-number {
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    color: #7a5334;
}

.waiter-call-table-btn.is-active {
    border-color: rgba(var(--primary-rgb) / 0.72);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb) / 0.2), 0 14px 26px rgba(var(--text-rgb) / 0.1);
}

.fried-platter-options {
    display: grid;
    gap: 10px;
}

.fried-platter-option {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 6px;
    height: auto;
    min-height: 46px;
    padding: 12px 14px;
    text-align: right;
    white-space: normal;
}

.fried-platter-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.fried-platter-option-name {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.fried-platter-option-price {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.fried-platter-option-desc {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 400;
    text-align: right;
    white-space: normal;
}
.fried-platter-option-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.fried-platter-option-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    background: #f3f4f6;
}

.fried-platter-option-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 6px;
}

.waiter-call-sheet-field {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(180, 198, 183, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.waiter-call-sheet-field span {
    color: #5E7C60;
    font-size: 11px;
    font-weight: 800;
}

.waiter-call-sheet-field select {
    background: #fff;
    border-color: rgba(222, 208, 191, 0.95);
    box-shadow: 0 10px 22px rgba(var(--text-rgb) / 0.06);
}

.waiter-call-close-btn {
    border-radius: 999px;
    padding-inline: 14px;
    min-height: 38px;
}

.waiter-call-close-btn:hover {
    transform: translateY(-1px);
}

body[data-theme="dark"] .waiter-call-sheet {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.14), transparent 42%),
        linear-gradient(180deg, var(--surface) 0%, rgba(var(--primary-rgb) / 0.12) 100%);
    border-color: var(--border);
}

body[data-theme="dark"] .waiter-call-sheet-icon {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(var(--text-rgb) / 0.1) 100%);
    color: var(--primary-dark);
}

body[data-theme="dark"] .waiter-call-sheet-head strong {
    color: var(--text);
}

body[data-theme="dark"] .waiter-call-sheet-kicker {
    color: var(--muted);
}

body[data-theme="dark"] .waiter-call-sheet-field {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .waiter-call-sheet-field span {
    color: #f0c084;
}

body[data-theme="dark"] .waiter-call-sheet-field select {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .waiter-call-table-btn {
    background: rgba(47 79 58 / 0.78);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 22px rgba(0, 0, 0, 0.22);
    color: var(--text);
}

body[data-theme="dark"] .waiter-call-table-btn-label {
    color: var(--muted);
}

body[data-theme="dark"] .waiter-call-table-btn-number {
    color: #f0c084;
}

body[data-theme="dark"] .waiter-call-table-btn.is-active {
    border-color: rgba(var(--primary-rgb) / 0.72);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.28) 0%, rgba(47 79 58 / 0.92) 100%);
}

@media (max-width: 900px) {
    .waiter-call-sheet.waiter-call-table-picker {
        top: 72px;
        right: 10px;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        left: 10px;
        width: auto;
        max-width: none;
        transform: none;
        margin: 0;
        max-height: calc(100dvh - 150px);
        overflow: hidden;
        padding: 14px;
        border-radius: 22px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-form {
        gap: 12px;
        min-height: 100%;
        grid-template-rows: auto auto minmax(0, 1fr);
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-head {
        align-items: flex-start;
        gap: 10px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-title {
        gap: 10px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-icon svg {
        width: 20px;
        height: 20px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-head strong {
        font-size: 15px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-kicker {
        font-size: 10px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-text {
        font-size: 12px;
        line-height: 1.75;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-close-btn {
        min-height: 36px;
        padding-inline: 12px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        min-height: 0;
        overflow-y: auto;
        align-content: start;
        padding-inline-end: 2px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn {
        min-height: 74px;
        padding: 12px 8px;
        border-radius: 16px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn-number {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    .waiter-call-sheet.waiter-call-table-picker {
        top: 68px;
        right: 8px;
        left: 8px;
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
        padding: 12px;
        border-radius: 20px;
        max-height: calc(100dvh - 142px);
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-sheet-head {
        flex-direction: column;
        align-items: stretch;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-close-btn {
        width: 100%;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-grid {
        gap: 7px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn {
        min-height: 68px;
        padding: 10px 6px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn-label {
        font-size: 10px;
    }

    .waiter-call-sheet.waiter-call-table-picker .waiter-call-table-btn-number {
        font-size: 19px;
    }
}

.cart-form,
.order-form,
.auth-form,
.admin-form {
    display: grid;
    gap: 16px;
}

.cart-row,
.total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-row {
    padding: 16px 0;
    border-bottom: 1px dashed var(--border);
}

.cart-row > div:first-child {
    display: grid;
    gap: 4px;
}

.cart-controls {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.cart-qty-stepper {
    display: inline-grid;
    grid-template-columns: 36px 72px 36px;
    align-items: center;
    gap: 6px;
}

.cart-qty-stepper input[type="number"] {
    text-align: center;
    padding: 9px 10px;
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.cart-qty-btn:hover {
    background: rgba(250, 252, 250, 0.98);
}

.checkout-choice {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.order-table-field {
    display: grid;
    gap: 12px;
    position: relative;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(250, 252, 250, 1) 0%, rgba(238, 243, 238, 0.98) 100%);
    border: 1px solid rgba(160, 182, 163, 0.92);
    box-shadow: 0 18px 34px rgba(var(--text-rgb) / 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.order-table-field::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 36%);
}

.order-table-field:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--primary-rgb) / 0.28);
    box-shadow: 0 20px 38px rgba(var(--text-rgb) / 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.order-table-field:focus-within {
    border-color: rgba(var(--primary-rgb) / 0.5);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.08), 0 20px 38px rgba(var(--text-rgb) / 0.1);
}

.order-table-field span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.order-table-field-head {
    display: grid;
    gap: 6px;
}

.order-table-field-note {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
}

.order-table-field span::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb) / 0.14);
}

.order-table-field select {
    min-height: 50px;
    padding-inline: 14px 44px;
    border-radius: 16px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--surface);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25 7 9l4-3.75' fill='none' stroke='%235E7C60' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 239, 229, 0.98) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: left 14px center, center;
    background-size: 14px 14px, auto;
    border-color: rgba(160, 182, 163, 0.95);
    box-shadow: 0 12px 24px rgba(var(--text-rgb) / 0.06);
    font-weight: 800;
}

.order-table-native-select {
    position: absolute;
    inset: auto;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.order-table-selection-status {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(223, 209, 191, 0.9);
    color: #7a5334;
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.order-table-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.order-table-option {
    display: grid;
    gap: 4px;
    min-height: 72px;
    padding: 10px 8px;
    border-radius: 18px;
    border: 1px solid rgba(160, 182, 163, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 239, 229, 0.98) 100%);
    color: var(--text);
    box-shadow: 0 10px 22px rgba(var(--text-rgb) / 0.06);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.order-table-option:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--primary-rgb) / 0.36);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.09);
}

.order-table-option:focus-visible {
    outline: none;
    border-color: rgba(var(--primary-rgb) / 0.54);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.12), 0 14px 28px rgba(var(--text-rgb) / 0.09);
}

.order-table-option-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
}

.order-table-option-number {
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    color: #7a5334;
}

.order-table-option.is-active {
    border-color: rgba(var(--primary-rgb) / 0.7);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb) / 0.16), 0 16px 30px rgba(var(--text-rgb) / 0.1);
}

.order-table-field.is-invalid {
    border-color: rgba(201, 86, 74, 0.72);
    box-shadow: 0 0 0 4px rgba(201, 86, 74, 0.1), 0 20px 38px rgba(var(--text-rgb) / 0.1);
}

.order-table-field select:focus {
    border-color: rgba(var(--primary-rgb) / 0.42);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.12), 0 12px 24px rgba(var(--text-rgb) / 0.08);
}

.checkout-takeout {
    justify-content: flex-start;
}

.takeout-status {
    margin-top: 8px;
    color: var(--success);
    font-size: 13px;
    font-weight: 700;
}

.takeout-lock-note {
    margin-top: 8px;
    color: #a4493d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.delivery-map-block {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.delivery-map-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.delivery-map-head span {
    color: var(--muted);
    font-size: 12px;
}

#delivery-map {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.is-hidden {
    display: none !important;
}

.cart-remove-btn {
    min-height: 38px;
    padding: 9px 14px;
    font-size: 13px;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px 15px;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb) / 0.45);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.12);
    background: #fffefc;
}

textarea {
    resize: vertical;
    min-height: 110px;
}

label {
    display: grid;
    gap: 8px;
}

label span {
    font-size: 14px;
    color: var(--muted);
}

.order-form .order-inline-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.order-form .order-inline-field span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.order-form .order-inline-field input {
    flex: 1 1 auto;
    min-width: 0;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    min-height: 46px;
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(var(--text-rgb) / 0.1);
}

.btn:focus-visible,
.category-toggle:focus-visible,
.social-link:focus-visible,
.admin-nav a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.14);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-light {
    background: #f1eadf;
    color: var(--text);
}

.btn-light:hover {
    background: #eadfce;
}

.btn-danger {
    background: #f8e4e2;
    color: var(--danger);
}

.btn-danger:hover {
    background: #f3d4d1;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.full-width {
    width: 100%;
}

.total-box {
    margin: 18px 0;
    padding: 18px 20px;
    background: var(--surface-soft);
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.invoice-payment-card {
    display: grid;
    gap: 6px;
    margin-top: -6px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.invoice-payment-card-label,
.invoice-payment-card-owner {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.invoice-payment-card-number {
    direction: ltr;
    unicode-bidi: plaintext;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: var(--text);
}

body[data-theme="dark"] .invoice-payment-card {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
}

.helper-note {
    font-size: 13px;
    margin-top: 14px;
}

.site-footer {
    padding: 28px 0 0;
    margin-top: 28px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(180, 198, 183, 0.9);
}

.site-footer:empty {
    display: none;
    padding: 0;
    margin: 0;
    border: 0;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 11px 15px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

button.social-link {
    cursor: pointer;
}

.social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--text-rgb) / 0.08);
    border-color: rgba(var(--primary-rgb) / 0.18);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.social-link svg path,
.social-link svg rect,
.social-link svg circle {
    fill: none;
    stroke: currentColor;
}

.alert {
    border-radius: 18px;
    padding: 16px 18px;
    margin-top: 12px;
    margin-bottom: 18px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-soft);
}

.alert-success {
    background: #e7f6ec;
    color: #1d693c;
    border-color: #c8e9d3;
}

.alert-error {
    background: #fdeceb;
    color: #972a24;
    border-color: #f5d0cd;
}

.flash-link-row,
.tracking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.flash-tracking-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
}

.flash-tracking-code span {
    font-size: 12px;
    opacity: 0.88;
}

.flash-tracking-code strong {
    font-size: 15px;
    letter-spacing: 0.08em;
}

.flash-helper {
    margin-top: 10px;
    color: inherit;
    opacity: 0.84;
    font-size: 13px;
}

.tracking-shell {
    width: min(100%, 760px);
}

.tracking-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.tracking-card {
    display: grid;
    gap: 16px;
}

.tracking-search-card {
    padding: 16px 18px;
}

.tracking-search-form {
    display: grid;
    gap: 12px;
}

.tracking-search-field {
    display: grid;
    gap: 8px;
}

.tracking-search-field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.tracking-search-field input {
    text-align: left;
    direction: ltr;
}

.tracking-link-box {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
    color: var(--text);
    line-height: 1.8;
    word-break: break-all;
}

.tracking-items {
    display: grid;
    gap: 12px;
}

.tracking-address {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid rgba(180, 198, 183, 0.9);
}

.tracking-address span {
    color: var(--muted);
    font-size: 13px;
}

.tracking-preparation-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff8ee 0%, #f8efe3 100%);
    border: 1px solid rgba(226, 188, 116, 0.44);
}

.tracking-preparation-card.is-overdue {
    background: linear-gradient(180deg, #fff3f1 0%, #fde8e5 100%);
    border-color: rgba(186, 79, 66, 0.28);
}

.tracking-courier-card {
    background: linear-gradient(180deg, #eef7ff 0%, #e3f0fb 100%);
    border-color: rgba(98, 149, 201, 0.34);
}

.tracking-preparation-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tracking-preparation-head strong,
.tracking-preparation-item strong {
    color: var(--text);
}

.tracking-preparation-head strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.tracking-preparation-head span,
.tracking-preparation-item span,
.tracking-preparation-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.tracking-preparation-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.16);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.tracking-preparation-card.is-overdue .tracking-preparation-badge {
    background: rgba(186, 79, 66, 0.12);
    color: #9e2f28;
}

.tracking-courier-card .tracking-preparation-badge {
    background: rgba(56, 123, 192, 0.12);
    color: #245b92;
}

.tracking-preparation-progress {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.1);
    overflow: hidden;
}

.tracking-preparation-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: width 0.3s ease;
}

.tracking-preparation-card.is-overdue .tracking-preparation-progress span {
    background: linear-gradient(90deg, #d86d62, #b83c33);
}

.tracking-courier-card .tracking-preparation-progress span {
    background: linear-gradient(90deg, #5aa0e8, #2f6fae);
}

.tracking-preparation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tracking-preparation-item {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.56);
}

.tracking-preparation-note {
    margin: 0;
}

.tracking-preparation-note strong {
    color: #2f1e12;
}

.tracking-courier-box {
    gap: 12px;
}

.tracking-courier-grid {
    gap: 10px;
}

.delivery-confirm-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff9ed 0%, #f7eedf 100%);
    border: 1px solid rgba(226, 188, 116, 0.4);
}

.delivery-confirm-card.is-reported {
    background: linear-gradient(180deg, #fff3f1 0%, #fde8e5 100%);
    border-color: rgba(186, 79, 66, 0.28);
}

.delivery-confirm-head {
    display: grid;
    gap: 6px;
}

.delivery-confirm-head strong {
    color: #2f1e12;
    font-size: 15px;
    font-weight: 800;
}

.delivery-confirm-head span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.delivery-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.delivery-confirm-actions .btn {
    flex: 1 1 180px;
}

.delivery-confirm-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(var(--primary-rgb) / 0.08);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.delivery-call-btn {
    margin-inline-start: 10px;
}

.auth-body {
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(var(--primary-rgb) / 0.24), transparent 24%),
        radial-gradient(circle at bottom left, rgba(var(--text-rgb) / 0.08), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

.auth-card {
    width: min(480px, 100%);
    padding: 30px;
    display: grid;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(200, 216, 202, 0.96) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #8FA891 0%, #5E7C60 100%);
}

.login-card::after {
    content: "";
    position: absolute;
    top: -46px;
    left: -28px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb) / 0.18), transparent 72%);
    pointer-events: none;
}

.auth-card-head {
    display: grid;
    gap: 8px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.auth-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #2F4F3A, #5E7C60);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 16px 28px rgba(91, 68, 55, 0.2);
}

.auth-eyebrow {
    display: inline-flex;
    justify-self: center;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.1);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.auth-card h1 {
    margin: 0;
    font-size: 30px;
    color: #2b190f;
}

.auth-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.auth-form {
    gap: 14px;
    position: relative;
    z-index: 1;
}

.auth-form label {
    gap: 10px;
}

.auth-form label span {
    font-size: 13px;
    font-weight: 700;
    color: #5a4739;
}

.auth-form input[type="text"],
.auth-form input[type="password"] {
    min-height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(221, 209, 194, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-form .btn {
    margin-top: 6px;
    min-height: 52px;
    border-radius: 18px;
    font-size: 15px;
    box-shadow: 0 14px 28px rgba(91, 68, 55, 0.14);
}

.auth-form-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    background: rgba(var(--primary-rgb) / 0.07);
    border-radius: 16px;
    padding: 10px 12px;
}

.auth-card-foot {
    display: flex;
    justify-content: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.08);
    color: var(--primary);
    font-weight: 700;
}

.admin-header {
    position: relative;
    z-index: 5;
    overflow: visible;
    padding: 24px 28px;
    background:
        linear-gradient(135deg, rgba(250, 252, 250, 0.97), rgba(200, 216, 202, 0.95)),
        rgba(250, 252, 250, 0.92);
}

.admin-user {
    background: var(--surface-soft);
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.admin-body {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.16), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

.admin-shell.admin-layout {
    width: min(1480px, calc(100% - 40px));
    padding-top: 24px;
}

.admin-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.admin-sidebar {
    flex: 0 0 292px;
    width: 292px;
    max-width: 292px;
    position: sticky;
    top: 20px;
    z-index: 20;
    display: grid;
    gap: 14px;
    align-self: flex-start;
    overflow: visible;
}

.admin-content {
    flex: 1 1 auto;
    width: min(100%, calc(100% - 316px));
    min-width: 0;
    position: relative;
    z-index: 1;
}

.admin-sidebar-card,
.admin-section-group {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(180, 198, 183, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.admin-sidebar-card {
    padding: 14px;
}

.sidebar-notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2F4F3A, #5A7260);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.sidebar-notification-group {
    display: grid;
    gap: 10px;
}

.sidebar-notification-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sidebar-notification-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sidebar-notification-heading strong {
    font-size: 13px;
    color: #2f1e12;
}

.sidebar-notification-heading a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.sidebar-notification-list {
    display: grid;
    gap: 8px;
}

.sidebar-notification-item {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sidebar-notification-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(var(--text-rgb) / 0.06);
    border-color: rgba(var(--primary-rgb) / 0.2);
}

.sidebar-notification-item strong {
    display: block;
    font-size: 13px;
    color: #2f1e12;
}

.sidebar-notification-item span,
.sidebar-notification-item small,
.sidebar-notification-empty {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.sidebar-notification-empty {
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    background: #f8f3eb;
    border: 1px dashed rgba(180, 198, 183, 0.9);
}

.admin-content > .alert {
    margin-top: 0;
    margin-bottom: 18px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(180, 198, 183, 0.92);
    box-shadow: 0 18px 42px rgba(var(--text-rgb) / 0.08);
}

.admin-header-title {
    display: flex;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-header h1 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.9);
    color: #2f1e12;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    max-width: 100%;
}

.admin-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    width: 100%;
}

.admin-actions .btn,
.admin-actions .admin-user {
    width: 40px;
    min-width: 40px;
    justify-self: auto;
}

.admin-sound-enable-btn {
    color: #8a2f2f;
    border-color: rgba(181, 75, 75, 0.22);
    background: linear-gradient(180deg, rgba(255, 245, 245, 0.98), rgba(255, 236, 236, 0.98));
}

.admin-sound-enable-btn[hidden] {
    display: none !important;
}

.admin-notification-popover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
}

.admin-notification-toggle {
    position: relative;
}

.admin-notification-toggle.has-alert {
    color: #8a2f2f;
    border-color: rgba(181, 75, 75, 0.22);
    background: linear-gradient(180deg, rgba(255, 245, 245, 0.98), rgba(255, 236, 236, 0.98));
}

.admin-header-notification-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #c04b43;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    border: 2px solid #fff;
}

.admin-header-notification-badge[hidden],
.sidebar-notification-count[hidden] {
    display: none !important;
}

.admin-notification-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(390px, calc(100vw - 32px));
    max-height: min(70vh, 640px);
    display: grid;
    gap: 14px;
    padding: 14px;
    overflow: hidden;
    overflow-y: auto;
    border-radius: 22px;
    border: 1px solid rgba(180, 198, 183, 0.96);
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 24px 48px rgba(var(--text-rgb) / 0.16);
    z-index: 35;
}

.admin-notification-panel[hidden] {
    display: none !important;
}

.admin-notification-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: -14px;
    padding-bottom: 4px;
    background: rgba(255, 252, 247, 0.98);
}

.admin-notification-panel-head strong {
    font-size: 14px;
    color: #2f1e12;
}

.admin-notification-panel-body {
    display: grid;
    gap: 14px;
}

.admin-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0;
}

.admin-user {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    width: 40px;
    padding: 0;
    font-weight: 700;
}

.admin-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.admin-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.admin-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    line-height: 0;
}

.admin-inline-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    display: block;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-quick-list {
    display: grid;
    gap: 10px;
}

.admin-quick-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 14px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.78);
}

.admin-quick-list span {
    color: var(--muted);
    font-size: 12px;
}

.admin-quick-list strong {
    font-size: 16px;
}

.admin-sidebar-card .section-title.compact {
    margin-bottom: 10px;
}

.admin-header-title {
    display: grid;
    gap: 8px;
}

.admin-header-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(91, 68, 55, 0.1);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.admin-header p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.admin-identity-card {
    display: grid;
    gap: 14px;
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb) / 0.16), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 238, 0.96));
}

.admin-identity-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-identity-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2F4F3A, #5E7C60);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(91, 68, 55, 0.18);
}

.admin-identity-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-identity-copy strong {
    color: #2f1e12;
    font-size: 15px;
}

.admin-identity-copy span {
    color: var(--muted);
    font-size: 12px;
    direction: ltr;
    text-align: left;
}

.admin-identity-metrics {
    display: grid;
    gap: 10px;
}

.admin-identity-metrics div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(180, 198, 183, 0.88);
}

.admin-identity-metrics span {
    color: var(--muted);
    font-size: 11px;
}

.admin-identity-metrics strong {
    color: #2f1e12;
    font-size: 12px;
    line-height: 1.8;
    word-break: break-all;
}

.admin-command-bar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    margin-bottom: 18px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.18), transparent 24%),
        linear-gradient(135deg, rgba(250, 252, 250, 0.98), rgba(200, 216, 202, 0.96));
    border: 1px solid rgba(180, 198, 183, 0.92);
    box-shadow: var(--shadow-soft);
}

.admin-command-copy {
    display: grid;
    gap: 8px;
    align-content: center;
}

.admin-command-kicker {
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.admin-command-copy h2 {
    margin: 0;
    font-size: 26px;
    color: #2f1e12;
}

.admin-command-copy p {
    margin: 0;
    max-width: 58ch;
    color: var(--muted);
    line-height: 1.85;
}

.admin-command-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: min(100%, 460px);
}

.admin-command-pill {
    display: grid;
    gap: 6px;
    align-content: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(180, 198, 183, 0.86);
}

.admin-command-pill-head,
.admin-glance-card-head {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(91, 68, 55, 0.08);
    color: var(--primary-dark);
}

.admin-command-pill span {
    color: var(--muted);
    font-size: 11px;
}

.admin-command-pill strong {
    color: #2f1e12;
    font-size: 16px;
    line-height: 1.7;
    word-break: break-word;
}

.admin-command-pill-accent {
    background: linear-gradient(135deg, rgba(91, 68, 55, 0.96), rgba(122, 91, 74, 0.92));
    border-color: transparent;
}

.admin-command-pill-accent .admin-command-pill-head {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
}

.admin-command-pill-accent span,
.admin-command-pill-accent strong {
    color: rgba(255, 255, 255, 0.94);
}

.admin-glance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-glance-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(180, 198, 183, 0.9);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.admin-glance-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-glance-card-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-glance-card-title {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.admin-glance-card span {
    color: var(--muted);
    font-size: 12px;
}

.admin-glance-card strong {
    color: #2f1e12;
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.admin-glance-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}

.admin-glance-card.is-alert {
    background: linear-gradient(180deg, rgba(255, 244, 244, 0.98), rgba(255, 232, 232, 0.98));
    border-color: rgba(198, 40, 40, 0.28);
    box-shadow: 0 14px 30px rgba(198, 40, 40, 0.12);
}

.admin-glance-card.is-alert .admin-glance-card-head {
    background: rgba(198, 40, 40, 0.12);
    color: #c62828;
}

.admin-glance-card.is-alert span,
.admin-glance-card.is-alert small {
    color: rgba(132, 34, 34, 0.86);
}

.admin-glance-card.is-alert strong {
    color: #b71c1c;
}

.admin-glance-card.is-positive {
    background: linear-gradient(180deg, rgba(241, 255, 246, 0.98), rgba(228, 250, 235, 0.98));
    border-color: rgba(46, 125, 50, 0.24);
    box-shadow: 0 14px 30px rgba(46, 125, 50, 0.12);
}

.admin-glance-card.is-positive .admin-glance-card-head {
    background: rgba(46, 125, 50, 0.12);
    color: #2e7d32;
}

.admin-glance-card.is-positive span,
.admin-glance-card.is-positive small {
    color: rgba(36, 92, 39, 0.88);
}

.admin-glance-card.is-positive strong {
    color: #1b5e20;
}

.admin-nav-link-copy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-nav-group-label {
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
}

.admin-nav-item-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    font-size: 16px;
    line-height: 1;
    color: rgba(var(--primary-rgb) / 0.55);
    transition: transform 0.2s ease, color 0.2s ease;
}

.stat-card {
    padding: 22px;
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.stat-card span {
    color: var(--muted);
}

.stat-card strong {
    font-size: 24px;
}

.stat-card.is-positive {
    background: linear-gradient(180deg, rgba(241, 255, 246, 0.98), rgba(228, 250, 235, 0.98));
    border: 1px solid rgba(46, 125, 50, 0.24);
    box-shadow: 0 16px 28px rgba(46, 125, 50, 0.12);
}

.stat-card.is-positive span,
.stat-card.is-positive small {
    color: rgba(36, 92, 39, 0.88);
}

.stat-card.is-positive strong {
    color: #1b5e20;
}

.admin-nav {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    background: rgba(248, 244, 238, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(180, 198, 183, 0.8);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.admin-nav a,
.admin-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    min-height: 54px;
    padding: 14px 16px 14px 14px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-nav-group {
    display: block;
    margin: 0;
    padding: 0;
}

.admin-nav-group[open] {
    display: grid;
    gap: 8px;
}

.admin-nav-group summary {
    list-style: none;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.admin-nav-group summary::-webkit-details-marker {
    display: none !important;
}

.admin-nav-group summary::marker {
    content: "";
    font-size: 0;
}

.admin-nav-group-summary {
    display: block;
    cursor: pointer;
}

.admin-nav-group[open] .admin-nav-item-arrow {
    transform: rotate(-90deg);
}

.admin-nav a:hover,
.admin-nav-group-summary:hover .admin-nav-trigger {
    transform: translateX(-2px);
    background: #fff;
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-nav-submenu {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding: 0 12px 0 0;
}

.admin-nav-submenu a {
    min-height: 48px;
    padding-right: 18px;
    border-radius: 12px;
}

.admin-nav-submenu a::after {
    display: none;
}

.admin-nav a .admin-inline-icon,
.admin-nav-trigger .admin-inline-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.admin-nav a .admin-inline-icon svg,
.admin-nav-trigger .admin-inline-icon svg {
    width: 20px;
    height: 20px;
}

.admin-nav a.is-active {
    background: linear-gradient(135deg, #2F4F3A, #5A7260);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(91, 68, 55, 0.16);
}

.admin-nav a.is-active:hover {
    background: linear-gradient(135deg, #2F4F3A, #5A7260);
    border-color: transparent;
}

.admin-nav a.is-active .admin-nav-item-arrow {
    color: rgba(255, 255, 255, 0.82);
}

.admin-quick-access-card {
    display: grid;
    gap: 0;
}

.admin-quick-access-list {
    display: grid;
    gap: 10px;
}

.admin-quick-access-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 13px 16px;
    border-radius: 16px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
    color: #2f1e12;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-quick-access-trigger {
    width: 100%;
    font: inherit;
    text-align: right;
    cursor: pointer;
}

.admin-quick-access-link:hover {
    transform: translateX(-2px);
    background: #fff;
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-quick-access-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-quick-access-text {
    min-width: 0;
}

.admin-quick-access-text strong {
    font-size: 13px;
}

.admin-quick-access-link .admin-inline-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.admin-quick-access-link .admin-inline-icon svg {
    width: 20px;
    height: 20px;
}

.admin-quick-access-link.is-active {
    background: linear-gradient(135deg, #2F4F3A, #5A7260);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(91, 68, 55, 0.16);
}

.admin-quick-access-link.is-active .admin-nav-item-arrow {
    color: rgba(255, 255, 255, 0.82);
}

.admin-quick-modal-dialog {
    width: min(100%, 560px);
}

.admin-quick-modal-head {
    align-items: flex-start;
}

.admin-quick-modal-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-quick-modal-stat span {
    color: rgba(242, 242, 242, 0.66);
    font-size: 12px;
    font-weight: 700;
}

.admin-quick-modal-stat strong {
    color: #f2f2f2;
    font-size: 20px;
    line-height: 1;
}

.admin-quick-modal-body {
    display: grid;
    gap: 10px;
    max-height: min(48vh, 380px);
    padding-left: 2px;
    overflow-y: auto;
}

#delayed-orders-quick-modal-body .sidebar-notification-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(242, 242, 242, 0.1);
}

#delayed-orders-quick-modal-body .admin-delayed-order-list {
    gap: 12px;
}

#delayed-orders-quick-modal-body .admin-delayed-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#delayed-orders-quick-modal-body .sidebar-notification-item:hover {
    border-color: rgba(242, 242, 242, 0.2);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

#delayed-orders-quick-modal-body .admin-delayed-order-copy {
    display: grid;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

#delayed-orders-quick-modal-body .sidebar-notification-item strong {
    color: #f2f2f2;
}

#delayed-orders-quick-modal-body .admin-delayed-order-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #f6c27a;
    font-size: 12px;
    font-weight: 700;
}

#delayed-orders-quick-modal-body .sidebar-notification-item span,
#delayed-orders-quick-modal-body .sidebar-notification-item small,
#delayed-orders-quick-modal-body .sidebar-notification-empty {
    color: rgba(242, 242, 242, 0.74);
}

#delayed-orders-quick-modal-body .sidebar-notification-empty {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(242, 242, 242, 0.12);
}

#delayed-orders-quick-modal-body .admin-delayed-order-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

#delayed-orders-quick-modal-body .admin-delayed-order-action {
    min-width: 88px;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.admin-quick-waiter-call-list {
    gap: 12px;
}

.admin-quick-waiter-call-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-quick-waiter-call-copy {
    display: grid;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-quick-waiter-call-copy strong {
    font-size: 14px;
    color: #f2f2f2;
}

.admin-quick-waiter-call-copy span,
.admin-quick-waiter-call-copy small {
    color: rgba(242, 242, 242, 0.72);
    font-size: 12px;
    line-height: 1.7;
}

.admin-quick-waiter-call-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.admin-quick-waiter-call-action {
    min-width: 72px;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 12px;
}

.admin-quick-waiter-call-action.is-reject {
    background: rgba(255, 255, 255, 0.06);
    color: #f2f2f2;
    border-color: rgba(242, 242, 242, 0.12);
}

.admin-quick-waiter-call-action.is-reject:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.34);
}

.admin-quick-modal-actions {
    margin-top: 4px;
}

.admin-manual-order-modal-dialog {
    width: min(100%, 720px);
}

.admin-manual-order-page-panel {
    display: grid;
    gap: 18px;
}

.admin-manual-order-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-manual-order-form {
    display: grid;
    gap: 14px;
}

.admin-manual-order-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-manual-order-step {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 14px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(242, 242, 242, 0.08);
    text-align: center;
    transition: 0.2s ease;
}

.admin-manual-order-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(242, 242, 242, 0.82);
    font-size: 13px;
    font-weight: 800;
}

.admin-manual-order-step strong {
    color: rgba(242, 242, 242, 0.72);
    font-size: 12px;
    font-weight: 800;
}

.admin-manual-order-step.is-active {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.08));
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.admin-manual-order-step.is-active span,
.admin-manual-order-step.is-completed span {
    background: #22c55e;
    color: #052e16;
}

.admin-manual-order-step.is-active strong,
.admin-manual-order-step.is-completed strong {
    color: #f0fdf4;
}

.admin-manual-order-step.is-completed {
    border-color: rgba(34, 197, 94, 0.18);
}

.admin-manual-order-panel {
    display: grid;
    gap: 14px;
}

.admin-manual-order-panel[hidden] {
    display: none !important;
}

.admin-manual-order-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px;
}

.admin-manual-order-section-head strong {
    color: #f2f2f2;
    font-size: 15px;
    font-weight: 800;
}

.admin-manual-order-section-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: rgba(242, 242, 242, 0.84);
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-manual-order-feedback {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(242, 242, 242, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #f2f2f2;
    font-size: 13px;
    font-weight: 700;
}

.admin-manual-order-feedback[data-state="success"] {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.16);
    color: #dcfce7;
}

.admin-manual-order-feedback[data-state="error"] {
    border-color: rgba(239, 68, 68, 0.32);
    background: rgba(239, 68, 68, 0.16);
    color: #fee2e2;
}

.admin-manual-order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-manual-order-table-picker {
    display: grid;
    grid-column: 1 / -1;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-manual-order-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-manual-order-table-head span {
    color: rgba(242, 242, 242, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.admin-manual-order-table-head small {
    color: rgba(220, 252, 231, 0.82);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-table-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-manual-order-table-option {
    display: grid;
    gap: 6px;
    justify-items: center;
    min-height: 92px;
    padding: 12px 8px;
    border-radius: 18px;
    border: 1px solid rgba(242, 242, 242, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    text-align: center;
    transition: 0.2s ease;
}

.admin-manual-order-table-option:hover {
    border-color: rgba(34, 197, 94, 0.24);
    background: rgba(34, 197, 94, 0.08);
}

.admin-manual-order-table-option.is-active {
    border-color: rgba(34, 197, 94, 0.34);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.admin-manual-order-table-option.is-disabled,
.admin-manual-order-table-option:disabled {
    opacity: 0.46;
    cursor: not-allowed;
}

.admin-manual-order-table-option-label {
    color: rgba(242, 242, 242, 0.68);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-table-option-number {
    color: #f8fafc;
    font-size: 20px;
    font-weight: 900;
}

.admin-manual-order-field {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-manual-order-field span {
    color: rgba(242, 242, 242, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.admin-manual-order-field input,
.admin-manual-order-field select,
.admin-manual-order-field textarea {
    min-height: 48px;
    background: #1b1b1d;
    border-color: rgba(242, 242, 242, 0.1);
    color: #f2f2f2;
}

.admin-manual-order-field textarea {
    min-height: 96px;
}

.admin-manual-order-builder,
.admin-manual-order-selected {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.1), transparent 48%);
    border: 1px solid rgba(242, 242, 242, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 36px rgba(0, 0, 0, 0.14);
}

.admin-manual-order-inline-items {
    margin-top: 2px;
}

.admin-manual-order-builder-surface {
    display: grid;
    gap: 14px;
}

.admin-manual-order-search-field input[type="search"] {
    min-height: 54px;
}

.admin-manual-order-search-results {
    display: grid;
    gap: 8px;
    max-height: 420px;
    overflow: auto;
    padding-inline-end: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 197, 94, 0.72) rgba(242, 242, 242, 0.06);
}

.admin-manual-order-search-results::-webkit-scrollbar {
    width: 8px;
}

.admin-manual-order-search-results::-webkit-scrollbar-track {
    background: rgba(242, 242, 242, 0.06);
    border-radius: 999px;
}

.admin-manual-order-search-results::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(74, 222, 128, 0.92), rgba(34, 197, 94, 0.88));
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
}

.admin-manual-order-search-results::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(134, 239, 172, 0.96), rgba(34, 197, 94, 0.96));
}

.admin-manual-order-search-result {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(242, 242, 242, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #f8fafc;
    text-align: right;
    transition: 0.2s ease;
}

.admin-manual-order-search-result:hover,
.admin-manual-order-search-result.is-active {
    border-color: rgba(34, 197, 94, 0.26);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.08));
}

.admin-manual-order-search-result strong {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

.admin-manual-order-search-result span {
    color: rgba(242, 242, 242, 0.66);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-selected-product {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.08);
}

.admin-manual-order-selected-product small {
    color: rgba(220, 252, 231, 0.72);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-selected-product strong {
    color: #f0fdf4;
    font-size: 14px;
    font-weight: 800;
}

.admin-manual-order-selected-product span {
    color: rgba(220, 252, 231, 0.84);
    font-size: 12px;
    font-weight: 700;
}

.admin-manual-order-search-field input[type="search"] {
    padding-inline: 14px;
}

.admin-manual-order-items-list {
    display: grid;
    gap: 10px;
}

.admin-manual-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.1);
}

.admin-manual-order-item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-manual-order-item-copy strong {
    color: #f2f2f2;
    font-size: 13px;
}

.admin-manual-order-item-copy span {
    color: rgba(242, 242, 242, 0.68);
    font-size: 12px;
}

.admin-manual-order-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.admin-manual-order-item-total {
    color: #f2f2f2;
    font-size: 13px;
    font-weight: 800;
}

.admin-manual-order-remove {
    min-width: 54px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 12px;
}

.admin-manual-order-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-manual-order-review-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(242, 242, 242, 0.08);
}

.admin-manual-order-review-card.full-span {
    grid-column: 1 / -1;
}

.admin-manual-order-review-card small {
    color: rgba(242, 242, 242, 0.62);
    font-size: 11px;
    font-weight: 700;
}

.admin-manual-order-review-card strong {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
    word-break: break-word;
}

.admin-manual-order-item.is-review {
    align-items: center;
}

.admin-manual-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.admin-manual-order-step-actions {
    margin-inline-start: auto;
}

.admin-entry-toggle {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-entry-toggle summary {
    list-style: none;
    cursor: pointer;
}

.admin-entry-toggle summary::-webkit-details-marker {
    display: none;
}

.admin-entry-toggle summary::marker {
    content: "";
    font-size: 0;
}

.admin-entry-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-entry-summary-copy {
    display: grid;
    gap: 4px;
}

.admin-entry-summary-copy strong {
    font-size: 14px;
}

.admin-entry-summary-copy small {
    color: var(--muted);
    font-size: 12px;
}

.admin-entry-summary-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    font-size: 16px;
    line-height: 1;
    color: rgba(var(--primary-rgb) / 0.55);
    transform: rotate(180deg);
    transition: transform 0.2s ease, color 0.2s ease;
}

.admin-entry-toggle[open] .admin-entry-summary-arrow {
    transform: rotate(90deg);
}

.admin-entry-summary:hover {
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-entry-panel {
    display: grid;
}

.admin-order-edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.admin-order-edit-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-order-edit-head .section-title {
    margin-bottom: 0;
}

.admin-order-edit-head .section-title p {
    margin: 6px 0 0;
    color: var(--muted);
}

.admin-order-edit-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-order-edit-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(180, 198, 183, 0.9);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-order-edit-panel {
    padding: 22px 22px 24px;
}

.admin-order-edit-form,
.admin-order-edit-summary {
    display: grid;
    gap: 14px;
    width: 100%;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(238, 243, 238, 0.72));
    border: 1px solid rgba(180, 198, 183, 0.88);
    box-shadow: 0 12px 26px rgba(var(--text-rgb) / 0.07);
}

.admin-order-edit-form {
    order: -1;
}

.admin-order-edit-table-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(226, 208, 186, 0.96), rgba(208, 182, 151, 0.92));
    border: 1px solid rgba(176, 139, 102, 0.9);
}

.admin-order-edit-table-form {
    grid-template-columns: 1fr;
    width: 100%;
    margin-bottom: 0;
}

.admin-order-edit-table-box .section-title h2,
.admin-order-edit-table-box .section-title p {
    color: #111111;
}

.admin-order-edit-head .section-title,
.admin-order-edit-summary .section-title,
.admin-order-edit-form-head .section-title {
    display: grid;
    justify-content: flex-start;
    gap: 4px;
}

.admin-order-edit-form .section-title {
    margin-bottom: 0;
}

.admin-order-edit-form .section-title h2,
.admin-order-edit-summary .section-title h2 {
    font-size: 17px;
    line-height: 1.5;
}

.admin-order-edit-form .section-title p {
    margin: 0;
    color: rgba(91, 68, 55, 0.8);
    font-size: 13px;
    line-height: 1.9;
}

.admin-order-edit-form-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 16px;
}

.admin-order-edit-close {
    flex: 0 0 auto;
    min-height: 46px;
    padding-inline: 18px;
    white-space: nowrap;
    align-self: start;
}

.admin-order-edit-add-form {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin-bottom: 0;
}

.admin-order-edit-form-surface {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: calc(100% + 250px);
    min-width: 0;
    max-width: none;
    justify-self: stretch;
    margin-inline-end: -250px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-order-edit-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.admin-order-edit-field.is-item {
    min-width: 0;
}

.admin-order-edit-field.is-qty {
    min-width: 0;
    max-width: none;
    width: 100%;
    grid-template-columns: auto minmax(180px, 220px);
    justify-content: space-between;
}

.admin-order-edit-field > span {
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
    color: #2F4F3A;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.admin-order-edit-field.is-item select,
.admin-order-edit-field.is-qty input {
    width: 100%;
}

.admin-order-edit-field.is-item select {
    min-width: 0;
    max-width: 100%;
    text-align: right;
}

.admin-order-edit-field.is-item select,
.admin-order-edit-field.is-qty input {
    min-height: 50px;
    padding: 0 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(180, 198, 183, 0.9);
    font-size: 15px;
    line-height: 1.4;
    color: #2f1e12;
    box-sizing: border-box;
}

.admin-order-edit-field.is-qty input {
    appearance: textfield;
    -moz-appearance: textfield;
    text-align: center;
    font-weight: 700;
}

.admin-order-edit-field.is-qty input::-webkit-outer-spin-button,
.admin-order-edit-field.is-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.admin-order-edit-qty-control {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.admin-order-edit-qty-control input {
    min-width: 0;
}

.admin-order-edit-qty-btn {
    min-height: 50px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #2f1e12;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-order-edit-qty-btn:hover {
    background: rgba(245, 237, 225, 0.96);
    border-color: rgba(var(--primary-rgb) / 0.26);
}

.admin-order-edit-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
}

.admin-order-edit-submit {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f8c58, #256f46);
    color: #f7faf8;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(37, 111, 70, 0.2);
}

.admin-order-edit-items {
    display: grid;
    gap: 10px;
}

.admin-order-edit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: #f8f3eb;
}

.admin-order-edit-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-order-edit-item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-order-edit-item-copy small {
    color: var(--muted);
}

.admin-order-edit-item-meta {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: left;
    white-space: nowrap;
    flex: 0 0 auto;
}

.admin-order-edit-total {
    margin-top: 6px;
}

.orders-status-summary {
    margin-bottom: 16px;
}

.orders-status-board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.orders-status-board {
    display: grid;
    gap: 6px;
    align-self: start;
    padding: 10px;
}

.orders-status-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.orders-status-board-summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.orders-status-board-summary::-webkit-details-marker {
    display: none;
}

.orders-status-board-summary::marker {
    content: "";
    display: none;
}

.orders-status-board-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.orders-status-board-title-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: rgba(242, 242, 242, 0.92);
}

.orders-status-board-title-icon svg {
    width: 16px;
    height: 16px;
}

.orders-status-board-title-copy {
    display: grid;
    gap: 2px;
}

.orders-status-board-title h3 {
    margin: 0;
    font-size: 13px;
}

.orders-status-board-title-copy small {
    color: rgba(242, 242, 242, 0.66);
    font-size: 11px;
    line-height: 1.5;
}

.orders-status-board-head strong {
    font-size: 15px;
    line-height: 1;
}

.orders-status-board-summary-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.orders-status-board-chevron {
    width: 10px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    opacity: 0.78;
}

.orders-status-board-collapse[open] .orders-status-board-chevron {
    transform: rotate(135deg);
}

.orders-status-board-collapse-content {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.orders-status-board-list {
    display: grid;
    gap: 6px;
}

.orders-status-board-item {
    display: grid;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.72);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.orders-status-board-item:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.orders-status-board-item-copy {
    display: grid;
    gap: 2px;
}

.orders-status-board-item-head {
    display: grid;
    gap: 3px;
}

.orders-status-board-item-copy strong {
    font-size: 13px;
    line-height: 1.25;
}

.orders-status-board-item-copy span,
.orders-status-board-item small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.orders-status-board-notes {
    display: grid;
    gap: 4px;
    grid-column: 1 / -1;
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff8e8;
    border: 1px solid rgba(196, 130, 18, 0.28);
}

.orders-status-board-notes-label {
    font-size: 11px;
    font-weight: 800;
    color: #8a5a12;
}

.orders-status-board-notes p {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: #4a3318;
    white-space: pre-wrap;
}

.orders-status-board-item-copy span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb) / 0.16);
    background: rgba(var(--primary-rgb) / 0.08);
}

.orders-status-board-form {
    display: grid;
    gap: 5px;
}

.orders-status-board-form select {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 10px;
}

.orders-status-board-form .order-preparation-field,
.orders-status-board-form .order-courier-fields {
    width: 100%;
}

.orders-status-board-form .order-courier-fields {
    grid-template-columns: minmax(0, 1fr);
}

.orders-status-board-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.orders-status-board-actions .admin-table-action,
.orders-status-board-actions .admin-table-action-form button {
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.orders-status-board-actions .admin-inline-icon,
.orders-status-board-actions .admin-inline-icon svg {
    width: 13px;
    height: 13px;
}

.orders-status-board-empty {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.orders-status-board.status-pending {
    background: linear-gradient(180deg, rgba(255, 246, 230, 0.98), rgba(255, 253, 250, 0.98));
    border-color: rgba(231, 176, 67, 0.28);
}

.orders-status-board.status-preparing {
    background: linear-gradient(180deg, rgba(243, 237, 255, 0.98), rgba(255, 253, 250, 0.98));
    border-color: rgba(127, 88, 217, 0.26);
}

.orders-status-board.status-with-courier {
    background: linear-gradient(180deg, rgba(238, 246, 255, 0.98), rgba(255, 253, 250, 0.98));
    border-color: rgba(75, 143, 217, 0.24);
}

.orders-status-board.status-served,
.orders-status-board.status-settled {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.14), rgba(255, 253, 250, 0.98));
    border-color: rgba(var(--primary-rgb) / 0.22);
}

.orders-status-board .orders-status-board-list {
    gap: 10px;
}

.orders-status-board .orders-status-board-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border-radius: 16px;
}

.orders-status-board .orders-status-board-item-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.orders-status-board .orders-status-board-item-copy {
    gap: 4px;
}

.orders-status-board .orders-status-board-item-copy strong {
    font-size: 14px;
}

.orders-status-board .orders-status-board-item small {
    white-space: nowrap;
}

.orders-status-board .orders-status-board-form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 168px;
}

.orders-status-board .orders-status-board-form select {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.orders-status-board .orders-status-board-actions {
    justify-content: flex-end;
    gap: 6px;
}

.orders-status-board .admin-items-pagination {
    justify-content: flex-start;
    gap: 6px;
    margin-top: 12px;
}

.orders-status-board .admin-items-pagination a,
.orders-status-board .admin-items-pagination-ellipsis {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 12px;
}

.orders-status-board.status-cancelled {
    background: linear-gradient(180deg, rgba(255, 241, 239, 0.98), rgba(255, 253, 250, 0.98));
    border-color: rgba(215, 93, 84, 0.24);
}

.admin-items-browser {
    display: grid;
    gap: 18px;
}

.admin-item-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.admin-item-category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-item-category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-item-category-card.is-active {
    border-color: rgba(34, 197, 94, 0.34);
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.12);
}

.admin-item-category-card.is-empty {
    border-style: dashed;
    border-color: rgba(var(--primary-rgb) / 0.28);
    background: rgba(250, 252, 250, 0.88);
}

.admin-item-category-card.is-empty:hover {
    border-color: rgba(var(--primary-rgb) / 0.42);
    background: rgba(255, 255, 255, 0.98);
}

.admin-item-category-card.is-disabled {
    cursor: default;
    opacity: 0.58;
    box-shadow: none;
}

.admin-item-category-card.is-disabled:hover {
    transform: none;
    border-color: rgba(180, 198, 183, 0.9);
    box-shadow: none;
}

.admin-category-tree {
    display: grid;
    gap: 14px;
}

.admin-category-node {
    position: relative;
    border: 1px solid rgba(180, 198, 183, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
}

.admin-category-node summary {
    list-style: none;
    cursor: pointer;
}

.admin-category-node summary::-webkit-details-marker {
    display: none;
}

.admin-category-node summary::marker {
    content: "";
    font-size: 0;
}

.admin-category-node-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 72px;
    padding: 18px;
}

.admin-category-node-copy,
.admin-category-child-copy {
    display: grid;
    gap: 4px;
}

.admin-category-node-copy strong,
.admin-category-child-copy strong {
    font-size: 15px;
}

.admin-category-node-copy small,
.admin-category-child-copy small {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}

.admin-category-node-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.admin-category-node-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    font-size: 18px;
    line-height: 1;
    color: rgba(var(--primary-rgb) / 0.55);
    transform: rotate(180deg);
    transition: transform 0.2s ease, color 0.2s ease;
}

.admin-category-node[open] .admin-category-node-arrow {
    transform: rotate(90deg);
}

.admin-category-node-body {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
    border-top: 1px solid rgba(180, 198, 183, 0.9);
}

.admin-category-children {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.admin-category-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.82);
}

.admin-category-child--root {
    background: rgba(255, 255, 255, 0.96);
}

.admin-item-category-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-item-category-copy strong {
    font-size: 14px;
}

.admin-item-category-copy small {
    color: var(--muted);
    font-size: 12px;
}

.admin-item-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb) / 0.08);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-items-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-items-results-head .section-title {
    margin-bottom: 0;
}

.admin-items-results-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}

.admin-items-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.admin-items-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-items-pagination a:hover {
    transform: translateY(-1px);
}

.admin-items-pagination a.is-active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.admin-items-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--muted);
    font-weight: 700;
}

.admin-users-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(180, 198, 183, 0.22);
}

.admin-users-search-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(180, 198, 183, 0.28);
    background: rgba(255, 255, 255, 0.72);
}

.admin-users-search-field {
    display: grid;
    gap: 8px;
    flex: 1 1 280px;
}

.admin-users-search-field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-users-search-field input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
}

.admin-users-search-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-users-pagination-meta {
    display: grid;
    gap: 4px;
}

.admin-users-pagination-meta strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.admin-users-pagination-meta span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-users-pagination {
    margin-top: 0;
    gap: 10px;
}

.admin-users-pagination-pages {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 16px;
    border: 1px solid rgba(180, 198, 183, 0.28);
    background: rgba(255, 255, 255, 0.72);
}

.admin-users-pagination-pages .admin-items-pagination-ellipsis,
.admin-users-pagination-pages a {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 12px;
}

.admin-users-pagination-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    color: inherit;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-users-pagination-nav:hover {
    transform: translateY(-1px);
}

.admin-users-pagination-nav.is-disabled {
    opacity: 0.42;
    pointer-events: none;
}

.admin-users-pagination-icon {
    width: 16px;
    height: 16px;
}

.admin-users-pagination-icon--prev {
    transform: rotate(180deg);
}

.admin-table-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-table-action-form {
    margin: 0;
}

.admin-table-action,
.admin-table-action-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(180, 198, 183, 0.9);
    background: rgba(255, 255, 255, 0.96);
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.admin-table-action:hover,
.admin-table-action-form button:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--primary-rgb) / 0.24);
    box-shadow: 0 10px 20px rgba(var(--text-rgb) / 0.06);
}

.admin-table-action .admin-inline-icon,
.admin-table-action-form button .admin-inline-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.admin-table-action .admin-inline-icon svg,
.admin-table-action-form button .admin-inline-icon svg {
    width: 16px;
    height: 16px;
}

.admin-table-action.is-delete,
.admin-table-action-form .is-delete {
    color: #c04b43;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.admin-grid-split {
    margin-top: 18px;
    align-items: start;
}

.admin-stack {
    display: grid;
    gap: 22px;
}

.waiter-orders-list {
    display: grid;
    gap: 18px;
}

.waiter-order-card {
    display: grid;
    gap: 18px;
}

.waiter-order-meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.admin-section-group {
    padding: 22px;
    margin-bottom: 22px;
}

.admin-section-group.is-loading {
    opacity: 0.68;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.admin-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(180, 198, 183, 0.9);
}

.admin-section-heading-copy {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.admin-section-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(91, 68, 55, 0.08);
    color: var(--primary-dark);
    flex: 0 0 46px;
}

.admin-section-heading-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-section-heading h2 {
    margin: 0 0 6px;
}

.admin-section-heading p {
    margin: 0;
    color: var(--muted);
}

.admin-dashboard {
    padding-bottom: 26px;
}

.dashboard-stats {
    margin-bottom: 0;
}

.dashboard-stats-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-stats-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card small {
    color: var(--muted);
    font-size: 12px;
}

.stat-card-highlight {
    background: linear-gradient(135deg, rgba(91, 68, 55, 0.98), rgba(122, 91, 74, 0.96));
    color: #fff;
}

.stat-card-highlight span,
.stat-card-highlight small {
    color: rgba(255, 255, 255, 0.82);
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    margin-top: 14px;
}

.admin-dashboard-grid > .dashboard-panel {
    align-self: stretch;
    min-height: 0;
    height: 100%;
}

.admin-dashboard-grid > .admin-section-lock-shell {
    align-self: stretch;
    min-height: 0;
    height: 100%;
}

.admin-section-lock-shell {
    position: relative;
    display: grid;
    min-height: 0;
}

.admin-panel.admin-section-lock-shell {
    display: block;
}

.admin-section-lock-shell [data-admin-lock-content] {
    height: 100%;
    min-height: 0;
}

.admin-section-lock-shell.is-locked [data-admin-lock-content] {
    filter: blur(14px);
    pointer-events: none;
    user-select: none;
}

.admin-section-lock-shell.is-locked .dashboard-lock-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-section-lock-shell:not(.is-locked) .dashboard-lock-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dashboard-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 24px;
    background: rgba(15, 15, 17, 0.78);
    backdrop-filter: blur(8px);
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.dashboard-lock-form {
    display: grid;
    gap: 12px;
    width: min(100%, 320px);
    padding: 22px 20px;
    border-radius: 22px;
    border: 1px solid rgba(242, 242, 242, 0.12);
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(36, 36, 40, 0.98), rgba(27, 27, 29, 1));
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
    text-align: center;
}

.dashboard-lock-icon {
    font-size: 28px;
    line-height: 1;
}

.dashboard-lock-title {
    color: #f2f2f2;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-lock-copy {
    margin: 0;
    color: rgba(242, 242, 242, 0.68);
    font-size: 13px;
    line-height: 1.7;
}

.dashboard-lock-field {
    display: grid;
    gap: 8px;
    text-align: right;
}

.dashboard-lock-field span {
    color: rgba(242, 242, 242, 0.62);
    font-size: 12px;
    font-weight: 700;
}

.dashboard-lock-field input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(242, 242, 242, 0.14);
    background: #1b1b1d;
    color: #f2f2f2;
    font: inherit;
    text-align: center;
    letter-spacing: 0.18em;
}

.dashboard-lock-field input[type="password"]:focus {
    border-color: rgba(34, 197, 94, 0.48);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
    outline: none;
}

.dashboard-lock-error {
    margin: 0;
    color: #fca5a5;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-lock-hint {
    color: rgba(134, 239, 172, 0.82);
    font-size: 11px;
    font-weight: 700;
}

.dashboard-panel {
    display: grid;
    align-self: start;
    gap: 12px;
}

.dashboard-panel-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dashboard-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    flex: 0 0 auto;
}

.dashboard-panel-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-panel-title-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dashboard-panel-title-copy h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.dashboard-table-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-table-chip {
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 100%;
    padding: 10px 8px;
    border: 0;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-table-chip.is-status-pending,
.dashboard-table-chip.is-unreviewed-order {
    border: 1px solid rgba(220, 53, 45, 0.42);
    background: linear-gradient(180deg, rgba(255, 235, 235, 0.98) 0%, rgba(255, 214, 214, 0.94) 100%);
    box-shadow: 0 10px 22px rgba(192, 75, 67, 0.16);
    animation: dashboard-table-pending-pulse 2.2s ease-in-out infinite;
}

.dashboard-table-chip.is-status-pending span,
.dashboard-table-chip.is-unreviewed-order span {
    color: #9e2f28;
}

.dashboard-table-chip.is-status-pending strong,
.dashboard-table-chip.is-unreviewed-order strong {
    color: #7a1d18;
}

.dashboard-table-chip.is-status-pending small,
.dashboard-table-chip.is-unreviewed-order small {
    color: #b42318;
    font-weight: 800;
}

@keyframes dashboard-table-pending-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 45, 0.18), 0 10px 22px rgba(192, 75, 67, 0.16);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(220, 53, 45, 0.12), 0 12px 26px rgba(192, 75, 67, 0.22);
    }
}

.dashboard-table-chip span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-table-chip strong {
    font-size: 19px;
    line-height: 1;
}

.dashboard-table-chip small {
    font-size: 10px;
    line-height: 1.2;
    opacity: 0.9;
}

.dashboard-summary-list {
    display: grid;
    gap: 12px;
}

.dashboard-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.dashboard-summary-item span {
    display: block;
    font-weight: 700;
}

.dashboard-summary-item small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.dashboard-summary-item strong {
    flex: 0 0 auto;
    font-size: 24px;
    color: #2f1e12;
}

.dashboard-subtitle {
    margin-top: 8px;
    margin-bottom: 0;
}

.dashboard-summary-list {
    display: grid;
    gap: 12px;
}

.dashboard-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.dashboard-summary-item div {
    display: grid;
    gap: 2px;
}

.dashboard-summary-item span {
    font-weight: 700;
    color: #2f1e12;
}

.dashboard-summary-item small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.dashboard-summary-item strong {
    font-size: 24px;
    color: var(--primary-dark);
    white-space: nowrap;
}

.dashboard-subtitle {
    margin-bottom: -2px;
}

.dashboard-status-panel {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    height: 100%;
    min-height: 0;
}

.dashboard-status-panel .dashboard-table-grid {
    gap: 8px;
    height: 100%;
    min-height: 0;
    padding: 16px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 243, 238, 0.94) 100%);
    border: 1px solid rgba(94, 124, 96, 0.14);
    grid-auto-rows: 1fr;
    align-content: stretch;
    overflow-y: auto;
}

.dashboard-status-summary,
.dashboard-status-tables {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(94, 124, 96, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 244, 0.92) 100%);
}

.dashboard-status-summary-head,
.dashboard-status-tables-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(94, 124, 96, 0.1);
}

.dashboard-status-summary-copy,
.dashboard-status-tables-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dashboard-status-summary-title,
.dashboard-status-tables-copy > span {
    font-size: 12px;
    font-weight: 800;
    color: #2F4F3A;
    line-height: 1.35;
}

.dashboard-status-summary-copy small,
.dashboard-status-tables-copy small {
    font-size: 10px;
    color: #5A7260;
    line-height: 1.35;
}

.dashboard-status-summary-total,
.dashboard-status-tables-count {
    flex: 0 0 auto;
    min-width: 34px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.12);
    color: #2F4F3A;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.dashboard-status-panel .status-meter-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.dashboard-status-panel .status-meter-row {
    gap: 6px;
    min-height: 0;
    padding: 8px 9px 7px;
    border-radius: 12px;
    border: 1px solid rgba(94, 124, 96, 0.1);
    border-inline-start-width: 3px;
    background: rgba(255, 255, 255, 0.72);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-status-panel .status-meter-row:not(.is-empty):hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(47, 79, 58, 0.08);
}

.dashboard-status-panel .status-meter-row.is-empty {
    opacity: 0.72;
}

.dashboard-status-panel .status-meter-row--pending {
    border-inline-start-color: #eda83e;
}

.dashboard-status-panel .status-meter-row--preparing {
    border-inline-start-color: #8a74f6;
}

.dashboard-status-panel .status-meter-row--with_courier {
    border-inline-start-color: #79b5ee;
}

.dashboard-status-panel .status-meter-row--served {
    border-inline-start-color: #34a965;
}

.dashboard-status-panel .status-meter-row--settled {
    border-inline-start-color: #45beb0;
}

.dashboard-status-panel .status-meter-row--cancelled {
    border-inline-start-color: #d85e54;
}

.dashboard-status-panel .status-meter-label-group {
    gap: 6px;
}

.dashboard-status-panel .status-meter-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(94, 124, 96, 0.08);
}

.dashboard-status-panel .status-meter-head span {
    font-size: 10px;
    font-weight: 700;
    color: #5A7260;
    line-height: 1.3;
}

.dashboard-status-panel .status-meter-head strong {
    min-width: 22px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.1);
    color: #2F4F3A;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.dashboard-status-panel .status-meter-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(94, 124, 96, 0.1);
}

.dashboard-status-panel .status-meter-fill {
    transition: width 0.35s ease;
}

.dashboard-status-panel .dashboard-table-chip {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 68px;
    align-content: center;
    padding: 8px 6px 7px;
    border-radius: 12px;
    border: 1px solid rgba(94, 124, 96, 0.12);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.dashboard-status-panel .dashboard-table-chip::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: rgba(94, 124, 96, 0.35);
}

.dashboard-status-panel .dashboard-table-chip.is-status-pending::before,
.dashboard-status-panel .dashboard-table-chip.is-unreviewed-order::before {
    background: linear-gradient(90deg, #c77a15, #eda83e);
}

.dashboard-status-panel .dashboard-table-chip.is-status-preparing::before {
    background: linear-gradient(90deg, #6f57d9, #8a74f6);
}

.dashboard-status-panel .dashboard-table-chip.is-status-with_courier::before,
.dashboard-status-panel .dashboard-table-chip.is-status-served::before {
    background: linear-gradient(90deg, #1f7a45, #34a965);
}

.dashboard-status-panel .dashboard-table-chip.is-status-settled::before,
.dashboard-status-panel .dashboard-table-chip.is-status-free::before {
    background: linear-gradient(90deg, #2b8f82, #45beb0);
}

.dashboard-status-panel .dashboard-table-chip.is-status-cancelled::before {
    background: linear-gradient(90deg, #a43830, #d85e54);
}

.dashboard-status-panel .dashboard-table-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(47, 79, 58, 0.1);
}

.dashboard-status-panel .dashboard-table-chip strong {
    font-size: 15px;
}

.dashboard-status-panel .dashboard-table-chip span {
    font-size: 10px;
}

.dashboard-status-panel .dashboard-table-chip small {
    font-size: 9px;
}

@media (max-width: 720px) {
    .dashboard-status-panel .status-meter-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.status-meter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.status-meter-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 72px;
}

.status-meter-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.status-meter-label-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.status-meter-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex: 0 0 auto;
}

.status-meter-head span {
    color: var(--muted);
    font-size: 13px;
}

.status-meter-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #f1e7da;
    overflow: hidden;
}

.status-meter-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.status-pending {
    background: linear-gradient(90deg, #c77a15, #eda83e);
}

.status-preparing {
    background: linear-gradient(90deg, #6f57d9, #8a74f6);
}

.status-served {
    background: linear-gradient(90deg, #1f7a45, #34a965);
}

.status-settled {
    background: linear-gradient(90deg, #2b8f82, #45beb0);
}

.status-with_courier {
    background: linear-gradient(90deg, #4a8fd2, #79b5ee);
}

.status-cancelled {
    background: linear-gradient(90deg, #a43830, #d85e54);
}

.sales-panel {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 16px;
    height: 100%;
    min-height: 0;
}

.sales-panel__chart,
.sales-panel__empty {
    min-height: 0;
}

.sales-panel__ranges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(94, 124, 96, 0.08);
    border: 1px solid rgba(94, 124, 96, 0.12);
}

@media (min-width: 900px) {
    .sales-panel__ranges {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.sales-panel__ranges a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #5A7260;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sales-panel__ranges a:hover {
    color: #2F4F3A;
    background: rgba(255, 255, 255, 0.72);
}

.sales-panel__ranges a.is-active {
    background: linear-gradient(135deg, #5E7C60 0%, #2F4F3A 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(94, 124, 96, 0.24);
}

.sales-panel__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-radius: 14px;
    border: 1px solid rgba(94, 124, 96, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 244, 0.94) 100%);
    overflow: hidden;
}

.sales-panel__stat {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}

.sales-panel__stat:not(:last-child) {
    border-inline-end: 1px solid rgba(94, 124, 96, 0.12);
}

.sales-panel__stat::before,
.sales-panel__stat.is-featured::after {
    display: none;
}

.sales-panel__stat.is-featured {
    background: rgba(94, 124, 96, 0.08);
    border-color: transparent;
    box-shadow: none;
}

.sales-panel__stat-label {
    position: relative;
    z-index: 1;
    color: #5A7260;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-panel__stat-value {
    position: relative;
    z-index: 1;
    color: #2F4F3A;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-panel__stat.is-featured .sales-panel__stat-value {
    font-size: 15px;
    letter-spacing: -0.01em;
}

.sales-panel__stat:not(.is-featured) .sales-panel__stat-value {
    font-size: 13px;
}

.sales-panel__empty {
    margin: 0;
    padding: 20px 16px;
    text-align: center;
    font-size: 13px;
    color: #5A7260;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px dashed rgba(94, 124, 96, 0.22);
}

.sales-panel__chart {
    padding: 16px 12px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 243, 238, 0.94) 100%);
    border: 1px solid rgba(94, 124, 96, 0.14);
}

.sales-panel__chart.is-scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(94, 124, 96, 0.4) transparent;
}

.sales-panel__plot {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    min-height: 200px;
    padding: 0 4px;
}

.sales-panel__chart.is-scrollable .sales-panel__plot {
    min-width: max(100%, calc(var(--point-count, 7) * 44px));
}

.sales-panel__col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sales-panel__chart.is-scrollable .sales-panel__col {
    flex: 0 0 36px;
    min-width: 36px;
}

.sales-panel__bar {
    width: 100%;
    height: 168px;
    display: flex;
    align-items: flex-end;
    border-radius: 10px;
    background: rgba(94, 124, 96, 0.06);
    overflow: hidden;
}

.sales-panel__bar span {
    display: block;
    width: 100%;
    min-height: 0;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #8FA891 0%, #5E7C60 55%, #2F4F3A 100%);
    transition: height 0.2s ease, filter 0.2s ease;
}

.sales-panel__col.has-value:hover .sales-panel__bar span {
    filter: brightness(1.06);
}

.sales-panel__amount {
    min-height: 12px;
    font-size: 9px;
    font-weight: 800;
    color: #2F4F3A;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.sales-panel__amount.is-empty {
    color: rgba(90, 114, 96, 0.45);
}

.sales-panel__label {
    min-height: 14px;
    font-size: 10px;
    font-weight: 700;
    color: #5A7260;
    text-align: center;
    white-space: nowrap;
    line-height: 1.3;
}

.sales-panel__label.is-empty {
    visibility: hidden;
}

.admin-panel {
    padding: 24px;
    background: #fffdfa;
    border: 1px solid rgba(180, 198, 183, 0.88);
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(var(--text-rgb) / 0.06);
}

.full-span-panel,
.full-span {
    grid-column: 1 / -1;
}

.admin-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

.waiter-order-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.waiter-order-form > .full-span {
    grid-column: 1 / -1;
}

.admin-form label {
    padding: 14px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-form .checkbox-row {
    padding: 14px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="password"],
.admin-form input[type="file"],
.admin-form input[type="url"],
.admin-form textarea,
.admin-form select {
    background: #fff;
    border: 1px solid rgba(221, 209, 194, 0.95);
}

.admin-form > button,
.admin-form > .inline-actions,
.admin-form > .checkbox-row,
.admin-form > .full-span {
    grid-column: 1 / -1;
}

.admin-form--compact {
    gap: 12px;
    margin-bottom: 14px;
}

.admin-form--compact label {
    gap: 6px;
    padding: 10px 12px;
    border-radius: 16px;
}

.admin-form--compact label span,
.admin-form--compact .checkbox-row span {
    font-size: 12px;
    font-weight: 700;
}

.admin-form--compact input[type="text"],
.admin-form--compact input[type="number"],
.admin-form--compact input[type="password"],
.admin-form--compact input[type="file"],
.admin-form--compact input[type="url"],
.admin-form--compact textarea,
.admin-form--compact select {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 12px;
}

.admin-form--compact input[type="file"] {
    padding: 6px;
}

.admin-form--compact textarea {
    min-height: 84px;
}

.admin-form--product {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-form--product label {
    padding: 9px 10px;
}

.admin-form--product .full-span,
.admin-form--product .inline-actions {
    grid-column: 1 / -1;
}

.admin-form--product .checkbox-row {
    grid-column: span 1;
    min-height: 48px;
}

.admin-file-field {
    align-content: start;
}

.admin-file-help {
    color: var(--muted);
    font-size: 11px;
}

.admin-item-current-image {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    color: inherit;
}

.admin-item-current-image img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(221, 209, 194, 0.95);
}

.admin-form input[type="file"]::file-selector-button {
    margin-inline-end: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.14);
    color: #166534;
    font-weight: 700;
    cursor: pointer;
}

.admin-form--compact .checkbox-row {
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 16px;
}

.admin-form--compact .inline-actions {
    gap: 12px;
    margin-top: 2px;
}

.inline-actions .btn {
    flex: 1 1 0;
}

@media (max-width: 1100px) {
    .admin-form--product {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .admin-form--product {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-form--product .checkbox-row {
        grid-column: 1 / -1;
    }
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(180, 198, 183, 0.9);
    border-radius: 22px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.order-items-toggle {
    min-width: 320px;
}

.order-items-toggle summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(213, 174, 91, 0.3);
    background: #f9f2e6;
    color: #7b4b1e;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.order-items-toggle summary::-webkit-details-marker {
    display: none;
}

.order-items-toggle[open] summary {
    background: #f3e0bf;
    color: #5d3716;
}

.order-items-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.order-receipt {
    width: min(100%, 304px);
    margin-top: 12px;
    padding: 14px 12px;
    border: 1px dashed rgba(122, 90, 58, 0.4);
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf9 0%, #faf4eb 100%);
    box-shadow: 0 10px 24px rgba(47, 30, 18, 0.08);
}

.order-receipt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 10px;
}

.order-receipt-head strong {
    color: #2f1e12;
    font-size: 14px;
    font-weight: 800;
}

.order-receipt-head span {
    color: #7f6c5d;
    font-size: 12px;
    font-weight: 700;
}

.order-receipt-meta {
    display: grid;
    gap: 6px;
}

.order-receipt-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    color: #6d5a4a;
    font-size: 12px;
}

.order-receipt-row span {
    color: #7f6c5d;
}

.order-receipt-row strong {
    max-width: 62%;
    color: #2f1e12;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    line-height: 1.6;
    white-space: normal;
}

.order-receipt-divider {
    border-top: 1px dashed rgba(122, 90, 58, 0.28);
    margin: 12px 0;
}

.order-items-entry {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px dashed rgba(122, 90, 58, 0.18);
    text-align: right;
}

.order-items-info {
    display: grid;
    gap: 3px;
}

.order-items-entry strong,
.order-items-meta strong {
    display: block;
    color: #2f1e12;
}

.order-items-entry span,
.order-items-entry small {
    color: #7f6c5d;
    font-size: 12px;
}

.order-items-meta {
    display: grid;
    justify-items: end;
    gap: 4px;
    flex-shrink: 0;
}

.order-receipt-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #5d3716;
}

.order-receipt-total span {
    font-size: 12px;
    font-weight: 700;
}

.order-receipt-total strong {
    font-size: 14px;
    font-weight: 800;
}

.invoice-paper-payment {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    padding-inline: 8px;
    border-top: 1px dashed rgba(122, 90, 58, 0.28);
}

.invoice-paper-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.invoice-paper-payment-label,
.invoice-paper-payment-owner {
    font-size: 11px;
    color: #6c5038;
    font-weight: 700;
}

.invoice-paper-payment-number {
    direction: ltr;
    unicode-bidi: plaintext;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #2f1e12;
    text-align: left;
}

.invoice-paper-payment-owner {
    text-align: right;
}

.order-items-empty {
    margin: 12px 0;
    color: #7f6c5d;
    font-size: 12px;
    white-space: normal;
}

.order-invoice-link {
    min-width: 128px;
}

.order-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-table-action.is-active {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.28);
}

.invoice-page-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8f1e7 0%, #efe4d6 100%);
    color: #2f1e12;
    --invoice-paper-preview-width: 302px;
    --invoice-paper-print-width: 57.6mm;
}

.invoice-page-shell {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 28px 18px 40px;
    display: grid;
    gap: 18px;
}

.invoice-page-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.invoice-paper {
    width: min(100%, var(--invoice-paper-preview-width));
    margin: 0 auto;
    padding: 18px 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #1b1b1d;
    box-shadow: 0 18px 36px rgba(47, 30, 18, 0.12);
}

.invoice-paper-head {
    display: grid;
    gap: 8px;
    justify-items: stretch;
    padding: 0 0 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #1b1b1d;
    text-align: right;
}

.invoice-paper-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.invoice-paper-logo {
    max-width: 140px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.invoice-paper-brand-copy {
    display: grid;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}

.invoice-paper-head strong {
    font-size: 19px;
    font-weight: 900;
}

.invoice-paper-order-title {
    font-size: 14px;
    font-weight: 800;
    color: #111;
    text-align: center;
}

.invoice-paper-head small {
    color: #111;
    font-size: 11px;
    font-weight: 700;
}

.invoice-paper-contact-line {
    line-height: 1.5;
}

.invoice-paper-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.invoice-paper-social {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border: 1px solid rgba(27, 27, 29, 0.28);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.invoice-paper-social-icon {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.invoice-paper-social-icon svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.invoice-paper-social-icon svg path,
.invoice-paper-social-icon svg circle,
.invoice-paper-social-icon svg rect {
    vector-effect: non-scaling-stroke;
}

.invoice-paper-meta {
    display: grid;
    gap: 0;
    border: 1px solid #1b1b1d;
    border-radius: 12px;
    overflow: hidden;
}

.invoice-paper-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    line-height: 1.7;
    padding: 7px 9px;
    border-bottom: 1px solid rgba(27, 27, 29, 0.22);
}

.invoice-paper-row span {
    color: #111;
    font-weight: 700;
}

.invoice-paper-row strong {
    max-width: 62%;
    text-align: left;
    white-space: normal;
    font-weight: 800;
    color: #111;
}

.invoice-paper-row.is-multiline strong {
    max-width: 70%;
}

.invoice-paper-meta .invoice-paper-row:last-child,
.invoice-paper-foot .invoice-paper-row:last-child {
    border-bottom: 0;
}

.invoice-paper-divider {
    margin: 12px 0;
    border-top: 1px solid #1b1b1d;
}

.invoice-paper-notes {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #1b1b1d;
    background: #fff8e8;
}

.invoice-paper-notes-label {
    font-size: 12px;
    font-weight: 800;
    color: #111;
}

.invoice-paper-notes p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 700;
    color: #111;
    white-space: pre-wrap;
}

.invoice-paper-items {
    display: grid;
    gap: 0;
    border: 1px solid #1b1b1d;
    border-radius: 12px;
    overflow: hidden;
}

.invoice-paper-items-head,
.invoice-paper-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px 88px;
    gap: 10px;
    align-items: start;
}

.invoice-paper-items-head {
    color: #111;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 9px;
    background: #f5f5f5;
    border-bottom: 1px solid #1b1b1d;
}

.invoice-paper-items-head span:last-child {
    text-align: left;
}

.invoice-paper-item {
    padding: 8px 9px;
    border-bottom: 1px solid rgba(27, 27, 29, 0.18);
    font-size: 12px;
}

.invoice-paper-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.invoice-paper-item-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.invoice-paper-item-main strong {
    white-space: normal;
    overflow-wrap: anywhere;
}

.invoice-paper-item-main small {
    color: #111;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
}

.invoice-paper-item-note {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 2px 6px;
    margin-bottom: 3px;
    border: 1px solid rgba(27, 27, 29, 0.5);
    border-radius: 8px;
    background: #fff;
}

.invoice-paper-price {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.invoice-paper-price-value {
    direction: ltr;
    unicode-bidi: isolate;
}

.invoice-paper-price-unit {
    direction: rtl;
    unicode-bidi: isolate;
}

.invoice-paper-item-qty,
.invoice-paper-item-total {
    text-align: center;
    font-weight: 800;
}

.invoice-paper-item-total {
    text-align: left;
    direction: ltr;
}

.invoice-paper-empty {
    margin: 0;
    color: #111;
    font-size: 12px;
    text-align: center;
    padding: 12px 8px;
}

.invoice-paper-foot {
    display: grid;
    gap: 10px;
    border: 1px solid #1b1b1d;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.invoice-paper-total {
    font-size: 14px;
}

.invoice-paper-total strong {
    font-size: 15px;
}

.invoice-paper-foot p {
    margin: 0;
    color: #111;
    font-size: 11px;
    text-align: center;
    padding: 0 8px 4px;
}

.invoice-paper-credit {
    margin: 8px 0 0;
    text-align: center;
    color: #111;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0;
}

@media print {
    @page {
        size: 58mm auto;
        margin: 0.5mm;
    }

    html,
    body {
        background: #fff !important;
        color: #000 !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .no-print {
        display: none !important;
    }

    .invoice-page-shell {
        width: 100%;
        padding: 0;
        margin: 0;
        display: block;
    }

    .invoice-paper {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        min-height: auto;
        margin: 0;
        padding: 1.8mm;
        border: 0.45mm solid #000 !important;
        border-radius: 2.2mm;
        box-shadow: none;
        background: #fff;
        transform: translateX(-0.35mm);
    }

    .invoice-paper-logo {
        max-width: 44mm;
        max-height: 16mm;
        filter: grayscale(1) contrast(3) brightness(0.42);
        opacity: 1;
    }

    .invoice-paper-head,
    .invoice-paper-meta,
    .invoice-paper-items,
    .invoice-paper-foot,
    .invoice-paper-row,
    .invoice-paper-items-head,
    .invoice-paper-item,
    .invoice-paper-divider {
        border-color: #000 !important;
        color: #000 !important;
    }

    .invoice-paper-head {
        border-bottom-width: 0.35mm;
    }

    .invoice-paper-brand {
        gap: 2.4mm;
    }

    .invoice-paper-meta,
    .invoice-paper-items,
    .invoice-paper-foot {
        border-width: 0.35mm;
    }

    .invoice-paper-row,
    .invoice-paper-items-head,
    .invoice-paper-item,
    .invoice-paper-divider {
        border-bottom-width: 0.25mm;
        border-top-width: 0.25mm;
    }

    .invoice-paper-items-head,
    .invoice-paper-item {
        grid-template-columns: minmax(0, 1fr) 34px 72px;
        gap: 6px;
    }

    .invoice-paper-row span,
    .invoice-paper-row strong,
    .invoice-paper-head span,
    .invoice-paper-head small,
    .invoice-paper-social,
    .invoice-paper-item-main strong,
    .invoice-paper-item-main small,
    .invoice-paper-item-qty,
    .invoice-paper-item-total,
    .invoice-paper-empty,
    .invoice-paper-foot p {
        color: #000 !important;
    }

    .invoice-paper-social {
        border-color: #000 !important;
    }

    .invoice-paper-social-icon svg {
        stroke: #000 !important;
    }

    .invoice-paper-items-head {
        background: #fff !important;
    }
}

table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
}

th,
td {
    text-align: right;
    padding: 15px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    vertical-align: middle;
}

thead {
    background: #f8f3eb;
}

th {
    font-size: 13px;
    color: #6d5a4a;
    font-weight: 800;
}

tbody tr:nth-child(even) {
    background: #fcfaf7;
}

tbody tr:hover {
    background: #f7f1e9;
}

.orders-table .order-row td {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.orders-table .order-row td:first-child {
    border-inline-end: 5px solid transparent;
    font-weight: 800;
}

.orders-table .order-row.status-pending td {
    background: #fff1c2 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    border-bottom-color: rgba(214, 166, 66, 0.34);
}

.orders-table .order-row.status-pending td:first-child {
    border-inline-end-color: #d5a12f;
}

.orders-table .order-row.status-preparing td {
    background: #eadcff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-bottom-color: rgba(132, 103, 228, 0.3);
}

.orders-table .order-row.status-preparing td:first-child {
    border-inline-end-color: #7f58d9;
}

.orders-table .order-row.status-with-courier td {
    background: #dcecff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(87, 145, 212, 0.3);
}

.orders-table .order-row.status-with-courier td:first-child {
    border-inline-end-color: #4b8fd9;
}

.orders-table .order-row.status-served td,
.orders-table .order-row.status-settled td {
    background: #dff5e4 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(52, 169, 101, 0.28);
}

.orders-table .order-row.status-served td:first-child,
.orders-table .order-row.status-settled td:first-child {
    border-inline-end-color: #2f9b55;
}

.orders-table .order-row.status-cancelled td {
    background: #f9d9d6 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-bottom-color: rgba(216, 94, 84, 0.32);
}

.orders-table .order-row.status-cancelled td:first-child {
    border-inline-end-color: #d75d54;
}

.orders-table tbody tr:hover td {
    background: inherit;
}

.orders-table .order-row.status-pending:hover td {
    background: #fff1c2 !important;
}

.orders-table .order-row.status-preparing:hover td {
    background: #eadcff !important;
}

.orders-table .order-row.status-with-courier:hover td {
    background: #dcecff !important;
}

.orders-table .order-row.status-served:hover td,
.orders-table .order-row.status-settled:hover td {
    background: #dff5e4 !important;
}

.orders-table .order-row.status-resolved:hover td {
    background: #dff5e4 !important;
}

.orders-table .order-row.status-rejected:hover td {
    background: #f9d9d6 !important;
}

.orders-table .order-row.status-cancelled:hover td {
    background: #f9d9d6 !important;
}

.orders-table .order-row.status-pending .status-form {
    background: rgba(255, 244, 207, 0.96);
}

.orders-table .order-row.status-rejected td {
    background: #f9d9d6 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-bottom-color: rgba(216, 94, 84, 0.32);
}

.orders-table .order-row.status-rejected td:first-child {
    border-inline-end-color: #d75d54;
}

.orders-table .order-row.status-resolved td {
    background: #dff5e4 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(52, 169, 101, 0.28);
}

.orders-table .order-row.status-resolved td:first-child {
    border-inline-end-color: #2f9b55;
}

.orders-table .order-row.status-preparing .status-form {
    background: rgba(239, 227, 255, 0.96);
}

.orders-table .order-row.status-with-courier .status-form {
    background: rgba(225, 239, 255, 0.96);
}

.orders-table .order-row.status-served .status-form,
.orders-table .order-row.status-settled .status-form,
.orders-table .order-row.status-resolved .status-form {
    background: rgba(227, 247, 233, 0.96);
}

.orders-table .order-row.status-rejected .status-form {
    background: rgba(252, 226, 224, 0.96);
}

.orders-table .order-row.status-cancelled .status-form {
    background: rgba(252, 226, 224, 0.96);
}

.waiter-order-card {
    position: relative;
    overflow: hidden;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(180, 198, 183, 0.88);
}

.waiter-order-card.status-pending {
    background: linear-gradient(180deg, #fff6e6 0%, #fffdfa 100%);
    border-color: rgba(231, 176, 67, 0.38);
}

.waiter-order-card.status-preparing {
    background: linear-gradient(180deg, #f3edff 0%, #fffdfa 100%);
    border-color: rgba(132, 103, 228, 0.28);
}

.waiter-order-card.status-with-courier {
    background: linear-gradient(180deg, #eef6ff 0%, #fffdfa 100%);
    border-color: rgba(87, 145, 212, 0.28);
}

.waiter-order-card.status-served {
    background: linear-gradient(180deg, #edf8f1 0%, #fffdfa 100%);
    border-color: rgba(52, 169, 101, 0.26);
}

.waiter-order-card.status-settled {
    background: linear-gradient(180deg, #ebfaf7 0%, #fffdfa 100%);
    border-color: rgba(69, 190, 176, 0.28);
}

.waiter-order-card.status-cancelled {
    background: linear-gradient(180deg, #fdeeed 0%, #fffdfa 100%);
    border-color: rgba(216, 94, 84, 0.28);
}

.waiter-order-card.status-pending .waiter-order-meta {
    color: #9b6213;
}

.waiter-order-card.status-preparing .waiter-order-meta {
    color: #6a4fc9;
}

.waiter-order-card.status-with-courier .waiter-order-meta {
    color: #2f6fae;
}

.waiter-order-card.status-served .waiter-order-meta {
    color: #1f7a45;
}

.waiter-order-card.status-settled .waiter-order-meta {
    color: #2b8f82;
}

.waiter-order-card.status-cancelled .waiter-order-meta {
    color: #a43830;
}

.status-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 16px;
    background: #f8f3eb;
}

.status-form select {
    min-width: 150px;
}

.waiter-call-status-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 0;
    background: transparent;
}

.waiter-call-status-form .admin-table-action {
    width: 38px;
    height: 38px;
}

.waiter-call-status-form .admin-table-action.is-selected {
    box-shadow: inset 0 0 0 1px currentColor;
}

.waiter-call-status-form .admin-table-action:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.waiter-call-status-form .admin-table-action:disabled:hover {
    transform: none;
    box-shadow: none;
}

.waiter-call-status-form .is-accept {
    color: #2f9b55;
    border-color: rgba(47, 155, 85, 0.28);
}

.waiter-call-status-form .is-accept:hover {
    background: rgba(47, 155, 85, 0.12);
    border-color: rgba(47, 155, 85, 0.38);
}

.waiter-call-status-form .is-reject {
    color: #d75d54;
    border-color: rgba(215, 93, 84, 0.28);
}

.waiter-call-status-form .is-reject:hover {
    background: rgba(215, 93, 84, 0.12);
    border-color: rgba(215, 93, 84, 0.38);
}

.orders-status-cell {
    white-space: normal;
}

.order-status-form {
    align-items: stretch;
}

.order-preparation-field {
    display: none;
    flex: 1 1 180px;
}

.order-preparation-field.is-active {
    display: block;
}

.order-courier-fields {
    display: none;
    gap: 8px;
    width: 100%;
    flex: 1 1 100%;
}

.order-courier-fields.is-active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-preparation-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.order-preparation-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3eadc;
    color: #6d533b;
    font-size: 12px;
    line-height: 1.6;
}

.order-preparation-summary.is-live span {
    background: #efe8fb;
    color: #5a4798;
}

.order-preparation-summary.is-courier span {
    background: #e8f2fc;
    color: #2b5f96;
}

.table-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.table-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    padding: 20px;
    display: grid;
    gap: 14px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.table-card h3 {
    margin: 0;
    text-align: center;
}

.table-card-number {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto;
    border-radius: 24px;
    background: linear-gradient(135deg, #f3e6d4, #fff8ef);
    color: var(--primary-dark);
    font-size: 28px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb) / 0.08);
}

.table-card-caption {
    margin: 0;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-tools-grid,
    .content-grid,
    .admin-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stats-compact {
        grid-template-columns: 1fr;
    }

    .sales-panel__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sales-panel__stat {
        padding: 8px 8px;
    }

    .sales-panel__stat-label {
        font-size: 9px;
    }

    .sales-panel__stat-value,
    .sales-panel__stat.is-featured .sales-panel__stat-value,
    .sales-panel__stat:not(.is-featured) .sales-panel__stat-value {
        font-size: 12px;
    }

    .admin-sidebar {
        position: static;
        width: 100%;
        max-width: none;
        flex: none;
    }

    .admin-shell.admin-layout {
        width: min(100% - 20px, 1280px);
    }

    .admin-content {
        width: 100%;
    }

    .admin-command-bar {
        flex-direction: column;
    }

    .admin-command-meta,
    .admin-glance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stats-compact {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
    }

    .admin-nav {
        backdrop-filter: none;
    }
}

@media (max-width: 768px) {
    .menu-panel {
        grid-template-columns: 1fr;
    }

    .page-shell,
    .admin-shell {
        width: min(100% - 20px, 1200px);
        padding: 16px 0 96px;
    }

    .admin-shell.admin-layout {
        padding-top: 16px;
    }

    .site-navbar {
        top: 8px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .toolbar-card,
    .info-card,
    .table-banner,
    .sticky-card,
    .subcategory-card,
    .admin-panel,
    .hero-card,
    .admin-header,
    .auth-card {
        border-radius: 18px;
        padding: 18px;
    }

    .hero-card,
    .table-banner,
    .menu-item,
    .site-footer,
    .status-form,
    .inline-actions,
    .admin-section-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 8px;
    }

    .admin-header-title {
        flex: 1 1 auto;
        min-width: 0;
    }

    .admin-header-title p {
        display: none;
    }

    .admin-header h1 {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .admin-actions {
        gap: 4px;
    }

    .admin-actions .btn,
    .admin-actions .admin-user {
        width: 36px;
        min-width: 36px;
    }

    .admin-actions .btn,
    .admin-user {
        min-height: 36px;
    }

    .admin-notification-panel {
        width: min(360px, calc(100vw - 28px));
    }

    .admin-section-heading-copy {
        gap: 12px;
    }

    .admin-section-heading-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .admin-section-heading-icon svg {
        width: 20px;
        height: 20px;
    }

    .admin-icon-btn svg {
        width: 16px;
        height: 16px;
    }

    .admin-command-bar,
    .admin-glance-card {
        border-radius: 18px;
    }

    .admin-command-copy h2 {
        font-size: 20px;
    }

    .admin-command-meta,
    .admin-glance-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        gap: 8px;
        margin-bottom: 8px;
        padding: 10px 12px;
    }

    .table-banner {
        gap: 10px;
        padding: 14px 16px;
    }

    .table-banner-copy {
        gap: 3px;
    }

    .table-banner-title {
        font-size: 14px;
    }

    .table-banner-text {
        font-size: 12.5px;
        line-height: 1.75;
    }

    .table-banner .badge {
        width: 100%;
        max-width: none;
        font-size: 12px;
        line-height: 1.65;
        padding: 10px 12px;
    }

    .table-banner-hint-badge {
        width: 100%;
    }

    .hero-card h1,
    .admin-header h1,
    .auth-card h1 {
        font-size: clamp(17px, 6vw, 22px);
        margin-top: 2px;
    }

    .hero-meta,
    .admin-actions {
        width: 100%;
    }

    .admin-notification-panel {
        position: fixed;
        top: 84px;
        left: 14px;
        right: 14px;
        width: auto;
        max-height: calc(100vh - 112px);
    }

    .hero-meta {
        min-width: 0;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-tools-grid {
        gap: 12px;
        margin-top: 10px;
        margin-bottom: 14px;
    }

    .share-actions,
    .language-switcher,
    .theme-mode-group,
    .socials {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        margin-inline: -2px;
        scrollbar-width: none;
    }

    .share-actions::-webkit-scrollbar,
    .language-switcher::-webkit-scrollbar,
    .theme-mode-group::-webkit-scrollbar,
    .socials::-webkit-scrollbar {
        display: none;
    }

    .share-actions > *,
    .language-switcher > *,
    .theme-mode-group > *,
    .socials > * {
        flex: 0 0 auto;
    }

    .theme-mode-btn,
    .lang-chip,
    .social-link {
        min-height: 44px;
    }

    .nav-popover {
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: min(60vh, 420px);
        overflow-y: auto;
    }

    .navbar-actions {
        gap: 6px;
        flex-shrink: 0;
    }

    .navbar-actions .nav-tool {
        display: block;
    }

    .nav-tool {
        position: static;
    }

    .mobile-quick-tools {
        display: none;
    }

    .share-actions,
    .language-switcher,
    .theme-mode-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
        margin-inline: 0;
    }

    .share-actions > *,
    .language-switcher > *,
    .theme-mode-group > * {
        width: 100%;
        min-width: 0;
    }

    .lang-chip,
    .theme-mode-btn,
    .social-link,
    button.social-link {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cart"
            "menu";
        gap: 14px;
    }

    .cart-panel {
        position: relative;
        z-index: 2;
    }

    .sticky-card {
        padding: 18px;
    }

    .cart-form,
    .order-form {
        gap: 14px;
    }

    .category-block {
        box-shadow: var(--shadow-soft);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .category-toggle {
        padding: 12px 14px;
        align-items: center;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .category-summary,
    .category-block[open] .category-summary {
        display: flex;
        align-items: center;
        justify-items: stretch;
        gap: 12px;
        text-align: right;
    }

    .category-content {
        padding: 0 14px 14px;
    }

    .subcategory-head {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .subcategory-title {
        align-items: center;
        justify-content: flex-start;
    }

    .subcategory-title > div:last-child {
        flex: 1;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }

    .waiter-order-form {
        grid-template-columns: 1fr;
    }

    .menu-actions {
        width: 100%;
        min-width: 0;
        justify-items: stretch;
    }

    .cart-controls {
        justify-items: stretch;
    }

    .cart-remove-btn {
        width: 100%;
    }

    .menu-item {
        grid-template-columns: 84px minmax(0, 1fr);
        grid-template-areas:
            "media copy"
            "actions actions";
        padding: 12px;
        gap: 10px;
    }

    .menu-copy,
    .menu-actions,
    .menu-actions form,
    .menu-actions .btn {
        width: 100%;
    }

    .menu-media {
        width: 84px;
        height: 84px;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .menu-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: stretch;
    }

    .price {
        font-size: 18px;
    }

    .rating-summary,
    .rating-form {
        gap: 6px;
    }

    .star-btn {
        font-size: 24px;
        min-width: 28px;
    }

    .theme-color-picker {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-row,
    .total-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-row > div:first-child,
    .cart-controls {
        width: 100%;
    }

    .checkout-choice {
        padding: 12px 14px;
    }

    #delivery-map {
        height: 220px;
    }

    .mobile-cart-bar {
        position: fixed;
        right: 12px;
        left: 12px;
        bottom: 12px;
        z-index: 30;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 18px;
        background: var(--primary);
        color: #fff;
        box-shadow: 0 16px 36px rgba(var(--text-rgb) / 0.22);
    }

    body[data-theme="dark"] .mobile-cart-bar {
        background: #2F4F3A;
    }

    .admin-nav a::after {
        display: none;
    }

    .dashboard-summary-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-panel-title-group {
        align-items: center;
        flex-direction: row;
    }

    .sales-panel__chart {
        padding: 14px 10px 10px;
    }

    .sales-panel__bar {
        height: 148px;
    }

    .sales-panel__plot {
        gap: 8px;
    }
    .tracking-preparation-grid {
        grid-template-columns: 1fr;
    }

    .tracking-preparation-head {
        flex-direction: column;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }

    .tracking-preparation-head,
        border-radius: 18px;
    }

    .order-preparation-field {
        width: 100%;
        flex-basis: 100%;
    }

    .order-courier-fields.is-active {
        grid-template-columns: 1fr;
    }

    .admin-order-edit-grid {
        grid-template-columns: 1fr;
    }

    .admin-order-edit-head,
    .admin-order-edit-item-main {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-order-edit-meta {
        justify-content: flex-start;
    }

    .admin-order-edit-panel {
        padding: 22px 18px 28px;
    }

    .admin-order-edit-form,
    .admin-order-edit-summary {
        padding: 18px 16px;
    }

    .admin-order-edit-form-head {
        grid-template-columns: 1fr;
    }

    .admin-order-edit-close {
        justify-self: start;
    }

    .admin-order-edit-form-surface {
        padding: 16px;
    }

    .admin-order-edit-form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .admin-order-edit-field,
    .admin-order-edit-field.is-qty {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 8px;
    }

    .admin-order-edit-field.is-qty {
        max-width: none;
    }

    .admin-order-edit-item {
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .page-shell,
    .admin-shell {
        width: min(100% - 16px, 1200px);
        padding-top: 12px;
    }

    .site-navbar {
        gap: 10px;
        padding: 9px 10px;
    }

    .toolbar-card,
    .info-card,
    .table-banner,
    .sticky-card,
    .subcategory-card,
    .hero-card {
        padding: 16px;
    }

    .hero-card::after,
    .admin-header::after {
        width: 120px;
        height: 120px;
    }

    .eyebrow {
        font-size: 10px;
        padding: 5px 8px;
    }

    .navbar-brand strong {
        font-size: 14px;
    }

    .nav-icon-btn {
        width: 40px;
        height: 40px;
    }

    .meta-chip,
    .badge,
    .info-item {
        padding: 12px 14px;
    }

    .delivery-map-head {
        flex-direction: column;
    }

    .section-title h2,
    .subcategory-head h3 {
        font-size: 18px;
    }

    .category-thumb {
        width: 44px;
        height: 44px;
    }

    .subcategory-thumb {
        width: 46px;
        height: 46px;
    }


    .category-count,
    .rating-summary,
    .rating-label,
    .helper-note,
    label span {
        font-size: 12px;
    }

    input[type="text"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="url"],
    textarea,
    select,
    .btn {
        font-size: 15px;
    }

    .mobile-cart-bar {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 13px 14px;
    }
}

/* Admin-only palette override */
.admin-body {
    --bg: #1b1b1d;
    --surface: #1b1b1d;
    --surface-soft: #242428;
    --text: #f2f2f2;
    --muted: rgba(242, 242, 242, 0.72);
    --primary: #22c55e;
    --primary-dark: #22c55e;
    --accent: #22c55e;
    --primary-rgb: 34 197 94;
    --text-rgb: 242 242 242;
    --success: #22c55e;
    --warning: #22c55e;
    --danger: #f2f2f2;
    --border: rgba(242, 242, 242, 0.12);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.22);
    --shadow-hover: 0 22px 46px rgba(0, 0, 0, 0.3);
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), transparent 24%),
        linear-gradient(180deg, #1b1b1d 0%, #1b1b1d 100%);
    color: #f2f2f2;
}

.admin-body .admin-header,
.admin-body .admin-section-group,
.admin-body .admin-panel,
.admin-body .admin-nav,
.admin-body .admin-sidebar-card,
.admin-body .admin-notification-panel,
.admin-body .table-wrap,
.admin-body .order-receipt,
.admin-body .status-form,
.admin-body .waiter-order-card {
    background: #1b1b1d;
    border-color: rgba(242, 242, 242, 0.1);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.admin-body .admin-notification-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 197, 94, 0.72) rgba(242, 242, 242, 0.06);
}

.admin-body .admin-notification-panel::-webkit-scrollbar {
    width: 10px;
}

.admin-body .admin-notification-panel::-webkit-scrollbar-track {
    background: rgba(242, 242, 242, 0.06);
    border-radius: 999px;
}

.admin-body .admin-notification-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(74, 222, 128, 0.92), rgba(34, 197, 94, 0.88));
    border-radius: 999px;
    border: 2px solid rgba(27, 27, 29, 0.92);
}

.admin-body .admin-notification-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(134, 239, 172, 0.96), rgba(34, 197, 94, 0.96));
}

.admin-body .admin-header,
.admin-body .admin-section-group,
.admin-body .admin-panel,
.admin-body .admin-nav,
.admin-body .table-wrap,
.admin-body .order-receipt {
    backdrop-filter: blur(12px);
}

.admin-body .admin-header::after,
.admin-body .admin-command::after {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 70%);
}

.admin-body .admin-notification-panel-head {
    background: #1b1b1d;
    border-radius: 16px 16px 0 0;
}

.admin-body .dashboard-panel {
    position: relative;
    overflow: hidden;
    gap: 14px;
    padding: 16px;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), transparent 32%),
        radial-gradient(circle at bottom left, rgba(242, 242, 242, 0.05), transparent 28%),
        linear-gradient(180deg, rgba(36, 36, 40, 0.98) 0%, rgba(27, 27, 29, 1) 100%);
    border: 1px solid rgba(242, 242, 242, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(242, 242, 242, 0.04),
        0 22px 42px rgba(0, 0, 0, 0.28);
}

.admin-body .dashboard-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(242, 242, 242, 0.03), transparent 32%);
    pointer-events: none;
}

.admin-body .dashboard-panel > * {
    position: relative;
    z-index: 1;
}

.admin-body .dashboard-panel-icon {
    background: rgba(34, 197, 94, 0.14);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.22);
    box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.05);
}

.admin-body .dashboard-panel-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
}

.admin-body .dashboard-panel-icon svg {
    width: 18px;
    height: 18px;
}

.admin-body .dashboard-panel-title-copy h2 {
    color: #f2f2f2;
}

.admin-body .dashboard-status-summary,
.admin-body .dashboard-status-tables {
    background: linear-gradient(180deg, rgba(36, 36, 40, 0.98) 0%, rgba(28, 28, 32, 0.98) 100%);
    border-color: rgba(242, 242, 242, 0.08);
    box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.04);
}

.admin-body .dashboard-status-summary-head,
.admin-body .dashboard-status-tables-head {
    border-bottom-color: rgba(242, 242, 242, 0.08);
}

.admin-body .dashboard-status-summary-title,
.admin-body .dashboard-status-tables-copy > span {
    color: #f2f2f2;
}

.admin-body .dashboard-status-summary-copy small,
.admin-body .dashboard-status-tables-copy small {
    color: rgba(242, 242, 242, 0.58);
}

.admin-body .dashboard-status-summary-total,
.admin-body .dashboard-status-tables-count {
    background: rgba(94, 124, 96, 0.18);
    color: #f2f2f2;
}

.admin-body .dashboard-status-panel .status-meter-row {
    padding: 8px 9px 7px;
    border-radius: 12px;
    border-color: rgba(242, 242, 242, 0.08);
    background: rgba(242, 242, 242, 0.03);
    box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.03);
}

.admin-body .dashboard-status-panel .status-meter-row:not(.is-empty):hover {
    box-shadow:
        inset 0 1px 0 rgba(242, 242, 242, 0.05),
        0 10px 22px rgba(0, 0, 0, 0.22);
}

.admin-body .dashboard-status-panel .status-meter-row.is-empty {
    opacity: 0.62;
}

.admin-body .dashboard-status-panel .status-meter-row--pending,
.admin-body .dashboard-status-panel .status-meter-row--preparing,
.admin-body .dashboard-status-panel .status-meter-row--with_courier,
.admin-body .dashboard-status-panel .status-meter-row--served,
.admin-body .dashboard-status-panel .status-meter-row--settled,
.admin-body .dashboard-status-panel .status-meter-row--cancelled {
    background: rgba(242, 242, 242, 0.03);
}

.admin-body .dashboard-status-panel .status-meter-head span {
    color: rgba(242, 242, 242, 0.72);
}

.admin-body .dashboard-status-panel .status-meter-head strong {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(242, 242, 242, 0.08);
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
}

.admin-body .dashboard-status-panel .status-meter-track {
    height: 4px;
    background: rgba(242, 242, 242, 0.08);
}

.admin-body .dashboard-status-panel .status-meter-dot {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.admin-body .dashboard-status-panel .dashboard-table-grid {
    background: linear-gradient(180deg, rgba(28, 28, 32, 0.98) 0%, rgba(18, 18, 20, 0.98) 100%);
    border-color: rgba(242, 242, 242, 0.08);
}

.admin-body .dashboard-status-panel .dashboard-table-chip {
    border-color: rgba(242, 242, 242, 0.08);
    background: linear-gradient(180deg, rgba(242, 242, 242, 0.04), rgba(34, 197, 94, 0.04));
    box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.03);
}

.admin-body .dashboard-status-panel .dashboard-table-chip:hover {
    box-shadow:
        inset 0 1px 0 rgba(242, 242, 242, 0.05),
        0 12px 24px rgba(0, 0, 0, 0.24);
}

.admin-body .status-meter-row {
    position: relative;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(242, 242, 242, 0.04), rgba(242, 242, 242, 0.02));
    border: 1px solid rgba(242, 242, 242, 0.07);
    box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.03);
    overflow: hidden;
}

.admin-body .status-meter-row::before {
    display: none;
}

.admin-body .status-meter-row--pending {
    background: linear-gradient(180deg, rgba(237, 168, 62, 0.1), rgba(242, 242, 242, 0.02));
}

.admin-body .status-meter-row--pending::before,
.admin-body .status-meter-row--pending .status-meter-dot {
    background: #eda83e;
}

.admin-body .status-meter-row--preparing {
    background: linear-gradient(180deg, rgba(138, 116, 246, 0.1), rgba(242, 242, 242, 0.02));
}

.admin-body .status-meter-row--preparing::before,
.admin-body .status-meter-row--preparing .status-meter-dot {
    background: #8a74f6;
}

.admin-body .status-meter-row--with_courier {
    background: linear-gradient(180deg, rgba(121, 181, 238, 0.1), rgba(242, 242, 242, 0.02));
}

.admin-body .status-meter-row--with_courier::before,
.admin-body .status-meter-row--with_courier .status-meter-dot {
    background: #79b5ee;
}

.admin-body .status-meter-row--served {
    background: linear-gradient(180deg, rgba(52, 169, 101, 0.1), rgba(242, 242, 242, 0.02));
}

.admin-body .status-meter-row--served::before,
.admin-body .status-meter-row--served .status-meter-dot {
    background: #34a965;
}

.admin-body .status-meter-row--settled {
    background: linear-gradient(180deg, rgba(69, 190, 176, 0.1), rgba(242, 242, 242, 0.02));
}

.admin-body .status-meter-row--settled::before,
.admin-body .status-meter-row--settled .status-meter-dot {
    background: #45beb0;
}

.admin-body .status-meter-row--cancelled {
    background: linear-gradient(180deg, rgba(216, 94, 84, 0.1), rgba(242, 242, 242, 0.02));
}

.admin-body .status-meter-row--cancelled::before,
.admin-body .status-meter-row--cancelled .status-meter-dot {
    background: #d85e54;
}

.admin-body .status-meter-label-group span {
    color: #f2f2f2;
    font-size: 12px;
    font-weight: 700;
}

.admin-body .status-meter-dot {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.03);
}

.admin-body .status-meter-head strong {
    min-width: 0;
    padding: 0 0 0 6px;
    border-radius: 0;
    background: transparent;
    border: 0;
    font-size: 18px;
    line-height: 1;
    text-align: left;
}

.admin-body .dashboard-status-panel .status-meter-head strong {
    min-width: 22px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(242, 242, 242, 0.08);
    font-size: 13px;
    text-align: center;
}

.admin-body .dashboard-table-grid {
    margin-top: 4px;
}

.admin-body .dashboard-table-chip {
    border: 1px solid rgba(242, 242, 242, 0.08);
    background: linear-gradient(180deg, rgba(242, 242, 242, 0.04), rgba(34, 197, 94, 0.05));
    box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.03);
}

.admin-body .dashboard-table-chip span {
    color: rgba(242, 242, 242, 0.66);
}

.admin-body .dashboard-table-chip strong {
    color: #f2f2f2;
}

.admin-body .dashboard-table-chip.is-status-pending,
.admin-body .dashboard-table-chip.is-unreviewed-order {
    border-color: rgba(248, 113, 113, 0.62);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.34), rgba(185, 28, 28, 0.2));
    box-shadow:
        0 0 0 1px rgba(248, 113, 113, 0.18),
        0 12px 24px rgba(239, 68, 68, 0.2);
    animation: dashboard-table-pending-pulse 2.2s ease-in-out infinite;
}

.admin-body .dashboard-table-chip.is-status-pending span,
.admin-body .dashboard-table-chip.is-unreviewed-order span,
.admin-body .dashboard-table-chip.is-status-pending strong,
.admin-body .dashboard-table-chip.is-unreviewed-order strong {
    color: #ffe4e2;
}

.admin-body .dashboard-table-chip.is-status-pending small,
.admin-body .dashboard-table-chip.is-unreviewed-order small {
    color: #fecaca;
    font-weight: 800;
}

.admin-body .dashboard-table-chip.is-status-preparing {
    border-color: rgba(138, 116, 246, 0.34);
    background: linear-gradient(180deg, rgba(138, 116, 246, 0.2), rgba(138, 116, 246, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-body .dashboard-table-chip.is-status-preparing span,
.admin-body .dashboard-table-chip.is-status-preparing strong {
    color: #ece6ff;
}

.admin-body .dashboard-table-chip.is-status-with_courier,
.admin-body .dashboard-table-chip.is-status-served {
    border-color: rgba(121, 181, 238, 0.34);
    background: linear-gradient(180deg, rgba(121, 181, 238, 0.2), rgba(121, 181, 238, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-body .dashboard-table-chip.is-status-with_courier span,
.admin-body .dashboard-table-chip.is-status-with_courier strong,
.admin-body .dashboard-table-chip.is-status-served span,
.admin-body .dashboard-table-chip.is-status-served strong {
    color: #e1f0ff;
}

.admin-body .dashboard-table-chip.is-status-free,
.admin-body .dashboard-table-chip.is-status-settled {
    border-color: rgba(34, 197, 94, 0.34);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-body .dashboard-table-chip.is-status-free span,
.admin-body .dashboard-table-chip.is-status-free strong,
.admin-body .dashboard-table-chip.is-status-settled span,
.admin-body .dashboard-table-chip.is-status-settled strong {
    color: #dff8e7;
}

.admin-body .dashboard-table-chip.is-status-cancelled {
    border-color: rgba(192, 75, 67, 0.28);
    background: linear-gradient(180deg, rgba(192, 75, 67, 0.18), rgba(192, 75, 67, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-body .dashboard-table-chip.is-status-cancelled span,
.admin-body .dashboard-table-chip.is-status-cancelled strong {
    color: #ffe3e0;
}

.admin-body .dashboard-table-chip.is-status-cancelled small {
    color: rgba(255, 227, 224, 0.86);
}

.admin-body .dashboard-table-chip small {
    color: rgba(242, 242, 242, 0.76);
}

.admin-body .dashboard-table-chip:hover {
    transform: translateY(-1px);
}

.admin-body .dashboard-table-chip:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.34);
    outline-offset: 2px;
}

.admin-body.is-dashboard-table-modal-open {
    overflow: hidden;
}

.admin-body.is-dashboard-table-modal-open .admin-footer {
    visibility: hidden;
}

.admin-body .dashboard-table-modal {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-body .dashboard-table-modal[hidden] {
    display: none !important;
}

.admin-body .dashboard-table-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 15, 0.68);
    backdrop-filter: blur(4px);
}

.admin-body .dashboard-table-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(242, 242, 242, 0.1);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(23, 23, 30, 0.98), rgba(18, 18, 24, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.admin-body .dashboard-table-modal-head,
.admin-body .dashboard-table-modal-items-head,
.admin-body .dashboard-table-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-body .dashboard-table-modal-head strong {
    display: block;
    font-size: 19px;
    color: #f7f7f8;
}

.admin-body .dashboard-table-modal-head small,
.admin-body .dashboard-table-modal-items-head span {
    color: rgba(242, 242, 242, 0.66);
}

.admin-body .dashboard-table-modal-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-body .dashboard-table-modal-meta-item,
.admin-body .dashboard-table-modal-items {
    border: 1px solid rgba(242, 242, 242, 0.08);
    border-radius: 18px;
    background: rgba(242, 242, 242, 0.04);
    padding: 12px 14px;
}

.admin-body .dashboard-table-modal-meta-item {
    display: grid;
    gap: 6px;
}

.admin-body .dashboard-table-modal-meta-item span {
    color: rgba(242, 242, 242, 0.64);
    font-size: 11px;
}

.admin-body .dashboard-table-modal-meta-item strong,
.admin-body .dashboard-table-modal-items-head strong {
    color: #f2f2f2;
}

.admin-body .dashboard-table-modal-items {
    display: grid;
    gap: 12px;
}

.admin-body .dashboard-table-modal-status-editor {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.16));
}

.admin-body .dashboard-table-modal-status-editor[hidden] {
    display: none !important;
}

.admin-body .dashboard-table-modal-status-form {
    display: grid;
    gap: 10px;
}

.admin-body .dashboard-table-modal-status-form select {
    width: 100%;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(242, 242, 242, 0.12);
    background: rgba(15, 23, 42, 0.78);
    color: #f8fafc;
}

.admin-body .dashboard-table-modal-status-feedback {
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.8;
}

.admin-body .dashboard-table-modal-status-feedback[hidden] {
    display: none !important;
}

.admin-body .dashboard-table-modal-status-feedback[data-state="info"] {
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
}

.admin-body .dashboard-table-modal-status-feedback[data-state="success"] {
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
}

.admin-body .dashboard-table-modal-status-feedback[data-state="error"] {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

.admin-body .dashboard-table-modal-items-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.admin-body .dashboard-table-modal-items-list li {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(242, 242, 242, 0.88);
}

.admin-body .dashboard-table-modal-actions {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .admin-body .dashboard-table-modal {
        padding: 14px;
        align-items: end;
    }

    .admin-body .dashboard-table-modal-dialog {
        width: 100%;
        max-height: min(84vh, 720px);
        overflow: auto;
        padding: 16px;
        border-radius: 22px 22px 18px 18px;
    }

    .admin-body .dashboard-table-modal-head,
    .admin-body .dashboard-table-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-body .dashboard-table-modal-meta {
        grid-template-columns: 1fr;
    }

    .admin-body .dashboard-table-modal-items-head {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-quick-waiter-call-item {
        display: grid;
        gap: 12px;
    }

    .admin-quick-waiter-call-form {
        justify-content: flex-start;
    }

    .admin-manual-order-grid,
    .admin-manual-order-review-grid,
    .admin-manual-order-steps {
        grid-template-columns: 1fr;
    }

    .admin-manual-order-table-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-manual-order-builder,
    .admin-manual-order-selected {
        padding: 16px;
        border-radius: 18px;
    }

    .admin-manual-order-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-manual-order-section-head span {
        min-height: 26px;
    }

    .admin-manual-order-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-manual-order-step-actions {
        width: 100%;
        margin-inline-start: 0;
    }

    .admin-manual-order-item {
        display: grid;
        gap: 10px;
    }

    .admin-manual-order-item-meta,
    .admin-manual-order-form .dashboard-table-modal-actions {
        justify-content: flex-start;
    }
}

.admin-body .admin-footer {
    margin-top: 18px;
    justify-content: center;
    border-radius: 22px;
    border: 1px solid rgba(242, 242, 242, 0.08);
    background: linear-gradient(135deg, rgba(242, 242, 242, 0.04), rgba(34, 197, 94, 0.08));
    box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.04);
    padding: 14px 18px;
    color: rgba(242, 242, 242, 0.78);
}

.admin-body .admin-footer h3 {
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    color: inherit;
}

.admin-body .admin-footer-heart {
    display: inline-block;
    margin: 0 4px;
    filter: drop-shadow(0 2px 8px rgba(239, 68, 68, 0.28));
}

.admin-body .sales-panel__ranges {
    background: rgba(94, 124, 96, 0.12);
    border-color: rgba(94, 124, 96, 0.18);
}

.admin-body .sales-panel__ranges a {
    color: rgba(242, 242, 242, 0.78);
}

.admin-body .sales-panel__ranges a:hover {
    color: #f2f2f2;
    background: rgba(242, 242, 242, 0.08);
}

.admin-body .sales-panel__ranges a.is-active {
    background: linear-gradient(135deg, #5E7C60 0%, #2F4F3A 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(94, 124, 96, 0.32);
}

.admin-body .sales-panel__stats {
    background: linear-gradient(180deg, rgba(36, 36, 40, 0.98) 0%, rgba(28, 28, 32, 0.98) 100%);
    border-color: rgba(242, 242, 242, 0.08);
}

.admin-body .sales-panel__stat {
    background: transparent;
    border-color: rgba(242, 242, 242, 0.08);
    box-shadow: none;
}

.admin-body .sales-panel__stat:not(:last-child) {
    border-inline-end-color: rgba(242, 242, 242, 0.08);
}

.admin-body .sales-panel__stat.is-featured {
    background: rgba(94, 124, 96, 0.14);
    box-shadow: none;
}

.admin-body .sales-panel__stat-label {
    color: rgba(242, 242, 242, 0.68);
}

.admin-body .sales-panel__stat-value {
    color: #f2f2f2;
}

.admin-body .sales-panel__stat.is-featured .sales-panel__stat-value {
    color: #fff;
}

.admin-body .sales-panel__empty {
    color: #f2f2f2;
    background: rgba(94, 124, 96, 0.16);
    border-color: rgba(143, 168, 145, 0.45);
}

.admin-body .sales-panel__chart {
    background: linear-gradient(180deg, rgba(28, 28, 32, 0.98) 0%, rgba(18, 18, 20, 0.98) 100%);
    border-color: rgba(242, 242, 242, 0.08);
}

.admin-body .sales-panel__bar {
    background: rgba(242, 242, 242, 0.05);
}

.admin-body .sales-panel__bar span {
    background: linear-gradient(180deg, #8FA891 0%, #5E7C60 55%, #2F4F3A 100%);
}

.admin-body .sales-panel__amount {
    color: #bbf7d0;
}

.admin-body .sales-panel__amount.is-empty {
    color: rgba(242, 242, 242, 0.34);
}

.admin-body .sales-panel__label {
    color: rgba(242, 242, 242, 0.65);
}

.admin-body .admin-header h1,
.admin-body .admin-section-heading h2,
.admin-body .section-title h2,
.admin-body .admin-notification-panel-head strong,
.admin-body .sidebar-notification-heading strong,
.admin-body .admin-entry-summary-copy strong,
.admin-body .admin-item-category-copy strong,
.admin-body .admin-glance-card strong,
.admin-body .stat-card strong,
.admin-body .status-meter-head strong,
.admin-body .orders-table th,
.admin-body .orders-table td,
.admin-body .order-receipt,
.admin-body .admin-form label span,
.admin-body .admin-form .checkbox-row span,
.admin-body .admin-nav a,
.admin-body .admin-user,
.admin-body .admin-icon-btn,
.admin-body .helper-note,
.admin-body .admin-header-title,
.admin-body .admin-section-heading-copy,
.admin-body .orders-table,
.admin-body .status-form,
.admin-body .order-items-toggle summary {
    color: #f2f2f2;
}

.admin-body .admin-header h1 {
    background: rgba(242, 242, 242, 0.04);
    border-color: rgba(242, 242, 242, 0.1);
}

.admin-body .admin-section-heading,
.admin-body .sidebar-notification-group,
.admin-body .orders-table th,
.admin-body .orders-table td,
.admin-body .admin-order-edit-item,
.admin-body .status-meter-row,
.admin-body .order-receipt {
    border-color: rgba(242, 242, 242, 0.1);
}

.admin-body .admin-section-heading-icon,
.admin-body .admin-glance-card-head,
.admin-body .stat-card-highlight,
.admin-body .status-meter-track,
.admin-body .order-preparation-field,
.admin-body .order-courier-fields,
.admin-body .delivery-map-block,
.admin-body .checkout-choice {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}

.admin-body .admin-nav {
    background: #1b1b1d;
}

.admin-body .admin-nav a,
.admin-body .admin-nav-group-summary,
.admin-body .admin-nav-trigger,
.admin-body .admin-entry-summary,
.admin-body .admin-item-category-card,
.admin-body .admin-category-node,
.admin-body .admin-category-child,
.admin-body .admin-items-pagination a,
.admin-body .admin-table-action,
.admin-body .admin-table-action-form button,
.admin-body .admin-glance-card,
.admin-body .stat-card,
.admin-body .sidebar-notification-item,
.admin-body .sidebar-notification-empty,
.admin-body .admin-form label,
.admin-body .admin-form .checkbox-row,
.admin-body .order-items-toggle summary {
    background: #242428;
    border-color: rgba(242, 242, 242, 0.1);
}

.admin-body .admin-couriers-table-wrap {
    background: #fff7ef;
    border-color: rgba(214, 191, 164, 0.48);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.admin-body .admin-couriers-table,
.admin-body .admin-couriers-table th,
.admin-body .admin-couriers-table td,
.admin-body .admin-couriers-table a {
    color: #000;
}

.admin-body .admin-couriers-table thead {
    background: #ece5d8;
}

.admin-body .admin-couriers-table tbody tr:nth-child(even) {
    background: #fffaf4;
}

.admin-body .admin-couriers-table tbody tr:hover {
    background: #f7efe3;
}

.admin-courier-form-toggle {
    margin-bottom: 20px;
}

.admin-courier-form-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(242, 242, 242, 0.1);
    border-radius: 18px;
    background: #242428;
    cursor: pointer;
    list-style: none;
}

.admin-courier-form-summary::-webkit-details-marker {
    display: none;
}

.admin-courier-form-summary::marker {
    content: "";
    display: none;
}

.admin-courier-form-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-courier-form-summary-copy strong {
    color: #f2f2f2;
    font-size: 16px;
    font-weight: 800;
}

.admin-courier-form-summary-copy small {
    color: rgba(242, 242, 242, 0.7);
    font-size: 12px;
    line-height: 1.7;
}

.admin-courier-form-summary-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-courier-form-summary-meta::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(242, 242, 242, 0.82);
    border-bottom: 2px solid rgba(242, 242, 242, 0.82);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.admin-courier-form-toggle[open] .admin-courier-form-summary-meta::before {
    transform: rotate(225deg);
}

.admin-courier-form-summary .btn {
    pointer-events: none;
}

.admin-courier-form-body {
    padding-top: 16px;
}

.admin-body .admin-nav a:hover,
.admin-body .admin-nav-group-summary:hover,
.admin-body .admin-nav-group-summary:hover .admin-nav-trigger,
.admin-body .admin-entry-summary:hover,
.admin-body .admin-item-category-card:hover,
.admin-body .admin-category-child:hover,
.admin-body .admin-items-pagination a:hover,
.admin-body .admin-table-action:hover,
.admin-body .admin-table-action-form button:hover,
.admin-body .admin-glance-card:hover,
.admin-body .stat-card:hover,
.admin-body .sidebar-notification-item:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.admin-body .admin-nav a.is-active,
.admin-body .admin-nav a.is-active:hover,
.admin-body .btn-primary,
.admin-body .sidebar-notification-count,
.admin-body .admin-header-notification-badge,
.admin-body .price,
.admin-body .status-meter-fill {
    background: #22c55e;
    color: #1b1b1d;
    border-color: transparent;
    box-shadow: none;
}

.admin-body .admin-nav a.is-active .admin-nav-item-arrow,
.admin-body .admin-nav a.is-active .admin-nav-item-arrow {
    color: rgba(242, 242, 242, 0.86);
}

.admin-body .admin-nav-group.is-open .admin-nav-trigger,
.admin-body .admin-nav-group[open] .admin-nav-trigger {
    background: #242428;
    color: #f2f2f2;
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.08);
}

.admin-body .admin-nav-group.is-open .admin-nav-trigger .admin-inline-icon,
.admin-body .admin-nav-group[open] .admin-nav-trigger .admin-inline-icon,
.admin-body .admin-nav-group.is-open .admin-nav-item-arrow,
.admin-body .admin-nav-group[open] .admin-nav-item-arrow {
    color: #86efac;
}

.admin-body .admin-nav-group-summary:hover .admin-nav-trigger,
.admin-body .admin-nav-group.is-open .admin-nav-trigger:hover,
.admin-body .admin-nav-group[open] .admin-nav-trigger:hover {
    background: #2a2a2f;
    border-color: rgba(34, 197, 94, 0.36);
}

.admin-body .admin-quick-access-link {
    background: #242428;
    color: #f2f2f2;
    border-color: rgba(242, 242, 242, 0.1);
}

.admin-body .admin-quick-access-link:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.admin-body .admin-quick-access-link.is-active {
    background: #22c55e;
    color: #1b1b1d;
    border-color: transparent;
    box-shadow: none;
}

.admin-body .admin-quick-access-link.is-active .admin-nav-item-arrow {
    color: rgba(27, 27, 29, 0.72);
}

.admin-body .admin-quick-waiter-call-action.is-reject {
    background: #242428;
    color: #f2f2f2;
    border-color: rgba(242, 242, 242, 0.1);
}

.admin-body .admin-quick-waiter-call-action.is-reject:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.34);
    box-shadow: none;
}

.admin-body .admin-entry-summary-copy small {
    color: rgba(242, 242, 242, 0.62);
}

.admin-body .admin-category-node-copy strong,
.admin-body .admin-category-child-copy strong {
    color: #f2f2f2;
}

.admin-body .admin-category-node-copy small,
.admin-body .admin-category-child-copy small {
    color: rgba(242, 242, 242, 0.62);
}

.admin-body .admin-item-category-copy small,
.admin-body .admin-items-results-meta {
    color: rgba(242, 242, 242, 0.62);
}

.admin-body .admin-order-edit-head .section-title p,
.admin-body .admin-order-edit-item-copy small,
.admin-body .admin-order-edit-item-meta span {
    color: rgba(242, 242, 242, 0.72);
}

.admin-body .admin-order-edit-form,
.admin-body .admin-order-edit-summary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
    border-color: rgba(242, 242, 242, 0.09);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.admin-body .admin-order-edit-form .section-title p {
    color: rgba(242, 242, 242, 0.72);
}

.admin-body .admin-order-edit-form .admin-order-edit-table-box .section-title h2,
.admin-body .admin-order-edit-form .admin-order-edit-table-box .section-title p {
    color: #111111;
}

.admin-body .admin-order-edit-form-surface {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(242, 242, 242, 0.08);
}

.admin-body .admin-order-edit-meta span {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(242, 242, 242, 0.1);
    color: #f2f2f2;
}

.admin-body .admin-order-edit-field > span {
    color: #f2f2f2;
}

.admin-body .admin-order-edit-field.is-item select,
.admin-body .admin-order-edit-field.is-qty input {
    background: #242428;
    border-color: rgba(242, 242, 242, 0.1);
    color: #f2f2f2;
}

.admin-body .admin-order-edit-qty-btn {
    background: #242428;
    border-color: rgba(242, 242, 242, 0.1);
    color: #f2f2f2;
}

.admin-body .admin-order-edit-qty-btn:hover {
    background: #2a2a2f;
    border-color: rgba(34, 197, 94, 0.24);
}

.admin-body .admin-order-edit-submit {
    background: linear-gradient(135deg, #2f8c58, #276e46);
    color: #f6fffa;
    box-shadow: 0 14px 28px rgba(17, 61, 37, 0.32);
}

.admin-body .admin-order-edit-submit:hover {
    background: linear-gradient(135deg, #349964, #2a7a4d);
}

.admin-body .admin-entry-summary-arrow {
    color: #86efac;
}

.admin-body .admin-category-node-arrow {
    color: #86efac;
}

.admin-body .admin-category-node-body {
    border-top-color: rgba(242, 242, 242, 0.08);
}

.admin-body .admin-item-category-count {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
}

.admin-body .admin-entry-toggle[open] .admin-entry-summary {
    border-color: rgba(34, 197, 94, 0.3);
}

.admin-body .admin-item-category-card.is-active,
.admin-body .admin-items-pagination a.is-active {
    background: #22c55e;
    color: #1b1b1d;
    border-color: transparent;
}

.admin-body .admin-item-category-card.is-empty {
    background: rgba(242, 242, 242, 0.04);
    border-color: rgba(242, 242, 242, 0.16);
}

.admin-body .admin-item-category-card.is-empty:hover {
    background: rgba(242, 242, 242, 0.07);
    border-color: rgba(34, 197, 94, 0.28);
}

.admin-body .admin-item-category-card.is-disabled {
    background: rgba(242, 242, 242, 0.035);
    border-color: rgba(242, 242, 242, 0.08);
    color: rgba(242, 242, 242, 0.58);
}

.admin-body .admin-item-category-card.is-disabled .admin-item-category-copy small,
.admin-body .admin-item-category-card.is-disabled .admin-item-category-count {
    color: rgba(242, 242, 242, 0.42);
}

.admin-body .admin-item-category-card.is-active .admin-item-category-copy small,
.admin-body .admin-item-category-card.is-active .admin-item-category-count,
.admin-body .admin-items-pagination a.is-active {
    color: #1b1b1d;
}

.admin-body .orders-status-board {
    color: #f2f2f2;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.admin-body .orders-status-board.status-pending {
    background: linear-gradient(180deg, rgba(237, 168, 62, 0.12), rgba(27, 27, 29, 0.96));
    border-color: rgba(237, 168, 62, 0.22);
}

.admin-body .orders-status-board.status-preparing {
    background: linear-gradient(180deg, rgba(127, 88, 217, 0.14), rgba(27, 27, 29, 0.96));
    border-color: rgba(127, 88, 217, 0.22);
}

.admin-body .orders-status-board.status-with-courier {
    background: linear-gradient(180deg, rgba(75, 143, 217, 0.14), rgba(27, 27, 29, 0.96));
    border-color: rgba(75, 143, 217, 0.22);
}

.admin-body .orders-status-board.status-served,
.admin-body .orders-status-board.status-settled {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.14), #1b1b1d);
    border-color: rgba(242, 242, 242, 0.1);
}

.admin-body .orders-status-board.status-cancelled {
    background: linear-gradient(180deg, rgba(215, 93, 84, 0.14), rgba(27, 27, 29, 0.96));
    border-color: rgba(215, 93, 84, 0.22);
}

.admin-body .orders-status-board-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(242, 242, 242, 0.08);
}

.admin-body .orders-status-board-item:hover {
    border-color: rgba(242, 242, 242, 0.14);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.admin-body .orders-status-board-item-copy span,
.admin-body .orders-status-board-item small,
.admin-body .orders-status-board-empty {
    color: rgba(242, 242, 242, 0.72);
}

.admin-body .orders-status-board-item-copy span {
    border-color: rgba(var(--primary-rgb) / 0.18);
    background: rgba(var(--primary-rgb) / 0.12);
    color: #dcfce7;
}

.admin-body .orders-status-board .orders-status-board-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(242, 242, 242, 0.08);
}

.admin-body .orders-status-board .orders-status-board-item:hover {
    border-color: rgba(var(--primary-rgb) / 0.22);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.admin-body .orders-status-board .orders-status-board-form select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(242, 242, 242, 0.1);
    color: #f2f2f2;
}

.admin-body .orders-status-board .orders-status-board-form select:hover {
    border-color: rgba(var(--primary-rgb) / 0.22);
}

.admin-body .orders-status-board .orders-status-board-form select:focus {
    border-color: rgba(var(--primary-rgb) / 0.42);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.12);
}

.admin-body .orders-status-board .admin-items-pagination a,
.admin-body .orders-status-board .admin-items-pagination-ellipsis {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(242, 242, 242, 0.08);
}

.admin-body .orders-status-board .admin-items-pagination a:hover {
    background: rgba(var(--primary-rgb) / 0.12);
    border-color: rgba(var(--primary-rgb) / 0.24);
}

.admin-body .admin-table-action.is-delete,
.admin-body .admin-table-action-form .is-delete {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.24);
}

.admin-body .admin-table-action.is-delete:hover,
.admin-body .admin-table-action-form .is-delete:hover {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.34);
    color: #fca5a5;
}

.admin-body .admin-order-edit-item {
    background: rgba(255, 255, 255, 0.03);
}

.admin-body .admin-table-action.is-active {
    color: #86efac;
    border-color: rgba(134, 239, 172, 0.28);
}

.admin-body .admin-table-action.is-active:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(134, 239, 172, 0.4);
}

.admin-body .admin-notification-toggle.has-alert,
.admin-body .admin-glance-card.is-positive,
.admin-body .stat-card.is-positive {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.34);
    color: #f2f2f2;
}

@keyframes adminDelayedCardBlink {
    0%,
    100% {
        background: rgba(220, 38, 38, 0.16);
        border-color: rgba(252, 165, 165, 0.6);
        box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.18), 0 0 28px rgba(220, 38, 38, 0.24);
    }

    50% {
        background: rgba(127, 29, 29, 0.3);
        border-color: rgba(252, 165, 165, 0.9);
        box-shadow: 0 0 0 1px rgba(252, 165, 165, 0.3), 0 0 34px rgba(239, 68, 68, 0.38);
    }
}

.admin-body .admin-glance-card.is-alert {
    background: rgba(220, 38, 38, 0.14);
    border-color: rgba(248, 113, 113, 0.34);
    color: #f2f2f2;
}

.admin-body .admin-glance-card.is-delayed {
    background: rgba(220, 38, 38, 0.16);
    border-color: rgba(252, 165, 165, 0.6);
    color: #f2f2f2;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.18), 0 0 28px rgba(220, 38, 38, 0.24);
    animation: adminDelayedCardBlink 1.05s ease-in-out infinite;
}

.admin-body .admin-glance-card.is-preparing {
    background: rgba(138, 116, 246, 0.14);
    border-color: rgba(167, 139, 250, 0.34);
    color: #f2f2f2;
}

.admin-body .admin-glance-card.is-positive .admin-glance-card-head {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
}

.admin-body .admin-glance-card.is-alert .admin-glance-card-head {
    background: rgba(220, 38, 38, 0.18);
    color: #fca5a5;
}

.admin-body .admin-glance-card.is-delayed .admin-glance-card-head {
    background: rgba(220, 38, 38, 0.24);
    color: #fecaca;
}

.admin-body .admin-glance-card.is-preparing .admin-glance-card-head {
    background: rgba(138, 116, 246, 0.18);
    color: #c4b5fd;
}

.admin-body .admin-glance-card.is-alert span,
.admin-body .admin-glance-card.is-alert small {
    color: rgba(254, 202, 202, 0.86);
}

.admin-body .admin-glance-card.is-delayed span,
.admin-body .admin-glance-card.is-delayed small {
    color: rgba(254, 226, 226, 0.9);
}

.admin-body .admin-glance-card.is-alert strong {
    color: #fef2f2;
}

.admin-body .admin-glance-card.is-delayed strong {
    color: #ffffff;
}

.admin-body .admin-glance-card.is-preparing span,
.admin-body .admin-glance-card.is-preparing small {
    color: rgba(237, 233, 254, 0.88);
}

.admin-body .admin-glance-card.is-preparing strong {
    color: #f5f3ff;
}

.admin-body .admin-glance-card.is-positive span,
.admin-body .admin-glance-card.is-positive small,
.admin-body .stat-card span,
.admin-body .stat-card small,
.admin-body .admin-glance-card-title,
.admin-body .sidebar-notification-item span,
.admin-body .sidebar-notification-item small,
.admin-body .sidebar-notification-empty,
.admin-body .status-meter-head span,
.admin-body .waiter-order-meta,
.admin-body .helper-note,
.admin-body .admin-header p,
.admin-body .admin-section-heading p {
    color: rgba(242, 242, 242, 0.72);
}

.admin-body .btn-primary:hover {
    background: rgba(34, 197, 94, 0.88);
}

.admin-body .btn-light,
.admin-body .btn-danger,
.admin-body .admin-user,
.admin-body .admin-icon-btn {
    background: #242428;
    color: #f2f2f2;
    border: 1px solid rgba(242, 242, 242, 0.12);
}

.admin-body .btn-light:hover,
.admin-body .btn-danger:hover,
.admin-body .admin-icon-btn:hover {
    background: rgba(34, 197, 94, 0.12);
    color: #f2f2f2;
    border-color: rgba(34, 197, 94, 0.28);
}

.admin-body .admin-form input[type="text"],
.admin-body .admin-form input[type="number"],
.admin-body .admin-form input[type="password"],
.admin-body .admin-form input[type="file"],
.admin-body .admin-form input[type="url"],
.admin-body .admin-form textarea,
.admin-body .admin-form select,
.admin-body input[type="text"],
.admin-body input[type="number"],
.admin-body input[type="password"],
.admin-body input[type="file"],
.admin-body input[type="url"],
.admin-body textarea,
.admin-body select {
    background: #1b1b1d;
    color: #f2f2f2;
    border: 1px solid rgba(242, 242, 242, 0.14);
}

.admin-body select option {
    background: #1b1b1d;
    color: #f2f2f2;
}

.admin-body select option:checked,
.admin-body select option:hover {
    background: rgba(var(--primary-rgb) / 0.22);
    color: #ffffff;
}

.admin-body .admin-form input[type="file"]::file-selector-button,
.admin-body input[type="file"]::file-selector-button {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

.admin-body .admin-file-help {
    color: rgba(242, 242, 242, 0.56);
}

.admin-body .admin-item-current-image img {
    border-color: rgba(242, 242, 242, 0.14);
}

.admin-body .admin-form input:focus,
.admin-body .admin-form textarea:focus,
.admin-body .admin-form select:focus,
.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus,
.admin-body .admin-nav a:focus-visible {
    border-color: rgba(34, 197, 94, 0.48);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
    outline: none;
}

.admin-body .orders-table th {
    background: #242428;
}

.admin-body .orders-table tbody tr:hover td {
    background: rgba(34, 197, 94, 0.08);
}

.admin-body #items .orders-table tbody tr td,
.admin-body #categories .orders-table tbody tr td,
.admin-body #waiter-calls .orders-table tbody tr td,
.admin-body #orders .orders-table tbody tr td,
.admin-body #users .orders-table tbody tr td {
    background: #242428 !important;
    color: #f2f2f2;
}

.admin-body #items .orders-table tbody tr,
.admin-body #categories .orders-table tbody tr,
.admin-body #waiter-calls .orders-table tbody tr,
.admin-body #orders .orders-table tbody tr,
.admin-body #users .orders-table tbody tr {
    background: #242428 !important;
}

.admin-body #items .orders-table tbody tr:nth-child(even) td,
.admin-body #categories .orders-table tbody tr:nth-child(even) td,
.admin-body #waiter-calls .orders-table tbody tr:nth-child(even) td,
.admin-body #orders .orders-table tbody tr:nth-child(even) td,
.admin-body #users .orders-table tbody tr:nth-child(even) td {
    background: #202024 !important;
}

.admin-body #items .orders-table tbody tr:nth-child(even),
.admin-body #categories .orders-table tbody tr:nth-child(even),
.admin-body #waiter-calls .orders-table tbody tr:nth-child(even),
.admin-body #orders .orders-table tbody tr:nth-child(even),
.admin-body #users .orders-table tbody tr:nth-child(even) {
    background: #202024 !important;
}

.admin-body #items .orders-table tbody tr:hover,
.admin-body #categories .orders-table tbody tr:hover,
.admin-body #waiter-calls .orders-table tbody tr:hover,
.admin-body #orders .orders-table tbody tr:hover,
.admin-body #users .orders-table tbody tr:hover {
    background: #2a2a2f !important;
}

.admin-body #items .orders-table tbody tr:hover td,
.admin-body #categories .orders-table tbody tr:hover td,
.admin-body #waiter-calls .orders-table tbody tr:hover td,
.admin-body #orders .orders-table tbody tr:hover td,
.admin-body #users .orders-table tbody tr:hover td {
    background: #2a2a2f !important;
    color: #f2f2f2;
}

.admin-body #users.admin-section-group {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.admin-body #users .admin-users-pagination-bar {
    border-top-color: rgba(242, 242, 242, 0.08);
}

.admin-body #users .admin-users-search-bar {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-bottom: 18px;
}

.admin-body #users .table-wrap.orders-table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.admin-body #users .admin-users-search-field span {
    color: rgba(242, 242, 242, 0.62);
}

.admin-body #users .admin-users-search-field input[type="search"] {
    background: #1b1b1d;
    color: #f2f2f2;
    border-color: rgba(242, 242, 242, 0.14);
}

.admin-body #users .admin-users-search-field input[type="search"]:focus {
    border-color: rgba(34, 197, 94, 0.48);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
    outline: none;
}

.admin-body #users .admin-users-pagination-meta strong {
    color: #f2f2f2;
}

.admin-body #users .admin-users-pagination-meta span {
    color: rgba(242, 242, 242, 0.62);
}

.admin-body #users .admin-users-pagination-pages {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(242, 242, 242, 0.1);
}

.admin-body #users .admin-users-pagination-nav,
.admin-body #users .admin-users-pagination-pages a,
.admin-body #users .admin-users-pagination-pages .admin-items-pagination-ellipsis {
    background: #242428;
    border-color: rgba(242, 242, 242, 0.1);
    color: #f2f2f2;
}

.admin-body #users .admin-users-pagination-nav:hover,
.admin-body #users .admin-users-pagination-pages a:hover {
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.12);
}

.admin-body #users .admin-users-pagination-pages a.is-active {
    background: #22c55e;
    color: #1b1b1d;
    border-color: transparent;
}

.admin-body #items .orders-table td a,
.admin-body #categories .orders-table td a,
.admin-body #waiter-calls .orders-table td a,
.admin-body #orders .orders-table td a {
    color: #86efac;
    font-weight: 700;
}

.admin-body #items .orders-table td a:hover,
.admin-body #categories .orders-table td a:hover,
.admin-body #waiter-calls .orders-table td a:hover,
.admin-body #orders .orders-table td a:hover {
    color: #bbf7d0;
}

.admin-body #items .orders-table tbody tr:hover td a,
.admin-body #categories .orders-table tbody tr:hover td a,
.admin-body #waiter-calls .orders-table tbody tr:hover td a,
.admin-body #orders .orders-table tbody tr:hover td a {
    color: #bbf7d0;
}

.admin-body #items .orders-table td:nth-child(2),
.admin-body #items .orders-table td:nth-child(4),
.admin-body #items .orders-table td:nth-child(6),
.admin-body #categories .orders-table td:nth-child(2),
.admin-body #categories .orders-table td:nth-child(4) {
    color: rgba(242, 242, 242, 0.78);
}

.admin-body #items .orders-table tbody tr:hover td:nth-child(2),
.admin-body #items .orders-table tbody tr:hover td:nth-child(4),
.admin-body #items .orders-table tbody tr:hover td:nth-child(6),
.admin-body #categories .orders-table tbody tr:hover td:nth-child(2),
.admin-body #categories .orders-table tbody tr:hover td:nth-child(4) {
    color: rgba(242, 242, 242, 0.84);
}

.admin-body #waiter-calls .orders-table .order-row.status-pending td {
    background: #3a3218 !important;
    border-bottom-color: rgba(214, 166, 66, 0.22);
}

.admin-body #orders .orders-table .order-row.status-pending td {
    background: #3a3218 !important;
    border-bottom-color: rgba(214, 166, 66, 0.22);
}

.admin-body #waiter-calls .orders-table .order-row.status-pending td:first-child {
    border-inline-end-color: #d5a12f;
}

.admin-body #orders .orders-table .order-row.status-pending td:first-child {
    border-inline-end-color: #d5a12f;
}

.admin-body #orders .orders-table .order-row.status-preparing td {
    background: #2e2342 !important;
    border-bottom-color: rgba(132, 103, 228, 0.22);
}

.admin-body #orders .orders-table .order-row.status-preparing td:first-child {
    border-inline-end-color: #7f58d9;
}

.admin-body #orders .orders-table .order-row.status-with-courier td {
    background: #1d3046 !important;
    border-bottom-color: rgba(87, 145, 212, 0.22);
}

.admin-body #orders .orders-table .order-row.status-with-courier td:first-child {
    border-inline-end-color: #4b8fd9;
}

.admin-body #orders .orders-table .order-row.status-served td,
.admin-body #orders .orders-table .order-row.status-settled td {
    background: #183126 !important;
    border-bottom-color: rgba(52, 169, 101, 0.22);
}

.admin-body #orders .orders-table .order-row.status-served td:first-child,
.admin-body #orders .orders-table .order-row.status-settled td:first-child {
    border-inline-end-color: #2f9b55;
}

.admin-body #orders .orders-table .order-row.status-cancelled td {
    background: #3a201d !important;
    border-bottom-color: rgba(216, 94, 84, 0.22);
}

.admin-body #orders .orders-table .order-row.status-cancelled td:first-child {
    border-inline-end-color: #d75d54;
}

.admin-body #waiter-calls .orders-table .order-row.status-resolved td {
    background: #183126 !important;
    border-bottom-color: rgba(52, 169, 101, 0.22);
}

.admin-body #waiter-calls .orders-table .order-row.status-rejected td {
    background: #3a201d !important;
    border-bottom-color: rgba(216, 94, 84, 0.22);
}

.admin-body #waiter-calls .orders-table .order-row.status-resolved td:first-child {
    border-inline-end-color: #2f9b55;
}

.admin-body #waiter-calls .orders-table .order-row.status-rejected td:first-child {
    border-inline-end-color: #d75d54;
}

.admin-body #waiter-calls .orders-table .order-row.status-pending:hover td {
    background: #43391c !important;
}

.admin-body #orders .orders-table .order-row.status-pending:hover td {
    background: #43391c !important;
}

.admin-body #orders .orders-table .order-row.status-preparing:hover td {
    background: #382a4f !important;
}

.admin-body #orders .orders-table .order-row.status-with-courier:hover td {
    background: #243a53 !important;
}

.admin-body #orders .orders-table .order-row.status-served:hover td,
.admin-body #orders .orders-table .order-row.status-settled:hover td {
    background: #1d3a2d !important;
}

.admin-body #orders .orders-table .order-row.status-cancelled:hover td {
    background: #452522 !important;
}

.admin-body #orders .status-form {
    background: rgba(255, 255, 255, 0.03);
}

.admin-body #orders .order-row.status-pending .status-form {
    background: rgba(213, 161, 47, 0.12);
}

.admin-body #orders .order-row.status-preparing .status-form {
    background: rgba(127, 88, 217, 0.12);
}

.admin-body #orders .order-row.status-with-courier .status-form {
    background: rgba(75, 143, 217, 0.12);
}

.admin-body #orders .order-row.status-served .status-form,
.admin-body #orders .order-row.status-settled .status-form {
    background: rgba(47, 155, 85, 0.12);
}

.admin-body #orders .order-row.status-cancelled .status-form {
    background: rgba(215, 93, 84, 0.12);
}

.admin-body #orders .order-preparation-summary span {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(242, 242, 242, 0.86);
}

.admin-body #orders .order-preparation-summary.is-live span {
    background: rgba(127, 88, 217, 0.18);
    color: #ddd6fe;
}

.admin-body #orders .order-preparation-summary.is-courier span {
    background: rgba(75, 143, 217, 0.18);
    color: #bfdbfe;
}

.admin-body #waiter-calls .orders-table .order-row.status-resolved:hover td {
    background: #1d3a2d !important;
}

.admin-body #waiter-calls .orders-table .order-row.status-rejected:hover td {
    background: #452522 !important;
}

.admin-body #waiter-calls .waiter-call-status-form {
    background: transparent;
}

.admin-body #waiter-calls .waiter-call-status-form .admin-table-action.is-selected {
    opacity: 1;
}

.admin-body #waiter-calls .waiter-call-status-form .is-accept {
    color: #86efac;
    border-color: rgba(134, 239, 172, 0.24);
}

.admin-body #waiter-calls .waiter-call-status-form .is-accept:hover {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(134, 239, 172, 0.36);
}

.admin-body #waiter-calls .waiter-call-status-form .is-reject {
    color: #fca5a5;
    border-color: rgba(252, 165, 165, 0.24);
}

.admin-body #waiter-calls .waiter-call-status-form .is-reject:hover {
    background: rgba(248, 113, 113, 0.16);
    border-color: rgba(252, 165, 165, 0.36);
}

.admin-body .orders-table .order-row.status-pending td,
.admin-body .orders-table .order-row.status-preparing td,
.admin-body .orders-table .order-row.status-with-courier td,
.admin-body .orders-table .order-row.status-served td,
.admin-body .orders-table .order-row.status-settled td {
    background: rgba(34, 197, 94, 0.06);
}

.admin-body .orders-table .order-row.status-cancelled td {
    background: rgba(242, 242, 242, 0.03);
}

.admin-body .orders-table .order-row.status-pending td:first-child,
.admin-body .orders-table .order-row.status-preparing td:first-child,
.admin-body .orders-table .order-row.status-with-courier td:first-child,
.admin-body .orders-table .order-row.status-served td:first-child,
.admin-body .orders-table .order-row.status-settled td:first-child,
.admin-body .orders-table .order-row.status-cancelled td:first-child {
    border-inline-start-color: rgba(34, 197, 94, 0.42);
}

.admin-body .order-items-toggle summary,
.admin-body .order-items-toggle[open] summary,
.admin-body .status-badge,
.admin-body .delivery-timing-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #f2f2f2;
    border-color: rgba(34, 197, 94, 0.26);
}

.admin-body .sidebar-notification-heading a,
.admin-body .back-link,
.admin-body a:hover {
    color: #22c55e;
}

@media (max-width: 768px) {
/* Reference-inspired mobile cafe UI */
.site-body {
    background:
        radial-gradient(circle at 50% 0, rgba(var(--primary-rgb) / 0.22), transparent 20%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

.page-shell {
    width: min(100%, 430px);
    min-height: 100vh;
    padding: 18px 14px 140px;
}

.hero-shell {
    margin-bottom: 0;
    border-radius: 28px;
    /* Let mobile header popovers extend beyond the shell. */
    overflow: visible;
    background:
        radial-gradient(circle at 28% 12%, rgba(var(--primary-rgb) / 0.18), transparent 36%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
    border: 0;
    box-shadow: none;
}

body[data-theme="dark"] .hero-shell {
    background: var(--bg);
}

.site-navbar {
    margin-bottom: 0;
    padding: 14px 16px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    position: relative;
    top: 0;
    backdrop-filter: none;
}

body[data-theme="dark"] .site-navbar {
    background: var(--bg);
    border: 0;
    box-shadow: none;
}

body[data-theme="dark"] .nav-icon-btn {
    background: rgba(250, 252, 250, 0.08);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: none;
}

body[data-theme="dark"] .nav-popover {
    background: #1b1b1d;
    color: #fffdf8;
    border-color: rgba(200, 216, 202, 0.14);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .nav-popover .lang-chip,
body[data-theme="dark"] .nav-popover .theme-mode-btn,
body[data-theme="dark"] .nav-popover .social-link,
body[data-theme="dark"] .nav-popover button.social-link {
    background: rgba(250, 252, 250, 0.08);
    color: #fffdf8;
    border-color: rgba(200, 216, 202, 0.12);
}

body[data-theme="dark"] .nav-popover .lang-chip.active,
body[data-theme="dark"] .nav-popover .theme-mode-btn.active {
    background: var(--primary);
    color: #fffdf8;
    border-color: transparent;
}

.navbar-brand {
    gap: 8px;
}

.eyebrow {
    display: none;
}

.navbar-brand strong {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.34);
    border: 0;
    box-shadow: none;
    color: #51321d;
}

.nav-popover {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: min(60vh, 420px);
    overflow-y: auto;
    border-radius: 20px;
}

.hero-card {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    box-shadow: 0 10px 24px rgba(var(--text-rgb) / 0.08);
    background: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(10px);
    color: #24160d;
}

.hero-card::after {
    display: none;
}

.hero-card-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    min-height: 72px;
}

.hero-card-logo {
    display: block;
    position: static;
    width: 124px !important;
    flex: 0 0 124px;
    height: auto;
    max-height: 148px !important;
    margin: 0;
    object-fit: contain;
}

.hero-card-copy-box {
    margin: 0;
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(var(--primary-rgb) / 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
}

.hero-card-copy-box p {
    margin: 0;
}

.hero-card-copy-line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    direction: rtl;
}

.hero-card-copy-label {
    color: #2a1a10;
    font-size: 11px;
    font-weight: 800;
}

.hero-card-copy-value {
    color: rgba(46, 30, 19, 0.92);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.hero-card p {
    text-align: right;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(46, 30, 19, 0.76);
    max-width: 42ch;
    margin-inline: 0 auto;
}

.hero-card > div:first-child {
    width: 100%;
    max-width: 100%;
    display: grid;
    justify-items: stretch;
    align-content: start;
    min-width: 0;
}

.hero-meta {
    margin-top: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    width: 100%;
    align-content: start;
}

.meta-chip,
.badge {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.28);
    border: 0;
    color: var(--text);
    box-shadow: none;
}

.meta-chip {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
    min-height: auto;
    position: relative;
    overflow: hidden;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(250, 252, 250, 0.56);
    border: 1px solid rgba(250, 252, 250, 0.44);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-inline-start: 4px solid rgba(var(--primary-rgb) / 0.34);
}

.meta-chip-label {
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.meta-chip-inline {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-chip-contact {
    gap: 8px;
}

.meta-chip-line {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
    width: 100%;
    min-width: 0;
}

.meta-chip-value {
    width: 100%;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text);
}

.meta-chip-contact .meta-chip-label {
    white-space: nowrap;
}

.meta-chip-contact .meta-chip-value {
    width: auto;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.meta-chip-contact .meta-chip-line:last-child .meta-chip-value {
    white-space: nowrap;
}

.meta-chip strong,
.badge strong {
    font-size: 12px;
}

.meta-chip span,
.badge span {
    font-size: 11px;
}

.table-banner {
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 0;
}

.table-banner-copy {
    gap: 5px;
}

.table-banner-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.table-banner-reset-form {
    margin: 0;
}

.table-banner-reset-btn {
    min-height: auto;
    padding: 10px 14px;
    border-radius: 16px;
    white-space: nowrap;
}

.table-banner-title {
    font-size: 14px;
}

.table-banner-text {
    font-size: 12.5px;
    line-height: 1.75;
}

.table-banner .badge {
    min-height: auto;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 12px;
}

.order-step-bar {
    margin-top: 12px;
    margin-bottom: 12px;
}

.step-chip {
    border: 0;
    border-radius: 20px;
    background: rgba(250, 252, 250, 0.92);
}

.step-chip.active {
    background: var(--primary-dark);
}

.step-chip-number {
    background: rgba(var(--primary-rgb) / 0.18);
    color: var(--text);
}

.step-chip.active .step-chip-number {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.content-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
        "menu"
        "cart";
    gap: 14px;
}

.menu-panel {
    gap: 10px;
}

.category-block,
.sticky-card,
.subcategory-card,
.site-footer {
    border: 0;
    box-shadow: 0 8px 20px rgba(var(--text-rgb) / 0.06);
}

.category-block {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
}

.category-toggle {
    padding: 10px 12px;
}

.category-thumb {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 0;
}

.category-summary h2 {
    font-size: 14px;
}

.subcategory-browser {
    display: grid;
    gap: 10px;
    padding: 0 10px 10px;
}

.subcategory-card {
    min-width: 0;
    border-radius: 20px;
    padding: 12px;
    background: #f8f6f2;
}

.subcategory-thumb {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 0;
}

.menu-items {
    grid-template-columns: 1fr;
    gap: 10px;
}

.menu-item {
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-areas:
        "media copy"
        "actions actions";
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    border: 0;
    box-shadow: none;
    background: var(--surface);
}

.menu-media {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    border: 0;
}

.menu-copy h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.menu-copy p {
    font-size: 12px;
    line-height: 1.55;
}

.item-label {
    border-radius: 10px;
    background: rgba(var(--primary-rgb) / 0.18);
    color: var(--text);
}

.rating-summary,
.rating-form {
    margin-top: 6px;
}

.star-btn {
    font-size: 18px;
}

.menu-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.95) 0%, rgba(var(--text-rgb) / 0.95) 100%);
    color: #fffdf9;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(var(--text-rgb) / 0.12);
}

.btn {
    min-height: 40px;
    border-radius: 14px;
    box-shadow: none;
}

.btn-primary {
    background: #2F4F3A;
    color: #fff;
}

.btn-light {
    background: #ece7e0;
}

.sticky-card {
    position: static;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
}

.cart-row {
    padding: 12px 0;
}

.cart-controls {
    grid-template-columns: 88px 1fr auto;
    align-items: center;
}

.total-box {
    margin: 14px 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 0;
    background: #f6efe4;
}

.checkout-choice,
.delivery-map-block {
    border-radius: 18px;
    border: 0;
    background: #f6f2ec;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
textarea,
select {
    border-radius: 16px;
    border: 0;
    background: #f3efe8;
    padding: 12px 14px;
}

.site-footer {
    margin-top: 140px;
    padding-top: 12px;
    border-top: 0;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 14px;
}

.site-footer h3 {
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

.social-link {
    background: #f5f0e9;
    border: 0;
    box-shadow: none;
}

.mobile-cart-bar {
    left: 50%;
    right: auto;
    bottom: 84px;
    bottom: 96px;
    width: min(calc(100% - 28px), 402px);
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
    border-radius: 999px;
    border-radius: 12px;
    color: var(--surface);
    box-shadow: 0 18px 34px rgba(var(--text-rgb) / 0.22);
    overflow: hidden;
}

#mobile-cart-count,
#mobile-cart-total {
    min-width: 0;
}

#mobile-cart-count {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
}

.bottom-app-nav {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(calc(100% - 16px), 430px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: 26px;
    background: linear-gradient(180deg, #FAFCFA 0%, #EEF3EE 100%);
    border: 1px solid rgba(200, 216, 202, 0.95);
    box-shadow: 0 18px 45px rgba(47, 79, 58, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    z-index: 40;
}

.bottom-app-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

.credit-toast {
        display: block;
    position: fixed;
    left: 50%;
    bottom: 96px;
    transform: translateX(-50%);
    width: min(calc(100% - 28px), 402px);
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(250, 252, 250, 0.95);
    border: 1px solid rgba(200, 216, 202, 0.95);
    box-shadow: 0 14px 30px rgba(47, 79, 58, 0.12);
    color: #2F4F3A;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
    z-index: 41;
    animation: creditToastIn 220ms ease both;
}

@keyframes creditToastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

body[data-theme="dark"] .credit-toast {
    background: rgba(47, 79, 58, 0.92);
    border-color: rgba(250, 252, 250, 0.12);
    color: #FFFDF8;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.bottom-nav-item {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-height: 44px;
    padding: 6px 2px;
    border-radius: 16px;
    color: rgba(122, 92, 69, 0.82);
    font-size: 10px;
    line-height: 1.1;
    transition:
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.bottom-nav-item span {
    white-space: nowrap;
}

.bottom-nav-item.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.bottom-nav-item:active {
    transform: translateY(1px);
}

.bottom-nav-button {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.waiter-call-btn {
    color: #5E7C60;
}

.tracking-order-btn {
    color: #5A7260;
}

.waiter-call-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.waiter-call-sheet {
    position: fixed;
    left: 50%;
        top: auto;
    bottom: 92px;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 406px);
    padding: 16px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.18), transparent 42%),
        linear-gradient(180deg, rgba(250, 252, 250, 0.99) 0%, rgba(200, 216, 202, 0.98) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(16px);
    z-index: 45;
}

.waiter-call-sheet-form {
    display: grid;
    gap: 14px;
}

.waiter-call-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.waiter-call-sheet-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.waiter-call-sheet-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.24) 0%, rgba(var(--text-rgb) / 0.1) 100%);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.waiter-call-sheet-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.waiter-call-sheet-head strong {
    display: block;
    font-size: 16px;
    color: var(--text);
}

.waiter-call-sheet-kicker {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.waiter-call-sheet-text {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.9;
}

.fried-platter-options {
    display: grid;
    gap: 10px;
}

.fried-platter-option {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 6px;
    height: auto;
    min-height: 46px;
    padding: 12px 14px;
    text-align: right;
    white-space: normal;
}

.fried-platter-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.fried-platter-option-name {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.fried-platter-option-price {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.fried-platter-option-desc {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 400;
    text-align: right;
    white-space: normal;
}
.fried-platter-option-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.fried-platter-option-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    background: #f3f4f6;
}

.fried-platter-option-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 6px;
}

.waiter-call-sheet-field {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(180, 198, 183, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.waiter-call-sheet-field span {
    color: #5E7C60;
    font-size: 11px;
    font-weight: 800;
}

.waiter-call-sheet-field select,
.waiter-call-sheet-field input {
    background: #fff;
    border-color: rgba(222, 208, 191, 0.95);
    box-shadow: 0 10px 22px rgba(var(--text-rgb) / 0.06);
}
}

.waiter-call-close-btn {
    border-radius: 999px;
    padding-inline: 14px;
    min-height: 38px;
}

.waiter-call-close-btn:hover {
    transform: translateY(-1px);
}

body[data-theme="dark"] .waiter-call-sheet {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.14), transparent 42%),
        linear-gradient(180deg, var(--surface) 0%, rgba(var(--primary-rgb) / 0.12) 100%);
    border-color: var(--border);
}

body[data-theme="dark"] .waiter-call-sheet-icon {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(var(--text-rgb) / 0.1) 100%);
    color: var(--primary-dark);
}

body[data-theme="dark"] .waiter-call-sheet-head strong {
    color: var(--text);
}

body[data-theme="dark"] .waiter-call-sheet-kicker {
    color: var(--muted);
}

body[data-theme="dark"] .waiter-call-sheet-field {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .waiter-call-sheet-field span {
    color: #f0c084;
}

body[data-theme="dark"] .waiter-call-sheet-field select,
body[data-theme="dark"] .waiter-call-sheet-field input {
    background: rgba(47 79 58 / 0.72);
    border-color: var(--border);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.bottom-nav-item svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--text);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.22) 0%, rgba(var(--primary-rgb) / 0.1) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.bottom-nav-item:focus-visible {
    outline: 2px solid rgba(var(--primary-rgb) / 0.55);
    outline-offset: 2px;
}

body[data-theme="dark"] .hero-shell,
body[data-theme="dark"] .hero-card {
    background:
        radial-gradient(circle at 24% 10%, rgba(200, 216, 202, 0.08), transparent 22%),
        radial-gradient(circle at 82% 0, rgba(var(--primary-rgb) / 0.18), transparent 34%),
        linear-gradient(180deg, rgba(35, 57, 43, 0.98) 0%, rgba(24, 40, 31, 0.98) 100%);
}

body[data-theme="dark"] .hero-shell {
    background: var(--bg);
}

body[data-theme="dark"] .hero-card {
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(200, 216, 202, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(33, 54, 41, 0.96) 0%, rgba(24, 38, 31, 0.98) 100%);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .hero-card h1 {
    color: var(--text);
}

body[data-theme="dark"] .hero-card p {
    color: var(--muted);
}

body[data-theme="dark"] .hero-card-head::after {
    display: none;
}

body[data-theme="dark"] .hero-card-logo,
body[data-theme="dark"] .hero-card-copy-box {
    position: relative;
    z-index: 1;
}

body[data-theme="dark"] .hero-card-logo {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.26)) brightness(1.22) contrast(1.08);
}

body[data-theme="dark"] .hero-card-copy-box {
    background: rgba(250, 252, 250, 0.08);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .hero-card-copy-label {
    color: rgba(200, 216, 202, 0.72);
}

body[data-theme="dark"] .hero-card-copy-value {
    color: #fff7ef;
}

body[data-theme="dark"] .navbar-working-hours {
    color: var(--muted);
}

body[data-theme="dark"] .navbar-working-hours,
body[data-theme="dark"] .hero-social-link {
    background: rgba(250, 252, 250, 0.08);
    border-color: rgba(200, 216, 202, 0.12);
}

body[data-theme="dark"] .hero-social-link {
    color: #fffdf8;
}

body[data-theme="dark"] .hero-social-link:hover {
    background: rgba(250, 252, 250, 0.14);
}

body[data-theme="dark"] .mobile-tool-card {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.9) 0%, rgba(35, 60, 44, 0.96) 100%);
    border-color: rgba(200, 216, 202, 0.1);
}

body[data-theme="dark"] .mobile-tool-card strong {
    color: #fffdf8;
}

body[data-theme="dark"] .mobile-tool-summary::after {
    border-color: #fffdf8;
}

body[data-theme="dark"] .hero-meta .meta-chip {
    background: var(--surface-soft);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border-inline-start-color: rgba(var(--primary-rgb) / 0.42);
}

body[data-theme="dark"] .hero-meta .meta-chip-label {
    color: var(--muted);
}

body[data-theme="dark"] .hero-meta .meta-chip-value {
    color: #fff7ef;
}

body[data-theme="dark"] .category-block,
body[data-theme="dark"] .sticky-card,
body[data-theme="dark"] .subcategory-card,
body[data-theme="dark"] .site-footer,
body[data-theme="dark"] .bottom-app-nav,
body[data-theme="dark"] .waiter-call-sheet {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.9) 0%, rgba(37, 62, 46, 0.96) 100%);
    border-color: rgba(200, 216, 202, 0.1);
}

body[data-theme="dark"] .bottom-app-nav {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.96) 0%, rgba(47, 79, 58, 0.86) 100%);
    border-color: rgba(250, 252, 250, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .bottom-app-nav::before {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .bottom-nav-item.active,
body[data-theme="dark"] .bottom-nav-item:hover {
    color: #FFFDF8;
    background: linear-gradient(180deg, rgba(94, 124, 96, 0.26) 0%, rgba(94, 124, 96, 0.14) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .menu-item,
body[data-theme="dark"] .table-banner,
body[data-theme="dark"] .social-link,
body[data-theme="dark"] .total-box,
body[data-theme="dark"] input[type="text"],
body[data-theme="dark"] input[type="tel"],
body[data-theme="dark"] input[type="number"],
body[data-theme="dark"] input[type="password"],
body[data-theme="dark"] input[type="url"],
body[data-theme="dark"] textarea,
body[data-theme="dark"] select,
body[data-theme="dark"] .checkout-choice,
body[data-theme="dark"] .delivery-map-block {
    background: linear-gradient(180deg, rgba(60, 95, 70, 0.72) 0%, rgba(47, 79, 58, 0.9) 100%);
    border-color: rgba(200, 216, 202, 0.08);
}

body[data-theme="dark"] .table-banner {
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb) / 0.12), transparent 34%),
        linear-gradient(180deg, var(--surface) 0%, rgba(var(--primary-rgb) / 0.1) 100%);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

body[data-theme="dark"] .table-banner-empty-tag {
    background: rgba(var(--primary-rgb) / 0.14);
    color: var(--primary-dark);
}

body[data-theme="dark"] .table-banner-countdown {
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.14) 0%, rgba(var(--text-rgb) / 0.18) 100%);
    color: var(--primary-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .table-banner-empty-card {
    background: rgba(47 79 58 / 0.74);
    border-color: var(--border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 28px rgba(0, 0, 0, 0.12);
}

body[data-theme="dark"] .table-banner-inline-note {
    background: linear-gradient(180deg, rgba(47 79 58 / 0.82) 0%, rgba(47 79 58 / 0.72) 100%);
    border-color: var(--border);
    color: var(--text);
}

body[data-theme="dark"] .table-banner-hint-badge {
    background: linear-gradient(180deg, rgba(47 79 58 / 0.82) 0%, rgba(47 79 58 / 0.72) 100%);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .order-table-field {
    background: linear-gradient(180deg, rgba(47 79 58 / 0.88) 0%, rgba(47 79 58 / 0.76) 100%);
    border-color: var(--border);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .order-table-field span {
    color: var(--text);
}

body[data-theme="dark"] .order-table-field-note {
    color: var(--muted);
}

body[data-theme="dark"] .order-table-selection-status {
    background: rgba(47 79 58 / 0.7);
    border-color: var(--border);
    color: #f0c084;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .order-table-option {
    background: linear-gradient(180deg, rgba(67, 104, 77, 0.9) 0%, rgba(47, 79, 58, 0.88) 100%);
    border-color: var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .order-table-option-label {
    color: var(--muted);
}

body[data-theme="dark"] .order-table-option-number {
    color: #f0c084;
}

body[data-theme="dark"] .order-table-option.is-active {
    border-color: rgba(var(--primary-rgb) / 0.72);
    background: linear-gradient(180deg, rgba(var(--primary-rgb) / 0.3) 0%, rgba(47, 79, 58, 0.9) 100%);
}

body[data-theme="dark"] .order-table-field select {
    background-color: rgba(47 79 58 / 0.72);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25 7 9l4-3.75' fill='none' stroke='%23f0c084' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(67, 104, 77, 0.92) 0%, rgba(47, 79, 58, 0.88) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: left 14px center, center;
    background-size: 14px 14px, auto;
    border-color: var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

@media (max-width: 640px) {
    .order-table-picker-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .order-table-option {
        min-height: 64px;
        padding: 8px 6px;
        border-radius: 16px;
    }

    .order-table-option-number {
        font-size: 21px;
    }
}

body[data-theme="dark"] .mobile-cart-bar {
    background: linear-gradient(180deg, rgba(94, 124, 96, 0.96) 0%, rgba(74, 101, 76, 0.98) 100%);
    color: #fffdf8;
    border: 1px solid rgba(200, 216, 202, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 34px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .mobile-cart-bar span,
body[data-theme="dark"] .mobile-cart-bar strong {
    color: #fffdf8;
}

body[data-theme="dark"] a:hover {
    color: var(--primary-dark);
}

body[data-theme="dark"] .section-title h2,
body[data-theme="dark"] .subcategory-head h3,
body[data-theme="dark"] .menu-copy h4,
body[data-theme="dark"] .table-banner-title,
body[data-theme="dark"] .site-footer h3,
body[data-theme="dark"] .total-box strong,
body[data-theme="dark"] .cart-row strong,
body[data-theme="dark"] .info-item strong,
body[data-theme="dark"] .nav-popover strong,
body[data-theme="dark"] .navbar-brand strong {
    color: var(--text);
}

body[data-theme="dark"] .navbar-working-hours {
    background: rgba(47 79 58 / 0.86);
    border-color: rgba(var(--primary-rgb) / 0.24);
    color: var(--primary-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .table-banner-text,
body[data-theme="dark"] .helper-note,
body[data-theme="dark"] .empty-state,
body[data-theme="dark"] .rating-summary,
body[data-theme="dark"] .rating-label,
body[data-theme="dark"] label span,
body[data-theme="dark"] .delivery-map-head span,
body[data-theme="dark"] .flash-helper,
body[data-theme="dark"] .info-item span,
body[data-theme="dark"] .category-count,
body[data-theme="dark"] .bottom-nav-item,
body[data-theme="dark"] .site-footer {
    color: var(--muted);
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
    color: rgba(245 233 218 / 0.52);
}

body[data-theme="dark"] .price,
body[data-theme="dark"] .cart-badge,
body[data-theme="dark"] .tracking-link-box strong,
body[data-theme="dark"] .tracking-code-box strong {
    color: var(--primary-dark);
}

body[data-theme="dark"] .item-label {
    background: rgba(var(--primary-rgb) / 0.14);
    color: var(--primary-dark);
}

body[data-theme="dark"] .item-label--discount {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

body[data-theme="dark"] .price-original,
body[data-theme="dark"] .cart-price-original {
    color: rgba(255, 255, 255, 0.62);
}

body[data-theme="dark"] .cart-qty-btn {
    background: rgba(250, 252, 250, 0.08);
    border-color: rgba(200, 216, 202, 0.12);
    color: #fffdf8;
    box-shadow: none;
}

body[data-theme="dark"] .price-discounted {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

body[data-theme="dark"] .step-chip {
    background: rgba(250, 252, 250, 0.08);
    color: var(--text);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .step-chip:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .step-chip.active {
    background: rgba(200, 216, 202, 0.18);
    color: #fffdf8;
    border-color: rgba(200, 216, 202, 0.24);
}

body[data-theme="dark"] .step-chip-number {
    background: rgba(var(--primary-rgb) / 0.14);
    color: var(--primary-dark);
}

body[data-theme="dark"] .category-block,
body[data-theme="dark"] .subcategory-block,
body[data-theme="dark"] .subcategory-card {
    background: linear-gradient(180deg, rgba(47, 79, 58, 0.88) 0%, rgba(35, 60, 44, 0.96) 100%);
    border-color: rgba(200, 216, 202, 0.1);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .category-thumb,
body[data-theme="dark"] .subcategory-thumb,
body[data-theme="dark"] .menu-media {
    background: rgba(250, 252, 250, 0.06);
    border-color: rgba(200, 216, 202, 0.08);
    box-shadow: none;
}

body[data-theme="dark"] .category-summary h2,
body[data-theme="dark"] .subcategory-summary h3,
body[data-theme="dark"] .category-count {
    color: #fff7ef;
}

body[data-theme="dark"] .category-chevron {
    background: rgba(94, 124, 96, 0.22);
    border-color: rgba(200, 216, 202, 0.12);
    box-shadow: none;
}

body[data-theme="dark"] .category-chevron::before {
    border-color: #f5e9da;
}

body[data-theme="dark"] .social-link,
body[data-theme="dark"] .btn-light {
    color: var(--text);
}

body[data-theme="dark"] .btn-light:hover {
    background: rgba(47 79 58 / 0.72);
}

body[data-theme="dark"] .alert-success {
    background: #173526;
    color: #ddf5e6;
    border-color: #2c6047;
}

body[data-theme="dark"] .alert-error {
    background: #3b2021;
    color: #ffe3e0;
    border-color: #7a4645;
}
}

@media (min-width: 769px) {
    .page-shell {
        padding-top: 24px;
    }
}

@media (min-width: 1025px) {
    .page-shell {
        width: min(1380px, calc(100% - 56px));
        padding: 32px 0 72px;
    }

    .hero-shell {
        display: grid;
        gap: 18px;
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 32px;
        background:
            radial-gradient(circle at top right, rgba(var(--primary-rgb) / 0.16), transparent 24%),
            linear-gradient(180deg, rgba(250, 252, 250, 0.96) 0%, rgba(200, 216, 202, 0.96) 100%);
        border: 1px solid rgba(180, 198, 183, 0.92);
        box-shadow: 0 26px 54px rgba(47, 79, 58, 0.1);
    }

    .site-navbar {
        margin-bottom: 0;
        padding: 14px 16px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.72);
    }

    body[data-theme="dark"] .hero-shell {
        background: var(--bg);
        border-color: transparent;
        box-shadow: none;
    }

    body[data-theme="dark"] .site-navbar {
        background: var(--bg);
        border-color: transparent;
        box-shadow: none;
    }

    .navbar-brand {
        gap: 4px;
    }

    .navbar-brand strong {
        font-size: 17px;
    }

    .navbar-working-hours {
        font-size: 11px;
        padding: 4px 12px;
    }

    .navbar-actions {
        gap: 10px;
    }

    .hero-card {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 360px);
        align-items: stretch;
        gap: 24px;
        padding: 24px 28px;
        margin-bottom: 0;
        border-radius: 28px;
        background:
            radial-gradient(circle at top left, rgba(var(--primary-rgb) / 0.12), transparent 30%),
            linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(200, 216, 202, 0.98) 100%);
    }

    .hero-card > div:first-child {
        display: grid;
        align-content: center;
    }

    .hero-card h1 {
        margin: 0 0 10px;
        font-size: clamp(28px, 2.7vw, 38px);
        line-height: 1.25;
    }

    .hero-card p {
        max-width: 54ch;
        font-size: 14px;
        line-height: 1.85;
    }

    .hero-socials {
        justify-content: flex-start;
        margin-inline: 0;
        margin-top: 18px;
    }

    .hero-social-link {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .hero-meta {
        width: 100%;
        min-width: 0;
        max-width: none;
        align-self: stretch;
    }

    .meta-chip.meta-chip-contact {
        justify-content: center;
        min-height: 100%;
        padding: 18px 20px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.56);
        border: 1px solid rgba(255, 255, 255, 0.42);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    }

    .meta-chip-line {
        column-gap: 12px;
    }

    .meta-chip-label {
        font-size: 11.5px;
    }

    .meta-chip-value {
        font-size: 14px;
        line-height: 1.9;
    }

    .table-banner {
        padding: 22px 26px;
        border-radius: 26px;
        margin-bottom: 20px;
    }

    .table-banner-title {
        font-size: 16px;
    }

    .table-banner-text {
        font-size: 13.5px;
    }

    .order-step-bar {
        margin-bottom: 18px;
    }

    .step-switcher {
        max-width: 620px;
        margin-inline: auto;
        gap: 8px;
    }

    .step-switcher .step-chip,
    .step-switcher .step-continue-btn {
        min-height: 44px;
    }

    .content-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(340px, 400px);
        gap: 28px;
        align-items: start;
    }

    .menu-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .category-toggle {
        padding: 10px 12px;
    }

    .category-thumb {
        width: 48px;
        height: 48px;
    }

    .category-summary h2 {
        font-size: 15px;
    }

    .sticky-card {
        top: 20px;
        padding: 26px;
        border-radius: 26px;
    }

    .subcategory-card {
        padding: 18px;
        border-radius: 24px;
    }

    .menu-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .menu-item {
        min-height: 100%;
        padding: 14px;
        border-radius: 22px;
    }

    .menu-copy h4 {
        font-size: 16px;
    }

    .menu-copy p {
        font-size: 13px;
        line-height: 1.75;
    }
}

@media (max-width: 768px) {
    .page-shell {
        width: min(100%, 430px);
        padding: 14px 12px 138px;
    }

    .hero-shell {
        border-radius: 28px;
    }

    .tracking-hero {
        display: grid;
    }

    .site-navbar {
        top: 0;
        padding: 12px 14px;
        margin-bottom: 0;
    }

    .hero-card,
    .table-banner,
    .sticky-card,
    .subcategory-card,
    .site-footer {
        padding: 14px;
    }

    .hero-card {
        gap: 10px;
        border-radius: 18px;
    }

    .hero-card-head {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        direction: rtl;
    }

    .hero-card-logo {
        order: 1;
        flex: 0 0 124px;
        width: 124px !important;
        max-width: 124px;
        margin: 0;
    }

    .hero-card-copy-box {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
        justify-items: end;
        text-align: right;
    }

    .step-switcher {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .step-switcher .step-chip {
        min-width: 0;
        padding-inline: 8px;
    }

    .step-switcher .step-continue-btn {
        margin-inline: 0;
        padding-inline: 8px;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    .table-banner {
        padding: 12px;
        gap: 8px;
    }

    .table-banner-copy {
        gap: 4px;
    }

    .table-banner-actions {
        justify-content: flex-start;
    }

    .table-banner-reset-form {
        width: 100%;
    }

    .table-banner-reset-btn {
        width: 100%;
    }

    .table-banner-text {
        font-size: 12px;
        line-height: 1.7;
    }

    .table-banner-title {
        font-size: 13px;
    }

    .table-banner .badge {
        font-size: 11px;
        line-height: 1.6;
    }

    .content-grid {
        gap: 12px;
    }

    .subcategory-browser {
        gap: 10px;
    }

    .subcategory-tab-list {
        gap: 7px;
    }

    .subcategory-tab {
        padding: 8px 12px;
        min-height: 38px;
        font-size: 12.5px;
    }

    .mobile-cart-bar {
        width: min(calc(100% - 24px), 406px);
        bottom: 92px;
    }

    .bottom-app-nav {
        width: min(calc(100% - 24px), 406px);
        bottom: 10px;
    }

    .credit-toast {
        width: min(calc(100% - 24px), 406px);
        bottom: 84px;
    }

    .waiter-call-sheet {
        width: min(calc(100% - 24px), 406px);
        bottom: 82px;
    }

    .hero-card {
        gap: 12px;
        padding: 12px 14px 16px;
    }

    .hero-card h1 {
        font-size: clamp(22px, 7vw, 28px);
        line-height: 1.35;
    }

    .hero-card p {
        font-size: 12.5px;
        line-height: 1.7;
        max-width: 32ch;
        margin-inline: auto;
    }

    .meta-chip {
        min-height: 64px;
        padding: 12px;
    }

    .meta-chip-label {
        font-size: 11px;
    }

    .meta-chip-value {
        font-size: 11px;
        line-height: 1.55;
    }

    .meta-chip-address .meta-chip-value {
        font-size: 10.5px;
    }
}

@media (max-width: 560px) {
    .hero-card {
        padding: 11px 13px 15px;
    }

    .hero-card h1 {
        font-size: clamp(20px, 7.2vw, 25px);
    }

    .hero-card p {
        max-width: 28ch;
        font-size: 12px;
    }

    .hero-socials {
        justify-content: center;
        margin-top: 10px;
    }

    .hero-social-link {
        width: 36px;
        height: 36px;
    }

    .hero-meta {
        display: flex;
        flex-direction: row;
        gap: 7px;
        width: 100%;
    }

    .meta-chip {
        flex: 1 1 0;
        min-width: 0;
        gap: 7px;
    }

    .subcategory-browser {
        padding: 0 10px 10px;
    }

    .menu-panel {
        gap: 10px;
    }

    .category-block {
        border-radius: 16px;
    }

    .category-toggle {
        padding: 10px;
    }

    .category-thumb {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .category-block[open] .category-thumb {
        width: 42px;
        height: 42px;
    }

    .category-summary h2 {
        font-size: 14px;
    }

    .category-availability-note {
        font-size: 10px;
        padding: 4px 8px;
    }

    .subcategory-tab-list {
        gap: 6px;
    }

    .subcategory-tab {
        min-height: 36px;
        padding: 8px 11px;
        font-size: 12px;
    }

    .meta-chip {
        min-height: auto;
        padding: 10px 12px;
    }

    .meta-chip-label {
        font-size: 10.5px;
    }

    .meta-chip-line {
        gap: 5px;
    }

    .meta-chip-contact .meta-chip-label {
        white-space: nowrap;
    }

    .meta-chip-contact .meta-chip-value {
        white-space: normal;
    }

    .meta-chip-contact .meta-chip-line:last-child .meta-chip-label,
    .meta-chip-contact .meta-chip-line:last-child .meta-chip-value {
        font-size: 10px;
        white-space: nowrap;
    }

    .meta-chip-value,
    .meta-chip-address .meta-chip-value {
        font-size: 11px;
        line-height: 1.7;
    }

    .menu-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
        gap: 8px;
        width: 100%;
    }

    .menu-actions form {
        width: 100%;
        align-self: end;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn,
    .price {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        border-radius: 12px;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        padding: 6px 8px;
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
        text-align: center;
    }

    .price-stack {
        width: 100%;
        align-items: stretch;
        justify-content: flex-end;
        gap: 3px;
    }

    .price {
        padding: 0 8px;
        font-size: 12px;
        align-self: end;
    }

    .menu-item {
        grid-template-columns: 68px minmax(0, 1fr);
        padding: 9px;
        gap: 8px;
        border-radius: 18px;
    }

    .menu-media {
        width: 68px;
        height: 68px;
        border-radius: 16px;
    }

    .menu-copy h4 {
        font-size: 14px;
    }

    .menu-copy p {
        font-size: 11px;
    }

    .cart-row {
        gap: 12px;
    }

    .cart-controls {
        direction: ltr;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "remove qty"
            "total total";
        align-items: end;
        gap: 8px 10px;
    }

    .cart-qty-stepper {
        grid-area: qty;
        width: 100%;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        justify-self: end;
    }

    .cart-qty-stepper input[type="number"],
    .cart-controls input {
        width: 100%;
        min-width: 0;
    }

    .cart-line-total {
        grid-area: total;
        justify-self: stretch;
        text-align: right;
    }

    .cart-remove-btn {
        grid-area: remove;
        width: auto;
        min-width: 86px;
        justify-self: start;
    }
}

@media (max-width: 400px) {
    .hero-card {
        padding: 10px 12px 14px;
    }

    .hero-card h1 {
        font-size: 19px;
    }

    .hero-card p {
        font-size: 11.5px;
        max-width: 26ch;
    }

    .meta-chip {
        padding: 9px 10px;
    }

    .meta-chip-value,
    .meta-chip-address .meta-chip-value {
        font-size: 10px;
    }
}

@media (min-width: 769px) {
    .site-body {
        background:
            radial-gradient(circle at 50% 0, rgba(var(--primary-rgb) / 0.22), transparent 20%),
            linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
    }

    .page-shell {
        width: min(100%, 430px);
        min-height: 100vh;
        padding: 18px 14px 140px;
    }

    .hero-shell {
        margin-bottom: 0;
        border-radius: 28px;
        overflow: visible;
        background:
            radial-gradient(circle at 28% 12%, rgba(var(--primary-rgb) / 0.18), transparent 36%),
            linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
        border: 0;
        box-shadow: none;
        padding: 0;
        display: block;
    }

    .site-navbar {
        margin-bottom: 0;
        padding: 14px 16px;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        position: relative;
        top: 0;
        backdrop-filter: none;
    }

    body[data-theme="dark"] .site-body {
        background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
    }

    body[data-theme="dark"] .hero-shell {
        background: var(--bg);
    }

    body[data-theme="dark"] .site-navbar {
        background: var(--bg);
        border-color: transparent;
        box-shadow: none;
    }

    body[data-theme="dark"] .nav-icon-btn {
        background: rgba(250, 252, 250, 0.08);
        border-color: rgba(200, 216, 202, 0.12);
        box-shadow: none;
        color: #fffdf8;
    }

    body[data-theme="dark"] .nav-popover {
        background: #1b1b1d;
        color: #fffdf8;
        border-color: rgba(200, 216, 202, 0.14);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    }

    body[data-theme="dark"] .nav-popover .lang-chip,
    body[data-theme="dark"] .nav-popover .theme-mode-btn,
    body[data-theme="dark"] .nav-popover .social-link,
    body[data-theme="dark"] .nav-popover button.social-link {
        background: rgba(250, 252, 250, 0.08);
        color: #fffdf8;
        border-color: rgba(200, 216, 202, 0.12);
    }

    body[data-theme="dark"] .nav-popover .lang-chip.active,
    body[data-theme="dark"] .nav-popover .theme-mode-btn.active {
        background: var(--primary);
        color: #fffdf8;
        border-color: transparent;
    }

    .navbar-brand {
        gap: 8px;
    }

    .eyebrow {
        display: none;
    }

    .navbar-brand strong {
        color: var(--text);
        font-size: 18px;
        font-weight: 800;
    }

    .nav-icon-btn {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.34);
        border: 0;
        box-shadow: none;
        color: #51321d;
    }

    .hero-card {
        margin-bottom: 0;
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
        padding: 16px;
        border-radius: 22px;
        border: 1px solid rgba(255, 255, 255, 0.44);
        box-shadow: 0 10px 24px rgba(var(--text-rgb) / 0.08);
        background: rgba(255, 255, 255, 0.36);
        backdrop-filter: blur(10px);
        color: #24160d;
    }

    .hero-card::after {
        display: none;
    }

    .hero-card > div:first-child {
        width: 100%;
        max-width: 100%;
        display: grid;
        justify-items: stretch;
        align-content: start;
        min-width: 0;
    }

    .hero-card-head {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        direction: rtl;
        min-height: 72px;
        padding-right: 0;
    }

    .hero-card-logo {
        position: static;
        flex: 0 0 124px;
        margin: 0;
    }

    .hero-card p {
        text-align: right;
        font-size: 13px;
        line-height: 1.75;
        color: rgba(46, 30, 19, 0.76);
        max-width: 42ch;
        margin-inline: 0 auto;
    }

    .hero-card-copy-box {
        margin: 0;
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.42);
        border: 1px solid rgba(var(--primary-rgb) / 0.12);
    }

    .hero-socials {
        justify-content: flex-start !important;
        direction: ltr;
        width: 100% !important;
        justify-self: stretch !important;
        align-self: start;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left;
    }

    .hero-social-link {
        width: 38px;
        height: 38px;
    }

    .hero-meta {
        margin-top: 4px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        min-width: 0;
        width: 100%;
        align-content: start;
        max-width: none;
    }

    .meta-chip,
    .badge {
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 68px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.28);
        border: 0;
        color: var(--text);
        box-shadow: none;
    }

    .meta-chip {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: right;
        min-height: auto;
        position: relative;
        overflow: hidden;
        gap: 4px;
        padding: 12px;
        border-radius: 16px;
        background: rgba(250, 252, 250, 0.56);
        border: 1px solid rgba(250, 252, 250, 0.44);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
        border-inline-start: 4px solid rgba(var(--primary-rgb) / 0.34);
    }

    .meta-chip-label {
        color: var(--muted);
        font-size: 10.5px;
        font-weight: 800;
        letter-spacing: 0.02em;
    }

    .meta-chip-value {
        width: 100%;
        font-size: 13px;
        line-height: 1.8;
        color: var(--text);
    }

    .table-banner {
        margin-top: 14px;
        margin-bottom: 14px;
        padding: 12px 14px;
        border-radius: 18px;
        border: 0;
    }

    .table-banner-copy {
        gap: 5px;
    }

    .table-banner-title {
        font-size: 14px;
    }

    .table-banner-text {
        font-size: 12.5px;
        line-height: 1.75;
    }

    .table-banner .badge {
        min-height: auto;
        width: 100%;
        padding: 10px 12px;
        border-radius: 16px;
        font-size: 12px;
    }

    .table-banner-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 8px;
    }

    .order-step-bar {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .step-switcher {
        max-width: none;
        margin-inline: 0;
        gap: 4px;
    }

    .step-chip {
        border: 0;
        border-radius: 20px;
        background: rgba(250, 252, 250, 0.92);
    }

    .step-chip.active {
        background: var(--primary-dark);
    }

    .content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "menu"
            "cart";
        gap: 14px;
        align-items: stretch;
    }

    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: start;
    }

    .category-block,
    .sticky-card,
    .subcategory-card,
    .site-footer {
        border: 0;
        box-shadow: 0 8px 20px rgba(var(--text-rgb) / 0.06);
    }

    .category-block {
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.94);
    }

    .category-block[open] {
        grid-column: 1 / -1;
    }

    .category-toggle {
        padding: 10px 12px;
        min-height: auto;
    }

    .category-summary {
        gap: 10px;
    }

    .category-toggle .section-title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .category-block[open] .category-toggle {
        padding: 10px 12px 8px;
        min-height: auto;
    }

    .category-block[open] .category-summary {
        align-items: center;
        gap: 10px;
    }

    .category-thumb {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        border: 0;
    }

    .category-summary h2 {
        font-size: 14px;
        line-height: 1.4;
        margin: 0;
    }

    .category-block[open] .category-thumb {
        width: 44px;
        height: 44px;
    }

    .subcategory-browser {
        gap: 10px;
        padding: 0 10px 10px;
    }

    .category-availability-note {
        width: fit-content;
        max-width: 100%;
        min-height: 0;
        padding: 5px 10px;
        border-radius: 14px;
        font-size: 10.5px;
        line-height: 1.7;
    }

    .subcategory-stack {
        gap: 10px;
    }

    .subcategory-card {
        min-width: 0;
        border-radius: 20px;
        padding: 12px;
        background: #f8f6f2;
    }

    .subcategory-toggle {
        padding: 10px 12px;
        gap: 10px;
    }

    .subcategory-thumb {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        border: 0;
    }

    .subcategory-toggle h3 {
        font-size: 14px;
        line-height: 1.5;
    }

    .menu-items {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .menu-item {
        grid-template-columns: 74px minmax(0, 1fr);
        grid-template-areas:
            "media copy"
            "actions actions";
        gap: 10px;
        padding: 10px;
        border-radius: 20px;
        border: 0;
        box-shadow: none;
        background: var(--surface);
        min-height: auto;
    }

    .menu-media {
        width: 74px;
        height: 74px;
        border-radius: 18px;
        border: 0;
    }

    .menu-copy h4 {
        font-size: 15px;
        margin-bottom: 4px;
        line-height: 1.5;
    }

    .menu-copy p {
        font-size: 12px;
        line-height: 1.55;
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .item-label {
        margin-bottom: 6px;
        padding: 4px 8px;
        font-size: 10px;
    }

    .menu-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 8px;
        width: 100%;
    }

    .menu-actions form {
        width: auto;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        min-width: 96px;
        padding-inline: 12px;
    }

    .price-stack {
        min-width: 0;
        gap: 3px;
    }

    .price {
        font-size: 13px;
        line-height: 1.4;
    }

    .price-original {
        font-size: 11px;
    }

    .btn {
        min-height: 40px;
        border-radius: 14px;
        box-shadow: none;
    }

    .btn-primary {
        background: #2F4F3A;
        color: #fff;
    }

    .btn-light {
        background: #ece7e0;
    }

    .sticky-card {
        position: static;
        top: auto;
        padding: 16px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
    }

    .cart-row {
        padding: 12px 0;
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
    }

    .cart-row > div:first-child {
        min-width: 0;
    }

    .cart-controls {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "qty remove"
            "total total";
        align-items: center;
        gap: 8px 10px;
    }

    .cart-qty-stepper {
        grid-area: qty;
        grid-template-columns: 32px 56px 32px;
        width: auto;
        justify-self: start;
    }

    .cart-controls input {
        width: 56px;
        min-width: 56px;
        text-align: center;
        padding-inline: 6px;
    }

    .cart-line-total {
        grid-area: total;
        justify-self: start;
        text-align: right;
        white-space: nowrap;
        font-weight: 700;
    }

    .cart-remove-btn {
        grid-area: remove;
        min-width: 72px;
    }
    .cart-row > div:first-child {
        min-width: 0;
    }

    .cart-controls {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "qty remove"
            "total total";
        align-items: center;
        gap: 8px 10px;
    }

    .cart-qty-stepper {
        grid-area: qty;
        grid-template-columns: 32px 56px 32px;
        width: auto;
        justify-self: start;
    }

    .cart-controls input {
        width: 56px;
        min-width: 56px;
        text-align: center;
        padding-inline: 6px;
    }

    .cart-line-total {
        grid-area: total;
        justify-self: start;
        text-align: right;
        white-space: nowrap;
        font-weight: 700;
    }

    .cart-remove-btn {
        grid-area: remove;
        min-width: 72px;
    }

    .total-box {
        margin: 14px 0;
        padding: 14px 16px;
        border-radius: 18px;
        border: 0;
        background: #f6efe4;
    }

    .checkout-choice,
    .delivery-map-block {
        border-radius: 18px;
        border: 0;
        background: #f6f2ec;
    }

    input[type="text"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="url"],
    textarea,
    select {
        border-radius: 16px;
        border: 0;
        background: #f3efe8;
        padding: 12px 14px;
    }

    .site-footer {
        margin-top: 140px;
        padding-top: 12px;
        border-top: 0;
        justify-content: center;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.9);
        padding: 12px 14px;
    }

    .site-footer h3 {
        width: 100%;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.8;
    }

    .social-link {
        background: #f5f0e9;
        border: 0;
        box-shadow: none;
    }

    .mobile-cart-bar {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: 104px;
        transform: translateX(-50%);
        width: min(calc(100% - 28px), 402px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 12px;
        background: var(--primary);
        color: var(--surface);
        box-shadow: 0 18px 34px rgba(var(--text-rgb) / 0.22);
        z-index: 30;
    }

    .bottom-app-nav {
        position: fixed;
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
        width: min(calc(100% - 16px), 430px);
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        padding: 8px 10px;
        border-radius: 26px;
        background: linear-gradient(180deg, #FAFCFA 0%, #EEF3EE 100%);
        border: 1px solid rgba(200, 216, 202, 0.95);
        box-shadow: 0 18px 45px rgba(47, 79, 58, 0.14);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        overflow: hidden;
        z-index: 40;
    }

    .bottom-nav-item {
        display: grid;
        justify-items: center;
        gap: 3px;
        min-height: 44px;
        padding: 6px 2px;
        border-radius: 16px;
        color: rgba(122, 92, 69, 0.82);
        font-size: 10px;
        line-height: 1.1;
    }

    .bottom-nav-item svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
    }

    .bottom-nav-item span {
        white-space: nowrap;
    }

    .credit-toast {
        display: block;
        position: fixed;
        left: 50%;
        bottom: 96px;
        transform: translateX(-50%);
        width: min(calc(100% - 28px), 402px);
        padding: 10px 12px;
        border-radius: 18px;
        background: rgba(250, 252, 250, 0.95);
        border: 1px solid rgba(200, 216, 202, 0.95);
        box-shadow: 0 14px 30px rgba(47, 79, 58, 0.12);
        color: #2F4F3A;
        font-size: 12px;
        line-height: 1.7;
        text-align: center;
        z-index: 41;
    }

    .waiter-call-sheet {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: 92px;
        transform: translateX(-50%);
        width: min(calc(100% - 24px), 406px);
        padding: 16px;
        border-radius: 28px;
        z-index: 45;
    }
}

/* Final responsive menu overrides */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "menu"
            "cart";
        gap: 18px;
        align-items: stretch;
    }

    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: start;
    }

    .category-block[open] {
        grid-column: 1 / -1;
    }

    .sticky-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .step-switcher {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .step-switcher .step-chip,
    .step-switcher .step-continue-btn {
        width: 100%;
        min-width: 0;
    }

    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: start;
        justify-items: stretch;
    }

    .category-block {
        border-radius: 16px;
        display: block;
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .category-block[open] {
        grid-column: 1 / -1 !important;
    }

    .category-toggle {
        min-height: auto;
        padding: 10px 12px !important;
        align-items: center;
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .category-summary {
        display: flex !important;
        align-items: center;
        gap: 10px;
        text-align: right;
        width: 100%;
        min-width: 0;
    }

    .category-toggle .section-title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
    }

    .category-summary h2 {
        margin: 0;
        font-size: 16px;
        line-height: 1.45;
    }

    .category-block[open] .category-toggle {
        min-height: auto;
        padding: 12px 12px 8px !important;
    }

    .category-block[open] .category-summary {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        text-align: right;
        width: 100%;
    }

    .category-thumb {
        width: 44px !important;
        height: 44px !important;
    }

    .category-block[open] .category-thumb {
        width: 42px !important;
        height: 42px !important;
    }

    .subcategory-browser {
        gap: 10px;
        padding: 0 12px 12px !important;
    }

    .category-availability-note {
        display: inline-flex;
        max-width: 100%;
        width: fit-content;
        padding: 5px 9px;
        min-height: 0;
        border-radius: 14px;
        font-size: 10px;
        line-height: 1.7;
    }

    .subcategory-stack {
        gap: 10px;
    }

    .subcategory-toggle {
        padding: 10px 12px;
        gap: 10px;
    }

    .subcategory-toggle h3 {
        font-size: 14px;
        line-height: 1.45;
    }

    .menu-items {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .menu-item {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        grid-template-areas:
            "media copy"
            "actions actions";
        gap: 9px 10px !important;
        padding: 10px !important;
        min-height: auto;
        border-radius: 18px;
    }

    .menu-media {
        width: 72px !important;
        height: 72px !important;
        border-radius: 16px;
    }

    .menu-copy {
        min-width: 0;
    }

    .menu-copy h4 {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.45;
    }

    .menu-copy p {
        margin-bottom: 0;
        font-size: 11.5px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .item-label {
        margin-bottom: 6px;
        padding: 4px 8px;
        font-size: 10px;
    }

    .menu-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: end !important;
        gap: 8px !important;
        width: 100%;
    }

    .menu-actions form {
        width: auto !important;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        width: auto !important;
        min-width: 94px;
        padding-inline: 12px;
    }

    .price-stack {
        min-width: 0;
        gap: 3px;
    }

    .price {
        font-size: 13px;
        line-height: 1.4;
    }

    .price-original {
        font-size: 11px;
    }
}

@media (max-width: 560px) {
    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .category-block {
        border-radius: 16px;
    }

    .category-toggle {
        padding: 10px !important;
    }

    .category-thumb {
        width: 42px !important;
        height: 42px !important;
        border-radius: 11px;
    }

    .category-block[open] .category-thumb {
        width: 40px !important;
        height: 40px !important;
    }

    .category-summary h2 {
        font-size: 13px;
    }

    .subcategory-browser {
        padding: 0 10px 10px !important;
    }

    .menu-item {
        grid-template-columns: 66px minmax(0, 1fr) !important;
        padding: 9px !important;
        gap: 8px 9px !important;
    }

    .menu-media {
        width: 66px !important;
        height: 66px !important;
        border-radius: 15px;
    }

    .menu-copy h4 {
        font-size: 13px;
    }

    .menu-copy p {
        font-size: 11px;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        min-width: 88px;
        padding-inline: 10px;
        font-size: 10px;
    }

    .price {
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: stretch;
        justify-items: stretch;
    }

    .category-block {
        border-radius: 16px;
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .category-toggle {
        padding: 10px !important;
        width: 100%;
    }

    .category-summary {
        gap: 10px;
        width: 100%;
    }

    .category-thumb {
        width: 42px !important;
        height: 42px !important;
        border-radius: 11px;
    }

    .category-block[open] .category-thumb {
        width: 40px !important;
        height: 40px !important;
    }

    .category-summary h2 {
        font-size: 13px;
        line-height: 1.4;
    }

    .subcategory-toggle {
        padding: 11px 12px;
    }

    .subcategory-thumb {
        width: 46px !important;
        height: 46px !important;
        border-radius: 14px;
    }

    .subcategory-toggle h3 {
        font-size: 14px;
    }

    .menu-item {
        grid-template-columns: 78px minmax(0, 1fr) !important;
        padding: 10px !important;
        gap: 10px !important;
        border-radius: 19px;
    }

    .menu-media {
        width: 78px !important;
        height: 78px !important;
        border-radius: 17px;
    }

    .menu-copy h4 {
        font-size: 14px;
        line-height: 1.45;
    }

    .menu-copy p {
        font-size: 11.5px;
        line-height: 1.6;
    }

    .menu-actions .btn,
    .menu-actions button,
    .menu-actions form .btn {
        min-width: 92px;
        min-height: 38px;
        font-size: 10.5px;
    }
}

@media (max-width: 390px) {
    .menu-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .category-block,
    .category-toggle,
    .category-summary {
        width: 100%;
        min-width: 0;
    }

    .category-thumb {
        width: 42px !important;
        height: 42px !important;
    }

    .category-block[open] .category-thumb {
        width: 40px !important;
        height: 40px !important;
    }

    .menu-item {
        grid-template-columns: 74px minmax(0, 1fr) !important;
    }

    .menu-media {
        width: 74px !important;
        height: 74px !important;
    }
}

.admin-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-auth-screen {
    width: min(920px, 100%);
    display: grid;
    gap: 18px;
}

.admin-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(180, 198, 183, 0.92);
    background: #fffdfa;
    box-shadow: 0 24px 60px rgba(var(--text-rgb) / 0.1);
}

.admin-auth-aside {
    display: grid;
    align-content: center;
    padding: 36px 32px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(160deg, #4f6b51 0%, #2f4f3a 58%, #3d5a40 100%);
    color: #fffdf8;
}

.admin-auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-auth-brand-copy {
    display: grid;
    gap: 4px;
}

.admin-auth-brand-copy strong {
    font-size: 22px;
    line-height: 1.3;
}

.admin-auth-brand-copy span {
    font-size: 13px;
    color: rgba(250, 252, 250, 0.78);
}

.admin-auth-main {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 36px 34px;
}

.admin-auth-form {
    display: grid;
    gap: 14px;
}

.admin-auth-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 18px;
    background: #f8f3eb;
    border: 1px solid rgba(180, 198, 183, 0.82);
}

.admin-auth-field span {
    flex: 0 0 88px;
    font-size: 13px;
    font-weight: 800;
    color: #5a4739;
    white-space: nowrap;
}

.admin-auth-field input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(221, 209, 194, 0.95);
    background: #fff;
    color: var(--text);
}

.admin-auth-field input:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb) / 0.5);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb) / 0.08);
}

.admin-auth-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
}

.admin-auth-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 6px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 820px) {
    .admin-auth-card {
        grid-template-columns: 1fr;
    }

    .admin-auth-aside {
        padding: 28px 24px;
    }

    .admin-auth-main {
        padding: 28px 24px 32px;
    }

    .admin-auth-foot {
        justify-content: center;
        text-align: center;
    }
}
