:root {
    --ink: #151f1c;
    --muted: #5f6b65;
    --line: #dfe6df;
    --bg: #f6f2ea;
    --panel: #fffdfa;
    --panel-strong: #ffffff;
    --brand: #0e5f4f;
    --brand-dark: #12342d;
    --accent: #b96f34;
    --gold: #d6a856;
    --clay: #8d4f38;
    --soft: #edf6f1;
    --soft-warm: #fbefe4;
    --shadow-sm: 0 10px 28px rgba(18, 32, 29, .07);
    --shadow: 0 20px 50px rgba(18, 32, 29, .11);
    --radius: 8px;
    --page-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 110px; }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 253, 247, .88), rgba(246, 242, 234, .97)),
        repeating-linear-gradient(90deg, rgba(18, 52, 45, .025) 0, rgba(18, 52, 45, .025) 1px, transparent 1px, transparent 120px),
        var(--bg);
    line-height: 1.58;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; color: var(--ink); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 650; }
h2 { font-size: 2.7rem; line-height: 1.04; margin-bottom: 10px; }
h3 { font-size: 1.25rem; line-height: 1.18; margin-bottom: 8px; }
p { color: var(--muted); }
small { color: var(--muted); font-weight: 700; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px 24px;
    background: rgba(255, 253, 247, .94);
    border-bottom: 1px solid rgba(23, 32, 29, .08);
    box-shadow: 0 10px 30px rgba(18, 32, 29, .06);
    backdrop-filter: blur(18px);
}

.header-shell {
    width: min(100%, var(--page-max));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: fit-content;
    font-weight: 850;
    font-size: 1.02rem;
    letter-spacing: 0;
}

.brand span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.brand strong { color: var(--ink); }

.main-nav,
.actions,
.filters,
.actions-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-width: 0;
}

.site-header nav a {
    flex: 0 0 auto;
    padding: 9px 11px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800;
    color: #32413c;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    white-space: nowrap;
}

.site-header nav a:hover,
.site-header nav a.is-active {
    background: rgba(14, 95, 79, .09);
    color: var(--brand-dark);
}

.site-header nav a:hover { transform: translateY(-1px); }
.staff-link { color: var(--muted) !important; }

.cart-link {
    background: var(--brand-dark);
    color: #fff !important;
    padding-inline: 14px !important;
    box-shadow: 0 10px 22px rgba(18, 52, 45, .14);
}

.cart-link strong {
    display: inline-grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    margin-left: 5px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: .76rem;
}

.quick-actions {
    display: none;
}

.quick-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    min-width: 92px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    color: #eef8f3;
    font-size: .86rem;
    font-weight: 900;
    line-height: 1;
    background: rgba(255, 255, 255, .08);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.ui-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-actions a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .28);
}

.quick-actions a.is-primary {
    background: linear-gradient(135deg, var(--accent), var(--clay));
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.hero {
    position: relative;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 96px 7vw;
    color: white;
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 7px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--brand));
    z-index: -1;
}

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

.hero h1 {
    color: white;
    font-size: 6rem;
    line-height: .92;
    margin-bottom: 22px;
    text-wrap: balance;
}

.hero p {
    font-size: 1.18rem;
    max-width: 680px;
    color: rgba(255, 255, 255, .88);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
}

.hero-points span {
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: .88rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: .74rem;
    font-weight: 900;
    color: var(--accent);
}

.hero .eyebrow,
.page-head .eyebrow { color: #f0c98a; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    padding: 12px 18px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(14, 95, 79, .17);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(14, 95, 79, .2);
}

.btn.secondary {
    background: linear-gradient(135deg, var(--accent), var(--clay));
    box-shadow: 0 12px 24px rgba(184, 111, 53, .17);
}

.btn.ghost {
    background: rgba(255, 255, 255, .82);
    color: var(--brand);
    border: 1px solid rgba(14, 95, 79, .28);
    box-shadow: none;
}

