:root {
    --primary: #c62828;
    --primary-dark: #9f1f1f;
    --accent: #f59f00;
    --green: #2e7d32;
    --text: #241f1f;
    --muted: #6f6767;
    --line: #ece5df;
    --surface: #ffffff;
    --soft: #fbf7f2;
    --shadow: 0 12px 30px rgba(42, 24, 16, 0.09);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--soft);
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    min-height: 68px;
    padding: 0 7vw;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.promo-banner {
    overflow: hidden;
    min-height: 34px;
    padding: 0.45rem 0;
    color: #fff;
    background: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
}

.promo-track {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: max-content;
    padding-left: 100%;
    animation: promo-ticker 24s linear infinite;
}

.promo-track a {
    border-bottom: 1px solid currentColor;
}

@keyframes promo-ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    color: var(--primary-dark);
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand span {
    line-height: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 1rem;
    font-weight: 700;
}

.site-nav a {
    color: #3a3030;
}

.nav-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background:
        radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fdf497 5% 12%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-icon-link svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}

.nav-icon-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.order-nav-item {
    display: grid;
    flex: 0 1 auto;
    gap: 0.2rem;
    justify-items: start;
}

.checkout-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.discount-nudge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    max-width: min(34vw, 280px);
    line-height: 1.2;
    pointer-events: none;
    white-space: nowrap;
}

.discount-star {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.cart-total {
    color: var(--primary);
    font-size: 0.88rem;
    white-space: nowrap;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 22px;
    margin-left: 4px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
}

.floating-whatsapp-button {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 30px rgba(18, 140, 126, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.floating-whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(18, 140, 126, 0.4);
}

body:has(.floating-cart-bar:not([hidden])) .floating-whatsapp-button {
    bottom: 5.8rem;
}

.hero {
    min-height: 58vh;
    display: grid;
    place-items: center;
    padding: 6rem 7vw;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56)),
        url('food/optimized/generated/pav-bhaji-realistic.jpg') center / cover;
}

.hero-content {
    max-width: 780px;
}

.hero h1,
.section h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.05;
}

.hero p,
.section-title p,
.toolbar p,
.muted {
    color: var(--muted);
}

.hero p {
    margin: 0 auto 2rem;
    max-width: 620px;
    color: #f4eded;
    font-size: 1.1rem;
}

.section {
    width: min(1180px, 86vw);
    margin: 0 auto;
    padding: 4rem 0;
}

