:root {
    --bg: #f6f1ea;
    --bg-strong: #f0e6d9;
    --surface: rgba(255, 250, 244, 0.78);
    --surface-strong: #fffaf4;
    --card: #fffdf9;
    --line: rgba(86, 54, 34, 0.14);
    --line-strong: rgba(86, 54, 34, 0.24);
    --ink: #231813;
    --muted: #6f5e54;
    --accent: #8c4f2d;
    --accent-dark: #5d3017;
    --accent-soft: #ebd4c2;
    --olive: #425241;
    --gold: #c1904a;
    --danger: #9b3f2f;
    --success: #2f6b4f;
    --shadow-soft: 0 18px 55px rgba(53, 31, 20, 0.11);
    --shadow-card: 0 14px 34px rgba(53, 31, 20, 0.08);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --site-width: min(1280px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(193, 144, 74, 0.18), transparent 32%),
        radial-gradient(circle at 85% 18%, rgba(140, 79, 45, 0.12), transparent 26%),
        linear-gradient(180deg, #fbf7f2 0%, var(--bg) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    opacity: 0.22;
    z-index: -1;
}

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

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

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

button {
    cursor: pointer;
}

.site-shell {
    width: var(--site-width);
    margin: 0 auto;
}

.eyebrow,
.service-kicker,
.sidebar-kicker,
.toolbar-kicker,
.footer-label,
.card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--accent);
}

.eyebrow::before,
.card-kicker::before,
.toolbar-kicker::before,
.sidebar-kicker::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    font-weight: 800;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff8f1;
    box-shadow: 0 18px 30px rgba(93, 48, 23, 0.2);
}

.btn-secondary {
    background: rgba(255, 250, 244, 0.6);
    color: var(--accent-dark);
    border-color: rgba(93, 48, 23, 0.14);
    backdrop-filter: blur(14px);
}

.btn-soft {
    background: rgba(255,255,255,0.64);
    border-color: rgba(93, 48, 23, 0.12);
    color: var(--accent-dark);
}

.btn-dark {
    background: #241913;
    color: #fff9f4;
}

.btn-block {
    width: 100%;
}

.ghost-button {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(250, 244, 237, 0.72);
    border-bottom: 1px solid rgba(86, 54, 34, 0.08);
}

.header-shell {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255,255,255,0.85);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-copy {
    display: grid;
    gap: 4px;
}

.brand-copy strong {
    font-family: "Iowan Old Style", "Baskerville Old Face", "Palatino Linotype", serif;
    font-size: 1.15rem;
}

.brand-copy small {
    color: var(--muted);
    max-width: 340px;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
}

.site-nav a.active,
.site-nav a:hover {
    background: rgba(140, 79, 45, 0.1);
    color: var(--accent-dark);
}

.header-tools {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.72);
    border: 1px solid rgba(86, 54, 34, 0.1);
    box-shadow: var(--shadow-card);
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.lang-pill:hover {
    transform: translateY(-1px);
    color: var(--accent-dark);
}

.lang-pill.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fffaf5;
}

.context-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(66, 82, 65, 0.1);
    color: var(--olive);
    font-weight: 800;
}

.hero-stage,
.menu-hero {
    padding: 72px 0 56px;
}

.hero-grid,
.menu-hero-grid,
.visit-grid,
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.menu-hero-copy,
.visit-copy {
    padding: 18px 0;
}

.hero-copy h1,
.menu-hero-copy h1,
.simple-state-card h1,
.qr-admin-head h1 {
    margin: 16px 0;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.98;
}

.hero-copy p,
.menu-hero-copy p,
.editorial-grid p,
.service-card p,
.product-showcase-copy p,
.visit-copy p,
.menu-context-card p,
.simple-state-card p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions,
.visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.hero-stats div,
.hero-pills span {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 250, 244, 0.74);
    border: 1px solid rgba(86, 54, 34, 0.08);
    box-shadow: var(--shadow-card);
}

.hero-stats strong {
    display: block;
    font-size: 1.6rem;
    color: var(--accent-dark);
}

.hero-stats span {
    color: var(--muted);
}

