:root {
  --bg: #f7f5ef;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --surface-tint: #edf4ef;
  --text: #17312b;
  --text-soft: #5a6b66;
  --border: #d8dfda;
  --border-strong: #b9c7c0;
  --brand: #0f5c4d;
  --brand-strong: #0a4439;
  --brand-soft: #dcebe5;
  --accent: #ef6a4c;
  --accent-strong: #c64e35;
  --gold: #f6c65d;
  --danger: #b43d37;
  --success: #1d7258;
  --shadow-sm: 0 8px 24px rgba(23, 49, 43, 0.08);
  --shadow-md: 0 18px 48px rgba(23, 49, 43, 0.13);
  --shadow-lg: 0 32px 80px rgba(23, 49, 43, 0.18);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;
  --shell: min(1180px, calc(100% - 2rem));
  --header-height: 4.75rem;
  --transition: 180ms ease;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0d1714;
  --surface: #131f1b;
  --surface-strong: #182620;
  --surface-tint: #1b2d26;
  --text: #f4f5ef;
  --text-soft: #aebdb7;
  --border: #30413a;
  --border-strong: #4b5d55;
  --brand: #80d5b6;
  --brand-strong: #a6e3cc;
  --brand-soft: #1f3e33;
  --accent: #ff8b6f;
  --accent-strong: #ffad99;
  --gold: #f6d77d;
  --danger: #ff8c86;
  --success: #7ed4b3;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --bg: #0d1714;
    --surface: #131f1b;
    --surface-strong: #182620;
    --surface-tint: #1b2d26;
    --text: #f4f5ef;
    --text-soft: #aebdb7;
    --border: #30413a;
    --border-strong: #4b5d55;
    --brand: #80d5b6;
    --brand-strong: #a6e3cc;
    --brand-soft: #1f3e33;
    --accent: #ff8b6f;
    --accent-strong: #ffad99;
    --gold: #f6d77d;
    --danger: #ff8c86;
    --success: #7ed4b3;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.32);
    --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.42);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--text); line-height: 1.6; text-rendering: optimizeLegibility; }
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.55rem, 6vw, 5.35rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 0.6rem; }
p { color: var(--text-soft); }
ul, ol { padding-left: 1.25rem; }
[hidden] { display: none !important; }
::selection { color: #fff; background: var(--brand); }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 75%, white); outline-offset: 3px; border-radius: 0.25rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 0.75rem; left: 0.75rem; transform: translateY(-200%); padding: 0.75rem 1rem; border-radius: var(--radius-pill); background: var(--text); color: var(--bg); font-weight: 750; }
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.eyebrow { margin-bottom: 0.65rem; color: var(--brand); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.hero__lede { max-width: 44rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.page-main { min-height: 60vh; }

.button, .text-button, .icon-button, .cart-button, .menu-nav__button { border: 0; cursor: pointer; text-decoration: none; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: 0.65rem; padding: 0.75rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius-pill); font-weight: 800; line-height: 1.15; transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition); }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--brand); color: var(--surface-strong); box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 22%, transparent); }
html[data-theme="dark"] .button--primary { color: #0c241c; }
.button--primary:hover { background: var(--brand-strong); }
.button--secondary { border-color: var(--border); background: var(--surface); color: var(--text); }
.button--secondary:hover { border-color: var(--border-strong); background: var(--surface-strong); }
.button--small { min-height: 2.5rem; padding: 0.55rem 0.9rem; font-size: 0.9rem; }
.button--large { min-height: 3.5rem; padding: 1rem 1.4rem; }
.button--full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: 0.6; transform: none; }
.text-button { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0; background: none; color: var(--brand); font-weight: 800; }
.text-button:hover { color: var(--brand-strong); }
.icon-button { display: inline-grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); transition: background var(--transition), border-color var(--transition), transform var(--transition); }
.icon-button:hover { background: var(--surface-tint); border-color: var(--border-strong); transform: translateY(-1px); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.site-header { position: sticky; z-index: 100; top: 0; min-height: var(--header-height); border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, transparent); background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.site-header__inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand > span:last-child { display: grid; }
.brand strong { font-size: 1.05rem; letter-spacing: -0.02em; }
.brand small { color: var(--text-soft); font-size: 0.68rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.brand__mark { position: relative; display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: flex-end; justify-content: center; gap: 0.15rem; overflow: hidden; border-radius: 0.75rem; background: var(--brand); padding: 0.45rem; transform: rotate(-4deg); }
.brand__mark span { display: block; width: 0.25rem; border-radius: 99px; background: var(--surface-strong); }
.brand__mark span:nth-child(1) { height: 55%; }
.brand__mark span:nth-child(2) { height: 90%; }
.brand__mark span:nth-child(3) { height: 70%; }
.desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
.desktop-nav a, .mobile-nav a { padding: 0.65rem 0.9rem; border-radius: var(--radius-pill); color: var(--text-soft); font-weight: 750; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { background: var(--surface-tint); color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-button { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.5rem; padding: 0.5rem 0.65rem 0.5rem 0.85rem; border-radius: var(--radius-pill); background: var(--brand); color: var(--surface-strong); font-weight: 800; }
html[data-theme="dark"] .cart-button { color: #0c241c; }
.cart-button strong { display: grid; min-width: 1.65rem; height: 1.65rem; place-items: center; border-radius: 50%; background: var(--surface-strong); color: var(--brand-strong); font-size: 0.75rem; }
.key-hint { position: absolute; opacity: 0; pointer-events: none; }
.theme-icon-dark { display: none; }
html[data-theme="dark"] [data-theme-toggle] > .icon--sun, html[data-theme="system"] [data-theme-toggle] > .icon--sun { display: none; }
html[data-theme="dark"] .theme-icon-dark, html[data-theme="system"] .theme-icon-dark { display: block; }
.mobile-menu-button, .mobile-nav { display: none; }
.mobile-nav { padding-block: 0.5rem 1rem; border-top: 1px solid var(--border); }
.mobile-nav a { display: block; }

.hero { overflow: hidden; }
.hero--home { background: radial-gradient(circle at 80% 25%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 28%), linear-gradient(135deg, var(--surface-tint), var(--bg)); }
.hero__grid { display: grid; min-height: min(760px, calc(100vh - var(--header-height))); grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: 5rem; }
.hero__copy h1 { max-width: 12ch; }
.hero-search { max-width: 44rem; margin-top: 2rem; }
.hero-search > label { display: block; margin-bottom: 0.55rem; font-size: 0.85rem; font-weight: 800; }
.hero-search__row { display: flex; align-items: center; gap: 0.55rem; padding: 0.35rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-strong); box-shadow: var(--shadow-md); }
.hero-search__row > span { margin-left: 0.75rem; color: var(--text-soft); }
.hero-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.privacy-note { max-width: 42rem; margin-top: 1.25rem; font-size: 0.82rem; }
.hero-visual { position: relative; min-height: 34rem; isolation: isolate; }
.hero-visual::before { position: absolute; z-index: -1; inset: 8% 4%; border-radius: 45% 55% 60% 40% / 45% 45% 55% 55%; background: var(--brand); content: ""; transform: rotate(-4deg); }
.hero-visual::after { position: absolute; z-index: -2; right: -12%; bottom: 1%; width: 50%; height: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 50%; content: ""; }
.hero-visual__plate { position: absolute; display: grid; place-items: center; border: 0.8rem solid var(--surface-strong); border-radius: 50%; background: var(--gold); box-shadow: var(--shadow-lg); }
.hero-visual__plate span { position: absolute; display: block; border-radius: 50%; }
.hero-visual__plate--one { top: 8%; left: 4%; width: 68%; aspect-ratio: 1; transform: rotate(-10deg); }
.hero-visual__plate--one span:nth-child(1) { width: 55%; height: 35%; background: #d94a38; transform: rotate(12deg); }
.hero-visual__plate--one span:nth-child(2) { width: 22%; height: 46%; background: #f5e1a0; transform: translate(85%, -35%) rotate(35deg); }
.hero-visual__plate--one span:nth-child(3) { width: 34%; height: 24%; background: #4c9b68; transform: translate(-55%, 65%) rotate(-14deg); }
.hero-visual__plate--two { right: 3%; bottom: 7%; width: 54%; aspect-ratio: 1; background: #f1b6a4; transform: rotate(8deg); }
.hero-visual__plate--two span:nth-child(1) { width: 62%; height: 28%; background: #6e3c2e; transform: rotate(-18deg); }
.hero-visual__plate--two span:nth-child(2) { width: 30%; height: 30%; background: #f5c95e; transform: translate(-65%, -62%); }
.hero-visual__plate--two span:nth-child(3) { width: 32%; height: 22%; background: #327e59; transform: translate(62%, 65%) rotate(25deg); }
.hero-visual__label { position: absolute; top: 13%; right: 2%; display: grid; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-strong); box-shadow: var(--shadow-md); transform: rotate(4deg); }
.hero-visual__label strong { color: var(--brand); font-size: 1.7rem; line-height: 1; }
.hero-visual__label span { color: var(--text-soft); font-size: 0.75rem; }
.hero-visual__label--bottom { top: auto; right: auto; bottom: 10%; left: 1%; transform: rotate(-5deg); }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--categories { padding-top: 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading > div > p:last-child { max-width: 42rem; }
.section-heading--center { justify-content: center; text-align: center; }
.section-heading--center > div { max-width: 48rem; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
.category-card { display: grid; min-height: 14rem; align-content: space-between; overflow: hidden; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform var(--transition), box-shadow var(--transition); }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.category-card strong { font-size: 1rem; }
.category-card > span:last-child { display: flex; align-items: center; gap: 0.35rem; color: var(--text-soft); font-size: 0.8rem; font-weight: 750; }
.category-card__art { position: relative; display: block; width: 100%; height: 7rem; border-radius: 1rem; background: #f5d26d; }
.category-card__art i { position: absolute; display: block; border-radius: 50%; }
.category-card__art i:nth-child(1) { top: 18%; left: 13%; width: 45%; height: 45%; background: #ec6951; }
.category-card__art i:nth-child(2) { right: 12%; bottom: 12%; width: 42%; height: 42%; background: #397c5c; }
.category-card__art i:nth-child(3) { top: 12%; right: 17%; width: 23%; height: 23%; background: #fff3ce; }
.category-card--2 .category-card__art { background: #d9c3a8; }
.category-card--3 .category-card__art { background: #e89b76; }
.category-card--4 .category-card__art { background: #a7d4b6; }
.category-card--5 .category-card__art { background: #d8b2c7; }
.category-card--6 .category-card__art { background: #e9af9d; }

.restaurant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.restaurant-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.restaurant-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.restaurant-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-tint); }
.restaurant-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.restaurant-card:hover .restaurant-card__media img { transform: scale(1.035); }
.demo-badge { position: absolute; top: 0.8rem; left: 0.8rem; display: inline-flex; align-items: center; padding: 0.35rem 0.65rem; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--surface-strong) 90%, transparent); color: var(--text); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.restaurant-card__body { padding: 1.15rem; }
.restaurant-card__heading { display: flex; align-items: start; justify-content: space-between; gap: 0.75rem; }
.restaurant-card__heading h3 { margin: 0; font-size: 1.35rem; }
.restaurant-card__heading h3 a { text-decoration: none; }
.restaurant-card__category { margin-bottom: 0.2rem; color: var(--brand); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.restaurant-card__summary { min-height: 3.2em; margin-block: 0.75rem; font-size: 0.9rem; }
.restaurant-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--text-soft); font-size: 0.8rem; }
.restaurant-card__meta > span:not(:first-child)::before { content: "·"; margin-right: 0.5rem; }
.rating { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--text); }
.rating .icon { width: 0.95rem; height: 0.95rem; fill: var(--gold); stroke: color-mix(in srgb, var(--gold) 80%, var(--text)); }
.favourite-button[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-strong); }
.favourite-button[aria-pressed="true"] .icon { fill: currentColor; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.85rem 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 0.3rem 0.55rem; border-radius: var(--radius-pill); background: var(--surface-tint); color: var(--text-soft); font-size: 0.7rem; font-weight: 750; }
.tag-list--quiet { margin-top: 0.65rem; }
.tag-list--quiet li { border: 1px solid var(--border); background: transparent; }
.restaurant-card--compact .restaurant-card__summary { display: none; }
.restaurant-card--compact .tag-list { display: none; }

.section--steps { background: var(--surface-tint); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0; list-style: none; counter-reset: step; }
.steps-grid li { position: relative; display: grid; min-height: 19rem; grid-template-columns: auto 1fr; gap: 0.75rem; overflow: hidden; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.steps-grid li > span { color: var(--border-strong); font-size: 0.8rem; font-weight: 850; }
.steps-grid li > div { align-self: end; }
.steps-grid li > div > .icon { width: 2rem; height: 2rem; margin-bottom: 1rem; color: var(--accent); }
.steps-grid li::after { position: absolute; top: -35%; right: -22%; width: 12rem; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--brand) 8%, transparent); content: ""; }
.section--trust { padding-top: 3rem; }
.trust-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius-lg); background: #0a4439; color: #f6fff9; box-shadow: var(--shadow-lg); }
.trust-panel h2 { max-width: 15ch; }
.trust-panel .eyebrow { color: #b8f5d5; }
.trust-list { display: grid; gap: 1.4rem; }
.trust-list p { display: grid; gap: 0.25rem; margin: 0; color: #d9eee5; }
.trust-list strong { color: #fff; }

.page-hero { padding-block: clamp(4.5rem, 9vw, 8rem); background: linear-gradient(145deg, var(--surface-tint), var(--bg)); }
.page-hero--compact { padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero--compact p:last-child { max-width: 48rem; font-size: 1.1rem; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 5rem; }
.metric-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.metric-panel > div { display: grid; min-height: 8rem; align-content: center; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.metric-panel strong { color: var(--brand); font-size: 2rem; line-height: 1; }
.metric-panel span { color: var(--text-soft); font-size: 0.8rem; }

.catalog-layout { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); align-items: start; gap: 2.5rem; }
.filter-panel { position: sticky; top: calc(var(--header-height) + 1rem); padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.filter-panel__header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.filter-panel__header h2 { font-size: 1.5rem; }
.filter-panel form { display: grid; gap: 1rem; }
.form-field { display: grid; gap: 0.4rem; color: var(--text); font-size: 0.83rem; font-weight: 750; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 2.9rem; border: 1px solid var(--border); border-radius: 0.75rem; outline: 0; background: var(--surface-strong); color: var(--text); padding: 0.65rem 0.75rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.input-with-icon { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--surface-strong); padding-left: 0.65rem; }
.input-with-icon input { border: 0; box-shadow: none !important; }
.input-with-icon .icon { color: var(--text-soft); }
.check-field { display: flex; align-items: start; gap: 0.65rem; color: var(--text); font-size: 0.88rem; font-weight: 700; cursor: pointer; }
.check-field input { width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; accent-color: var(--brand); }
.check-field--boxed { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-tint); }
.form-hint { margin: 0.65rem 0 0; font-size: 0.75rem; }
.filter-panel > .button { margin-top: 1.2rem; }
.catalog-results__header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.catalog-results__header h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.active-filters { display: flex; flex-wrap: wrap; min-height: 0.5rem; gap: 0.4rem; margin-bottom: 1rem; }
.active-filters span { padding: 0.35rem 0.6rem; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-strong); font-size: 0.75rem; font-weight: 750; }
.mobile-filter-button { display: none; }
.empty-state { display: grid; justify-items: center; padding: clamp(2rem, 6vw, 5rem); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); background: var(--surface); text-align: center; }
.empty-state__icon { display: grid; width: 4.5rem; height: 4.5rem; place-items: center; margin-bottom: 1rem; border-radius: 50%; background: var(--surface-tint); color: var(--brand); }
.empty-state__icon .icon { width: 2rem; height: 2rem; }
.empty-state p { max-width: 35rem; }

.restaurant-hero { padding-block: clamp(2rem, 5vw, 4.5rem); background: linear-gradient(145deg, var(--surface-tint), var(--bg)); }
.restaurant-hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.restaurant-hero__media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.restaurant-hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.5rem; color: var(--text-soft); font-size: 0.78rem; }
.breadcrumb a { color: var(--brand); }
.restaurant-hero__copy h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.restaurant-hero__meta { display: flex; flex-wrap: wrap; gap: 0.55rem; color: var(--text-soft); font-size: 0.85rem; }
.restaurant-hero__meta > span:not(:first-child)::before { content: "·"; margin-right: 0.55rem; }
.restaurant-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.address-note { display: flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.78rem; }
.address-note .icon { width: 1rem; height: 1rem; }
.restaurant-story { padding-block: 3.5rem; }
.restaurant-story__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 0; }
.fact-grid > div { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.fact-grid dt { color: var(--text-soft); font-size: 0.72rem; font-weight: 750; text-transform: uppercase; }
.fact-grid dd { margin: 0.25rem 0 0; font-size: 1.2rem; font-weight: 850; }
.menu-section { padding-top: 2rem; }
.menu-layout { display: grid; grid-template-columns: 13rem minmax(0, 1fr); align-items: start; gap: 3rem; }
.menu-nav { position: sticky; top: calc(var(--header-height) + 1rem); display: grid; gap: 0.3rem; padding: 1rem; border-left: 2px solid var(--border); }
.menu-nav h2 { font-size: 1.5rem; }
.menu-nav__button { padding: 0.65rem 0.75rem; border-radius: 0.6rem; background: transparent; color: var(--text-soft); text-align: left; font-weight: 750; }
.menu-nav__button:hover, .menu-nav__button.is-active { background: var(--surface-tint); color: var(--brand); }
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.menu-item { display: grid; min-height: 14rem; grid-template-rows: 1fr auto; gap: 1.25rem; padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.menu-item__title-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.menu-item__title-row h3 { margin-bottom: 0.45rem; }
.menu-item__title-row strong { white-space: nowrap; color: var(--brand); }
.menu-item p { font-size: 0.88rem; }
.menu-item > .button { justify-self: start; }
.section--related { background: var(--surface-tint); }

.dialog { width: min(42rem, calc(100% - 2rem)); max-height: min(85vh, 56rem); overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-strong); color: var(--text); box-shadow: var(--shadow-lg); padding: 0; }
.dialog::backdrop { background: rgba(4, 15, 11, 0.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog__header { position: sticky; z-index: 2; top: 0; display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 0.9rem; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface-strong) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dialog__header h2 { margin: 0; font-size: 1.65rem; }
.dialog__header .eyebrow { margin-bottom: 0.25rem; }
.dialog > form > p, .item-dialog > form > p { padding-inline: 1.25rem; }
.dialog__footer { position: sticky; bottom: 0; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface-strong) 96%, transparent); }
.item-options { display: grid; gap: 1.1rem; padding: 1rem 1.25rem; }
.option-group { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.option-group legend { padding-inline: 0.25rem; font-weight: 850; }
.option-group legend small { color: var(--text-soft); font-weight: 600; }
.option-choice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; cursor: pointer; }
.option-choice > span { display: flex; align-items: center; gap: 0.55rem; }
.option-choice input { accent-color: var(--brand); }
.quantity-control { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--border); font-weight: 800; }
.quantity-control > div { display: flex; align-items: center; gap: 0.75rem; }
.quantity-control button { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); cursor: pointer; }
.quantity-control output { min-width: 1.5rem; text-align: center; }
.command-dialog { width: min(38rem, calc(100% - 2rem)); }
.search-field--dialog { display: flex; align-items: center; gap: 0.6rem; margin: 1rem 1.25rem; padding: 0.8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.search-field--dialog input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.command-results { display: grid; gap: 0.3rem; padding: 0 1.25rem 1.25rem; }
.command-result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem; border-radius: 0.75rem; text-decoration: none; }
.command-result:hover, .command-result:focus { background: var(--surface-tint); }
.command-result span { color: var(--text-soft); font-size: 0.78rem; }

.cart-dialog { width: min(34rem, calc(100% - 1rem)); margin-right: 0.5rem; min-height: calc(100vh - 1rem); max-height: calc(100vh - 1rem); border-radius: var(--radius-lg); }
.cart-empty { display: grid; justify-items: center; padding: 3rem 1.25rem; text-align: center; }
.cart-items { display: grid; gap: 0.75rem; padding: 1rem 1.25rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 0.65rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.cart-line h3 { margin-bottom: 0.2rem; font-size: 1rem; }
.cart-line p { margin-bottom: 0.35rem; font-size: 0.75rem; }
.cart-line__price { font-weight: 850; }
.cart-line__controls { display: flex; align-items: center; gap: 0.45rem; }
.cart-line__controls button { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); cursor: pointer; }
.cart-line__controls output { width: 1.2rem; text-align: center; font-size: 0.85rem; font-weight: 750; }
.cart-totals { display: grid; gap: 0.5rem; padding: 1rem 1.25rem; }
.cart-totals p { display: flex; justify-content: space-between; margin: 0; }
.cart-totals p:last-child { padding-top: 0.65rem; border-top: 1px solid var(--border); color: var(--text); font-size: 1.05rem; font-weight: 850; }
.cart-actions { position: sticky; bottom: 0; display: grid; gap: 0.65rem; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border); background: var(--surface-strong); }
.cart-restaurant { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--surface-tint); }
.cart-restaurant p { margin: 0; font-size: 0.78rem; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; align-items: start; gap: 2rem; }
.checkout-form { display: grid; gap: 1rem; }
.form-card { padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.form-card__heading { display: flex; align-items: start; gap: 0.8rem; margin-bottom: 1.25rem; }
.form-card__heading > span { display: grid; width: 2rem; height: 2rem; flex: none; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-weight: 850; }
.form-card__heading h2 { margin: 0; font-size: 1.45rem; }
.form-card__heading .eyebrow { margin-bottom: 0.2rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; top: 1rem; right: 1rem; accent-color: var(--brand); }
.choice-card > span { display: grid; min-height: 8.5rem; align-content: end; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-strong); }
.choice-card input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent); }
.choice-card .icon { margin-bottom: 0.75rem; color: var(--brand); }
.choice-card small { color: var(--text-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field small { color: var(--text-soft); font-weight: 500; }
.field-error { min-height: 1.2em; color: var(--danger) !important; }
.form-field [aria-invalid="true"] { border-color: var(--danger); }
.notice { padding: 1rem; border-radius: var(--radius-sm); background: var(--surface-tint); }
.notice p { margin: 0.25rem 0 0; font-size: 0.84rem; }
.notice--privacy { margin-top: 1rem; }
.form-status { min-height: 1.5rem; color: var(--danger); font-weight: 750; }
.order-summary { position: sticky; top: calc(var(--header-height) + 1rem); padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-md); }
.order-summary__header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.order-summary__header h2 { margin: 0; font-size: 1.4rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.65rem; border-bottom: 1px solid var(--border); font-size: 0.84rem; }
.summary-line span:first-child { color: var(--text-soft); }
.summary-totals { display: grid; gap: 0.35rem; padding-top: 1rem; }
.summary-totals p { display: flex; justify-content: space-between; margin: 0; font-size: 0.85rem; }
.summary-totals p:last-child { color: var(--text); font-size: 1rem; font-weight: 850; }

.confirmation-page { display: grid; align-items: center; min-height: 70vh; }
.confirmation-shell { max-width: 50rem; }
.confirmation-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.confirmation-card__top { display: grid; justify-items: center; padding: 2.5rem 2rem; background: var(--brand-strong); color: #fff; text-align: center; }
.confirmation-card__check { display: grid; width: 4rem; height: 4rem; place-items: center; margin-bottom: 1rem; border-radius: 50%; background: #fff; color: var(--brand-strong); }
.confirmation-card__top p { color: #d9eee5; }
.confirmation-card__body { padding: 1.5rem; }
.confirmation-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0 0 1.5rem; }
.confirmation-facts > div { padding: 0.9rem; border-radius: var(--radius-sm); background: var(--surface-tint); }
.confirmation-facts dt { color: var(--text-soft); font-size: 0.7rem; text-transform: uppercase; }
.confirmation-facts dd { margin: 0.2rem 0 0; font-weight: 850; }
.confirmation-items { padding: 0; list-style: none; }
.confirmation-items li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.65rem; border-bottom: 1px solid var(--border); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr); gap: 5rem; }
.prose { max-width: 50rem; }
.prose--wide { max-width: 54rem; }
.prose h2 { margin-top: 2.3rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose li { margin-bottom: 0.6rem; color: var(--text-soft); }
.principles-panel { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-md); }
.principles-panel ol { display: grid; gap: 1.1rem; padding: 0; list-style: none; counter-reset: principles; }
.principles-panel li { display: grid; gap: 0.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.principles-panel li:last-child { border-bottom: 0; }
.principles-panel span { color: var(--text-soft); font-size: 0.86rem; }
.section--architecture { background: var(--surface-tint); }
.architecture-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 1rem; }
.architecture-flow > div { min-height: 13rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.architecture-flow > div > span { color: var(--accent-strong); font-size: 0.75rem; font-weight: 850; }
.architecture-flow > div > strong { display: block; margin-block: 2.5rem 0.5rem; font-size: 1.2rem; }
.architecture-flow b { color: var(--border-strong); font-size: 1.5rem; }
.not-found-layout { display: grid; min-height: 60vh; grid-template-columns: 1fr 0.8fr; align-items: center; gap: 4rem; }
.not-found-art { position: relative; min-height: 25rem; border-radius: 45% 55% 65% 35% / 45% 45% 55% 55%; background: var(--brand-soft); }
.not-found-art span { position: absolute; display: block; border-radius: 50%; }
.not-found-art span:nth-child(1) { top: 18%; left: 20%; width: 42%; aspect-ratio: 1; background: var(--accent); }
.not-found-art span:nth-child(2) { right: 13%; bottom: 12%; width: 35%; aspect-ratio: 1; background: var(--gold); }
.not-found-art span:nth-child(3) { right: 25%; top: 15%; width: 20%; aspect-ratio: 1; background: var(--brand); }

.site-footer { padding-top: 4rem; border-top: 1px solid var(--border); background: var(--surface-strong); }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 0.6fr 0.7fr; gap: 4rem; padding-bottom: 3rem; }
.site-footer__grid > div { display: grid; align-content: start; gap: 0.65rem; }
.site-footer__grid > div:first-child p { max-width: 34rem; margin-top: 1rem; }
.site-footer h2 { margin: 0 0 0.5rem; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a:not(.brand) { width: fit-content; color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--border); }
.site-footer__bottom p { margin: 0; font-size: 0.72rem; }

.toast-region { position: fixed; z-index: 300; right: 1rem; bottom: 1rem; display: grid; width: min(24rem, calc(100% - 2rem)); gap: 0.5rem; pointer-events: none; }
.toast { padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-strong); box-shadow: var(--shadow-md); color: var(--text); font-size: 0.85rem; font-weight: 700; animation: toast-in 180ms ease-out; }
.offline-banner { position: fixed; z-index: 250; right: 1rem; bottom: 1rem; display: grid; max-width: 24rem; padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: var(--text); color: var(--bg); box-shadow: var(--shadow-md); }
.offline-banner span:last-child { font-size: 0.75rem; opacity: 0.8; }
@keyframes toast-in { from { opacity: 0; transform: translateY(0.75rem); } }

@media (max-width: 1050px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1fr 0.8fr; }
  .restaurant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 20rem; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 1.25rem, 720px); }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: inline-grid; }
  .mobile-nav:not([hidden]) { display: grid; }
  .key-hint, .cart-button > span { display: none; }
  .hero__grid, .restaurant-hero__grid, .page-hero__grid, .restaurant-story__grid, .trust-panel, .content-grid, .not-found-layout { grid-template-columns: 1fr; }
  .hero__grid { min-height: auto; padding-block: 4rem; }
  .hero-visual { min-height: 29rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid li { min-height: 13rem; }
  .trust-panel { gap: 2rem; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: none; }
  .filter-panel.is-open { display: block; }
  .mobile-filter-button { display: inline-flex; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-nav { position: static; display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--border); padding: 0 0 0.8rem; }
  .menu-nav > .eyebrow, .menu-nav > h2 { display: none; }
  .menu-nav__button { flex: none; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; grid-row: 1; }
  .architecture-flow { grid-template-columns: 1fr; }
  .architecture-flow b { transform: rotate(90deg); justify-self: center; }
  .site-footer__grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 2rem; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .site-header__inner { gap: 0.5rem; }
  .header-actions { gap: 0.3rem; }
  .header-actions .icon-button { width: 2.55rem; height: 2.55rem; }
  .brand small { display: none; }
  .brand__mark { width: 2rem; height: 2rem; }
  .hero__grid { padding-block: 3.2rem; }
  .hero-search__row { display: grid; grid-template-columns: auto 1fr; border-radius: var(--radius-md); }
  .hero-search__row .button { grid-column: 1 / -1; width: 100%; }
  .hero-visual { min-height: 24rem; }
  .hero-visual__plate--one { width: 72%; }
  .hero-visual__plate--two { width: 58%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 12rem; }
  .restaurant-grid, .menu-list { grid-template-columns: 1fr; }
  .restaurant-card__summary { min-height: auto; }
  .section-heading { align-items: start; flex-direction: column; }
  .fact-grid, .metric-panel, .choice-grid, .form-grid, .confirmation-facts { grid-template-columns: 1fr; }
  .restaurant-hero__actions .button { width: 100%; }
  .form-field--full { grid-column: auto; }
  .dialog { width: calc(100% - 0.75rem); max-height: calc(100vh - 0.75rem); border-radius: 1.25rem; }
  .cart-dialog { min-height: calc(100vh - 0.75rem); margin: auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

@media print {
  .site-header, .site-footer, .toast-region, .offline-banner, .button, .text-button, dialog { display: none !important; }
  body { background: #fff; color: #000; }
  .confirmation-card { box-shadow: none; }
}