.section.compact {
    padding-top: 2.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section h2 {
    margin: 0 0 0.8rem;
    font-size: 1.65rem;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    gap: 2rem;
    align-items: center;
}

.feature-image {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 8px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 1rem;
}

.check-list li::before {
    content: ">";
    color: var(--primary);
    font-weight: 900;
    margin-right: 10px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.category-grid,
.menu-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
}

.category-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.category-card div,
.menu-body {
    padding: 1.2rem;
}

.category-card h3,
.menu-card h3 {
    margin: 0 0 0.35rem;
}

.toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.search-box {
    display: grid;
    gap: 6px;
    min-width: 280px;
    font-weight: 700;
}

.veg-filter {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.veg-filter button {
    min-height: 38px;
    padding: 0 14px;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
}

.veg-filter button.active {
    color: #fff;
    background: var(--primary);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d9d1ca;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}

.chips,
.category-tabs,
.menu-tabs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
    margin-bottom: 1.3rem;
}

.chip,
.category-tab,
.menu-tab {
    color: #fff;
    border: 1px solid var(--primary);
    background: var(--primary);
    border-radius: 999px;
    padding: 9px 18px;
    white-space: nowrap;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(198, 40, 40, 0.18);
}

.chip.active,
.category-tab.active,
.menu-tab.active {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.menu-tab {
    cursor: pointer;
}

.menu-tab-panel {
    min-width: 0;
}

.menu-accordion-layout {
    display: none;
}

.menu-accordion {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.menu-accordion summary {
    padding: 13px 15px;
    color: #fff;
    background: var(--primary);
    font-weight: 900;
    cursor: pointer;
}

.menu-accordion[open] summary {
    background: var(--primary-dark);
}

.menu-accordion .menu-grid {
    padding: 1rem;
}

.menu-card {
    display: flex;
    flex-direction: column;
}

.image-wrap {
    position: relative;
}

.image-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.badge {
    position: absolute;
    right: 12px;
    top: 12px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 4px;
    padding: 4px 8px;
}

.badge.veg,
.ok {
    color: var(--green);
}

.badge.veg {
    color: #fff;
    background: var(--green);
}

.badge.nonveg,
.bad {
    color: #c62828;
}

.badge.nonveg {
    color: #fff;
    background: #c62828;
}

.menu-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.menu-heading strong {
    color: var(--primary);
    white-space: nowrap;
}

.menu-group {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.65rem;
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.menu-body p {
    min-height: 42px;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 800;
    transition: transform 0.15s ease, background 0.15s ease;
}

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

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

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

.btn.secondary {
    background: #fff;
    border-color: var(--line);
}

.btn.full {
    width: 100%;
}

.btn.mini {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 0.84rem;
}

.btn.danger {
    color: #b71c1c;
}

.btn.whatsapp {
    border-color: #25d366;
    color: #128c7e;
    background: #fff;
}

.qty-control {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 8px;
    background: #f2ece6;
}

.qty-control button {
    border: 0;
    border-radius: 6px;
    background: #fff;
    min-height: 34px;
    font-weight: 900;
}

.qty-control strong {
    text-align: center;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 1.5rem;
    align-items: start;
}

.checkout-summary,
.form-card,
.auth-card {
    padding: 1.4rem;
}

.checkout-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.55rem;
    padding: 0.75rem;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #f7f7f7;
}

.item-cell img {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    object-fit: cover;
}

.checkout-item-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-qty-control {
    grid-template-columns: 30px 34px 30px;
    gap: 4px;
    padding: 4px;
}

.checkout-qty-control button {
    min-height: 28px;
}

.checkout-line-price {
    min-width: 78px;
    text-align: right;
    white-space: nowrap;
}

.checkout-item .icon-remove {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b71c1c;
    cursor: pointer;
}

.checkout-item .icon-remove:hover,
.checkout-item .icon-remove:focus-visible {
    background: rgba(183, 28, 28, 0.1);
}

.checkout-item .icon-remove svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.total-row {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid var(--line);
    padding: 1rem 0;
    margin-top: 1rem;
    font-size: 1.15rem;
}

.invoice-totals {
    display: grid;
    gap: 0.6rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
}

.invoice-totals div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.invoice-totals strong {
    color: var(--text);
}

.total-row.grand {
    margin-top: 0.6rem;
}

.discount-offer {
    margin: 0.75rem 0 1rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.discount-offer ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.discount-offer li {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 0.7rem;
    border-radius: 8px;
    background: #3c3c3c;
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.35;
}

.form-card {
    display: grid;
    gap: 1rem;
}

.form-card label,
.auth-card label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

.special-day-fields {
    display: grid;
    gap: 0.85rem;
}

.special-day-fields p {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: #3c3c3c;
    color: #fff;
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.special-day-fields p strong {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--accent);
    font-size: calc(1em + 3pt);
    font-weight: 400;
    line-height: 1.15;
}

.special-day-fields p span {
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

.date-select-group {
    display: grid;
    grid-template-columns: 64px minmax(100px, 1fr) 76px;
    gap: 0.45rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.date-select-group legend {
    grid-column: 1 / -1;
    margin-bottom: 3px;
    font-weight: 700;
}

.date-select-group select {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 0.9rem;
}

.inline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.inline-options input {
    width: auto;
}

.payment-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: #fffdf8;
}

.qr {
    width: 150px;
    height: 150px;
    margin: 0 auto 0.8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
}

.alert {
    border: 1px solid #ffcdd2;
    background: #fff2f3;
    color: #9f1f1f;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.success-alert {
    border-color: #c8e6c9;
    background: #f0fff1;
    color: var(--green);
}

.success-panel {
    max-width: 720px;
    margin: 4rem auto;
    padding: 3rem;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow);
}

.checkout-thank-you {
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.thank-you-total {
    display: grid;
    gap: 0.25rem;
    width: min(100%, 280px);
    padding: 1rem;
    border-radius: 8px;
    background: #3c3c3c;
    color: #fff;
}

.thank-you-total span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    font-weight: 700;
}

.thank-you-total strong {
    color: var(--accent);
    font-size: 1.55rem;
}

.thank-you-payment {
    width: min(100%, 340px);
}

.order-status-card {
    display: grid;
    gap: 0.45rem;
    justify-items: center;
    width: min(100%, 360px);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: #fff3e0;
    color: #ef6c00;
    font-size: 0.78rem;
    font-weight: 900;
}

.status-pill[data-status="CONFIRMED"] {
    background: #fff8e1;
    color: #8a5a00;
}

.status-pill[data-status="PREPARING"] {
    background: #e3f2fd;
    color: #1976d2;
}

.status-pill[data-status="READY"],
.status-pill[data-status="DELIVERED"] {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-countdown {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 900;
}

.order-status-meta {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-section {
    display: grid;
    place-items: center;
    min-height: 60vh;
}

.auth-card {
    width: min(420px, 100%);
    display: grid;
    gap: 1rem;
}

.admin-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 1.5rem;
    width: min(1380px, 94vw);
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.admin-sidebar {
    position: sticky;
    top: 88px;
    height: fit-content;
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-sidebar a {
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 800;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    color: #fff;
    background: var(--primary);
}

.admin-content {
    min-width: 0;
}

.stat-card {
    display: grid;
    gap: 0.5rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

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

.stat-card strong {
    color: var(--primary);
    font-size: 1.5rem;
}

.table-card {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--line);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th,
td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    background: #fbf7f2;
    font-size: 0.88rem;
}

.item-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.item-cell span {
    display: grid;
    gap: 2px;
}

.item-cell small {
    color: var(--muted);
}

.actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.actions form {
    margin: 0;
}

.status-form select {
    min-width: 130px;
}

.availability-toggle,
.availability-toggle label {
    margin: 0;
}

.availability-toggle label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.availability-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #d6cbc2;
    transition: background 0.18s ease;
}

.switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(36, 31, 31, 0.18);
    transition: transform 0.18s ease;
}

.availability-toggle input:checked + .switch {
    background: var(--green);
}

.availability-toggle input:checked + .switch::after {
    transform: translateX(20px);
}

.availability-toggle input:focus-visible + .switch {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.copy-box,
.history-row {
    padding: 0.75rem;
    border-radius: 8px;
    background: #f6efe8;
    word-break: break-all;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 7vw;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #fff;
}

[hidden] {
    display: none !important;
}

@media (max-width: 820px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: start;
        gap: 0.75rem 1rem;
        padding: 1rem 5vw;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        margin-right: 0;
        min-width: 0;
    }

    .site-header > .instagram-link {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        justify-self: end;
    }

    .nav-toggle {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 5vw;
        right: 5vw;
        top: calc(100% - 1px);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav .nav-icon-link {
        width: 100%;
        height: auto;
        min-height: 40px;
        justify-content: flex-start;
        border-radius: 8px;
    }

    .promo-banner {
        min-height: 32px;
        padding: 0.42rem 0;
        font-size: 0.78rem;
    }

    .order-nav-item {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        gap: 0.3rem;
        justify-items: start;
        padding-top: 0.1rem;
    }

    .checkout-link {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 0.45rem;
        line-height: 1.18;
        flex-wrap: wrap;
    }

    .checkout-link > span:first-child {
        grid-column: auto;
    }

    .discount-nudge {
        max-width: 100%;
        white-space: normal;
    }

    .cart-total {
        font-size: 0.9rem;
    }

    .cart-count {
        min-width: 0;
        min-height: 0;
        margin-left: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: var(--text);
        font-size: 0.9rem;
        font-weight: 800;
    }

    .section,
    .admin-layout {
        width: min(94vw, 1180px);
    }

    .toolbar,
    .split,
    .checkout-grid,
    .admin-layout,
    .site-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .search-box {
        min-width: 100%;
    }

    .menu-tabs-layout {
        display: none;
    }

    .menu-accordion-layout {
        display: grid;
        gap: 1rem;
    }

    .menu-accordion .menu-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .menu-accordion .menu-card {
        display: grid;
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid var(--line);
    }

    .menu-accordion .menu-card:last-child {
        border-bottom: 0;
    }

    .menu-accordion .image-wrap {
        min-height: 100%;
    }

    .menu-accordion .image-wrap img {
        width: 74px;
        height: 100%;
        min-height: 104px;
        object-fit: cover;
    }

    .menu-accordion .badge {
        left: 6px;
        right: auto;
        top: 6px;
        padding: 3px 6px;
        font-size: 0.68rem;
    }

    .menu-accordion .menu-body {
        display: grid;
        gap: 0.45rem;
        padding: 0.75rem;
        min-width: 0;
    }

    .menu-accordion .menu-heading {
        align-items: start;
        gap: 0.7rem;
        margin-bottom: 0;
    }

    .menu-accordion .menu-heading h3 {
        min-width: 0;
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.25;
    }

    .menu-accordion .menu-heading strong {
        font-size: 0.9rem;
    }

    .menu-accordion .menu-body p {
        min-height: 0;
        margin: 0;
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .menu-accordion .btn.full {
        min-height: 36px;
        padding: 8px 12px;
    }

    .veg-filter {
        width: 100%;
    }

    .veg-filter button {
        flex: 1;
    }

    .admin-sidebar {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .checkout-item {
        grid-template-columns: 52px 1fr;
    }

    .checkout-actions {
        grid-column: 1 / -1;
        justify-items: start;
    }
}

.order-app {
    background: #f4f5f7;
    padding-bottom: 96px;
}

.order-app main {
    min-height: calc(100vh - 68px);
}

.order-app .site-header {
    min-height: 64px;
    padding: 0.6rem max(1rem, calc((100vw - 760px) / 2));
    border-bottom: 1px solid #e8e8e8;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(20, 20, 20, 0.05);
}

.order-app .brand {
    gap: 10px;
    color: #1f1f1f;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.order-app .brand img {
    width: 38px;
    height: 38px;
    border: 1px solid #ededed;
    border-radius: 8px;
    background: #fff;
}

.order-app .site-nav a {
    color: #2d2d2d;
    font-size: 0.86rem;
}

.order-app .order-nav-item {
    justify-items: end;
}

.order-app .checkout-link {
    color: #1f1f1f;
    font-size: 0.86rem;
    font-weight: 900;
}

.order-app .discount-nudge {
    color: #c52031;
}

.menu-page .site-footer {
    display: none;
}

.order-menu-section {
    width: min(760px, 100%);
    padding: 0 0 2rem;
}

.menu-app-shell {
    min-height: calc(100vh - 64px);
    background: #fff;
    border-right: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    box-shadow: 0 18px 44px rgba(20, 20, 20, 0.08);
}

.menu-page .toolbar {
    position: sticky;
    top: 64px;
    z-index: 11;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eeeeee;
    background: #fff;
}

.menu-page-heading {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.menu-page-heading h1 {
    margin: 0;
    color: #171717;
    font-size: 1.18rem;
    line-height: 1.15;
}

.menu-page-heading span {
    color: #777;
    font-size: 0.78rem;
    font-weight: 700;
}

.menu-page .search-box {
    position: relative;
    min-width: 0;
    gap: 0;
}

.menu-page .search-box span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.menu-page .search-box input {
    min-height: 38px;
    border-color: #e0e0e0;
    border-radius: 999px;
    background: #f7f7f7;
    font-size: 0.76rem;
}

.menu-page .veg-filter {
    gap: 0.55rem;
    padding: 3px;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
}

.menu-page .veg-filter button {
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.menu-page .veg-filter button.active {
    color: #c52031;
    background: transparent;
}

.menu-page .menu-tabs {
    position: sticky;
    top: 131px;
    z-index: 10;
    gap: 0.45rem;
    margin: 0;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eeeeee;
    background: #fff;
}

.menu-page .menu-tab {
    border: 1px solid #eeeeee;
    border-radius: 999px;
    background: #fff;
    color: #202020;
    box-shadow: none;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 900;
}

.menu-page .menu-tab.active {
    border-color: #c52031;
    background: #c52031;
    color: #fff;
}

.menu-page .menu-tab-panel {
    padding: 0;
}

.menu-page .menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.menu-page .menu-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 0.9rem;
    align-items: start;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    border-radius: 0;
    box-shadow: none;
    padding: 1rem;
}

.menu-page .menu-card .image-wrap {
    grid-column: 2;
    grid-row: 1;
}

.menu-page .image-wrap img {
    width: 112px;
    height: 102px;
    border-radius: 8px;
    object-fit: cover;
}

.menu-page .badge {
    right: auto;
    left: 7px;
    top: 7px;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.64rem;
    line-height: 1;
}

.menu-page .menu-body {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    padding: 0;
}

.menu-page .menu-heading {
    display: grid;
    gap: 0.25rem;
    margin: 0;
}

.menu-page .menu-heading h3 {
    margin: 0;
    color: #191919;
    font-size: 1rem;
    line-height: 1.25;
}

.menu-page .menu-heading strong {
    color: #202020;
    font-size: 0.92rem;
    font-weight: 900;
}

.menu-page .menu-body p {
    min-height: 0;
    margin: 0;
    color: #777;
    font-size: 0.86rem;
    line-height: 1.4;
}

.menu-page .cart-control {
    width: 92px;
    margin-top: 0.25rem;
}

.menu-page .btn.primary {
    min-height: 34px;
    border-color: #c52031;
    border-radius: 8px;
    background: #fff;
    color: #c52031;
    box-shadow: 0 4px 12px rgba(197, 32, 49, 0.12);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.menu-page .btn.primary:hover {
    background: #c52031;
    color: #fff;
}

.menu-page .qty-control {
    grid-template-columns: 30px 1fr 30px;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #c52031;
    border-radius: 8px;
    background: #fff;
}

.menu-page .qty-control button {
    min-height: 32px;
    border-radius: 0;
    color: #c52031;
    background: #fff;
}

.menu-page .qty-control strong {
    color: #c52031;
    font-size: 0.86rem;
}

.floating-cart-bar {
    position: fixed;
    right: max(1rem, calc((100vw - 760px) / 2));
    bottom: 16px;
    left: max(1rem, calc((100vw - 760px) / 2));
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    max-width: 728px;
    margin: 0 auto;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    color: #fff;
    background: #c52031;
    box-shadow: 0 14px 34px rgba(197, 32, 49, 0.34);
}

.floating-cart-bar > span:first-child {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.floating-cart-bar strong {
    font-size: 0.9rem;
}

.floating-cart-meta {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.floating-cart-nudge {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    pointer-events: none;
}

.floating-cart-action {
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    background: #fff;
    color: #c52031;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.checkout-page .section.compact {
    width: min(760px, 100%);
    padding: 1rem 0 2rem;
}

.checkout-page .floating-cart-bar {
    display: none;
}

.checkout-page .section.compact > h1 {
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid #eeeeee;
    background: #fff;
    color: #171717;
    font-size: 1.22rem;
}

.checkout-page .checkout-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.8rem;
}

.checkout-page .checkout-summary,
.checkout-page .form-card,
.checkout-page .success-panel {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(20, 20, 20, 0.08);
}

.checkout-page .checkout-summary h2 {
    margin-top: 0;
    font-size: 1rem;
}

.checkout-page .checkout-item {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 0.65rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid #eeeeee;
    background: #f7f7f7;
}

.checkout-page .invoice-totals {
    margin-top: 0.85rem;
    border-top: 1px solid #eeeeee;
}

.checkout-page .total-row.grand {
    border-radius: 8px;
    background: #fff7f8;
    color: #c52031;
}

.checkout-page .discount-offer {
    border-radius: 8px;
    background: #f8f8f8;
}

.checkout-page .form-card {
    gap: 0.85rem;
}

.checkout-page .form-card input,
.checkout-page .form-card textarea,
.checkout-page .form-card select {
    border-color: #dedede;
    background: #fafafa;
}

.checkout-page .form-card .btn.primary {
    min-height: 46px;
    border-color: #c52031;
    background: #c52031;
    box-shadow: 0 10px 24px rgba(197, 32, 49, 0.22);
}

@media (max-width: 820px) {
    .order-app {
        padding-bottom: 104px;
    }

    .order-app .site-header {
        padding: 0.75rem 1rem;
    }

    .order-app .brand {
        font-size: 0.96rem;
    }

    .order-app .order-nav-item {
        justify-items: start;
    }

    .order-menu-section {
        width: 100%;
    }

    .menu-app-shell {
        min-height: calc(100vh - 112px);
        border: 0;
        box-shadow: none;
    }

    .menu-page .toolbar {
        top: 64px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.6rem;
        padding: 0.9rem 1rem 0.75rem;
    }

    .menu-page .search-box {
        min-width: 0;
        width: auto;
    }

    .menu-page .veg-filter {
        width: auto;
    }

    .menu-page .veg-filter button {
        min-width: 0;
        padding: 0 9px;
        font-size: 0.66rem;
    }

    .menu-page .menu-tabs {
        top: 0;
    }

    .menu-page .menu-accordion-layout {
        gap: 0.75rem;
        padding: 0.75rem 1rem 1.25rem;
        background: #f4f5f7;
    }

    .menu-page .menu-accordion {
        border: 0;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(20, 20, 20, 0.08);
    }

    .menu-page .menu-accordion summary {
        padding: 0.9rem 1rem;
        color: #1d1d1d;
        background: #fff;
        font-size: 0.95rem;
    }

    .menu-page .menu-accordion[open] summary {
        color: #c52031;
        background: #fff7f8;
        border-bottom: 1px solid #eeeeee;
    }

    .menu-page .menu-accordion .menu-card {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .menu-page .menu-accordion .image-wrap img,
    .menu-page .image-wrap img {
        width: 96px;
        height: 92px;
        min-height: 0;
    }

    .menu-page .menu-heading h3 {
        font-size: 0.95rem;
    }

    .menu-page .menu-body p {
        font-size: 0.82rem;
    }

    .floating-cart-bar {
        right: 0.85rem;
        bottom: 12px;
        left: 0.85rem;
        padding: 0.72rem 0.8rem;
    }

    .floating-whatsapp-button {
        right: 0.9rem;
        bottom: 0.9rem;
        width: 54px;
        height: 54px;
    }

    body:has(.floating-cart-bar:not([hidden])) .floating-whatsapp-button {
        bottom: 5.55rem;
    }

    .checkout-page .section.compact {
        padding: 0;
    }

    .checkout-page .section.compact > h1 {
        padding: 0.8rem 1rem;
        font-size: 1.02rem;
        line-height: 1.2;
    }

    .checkout-page .checkout-grid {
        gap: 0.65rem;
        padding: 0.65rem;
    }

    .checkout-page .checkout-summary,
    .checkout-page .form-card,
    .checkout-page .success-panel {
        padding: 0.9rem;
        border-radius: 8px;
        box-shadow: 0 4px 14px rgba(20, 20, 20, 0.06);
    }

    .checkout-page .checkout-summary h2 {
        margin: 0 0 0.35rem;
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .checkout-page .checkout-item {
        grid-template-columns: minmax(90px, 1fr) auto auto auto;
        gap: 0.38rem;
        margin-bottom: 0.45rem;
        padding: 0.52rem;
        border-radius: 7px;
    }

    .checkout-page .checkout-item strong {
        font-size: 0.86rem;
        line-height: 1.25;
    }

    .checkout-page .checkout-item p {
        margin: 0.15rem 0 0;
        color: var(--muted);
        font-size: 0.76rem;
    }

    .checkout-page .checkout-qty-control {
        grid-template-columns: 26px 28px 26px;
        gap: 3px;
        padding: 3px;
    }

    .checkout-page .checkout-qty-control button {
        min-height: 26px;
    }

    .checkout-page .checkout-line-price {
        min-width: 64px;
    }

    .checkout-page .checkout-item .icon-remove {
        width: 28px;
        height: 28px;
    }

    .checkout-page .checkout-item .icon-remove svg {
        width: 16px;
        height: 16px;
    }

    .checkout-page .invoice-totals {
        gap: 0.35rem;
        padding-top: 0.65rem;
        margin-top: 0.55rem;
        font-size: 0.82rem;
    }

    .checkout-page .total-row {
        padding: 0.72rem 0;
        margin-top: 0.45rem;
        font-size: 0.94rem;
    }

    .checkout-page .total-row.grand {
        padding: 0.72rem;
        font-size: 0.98rem;
    }

    .checkout-page .discount-offer {
        margin: 0.55rem 0 0.75rem;
        padding: 0.65rem;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .checkout-page .discount-offer ul {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        margin-top: 0.28rem;
    }

    .checkout-page .discount-offer li {
        min-height: 48px;
        padding: 0.55rem;
        font-size: 0.76rem;
    }

    .checkout-page .btn {
        min-height: 38px;
        padding: 8px 12px;
        border-radius: 7px;
        font-size: 0.82rem;
    }

    .checkout-page .form-card {
        gap: 0.7rem;
    }

    .checkout-page .form-card label,
    .checkout-page .date-select-group legend {
        gap: 4px;
        color: #343434;
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .checkout-page .form-card input,
    .checkout-page .form-card textarea,
    .checkout-page .form-card select {
        min-height: 38px;
        border-radius: 7px;
        padding: 8px 10px;
        font-size: 0.82rem;
    }

    .checkout-page .form-card textarea {
        min-height: 72px;
    }

    .checkout-page .special-day-fields {
        gap: 0.55rem;
    }

    .checkout-page .special-day-fields p {
        padding: 0.65rem;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .checkout-page .form-row {
        gap: 0.65rem;
    }

    .checkout-page .date-select-group {
        grid-template-columns: 58px minmax(86px, 1fr) 70px;
        gap: 0.35rem;
    }

    .checkout-page .date-select-group select {
        min-height: 36px;
        padding: 6px 7px;
        font-size: 0.78rem;
    }

    .checkout-page .payment-box {
        padding: 0.7rem;
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .checkout-page .payment-box p {
        margin: 0.35rem 0;
    }

    .checkout-page .qr {
        width: 118px;
        height: 118px;
        margin-bottom: 0.55rem;
        border-radius: 7px;
    }

    .checkout-page .form-card .btn.primary {
        min-height: 42px;
        font-size: 0.86rem;
        box-shadow: 0 6px 16px rgba(197, 32, 49, 0.2);
    }
}