.btn.small {
    min-height: 36px;
    padding: 8px 12px;
    font-size: .86rem;
}

.section,
.band {
    padding: 72px max(24px, 6vw);
}

.section > :where(.section-head, .grid, .split, .gallery-grid, .prose, .table-wrap, .checkout-bar, .filters, .empty-state, .pagination),
.band > :where(.section-head, .grid, .split) {
    width: min(100%, var(--page-max));
    margin-left: auto;
    margin-right: auto;
}

.section.grid,
.section.gallery-grid,
.section.prose {
    width: min(100%, calc(var(--page-max) + 12vw));
    margin-left: auto;
    margin-right: auto;
}

.band {
    background:
        linear-gradient(135deg, rgba(237, 246, 241, .96), rgba(251, 239, 228, .9));
    border-block: 1px solid rgba(23, 32, 29, .06);
}

.section-head,
.admin-head,
.checkout-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.section-head h2,
.admin-head h1 { margin-bottom: 0; }

.section-head p,
.admin-head p { margin-bottom: 0; max-width: 560px; }

.section-head a,
.subtle {
    color: var(--muted);
    font-weight: 850;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.cards { grid-template-columns: repeat(auto-fit, minmax(min(282px, 100%), 1fr)); }

.menu-card,
.offer,
.review,
.panel,
.summary,
.metric,
.form-panel,
.contact-card,
.empty-state {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 251, 245, .94));
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.menu-card,
.offer,
.review,
.metric,
.summary,
.form-panel,
.contact-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.menu-card:hover,
.offer:hover,
.review:hover {
    transform: translateY(-3px);
    border-color: rgba(14, 95, 79, .18);
    box-shadow: var(--shadow);
}

.menu-card {
    display: grid;
    gap: 14px;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.menu-card::before,
.offer::before,
.review::before,
.metric::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent), var(--gold));
    opacity: .85;
}

.menu-image {
    margin: -18px -18px 0;
    overflow: hidden;
    min-width: 0;
    background: #e8e2d8;
}

.menu-card img {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .35s ease;
}

.menu-card:hover img { transform: scale(1.035); }
.menu-copy h3 { margin-bottom: 8px; font-size: 1.24rem; }
.menu-copy p:last-child { min-height: 50px; }

.card-foot,
.summary-row,
.admin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.card-foot {
    padding-top: 4px;
    border-top: 1px solid rgba(23, 32, 29, .07);
}

.card-foot strong,
.summary-row strong {
    font-size: 1.16rem;
    color: var(--brand-dark);
}

.labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.labels span,
.badge {
    border-radius: 999px;
    background: #e8f1ec;
    color: var(--brand);
    padding: 5px 10px;
    font-size: .76rem;
    font-weight: 850;
}

.badge.muted { background: #eee; color: #777; }

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-split > div,
.form-intro {
    padding: 30px;
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(255, 250, 244, .74));
    box-shadow: 0 14px 34px rgba(18, 32, 29, .06);
}

.form-intro {
    align-self: start;
    position: sticky;
    top: 112px;
}

.form-intro ul {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 12px;
}

.form-intro li {
    padding-left: 16px;
    border-left: 3px solid var(--accent);
    color: var(--muted);
    font-weight: 750;
}

.wide { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(18, 32, 29, .08);
}

.gallery-grid figure {
    margin: 0;
    position: relative;
}

.gallery-grid figcaption {
    margin-top: 9px;
    color: var(--muted);
    font-weight: 850;
}

.page-head {
    position: relative;
    padding: 82px max(24px, 6vw) 48px;
    background:
        linear-gradient(135deg, rgba(18, 52, 45, .98), rgba(14, 95, 79, .86)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0, rgba(255, 255, 255, .08) 1px, transparent 1px, transparent 84px),
        var(--brand-dark);
    color: white;
    overflow: hidden;
}

