:root {
  --canvas: #d8d5ce;
  --paper: #f7f1e8;
  --ink: #18201c;
  --blue: #143745;
  --yellow: #f2cf55;
  --muted: #59615d;
  --line: rgba(24,32,28,.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--canvas); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

.menu-site {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 70px rgba(30,31,28,.22);
}

.menu-header {
  padding: 28px 26px 30px;
  border-bottom: 6px solid var(--bowl-red);
  color: white;
  background: var(--blue);
}

.back-link {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
}

.back-link svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}

.menu-header h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 12vw, 62px);
  line-height: .98;
  letter-spacing: -.04em;
}

.menu-header > p:last-of-type {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 15px;
}

.menu-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 700;
  font-style: normal;
  white-space: nowrap;
}

.menu-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font: inherit;
}

.menu-contact svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-nav {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

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

.menu-nav a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 800;
}

.menu-content { padding: 24px 20px 52px; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.legend span {
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--muted);
  background: white;
  font-size: 11px;
  font-weight: 700;
}

.menu-section {
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.58);
}

.menu-section h2 {
  margin: 0;
  padding: 16px 18px;
  color: white;
  background: var(--bowl-red);
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.section-note {
  margin: 0;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.menu-item { padding: 16px 18px; }
.menu-item + .menu-item { border-top: 1px solid var(--line); }

.item-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.item-heading h3 {
  margin: 0;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.25;
}

.price {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-item > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tag {
  display: inline-block;
  margin-left: 5px;
  color: #27844d;
  font-size: 13px;
  font-weight: 800;
  vertical-align: .08em;
}

.dish-number {
  color: var(--bowl-red);
  font-size: .72em;
  font-style: italic;
  white-space: nowrap;
}

.variants {
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.variants li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.variants strong { flex: 0 0 auto; color: var(--ink); white-space: nowrap; }

.allergen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  padding: 16px 18px;
}

.allergen-grid dl { margin: 0; }
.allergen-grid div { display: grid; grid-template-columns: 24px 1fr; gap: 6px; margin: 0 0 5px; font-size: 13px; }
.allergen-grid dt { color: var(--bowl-red); font-weight: 800; }
.allergen-grid dd { margin: 0; color: var(--muted); }
.allergen-warning { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }

@media (max-width: 370px) {
  .menu-header { padding-inline: 22px; }
  .menu-content { padding-inline: 15px; }
  .allergen-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