.hero-gallery {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 18px;
}

.gallery-card {
    position: relative;
    min-height: 250px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.78);
    background: #ddd;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card div {
    position: absolute;
    inset: auto 16px 16px 16px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(15, 10, 8, 0.62);
    color: #fffaf5;
    backdrop-filter: blur(14px);
}

.gallery-card span,
.product-showcase-copy span {
    color: rgba(255,250,245,0.74);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.gallery-card strong {
    display: block;
    margin-top: 6px;
    font-size: 1.15rem;
}

.gallery-card small {
    display: block;
    margin-top: 8px;
    opacity: 0.92;
}

.gallery-card-1 {
    grid-row: span 2;
    min-height: 520px;
}

.service-band,
.featured-section,
.visit-section,
.menu-browser,
.qr-admin-grid-wrap {
    padding: 52px 0 66px;
}

.service-grid,
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card,
.product-showcase,
.menu-context-card,
.menu-sidebar,
.menu-toolbar,
.qr-card,
.simple-state-card,
.map-card,
.editorial-quote {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

.service-card {
    padding: 26px;
    display: grid;
    gap: 14px;
}

.service-card h2,
.editorial-grid h2,
.visit-copy h2,
.section-head h2,
.menu-context-card h2,
.qr-admin-head h1 {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    line-height: 1.08;
}

.service-card a {
    margin-top: 10px;
    color: var(--accent-dark);
    font-weight: 800;
}

.service-card-strong {
    background: linear-gradient(135deg, rgba(140,79,45,0.92) 0%, rgba(93,48,23,0.96) 100%);
    color: #fffaf4;
}

.service-card-strong .service-kicker,
.service-card-strong p,
.service-card-strong a {
    color: inherit;
}

.editorial-strip {
    padding: 32px 0;
}

.editorial-grid {
    align-items: center;
}

.editorial-quote {
    padding: 34px;
    background: linear-gradient(160deg, rgba(193, 144, 74, 0.18), rgba(255, 250, 244, 0.76));
}

.editorial-quote p {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.35;
    color: var(--accent-dark);
}

.section-head {
    max-width: 720px;
    margin-bottom: 24px;
}

.featured-grid {
    gap: 18px;
}

.product-showcase {
    overflow: hidden;
}

.product-showcase-media {
    aspect-ratio: 1.2 / 1;
    background: linear-gradient(135deg, rgba(140,79,45,0.18), rgba(193,144,74,0.22));
}

.product-showcase-media img,
.product-showcase-media .product-fallback {
    width: 100%;
    height: 100%;
}

.product-showcase-media img {
    object-fit: cover;
}

.product-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.product-showcase-copy {
    padding: 20px;
}

.product-showcase-copy h3 {
    margin: 10px 0;
    font-size: 1.35rem;
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.product-showcase-copy strong {
    display: inline-flex;
    margin-top: 14px;
    font-size: 1.15rem;
    color: var(--accent-dark);
}

.visit-grid {
    gap: 22px;
}

.map-card {
    overflow: hidden;
    min-height: 420px;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.menu-hero {
    padding-top: 54px;
}

.menu-context-card {
    padding: 28px;
    display: grid;
    gap: 16px;
}

.menu-context-card dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.menu-context-card dt {
    color: var(--muted);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.menu-context-card dd {
    margin: 6px 0 0;
    font-weight: 700;
}

.hero-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-pills span {
    padding: 12px 16px;
}

.menu-browser-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.menu-sidebar {
    position: sticky;
    top: 102px;
    padding: 22px;
    display: grid;
    gap: 18px;
}

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

.search-field span {
    color: var(--muted);
    font-weight: 700;
}

.search-field input,
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.8);
    padding: 0 16px;
    color: var(--ink);
}

.checkout-form textarea {
    min-height: 110px;
    padding: 14px 16px;
    resize: vertical;
}

.category-nav {
    display: grid;
    gap: 10px;
    max-height: 60vh;
    overflow: auto;
    padding-right: 4px;
}

.category-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.58);
    color: var(--muted);
    font-weight: 700;
}

.category-chip.active,
.category-chip:hover {
    border-color: rgba(140,79,45,0.16);
    background: rgba(140,79,45,0.1);
    color: var(--accent-dark);
}

.category-chip b {
    font-size: 0.82rem;
    color: currentColor;
    opacity: 0.78;
}

.menu-content {
    display: grid;
    gap: 22px;
}

.menu-toolbar {
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.menu-toolbar h2 {
    margin: 8px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.menu-section-list {
    display: grid;
    gap: 22px;
}

.menu-family {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 250, 244, 0.74);
    border: 1px solid rgba(86,54,34,0.08);
    box-shadow: var(--shadow-card);
}

.menu-family-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(86,54,34,0.08);
}

.menu-family-head h3 {
    margin: 8px 0 0;
    font-size: 1.8rem;
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.menu-family-head p {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
}

.menu-subfamily {
    display: grid;
    gap: 14px;
}

.menu-subfamily h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--accent-dark);
}

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