.page-head > * {
    position: relative;
    width: min(100%, var(--page-max));
    margin-left: auto;
    margin-right: auto;
}

.page-head h1 {
    color: white;
    font-size: 4.3rem;
    line-height: .96;
    margin-bottom: 14px;
    text-wrap: balance;
}

.page-head p {
    max-width: 760px;
    color: rgba(255, 255, 255, .8);
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.page-meta span {
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, .9);
    font-size: .86rem;
    font-weight: 850;
}

.compact { padding-top: 48px; }

.filters {
    position: sticky;
    top: 78px;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(190px, 260px) auto auto;
    padding: 14px;
    margin-bottom: 28px;
    background: rgba(255, 253, 249, .94);
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

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

label {
    display: grid;
    gap: 7px;
    font-weight: 850;
    color: #26332f;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(23, 32, 29, .15);
    border-radius: var(--radius);
    padding: 12px 12px;
    background: white;
    color: var(--ink);
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(18, 32, 29, .03);
    transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: 0;
    border-color: rgba(14, 95, 79, .55);
    box-shadow: 0 0 0 4px rgba(14, 95, 79, .1);
}

textarea { min-height: 116px; resize: vertical; }
.check { display: flex; align-items: center; justify-content: flex-start; }
.check input { width: auto; }

.form-panel {
    display: grid;
    gap: 18px;
}

.form-panel .btn { justify-self: start; }

.summary {
    align-self: start;
    position: sticky;
    top: 112px;
}

.summary h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.summary-row {
    padding: 12px 0;
    border-bottom: 1px solid rgba(23, 32, 29, .08);
}

.summary > strong {
    display: block;
    margin-top: 16px;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--soft);
    color: var(--brand-dark);
    font-size: 1.08rem;
}

.contact-card {
    padding: 28px;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin: 22px 0;
}

.contact-list p {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(23, 32, 29, .08);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    color: #dbe6e1;
    font-weight: 850;
}

.contact-social {
    margin: 0 0 18px;
}

.contact-social a {
    border-color: rgba(14, 95, 79, .2);
    background: rgba(14, 95, 79, .07);
    color: var(--brand-dark);
}

.offer {
    position: relative;
    overflow: hidden;
    min-height: 170px;
}

.offer.large img {
    width: calc(100% + 36px);
    max-width: none;
    margin: -18px -18px 16px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.offer strong {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--accent);
}

.table-wrap {
    overflow: auto;
    background: var(--panel-strong);
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

table { width: 100%; border-collapse: collapse; }

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--muted);
    background: #fbfaf6;
}

tr:last-child td { border-bottom: 0; }
.qty { max-width: 82px; }

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 13px 14px;
    background: rgba(255, 253, 250, .94);
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.pagination-summary {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 850;
}

.pagination-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(14, 95, 79, .18);
    border-radius: 7px;
    background: #fff;
    color: var(--brand-dark);
    font-size: .86rem;
    font-weight: 900;
    line-height: 1;
}

.pagination-link:hover {
    border-color: rgba(14, 95, 79, .34);
    background: var(--soft);
}

.pagination-link.is-current {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.pagination-link.is-disabled {
    color: #8a948f;
    background: #f4f4ef;
    border-color: rgba(23, 32, 29, .08);
    cursor: not-allowed;
}

.link-button {
    border: 0;
    background: transparent;
    color: #b42318;
    font-weight: 850;
    cursor: pointer;
}

.checkout-bar {
    margin-top: 20px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--panel-strong);
    border: 1px solid rgba(23, 32, 29, .08);
    box-shadow: var(--shadow-sm);
}

.checkout-bar strong {
    font-size: 1.25rem;
    color: var(--brand-dark);
}

.empty-state {
    text-align: center;
    padding: 44px 28px;
}

.empty-state p { margin-left: auto; margin-right: auto; max-width: 420px; }

