:root {
  --ink: #1c1713;
  --ink-soft: #544a42;
  --cream: #fff9ef;
  --cream-deep: #f6ebda;
  --paper: #fffefb;
  --ember: #e6542f;
  --ember-dark: #b9361d;
  --gold: #f3aa38;
  --leaf: #49664a;
  --line: #e7d9c5;
  --white: #fff;
  --danger: #b42318;
  --shadow-sm: 0 10px 30px rgba(54, 34, 20, .08);
  --shadow-lg: 0 24px 80px rgba(32, 18, 10, .22);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --page: min(1420px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 2% 8%, rgba(243, 170, 56, .12), transparent 24rem),
    var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

html, body { max-width: 100%; }

body:has(dialog[open]) { overflow: hidden; }

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid #1f65d6;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 239, .92);
  border-bottom: 1px solid rgba(154, 113, 75, .16);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 14px 14px 14px 5px;
  color: var(--white);
  background: linear-gradient(145deg, var(--gold), var(--ember) 62%);
  box-shadow: 0 8px 20px rgba(230, 84, 47, .24);
  transform: rotate(-3deg);
}

.brand__mark svg { width: 25px; fill: currentColor; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 23px; letter-spacing: -.03em; }
.brand small { margin-top: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.restaurant-state {
  min-height: 38px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.restaurant-state__dot {
  width: 9px;
  height: 9px;
  border: 2px solid #dcebdc;
  border-radius: 50%;
  background: #277a3b;
  box-shadow: 0 0 0 3px #e8f4e9;
}

.restaurant-state.is-closed .restaurant-state__dot {
  border-color: #f3ddd8;
  background: var(--ember-dark);
  box-shadow: 0 0 0 3px #fff0ed;
}

.service-notice {
  width: var(--page);
  margin: 18px auto 0;
  padding: 13px 18px;
  border: 1px solid #e4c792;
  border-radius: var(--radius-sm);
  background: #fff3d9;
  color: #6f460a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.load-more {
  display: flex;
  margin: 28px auto 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button, .basket-button, .dialog-close, .quantity-button, .card-add, .text-button {
  border: 0;
  cursor: pointer;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.icon-button svg, .basket-button svg, .dialog-close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.basket-button {
  min-height: 46px;
  padding: 8px 9px 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.basket-button__count {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
}

.search-panel {
  width: var(--page);
  margin: 0 auto;
  padding: 10px 0 20px;
}

.search-panel[hidden] { display: none; }
.search-panel label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.search-field {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.search-field svg { width: 20px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; stroke-linecap: round; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 17px; }
.search-field button { min-height: 36px; border: 0; color: var(--ember-dark); background: transparent; font-weight: 800; cursor: pointer; }

.hero {
  width: var(--page);
  min-height: 570px;
  margin: 28px auto 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #211710;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 10, 7, .92) 0%, rgba(17, 10, 7, .78) 38%, rgba(17, 10, 7, .12) 70%);
}

.hero__content {
  width: min(650px, 60%);
  padding: 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow--ember { color: var(--ember-dark); }

.hero h1 {
  max-width: 580px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 6.2vw, 94px);
  line-height: .92;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero__content > p:not(.eyebrow) {
  max-width: 540px;
  margin: 25px 0 0;
  color: #f4e9dc;
  font-size: 18px;
  line-height: 1.65;
}

.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button--primary { color: var(--white); background: var(--ember); box-shadow: 0 10px 26px rgba(230, 84, 47, .24); }
.button--primary:hover { background: var(--ember-dark); }
.button--glass { border-color: rgba(255, 255, 255, .35); color: var(--white); background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.button--secondary { border-color: var(--line); color: var(--ink); background: var(--paper); }
.button--dark { color: var(--white); background: var(--ink); }
.button--full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }

.hero__facts {
  margin: 38px 0 0;
  padding: 23px 0 0;
  display: flex;
  gap: 36px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  list-style: none;
}

.hero__facts li { display: grid; gap: 4px; }
.hero__facts strong { font-size: 14px; }
.hero__facts span { color: #d8c9ba; font-size: 12px; }

.category-nav {
  position: sticky;
  top: 76px;
  z-index: 40;
  margin-top: 28px;
  background: rgba(255, 249, 239, .94);
  border-bottom: 1px solid rgba(154, 113, 75, .13);
  backdrop-filter: blur(16px);
}

.category-nav__inner {
  width: var(--page);
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav__inner::-webkit-scrollbar { display: none; }

.category-chip {
  min-height: 42px;
  padding: 0 17px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .6);
  font-weight: 750;
  cursor: pointer;
}

.category-chip[aria-pressed="true"] { border-color: var(--ink); color: var(--white); background: var(--ink); }

.ordering-layout {
  width: var(--page);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 48px;
  align-items: start;
}

.menu-column { min-width: 0; }
.section-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.2vw, 52px); line-height: 1; letter-spacing: -.035em; }
.section-heading > p { max-width: 300px; margin: 0 0 5px; color: var(--ink-soft); line-height: 1.55; }
.section-heading--menu { margin-top: 74px; }

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

.popular-card {
  min-width: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.popular-card::after { content: ""; display: block; padding-bottom: 118%; }
.popular-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.popular-card:hover img { transform: scale(1.035); }
.popular-card__veil { position: absolute; inset: 36% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(16, 9, 5, .92)); }
.popular-card__content { position: absolute; inset: auto 0 0; z-index: 2; padding: 22px; color: var(--white); }
.popular-card__content h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.08; }
.popular-card__content p { margin: 8px 0 15px; color: #eadbca; font-size: 13px; }
.popular-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.popular-card__bottom strong { font-size: 17px; }

.card-add {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}

.menu-group { padding-top: 18px; scroll-margin-top: 150px; }
.menu-group + .menu-group { margin-top: 40px; }
.menu-group__heading { margin-bottom: 16px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.menu-group__heading h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 31px; letter-spacing: -.025em; }
.menu-group__heading span { color: var(--ink-soft); font-size: 13px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.menu-card {
  min-width: 0;
  min-height: 166px;
  padding: 12px;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 251, .82);
  box-shadow: 0 4px 18px rgba(56, 36, 24, .035);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.menu-card:hover { border-color: #c9aa86; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.menu-card__image { width: 142px; height: 142px; overflow: hidden; border-radius: 16px; background: var(--cream-deep); }
.menu-card__image img { width: 100%; height: 100%; object-fit: cover; }
.menu-card__body { min-width: 0; padding: 6px 3px 4px 0; display: flex; flex-direction: column; }
.menu-card__body h4 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.18; overflow-wrap: anywhere; }
.menu-card__body p { margin: 8px 0; display: -webkit-box; overflow: hidden; color: var(--ink-soft); font-size: 13px; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.menu-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.menu-card__price { font-size: 16px; font-weight: 900; }
.menu-card__tag { display: inline-flex; margin-bottom: 8px; color: var(--ember-dark); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.menu-card .card-add { width: 38px; height: 38px; font-size: 21px; box-shadow: none; }

.desktop-order { position: sticky; top: 150px; }
.desktop-order__inner { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.desktop-order__heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.desktop-order__heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 34px; letter-spacing: -.035em; }
.desktop-order__count { padding: 7px 10px; border-radius: 999px; color: var(--ink-soft); background: var(--cream-deep); font-size: 12px; font-weight: 800; }

.cart-empty { padding: 44px 10px 18px; text-align: center; }
.cart-empty__plate { width: 84px; height: 84px; margin: 0 auto 20px; display: grid; place-items: center; border: 1px dashed #caad87; border-radius: 50%; color: var(--ember); background: var(--cream); font-size: 31px; }
.cart-empty h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.cart-empty p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

.cart-lines { margin-top: 22px; }
.cart-line { padding: 16px 0; border-top: 1px solid var(--line); }
.cart-line:first-child { border-top: 0; }
.cart-line__top { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.cart-line h3 { margin: 0; font-size: 14px; line-height: 1.35; }
.cart-line__meta { margin: 5px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.cart-line__price { font-size: 14px; font-weight: 900; white-space: nowrap; }
.cart-line__actions { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.text-button { min-height: 34px; padding: 0; color: var(--ember-dark); background: transparent; font-size: 12px; font-weight: 800; }
.quantity-control { min-height: 38px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.quantity-button { width: 36px; height: 36px; border-radius: 50%; background: transparent; font-size: 20px; }
.quantity-control output { min-width: 22px; text-align: center; font-size: 13px; font-weight: 900; }

.cart-summary { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.cart-summary__row { display: flex; justify-content: space-between; gap: 18px; color: var(--ink-soft); font-size: 13px; }
.cart-summary__row + .cart-summary__row { margin-top: 8px; }
.cart-summary__row--total { margin: 18px 0; padding-top: 17px; border-top: 1px dashed #d5c1a7; color: var(--ink); font-size: 17px; font-weight: 900; }
.cart-summary small { display: block; margin: -7px 0 17px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }

.story-strip {
  width: var(--page);
  margin: 110px auto 0;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: end;
  gap: 54px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, #2a1b13, #15100d 70%);
  overflow: hidden;
  position: relative;
}
.story-strip::after { content: ""; width: 260px; height: 260px; position: absolute; right: -90px; top: -120px; border: 65px solid rgba(230, 84, 47, .18); border-radius: 50%; }
.story-strip h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4vw, 60px); line-height: .98; letter-spacing: -.04em; }
.story-strip > p { margin: 0; color: #dacbbf; font-size: 17px; line-height: 1.7; }
.story-strip > a { position: relative; z-index: 1; white-space: nowrap; color: var(--gold); font-weight: 850; text-decoration: none; }

.site-footer {
  width: var(--page);
  margin: 90px auto 0;
  padding: 42px 0 36px;
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr auto;
  gap: 50px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}
.brand--footer { margin-bottom: 13px; }
.site-footer strong { color: var(--ink); }
.site-footer p { max-width: 340px; margin: 9px 0 0; }
.site-footer > small { align-self: end; text-align: right; }

.empty-state { padding: 70px 24px; border: 1px dashed #cdb493; border-radius: var(--radius-md); text-align: center; background: rgba(255, 255, 255, .45); }
.empty-state__icon { width: 70px; height: 70px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-deep); font-size: 31px; }
.empty-state h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 27px; }
.empty-state p { margin: 9px 0 22px; color: var(--ink-soft); }

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

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(20, 12, 8, .68); backdrop-filter: blur(6px); }

.sheet {
  width: min(640px, calc(100vw - 28px));
  max-height: min(880px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sheet[open] { animation: dialogIn .2s ease-out; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }

.dialog-scroll { max-height: min(880px, calc(100dvh - 28px)); overflow-y: auto; overscroll-behavior: contain; }
.dialog-close { width: 44px; height: 44px; position: absolute; z-index: 5; top: 18px; right: 18px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .91); box-shadow: 0 5px 20px rgba(0, 0, 0, .13); }

.product-sheet__form { position: relative; max-height: min(880px, calc(100dvh - 28px)); display: flex; flex-direction: column; }
.product-sheet__scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; transition: opacity .16s ease; }
.product-sheet.is-switching .product-sheet__scroll { opacity: .5; pointer-events: none; }
.product-sheet.is-switching::after { content: "Opening selection…"; position: absolute; z-index: 6; top: 50%; left: 50%; padding: 10px 14px; border-radius: 999px; background: rgba(28, 23, 19, .92); color: var(--white); font-size: 12px; font-weight: 850; transform: translate(-50%, -50%); box-shadow: var(--shadow-sm); }
.product-sheet__image { height: 330px; background: var(--cream-deep); }
.product-sheet__image img { width: 100%; height: 100%; object-fit: cover; }
.product-sheet__body { padding: 30px 34px 36px; }
.product-sheet__title-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.product-sheet__title-row h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 36px; line-height: 1.05; letter-spacing: -.035em; }
.product-sheet__title-row strong { padding-top: 6px; color: var(--ember-dark); font-size: 20px; white-space: nowrap; }
.product-sheet__description { margin: 13px 0 0; color: var(--ink-soft); line-height: 1.65; }
.option-group { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.option-group__heading { margin-bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.option-group__heading h3 { margin: 0; font-size: 16px; }
.option-group__heading span { color: var(--ember-dark); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.option-list { display: grid; gap: 9px; }
.option-card { min-height: 54px; padding: 11px 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.option-card:has(input:checked) { border-color: var(--ember); background: #fff5ef; box-shadow: 0 0 0 1px var(--ember); }
.option-card.is-unavailable { opacity: .58; cursor: not-allowed; }
.option-card input { width: 19px; height: 19px; accent-color: var(--ember); }
.option-card span { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 750; }
.option-card strong { font-size: 13px; white-space: nowrap; }
.field-error { margin: 10px 0 0; color: var(--danger); font-size: 13px; font-weight: 750; }
.pairing-group__heading { align-items: start; }
.pairing-group__heading > div { min-width: 0; }
.pairing-group__heading p { margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.suggestion-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.suggestion-card { min-width: 0; padding: 8px; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-align: left; }
.suggestion-card.is-selected { border-color: var(--ember); background: #fff8f3; box-shadow: inset 0 0 0 1px var(--ember); }
.suggestion-card img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; }
.suggestion-card__body { min-width: 0; display: grid; align-content: center; justify-items: start; gap: 4px; }
.suggestion-card__body > strong { max-width: 100%; overflow-wrap: anywhere; font-size: 12px; line-height: 1.35; }
.suggestion-card__body > small { color: var(--ember-dark); font-size: 11px; font-weight: 850; }
.pairing-add { min-height: 44px; margin-top: 2px; padding: 7px 13px; border-radius: 999px; color: var(--white); background: var(--ink); font-size: 11px; font-weight: 900; }
.pairing-add:disabled { opacity: .62; cursor: wait; }
.pairing-controls { max-width: 100%; display: flex; align-items: center; gap: 5px; }
.pairing-controls button { min-width: 44px; min-height: 44px; padding: 6px; border: 1px solid #d8c5aa; border-radius: 10px; color: var(--ink); background: var(--white); font-size: 15px; font-weight: 900; }
.pairing-controls output { min-width: 20px; text-align: center; font-size: 12px; font-weight: 900; }
.pairing-controls .pairing-edit { width: auto; padding-inline: 9px; color: var(--ember-dark); font-size: 11px; }
.pairing-status { min-height: 18px; margin: 10px 0 0; color: var(--success); font-size: 12px; font-weight: 750; }
.pairing-editor__nav { position: sticky; z-index: 4; top: 0; padding: 12px 70px 12px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 254, 251, .96); backdrop-filter: blur(12px); }
.pairing-editor__nav button { min-height: 44px; max-width: 100%; padding: 8px 12px; overflow: hidden; color: var(--ember-dark); font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.product-sheet__action { flex: 0 0 auto; padding: 17px 24px max(19px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; border-top: 1px solid var(--line); background: rgba(255, 254, 251, .97); box-shadow: 0 -10px 30px rgba(48, 29, 18, .08); backdrop-filter: blur(12px); }
.product-sheet__action .quantity-control { min-height: 50px; }
.product-sheet__action .quantity-button { width: 46px; height: 46px; }

.order-sheet { width: min(570px, calc(100vw - 28px)); }
.order-sheet__header { position: sticky; top: 0; z-index: 3; padding: 25px 28px 20px; display: flex; align-items: start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(255, 254, 251, .96); backdrop-filter: blur(12px); }
.order-sheet__header h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 32px; letter-spacing: -.035em; }
.order-sheet__header .dialog-close { position: static; flex: 0 0 auto; background: var(--cream-deep); box-shadow: none; }
.order-sheet__body { padding: 8px 28px 30px; }
.order-sheet .cart-line { padding: 18px 0; }
.order-sheet__footer { position: sticky; bottom: 0; z-index: 2; padding: 18px 28px max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 254, 251, .97); backdrop-filter: blur(12px); }
.order-sheet__total { margin-bottom: 14px; display: flex; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 900; }

.checkout-progress { margin: 20px 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.checkout-progress span { height: 4px; border-radius: 999px; background: var(--line); }
.checkout-progress span.is-active { background: var(--ember); }
.checkout-section { padding: 25px 0 8px; }
.checkout-section h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.checkout-section > p { margin: 7px 0 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.fulfilment-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fulfilment-card { min-height: 93px; padding: 15px; display: grid; align-content: start; gap: 5px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.fulfilment-card:has(input:checked) { border-color: var(--ember); background: #fff5ef; box-shadow: 0 0 0 1px var(--ember); }
.fulfilment-card input { width: 18px; height: 18px; accent-color: var(--ember); }
.fulfilment-card strong { font-size: 14px; }
.fulfilment-card small { color: var(--ink-soft); line-height: 1.4; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { min-width: 0; display: grid; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 850; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 49px; padding: 12px 13px; border: 1px solid #d8c5aa; border-radius: 12px; color: var(--ink); background: var(--white); outline: 0; }
.form-field textarea { min-height: 82px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(230, 84, 47, .13); }
.payment-card { padding: 17px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.payment-card__mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--white); background: #09a58b; font-weight: 950; }
.payment-card span { display: grid; gap: 4px; }
.payment-card small { color: var(--ink-soft); }

.success-state { padding: 62px 30px 40px; text-align: center; }
.success-state__mark { width: 88px; height: 88px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--leaf); font-size: 36px; box-shadow: 0 16px 38px rgba(73, 102, 74, .25); }
.success-state h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 38px; line-height: 1; letter-spacing: -.04em; }
.success-state > p { margin: 14px auto 24px; max-width: 370px; color: var(--ink-soft); line-height: 1.6; }
.success-reference { margin: 0 auto 24px; padding: 16px; border: 1px dashed #c9aa86; border-radius: var(--radius-sm); background: var(--cream); }
.success-reference small { display: block; color: var(--ink-soft); }
.success-reference strong { display: block; margin-top: 5px; font-size: 20px; letter-spacing: .05em; }
.success-actions { display: grid; gap: 10px; }

.info-dialog { width: min(510px, calc(100vw - 28px)); padding: 36px; border: 0; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-lg); }
.info-dialog .dialog-close { top: 15px; right: 15px; background: var(--cream-deep); box-shadow: none; }
.info-dialog h2 { margin: 0; max-width: 370px; font-family: Georgia, "Times New Roman", serif; font-size: 38px; line-height: 1; letter-spacing: -.04em; }
.restaurant-details { margin: 28px 0; display: grid; gap: 15px; }
.restaurant-details div { padding-bottom: 14px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.restaurant-details dt { font-size: 12px; font-weight: 900; }
.restaurant-details dd { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }

.toast { max-width: min(420px, calc(100vw - 28px)); min-height: 48px; padding: 13px 17px; position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); border-radius: 999px; color: var(--white); background: var(--ink); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 800; text-align: center; }

.skeleton { position: relative; overflow: hidden; background: #eadfce; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

@media (max-width: 1180px) {
  :root { --page: min(100% - 36px, 1120px); }
  .ordering-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; }
  .menu-grid { grid-template-columns: 1fr; }
  .hero__content { width: 65%; padding: 56px; }
  .story-strip { grid-template-columns: 1fr 1fr; }
  .story-strip > a { grid-column: 2; }
  .site-footer { grid-template-columns: 1.2fr .8fr .8fr; }
  .site-footer > small { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .restaurant-state { display: none; }
  .hero { min-height: 590px; align-items: end; }
  .hero__content { width: 80%; padding: 50px; }
  .hero__veil { background: linear-gradient(90deg, rgba(17, 10, 7, .93), rgba(17, 10, 7, .5) 75%, rgba(17, 10, 7, .1)); }
  .ordering-layout { display: block; }
  .desktop-order { display: none; }
  .mobile-cart-bar {
    min-height: 66px;
    padding: 10px 16px 10px 20px;
    position: fixed;
    z-index: 45;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    border-radius: 20px;
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 18px 46px rgba(22, 12, 7, .3);
    cursor: pointer;
  }
  .mobile-cart-bar:not([hidden]) { display: flex; }
  .mobile-cart-bar span { min-width: 0; display: grid; gap: 2px; text-align: left; }
  .mobile-cart-bar small { color: #d6c8bb; font-size: 11px; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 700px) {
  :root { --page: min(calc(100vw - 28px), 100%); }
  .site-header__inner { min-height: 68px; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .brand { min-width: 0; }
  .brand__mark { width: 37px; height: 37px; border-radius: 12px 12px 12px 4px; }
  .brand strong { font-size: 20px; }
  .basket-button { width: 44px; min-width: 44px; padding: 0; display: grid; place-items: center; }
  .basket-button svg { display: none; }
  .basket-button__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .basket-button__count { color: var(--ink); background: var(--gold); }
  .search-panel { padding-bottom: 14px; }
  .hero { min-height: 600px; margin-top: 14px; border-radius: 24px; }
  .hero__image { object-position: 67% center; }
  .hero__veil { background: linear-gradient(0deg, rgba(17, 10, 7, .96) 0%, rgba(17, 10, 7, .68) 62%, rgba(17, 10, 7, .12)); }
  .hero__content { width: 100%; padding: 30px 24px 26px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero__content > p:not(.eyebrow) { margin-top: 18px; font-size: 15px; line-height: 1.55; }
  .hero__actions { margin-top: 22px; display: grid; grid-template-columns: 1fr; }
  .hero__actions .button { width: 100%; min-width: 0; }
  .hero__facts { margin-top: 26px; padding-top: 17px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; }
  .hero__facts li:last-child { grid-column: 1 / -1; }
  .hero__facts strong { font-size: 12px; }
  .hero__facts span { font-size: 9px; }
  .category-nav { top: 68px; margin-top: 18px; }
  .category-nav__inner { width: 100%; padding: 9px 14px; }
  .ordering-layout { margin-top: 46px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { margin-top: 10px; font-size: 13px; }
  .popular-grid { margin-right: -14px; padding-right: 14px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .popular-grid::-webkit-scrollbar { display: none; }
  .popular-card { width: min(74vw, 290px); flex: 0 0 auto; scroll-snap-align: start; }
  .section-heading--menu { margin-top: 62px; }
  .menu-group + .menu-group { margin-top: 32px; }
  .menu-group__heading h3 { font-size: 28px; }
  .menu-grid { gap: 11px; }
  .menu-card { min-height: 140px; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; border-radius: 18px; }
  .menu-card__image { width: 112px; height: 116px; border-radius: 13px; }
  .menu-card__body { padding-top: 2px; }
  .menu-card__body h4 { font-size: 18px; }
  .menu-card__body p { margin: 6px 0; font-size: 12px; -webkit-line-clamp: 2; }
  .menu-card__tag { display: none; }
  .menu-card__price { font-size: 14px; }
  .story-strip { margin-top: 75px; padding: 38px 26px; display: block; border-radius: 24px; }
  .story-strip h2 { font-size: 42px; }
  .story-strip > p { margin-top: 20px; font-size: 15px; }
  .story-strip > a { display: inline-block; margin-top: 25px; }
  .site-footer { margin-top: 60px; display: grid; grid-template-columns: 1fr; gap: 28px; }
  .sheet { width: 100%; max-height: calc(100dvh - 18px); margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .sheet[open] { animation: sheetIn .24s ease-out; }
  @keyframes sheetIn { from { opacity: 0; transform: translateY(50px); } }
  .dialog-scroll { max-height: calc(100dvh - 18px); }
  .product-sheet__form { max-height: calc(100dvh - 18px); }
  .product-sheet__image { height: 285px; }
  .product-sheet__body { padding: 25px 21px 32px; }
  .product-sheet__title-row h2 { font-size: 31px; }
  .product-sheet__title-row strong { font-size: 17px; }
  .product-sheet__action { padding: 14px 16px max(16px, env(safe-area-inset-bottom)); grid-template-columns: 1fr; gap: 10px; }
  .product-sheet__action .quantity-control { width: fit-content; }
  .suggestion-row { grid-template-columns: 1fr; }
  .order-sheet__header { padding: 21px 20px 16px; }
  .order-sheet__body { padding: 6px 20px 28px; }
  .order-sheet__footer { padding: 16px 20px max(18px, env(safe-area-inset-bottom)); }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .info-dialog { padding: 32px 22px 24px; }
  .info-dialog h2 { padding-right: 35px; font-size: 34px; }
  .restaurant-details div { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 380px) {
  .site-header__actions { gap: 6px; }
  .icon-button { width: 41px; height: 41px; }
  .basket-button { width: 41px; min-width: 41px; min-height: 41px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand strong { font-size: 18px; }
  .hero__facts li:nth-child(3) { display: none; }
  .menu-card { grid-template-columns: 96px minmax(0, 1fr); }
  .menu-card__image { width: 96px; }
  .product-sheet__title-row { grid-template-columns: 1fr; gap: 8px; }
  .product-sheet__title-row strong { padding-top: 0; white-space: normal; }
}

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