.product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(86,54,34,0.08);
    background: rgba(255,255,255,0.72);
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 36px rgba(53,31,20,0.12);
}

.product-media {
    position: relative;
    aspect-ratio: 1.1 / 0.86;
    background: linear-gradient(145deg, rgba(193,144,74,0.16), rgba(140,79,45,0.2));
}

.product-media img,
.product-media .product-placeholder {
    width: 100%;
    height: 100%;
}

.product-media img {
    object-fit: cover;
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 1.8rem;
    font-weight: 800;
}

.product-price {
    position: absolute;
    right: 14px;
    bottom: 14px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(15,10,8,0.7);
    color: #fffaf5;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.product-body {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.product-body header {
    display: grid;
    gap: 6px;
}

.product-body h5 {
    margin: 0;
    font-size: 1.18rem;
}

.product-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.product-variant-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.product-variant-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 14px;
    background: rgba(140,79,45,0.08);
    color: var(--accent-dark);
    line-height: 1;
}

.product-variant-chip strong {
    font-size: 0.8rem;
}

.product-variant-chip small {
    font-size: 0.75rem;
    color: var(--olive);
}

.product-variant-chip.more {
    font-weight: 800;
    color: var(--olive);
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.product-badge,
.allergen-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.product-badge {
    min-height: 28px;
    padding: 0 10px;
    background: rgba(66,82,65,0.1);
    color: var(--olive);
}

.product-badge.warning {
    background: rgba(155,63,47,0.12);
    color: var(--danger);
}

.allergen-chip {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(140,79,45,0.14);
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.94), rgba(255,255,255,0.72)),
        linear-gradient(135deg, rgba(235, 212, 194, 0.9), rgba(255, 250, 244, 0.8));
    color: var(--accent-dark);
    box-shadow: 0 12px 22px rgba(53, 31, 20, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.allergen-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(140,79,45,0.24);
    box-shadow: 0 16px 26px rgba(53, 31, 20, 0.12);
}

.allergen-chip:focus-visible,
.lang-pill:focus-visible,
.category-chip:focus-visible {
    outline: 2px solid rgba(140,79,45,0.34);
    outline-offset: 3px;
}

.allergen-chip-icon {
    font-size: 1rem;
    line-height: 1;
}

.allergen-popover {
    position: absolute;
    z-index: 120;
    width: min(280px, calc(100vw - 24px));
}

.allergen-popover-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 250, 244, 0.96);
    border: 1px solid rgba(86,54,34,0.12);
    box-shadow: 0 24px 56px rgba(20, 12, 8, 0.2);
    backdrop-filter: blur(18px);
}

.allergen-popover-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(235, 212, 194, 0.94), rgba(255,255,255,0.92));
    font-size: 1.3rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.allergen-popover-copy {
    display: grid;
    gap: 4px;
}

.allergen-popover-copy strong {
    font-size: 1rem;
}