.flash {
    width: min(calc(100% - 48px), var(--page-max));
    margin: 18px auto;
    padding: 13px 16px;
    border-radius: var(--radius);
    background: #e7f7ed;
    color: #14532d;
    border: 1px solid rgba(20, 83, 45, .12);
}

.flash.error {
    background: #fee4e2;
    color: #912018;
    border-color: rgba(145, 32, 24, .12);
}

.footer {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(200px, .7fr));
    gap: 28px;
    padding: 48px max(24px, 6vw);
    background:
        linear-gradient(135deg, #111817, #15231f);
    color: #dbe6e1;
    border-top: 4px solid var(--accent);
}

.footer p { color: #aebdb7; }

.rating-meter {
    display: flex;
    gap: 5px;
    margin-bottom: 14px;
}

.rating-meter span {
    width: 28px;
    height: 6px;
    border-radius: 999px;
    background: #d6ddd8;
}

.rating-meter span.filled { background: var(--accent); }

.admin-body {
    display: grid;
    grid-template-columns: 276px 1fr;
    min-height: 100vh;
    background:
        linear-gradient(180deg, #f7f8f4, #f1f4ee);
}

.admin-sidebar {
    background:
        linear-gradient(180deg, #101816, #142823);
    color: white;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    box-shadow: 18px 0 40px rgba(18, 32, 29, .13);
}

.admin-brand {
    margin-bottom: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.admin-brand strong { color: white; }

.admin-sidebar a,
.sidebar-button {
    padding: 10px 11px;
    border-radius: var(--radius);
    color: #dbe6e1;
    font-weight: 750;
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active,
.sidebar-button:hover {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.admin-main {
    padding: 34px;
    min-width: 0;
}

.admin-main > * {
    width: min(100%, 1220px);
    margin-left: auto;
    margin-right: auto;
}

.admin-head {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(23, 32, 29, .08);
}

.admin-head h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.8rem;
    line-height: 1;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 15px;
    margin-bottom: 28px;
}

.metric {
    position: relative;
    overflow: hidden;
    min-height: 116px;
}

.metric span {
    text-transform: capitalize;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 850;
}

.metric strong {
    display: block;
    margin-top: 12px;
    font-size: 2rem;
    color: var(--brand-dark);
}

.menu-metrics {
    margin-top: 4px;
}

.admin-filter-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 253, 250, .96);
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.admin-filter-panel label {
    min-width: 0;
    font-size: .82rem;
}

.filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    align-self: end;
}

.advanced-table table {
    min-width: 1040px;
}

.menu-item-cell {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 360px;
}

.menu-item-cell strong,
.advanced-table td > strong {
    display: block;
    color: var(--ink);
}

.menu-item-cell small,
.advanced-table td > small {
    display: block;
    margin-top: 3px;
}

.menu-item-cell p {
    max-width: 460px;
    margin: 7px 0 0;
    font-size: .9rem;
    line-height: 1.45;
}

.labels.compact {
    margin-top: 9px;
}

.labels.compact span {
    padding: 4px 8px;
    font-size: .7rem;
}

.thumb.large {
    width: 96px;
    height: 72px;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--brand-dark);
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.stock-pill.is-low {
    background: #fff4df;
    color: #8a4b0f;
}

.status-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.badge.accent {
    background: var(--soft-warm);
    color: var(--clay);
}

.compact-empty {
    padding: 26px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.menu-item-cards {
    display: none;
}

.menu-admin-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    background: var(--panel-strong);
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.menu-admin-card-head {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.menu-admin-card-head img {
    width: 92px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 7px;
}

.menu-admin-card-head h2 {
    margin-bottom: 4px;
    font-size: 1.45rem;
    line-height: 1.08;
}

.menu-admin-card-head .eyebrow {
    margin-bottom: 4px;
}

.menu-admin-card > p {
    margin-bottom: 0;
    font-size: .94rem;
}

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

.menu-admin-card-meta div {
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: 7px;
    background: #fbfaf6;
}

.menu-admin-card-meta span {
    display: block;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 900;
}

.menu-admin-card-meta strong {
    display: block;
    margin-top: 3px;
    color: var(--brand-dark);
    font-size: .9rem;
}

.menu-admin-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(23, 32, 29, .08);
}

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

.admin-grid > div {
    background: var(--panel-strong);
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.admin-grid h2 {
    font-size: 1.65rem;
}

.admin-row {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

a.admin-row:hover {
    color: var(--brand);
}

.admin-row:last-child { border-bottom: 0; }

.thumb {
    width: 82px;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
}

.qr-list { max-width: 760px; margin: auto; }
.qr-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }

.qr-page-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.qr-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -10px auto 24px;
}

.qr-print-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(285px, 100%), 1fr));
    gap: 18px;
    align-items: stretch;
}

.qr-mount-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 15px;
    min-height: 468px;
    padding: 22px;
    border: 1px solid rgba(23, 32, 29, .12);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 251, 245, .96));
    box-shadow: var(--shadow-sm);
    break-inside: avoid;
}

.qr-mount-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--brand), var(--accent), var(--gold));
}

.qr-mount-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.qr-mount-top strong {
    max-width: 70%;
    color: var(--brand-dark);
    font-size: 1rem;
    line-height: 1.2;
}

.qr-mount-top span {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 900;
    text-align: right;
    text-transform: uppercase;
}

.qr-frame {
    width: min(100%, 218px);
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid rgba(23, 32, 29, .1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: inset 0 0 0 5px rgba(14, 95, 79, .04);
}

.qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-card-copy {
    text-align: center;
}

.qr-card-copy .eyebrow {
    margin-bottom: 6px;
}

.qr-card-copy h2 {
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1.04;
}

.qr-card-copy p {
    margin-bottom: 0;
    font-weight: 700;
}

.qr-card-foot {
    display: grid;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(23, 32, 29, .1);
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
    text-align: center;
}

.qr-card-foot small {
    overflow-wrap: anywhere;
    font-size: .74rem;
    line-height: 1.35;
}

.qr-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qr-card-actions a {
    flex: 1 1 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid rgba(14, 95, 79, .2);
    border-radius: var(--radius);
    color: var(--brand-dark);
    font-size: .82rem;
    font-weight: 900;
    background: rgba(237, 246, 241, .8);
}

.qr-tone-emerald::before { background: linear-gradient(90deg, #0e5f4f, #54a27f); }
.qr-tone-clay::before { background: linear-gradient(90deg, #8d4f38, #d6a856); }
.qr-tone-gold::before { background: linear-gradient(90deg, #b96f34, #d6a856); }
.qr-tone-sage::before { background: linear-gradient(90deg, #486f5a, #98b58d); }
.qr-tone-ink::before { background: linear-gradient(90deg, #151f1c, #0e5f4f); }

.map-box {
    min-height: 320px;
    background: var(--panel-strong);
    border: 1px solid rgba(23, 32, 29, .08);
    border-radius: var(--radius);
    padding: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-box iframe { width: 100%; min-height: 340px; border: 0; border-radius: 6px; }
.prose { max-width: 780px; font-size: 1.1rem; }

.sidebar-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.auth-panel { max-width: 480px; margin: auto; }

@media (max-width: 980px) {
    .header-shell {
        display: grid;
        gap: 12px;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar { display: none; }

    .filters { grid-template-columns: 1fr 1fr; top: 104px; }
    .wide { grid-template-columns: 1fr; }
    .summary,
    .form-intro { position: static; }
    .footer { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .hero {
        min-height: 570px;
        padding: 74px 24px;
    }

    .hero h1 { font-size: 3.6rem; }
    .hero p { font-size: 1.04rem; }
    .page-head { padding: 62px 24px 38px; }
    .page-head h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    .section,
    .band { padding: 56px 24px; }
    .admin-body { display: block; }
    .admin-sidebar {
        position: relative;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 16px 18px;
    }
    .admin-brand {
        flex: 0 0 100%;
        margin-bottom: 4px;
        padding-bottom: 12px;
    }
    .admin-sidebar a:not(.admin-brand),
    .sidebar-button {
        padding: 8px 10px;
        font-size: .9rem;
    }
    .admin-sidebar form { margin: 0; }
    .admin-main { padding: 24px; }
    .section-head,
    .admin-head,
    .checkout-bar,
    .pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .pagination-links { justify-content: flex-start; }
    .admin-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filter-actions { grid-column: 1 / -1; }
    .menu-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .advanced-table {
        display: none;
    }
    .menu-item-cards {
        display: grid;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
    .site-header { padding: 11px 14px; }
    .brand { font-size: .98rem; }
    .site-header nav a { padding: 8px 10px; }
    .quick-actions {
        position: fixed;
        inset: auto 0 0;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        background: rgba(18, 52, 45, .96);
        border-top: 1px solid rgba(255, 255, 255, .1);
        border-bottom: 0;
        box-shadow: 0 -12px 30px rgba(18, 32, 29, .16);
        backdrop-filter: blur(16px);
    }
    .quick-actions a {
        flex-direction: column;
        gap: 4px;
        min-width: 0;
        min-height: 58px;
        padding: 7px 4px;
        font-size: .7rem;
        white-space: nowrap;
    }
    .quick-actions .ui-icon {
        width: 20px;
        height: 20px;
    }
    .hero h1 { font-size: 3.05rem; }
    .page-head h1 { font-size: 2.55rem; }
    .filters { grid-template-columns: 1fr; }
    .admin-filter-panel { grid-template-columns: 1fr; }
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-actions .btn { width: 100%; }
    .menu-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .menu-metrics .metric {
        min-height: 96px;
        padding: 14px;
    }
    .menu-metrics .metric strong {
        font-size: 1.55rem;
    }
    .menu-admin-card-head {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
    }
    .menu-admin-card-head img {
        width: 78px;
    }
    .menu-admin-card-head h2 {
        font-size: 1.22rem;
    }
    .menu-admin-card-meta {
        grid-template-columns: 1fr 1fr;
    }
    .menu-admin-card-foot {
        align-items: flex-start;
        flex-direction: column;
    }
    .menu-admin-card-foot .actions-cell {
        width: 100%;
        justify-content: space-between;
    }
    .admin-head .actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }
    .admin-head .actions .btn {
        width: 100%;
    }
    .form-grid { grid-template-columns: 1fr; }
    .card-foot,
    .summary-row,
    .admin-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .card-foot form,
    .card-foot .btn { width: 100%; }
    .card-foot .btn { justify-content: center; }
}

@media (max-width: 700px) {
    .site-header .staff-link { display: none; }
}

@media print {
    @page { margin: 10mm; }

    html,
    body,
    .admin-body {
        background: #fff !important;
    }

    body {
        padding-bottom: 0 !important;
        color: #151f1c;
    }

    .admin-sidebar,
    .flash,
    .no-print {
        display: none !important;
    }

    .admin-body {
        display: block;
        min-height: auto;
    }

    .admin-main {
        padding: 0;
    }

    .admin-main > * {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .admin-head {
        margin-bottom: 8mm;
        padding-bottom: 4mm;
        border-bottom: 1px solid #d6ddd8;
    }

    .admin-head h1 {
        font-size: 26pt;
    }

    .qr-print-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8mm;
    }

    .qr-mount-card {
        min-height: 126mm;
        padding: 7mm;
        border: 1.2pt solid #151f1c;
        box-shadow: none;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .qr-mount-card::before {
        height: 4mm;
    }

    .qr-frame {
        width: 50mm;
        padding: 3mm;
        box-shadow: none;
    }

    .qr-card-copy h2 {
        font-size: 20pt;
    }

    .qr-card-copy p,
    .qr-card-foot {
        color: #26332f;
    }
}