.allergen-popover-copy small {
    color: var(--muted);
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.product-actions .btn {
    flex: 1;
}

.product-actions .btn[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

.menu-empty {
    padding: 34px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.64);
    border: 1px dashed rgba(86,54,34,0.18);
    color: var(--muted);
}

.checkout-panel {
    position: fixed;
    top: 96px;
    right: 18px;
    width: min(390px, calc(100vw - 24px));
    max-height: calc(100vh - 114px);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 250, 244, 0.96);
    border: 1px solid rgba(86,54,34,0.14);
    box-shadow: 0 24px 60px rgba(33, 22, 16, 0.2);
    z-index: 40;
    backdrop-filter: blur(18px);
}

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

.checkout-head h2 {
    margin: 8px 0 0;
    font-size: 1.5rem;
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.checkout-lines {
    overflow: auto;
    display: grid;
    gap: 12px;
    padding-right: 4px;
}

.cart-line,
.cart-empty {
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(86,54,34,0.08);
}

.cart-empty {
    color: var(--muted);
    text-align: center;
}

.cart-line head,
.cart-line header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cart-line strong {
    display: block;
}

.cart-line small,
.cart-line p {
    color: var(--muted);
    margin: 6px 0 0;
    line-height: 1.5;
}

.cart-line-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.qty-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qty-actions button,
.line-remove,
.cart-shortcut {
    border: 0;
}

.qty-actions button,
.line-remove {
    min-width: 34px;
    min-height: 34px;
    border-radius: 999px;
    background: rgba(140,79,45,0.12);
    color: var(--accent-dark);
    font-weight: 900;
}

.checkout-form {
    display: grid;
    gap: 14px;
}

.checkout-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
}

.checkout-summary {
    display: grid;
    gap: 14px;
    padding-top: 6px;
}

.checkout-summary div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-summary strong {
    font-size: 1.35rem;
    color: var(--accent-dark);
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 11, 7, 0.58);
    backdrop-filter: blur(10px);
}

.modal-card {
    position: relative;
    width: min(860px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    margin: 14px auto;
    overflow: auto;
    border-radius: 28px;
    background: #fffaf4;
    border: 1px solid rgba(86,54,34,0.12);
    box-shadow: 0 30px 70px rgba(20, 12, 8, 0.28);
}

.modal-close {
    position: sticky;
    top: 14px;
    left: calc(100% - 56px);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    box-shadow: var(--shadow-card);
    font-size: 1.7rem;
}

.modal-product {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
}

.modal-media {
    min-height: 340px;
    background: linear-gradient(150deg, rgba(193,144,74,0.18), rgba(140,79,45,0.18));
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 28px;
    display: grid;
    gap: 16px;
}

.modal-body h3 {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    font-size: 2rem;
}

.modal-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.modal-group {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(86,54,34,0.08);
}

.modal-group h4 {
    margin: 0;
}

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

.modal-option {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(246,241,234,0.9);
    border: 1px solid rgba(86,54,34,0.08);
}

.modal-option strong {
    display: block;
}

.modal-option small {
    color: var(--muted);
}

.modal-choice {
    display: flex;
    align-items: start;
    gap: 12px;
    flex: 1;
}

.modal-choice input[type="checkbox"],
.modal-choice input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.modal-option-side {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.modal-option-side input[type="number"],
.modal-qty input[type="number"] {
    width: 72px;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(86,54,34,0.14);
    background: rgba(255,255,255,0.92);
    color: var(--ink);
}

.modal-option.is-disabled {
    opacity: 0.58;
}

.modal-qty {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.modal-note {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.modal-note textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(86,54,34,0.14);
    background: rgba(255,255,255,0.92);
    resize: vertical;
    color: var(--ink);
}

.modal-inline-message {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(66,82,65,0.08);
    border: 1px solid rgba(66,82,65,0.14);
    color: var(--olive);
}

.modal-inline-message.error {
    background: rgba(155,63,47,0.08);
    border-color: rgba(155,63,47,0.18);
    color: var(--danger);
}

.modal-summary {
    min-width: 130px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(246,241,234,0.9);
    border: 1px solid rgba(86,54,34,0.08);
}

.modal-summary span,
.modal-summary strong {
    display: block;
}

.modal-summary span {
    color: var(--muted);
    font-size: 0.84rem;
}

.modal-summary strong {
    margin-top: 4px;
    font-size: 1.15rem;
}

.modal-feedback {
    min-height: 320px;
    align-content: center;
}

.variant-picker-modal {
    display: grid;
    gap: 18px;
}

.variant-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.variant-picker-card {
    display: grid;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(86,54,34,0.08);
}

.variant-picker-media {
    aspect-ratio: 1.12 / 0.86;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(193,144,74,0.16), rgba(140,79,45,0.2));
}

.variant-picker-media img,
.variant-picker-media .product-placeholder {
    width: 100%;
    height: 100%;
}

.variant-picker-media img {
    object-fit: cover;
}

.variant-picker-copy {
    display: grid;
    gap: 10px;
}

.variant-picker-copy h4 {
    margin: 0;
    font-size: 1.08rem;
}

.variant-picker-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

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

.variant-picker-actions .btn {
    flex: 1;
}

.modal-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.modal-actions .btn {
    flex: 1;
}

.simple-state {
    padding: 84px 0 110px;
}

.simple-state-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 34px;
    text-align: center;
}

.simple-state-card .btn {
    margin-top: 22px;
}

.qr-admin-page {
    padding-bottom: 72px;
}

.qr-admin-hero {
    padding: 54px 0 34px;
}

.qr-admin-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
}

.qr-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.qr-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.qr-card {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.qr-card header {
    display: grid;
    gap: 6px;
}

.qr-card header span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
}

.qr-card header strong {
    font-size: 1.25rem;
}

.qr-canvas {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 196px;
    border-radius: 18px;
    background: #fff;
    border: 1px dashed rgba(86,54,34,0.16);
}

.qr-card p,
.qr-card small {
    margin: 0;
    color: var(--muted);
    word-break: break-word;
}

.site-footer {
    padding: 28px 0 42px;
    border-top: 1px solid rgba(86,54,34,0.08);
    background: rgba(255,250,244,0.68);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.8fr;
    gap: 18px;
}

.footer-grid p {
    margin: 10px 0 0;
    color: var(--muted);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media print {
    .site-header,
    .site-footer,
    .qr-admin-actions {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .qr-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qr-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
    }
}

@media (max-width: 1180px) {
    .menu-browser-grid {
        grid-template-columns: 1fr;
    }

    .menu-sidebar {
        position: static;
    }

    .checkout-panel {
        top: auto;
        right: 12px;
        bottom: 12px;
        max-height: min(82vh, 760px);
        transform: translateY(calc(100% + 20px));
        transition: transform 0.28s ease;
    }

    .checkout-panel.open {
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .header-shell,
    .hero-grid,
    .hero-gallery,
    .menu-hero-grid,
    .service-grid,
    .featured-grid,
    .visit-grid,
    .footer-grid,
    .editorial-grid,
    .modal-product {
        grid-template-columns: 1fr;
    }

    .header-shell {
        padding: 14px 0;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .header-tools {
        justify-content: flex-start;
    }

    .hero-gallery {
        order: -1;
    }

    .gallery-card-1 {
        min-height: 320px;
    }

    .menu-toolbar {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 720px) {
    :root {
        --site-width: min(1280px, calc(100% - 20px));
    }

    .hero-stage,
    .menu-hero,
    .service-band,
    .featured-section,
    .visit-section,
    .menu-browser,
    .qr-admin-grid-wrap {
        padding: 34px 0 46px;
    }

    .hero-copy h1,
    .menu-hero-copy h1,
    .simple-state-card h1,
    .qr-admin-head h1 {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
    }

    .hero-actions,
    .visit-actions,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .visit-actions .btn {
        width: 100%;
    }

    .hero-stats {
        display: grid;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .menu-family,
    .service-card,
    .menu-sidebar,
    .menu-toolbar,
    .menu-context-card,
    .simple-state-card,
    .qr-card {
        border-radius: 20px;
        padding: 18px;
    }

    .modal-card {
        width: calc(100vw - 12px);
        margin: 6px auto;
        border-radius: 22px;
    }

    .modal-body {
        padding: 20px;
    }

    .checkout-panel {
        left: 10px;
        right: 10px;
        width: auto;
        padding: 16px;
        border-radius: 22px;
    }
}
