/* The table menu at / ("Carta digital", the Nov 6 2026 design). Dishes come live from RO. */
:root {
  color-scheme: light;
  --paper: #f8f3e9;
  --panel: #fdfaf3;
  --ink: #192c41;
  --muted: #4c5b66;
  --red: #9d302d;
  --line: #ddd3c3;
  --nav-height: 63px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-height) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
}
a { color: inherit; }
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.wrap { width: min(calc(100% - 36px), 880px); margin-inline: auto; }
.skip-link {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 3;
  padding: 10px 16px;
  background: var(--panel);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.masthead {
  border-block: 4px solid var(--red);
  border-block-end: 1px solid var(--line);
  text-align: center;
  background: var(--paper);
  padding-block: 12px 16px;
}
.masthead-inner {
  min-height: 214px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 19px 12px 20px;
  border: 1px solid var(--line);
  position: relative;
}
.masthead-inner::before, .masthead-inner::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  width: clamp(16px, 6vw, 60px);
  height: 1px;
  background: var(--line);
}
.masthead-inner::before { inset-inline-start: 9%; }
.masthead-inner::after { inset-inline-end: 9%; }
.brand { width: 186px; max-width: 67%; display: block; margin: 0 auto; }
.masthead h1 { display: grid; place-items: center; width: 100%; margin: 0; }
.brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.edition {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 16px 0 0;
  color: var(--red);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.edition::before, .edition::after {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  transform: rotate(45deg);
}

/* One row of section pills; it scrolls sideways when the sections do not fit. */
.menu-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.menu-nav-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menu-nav-scroll::-webkit-scrollbar { display: none; }
.menu-nav ul {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2px;
  margin: 0 auto;
  padding: 8px 10px;
  list-style: none;
}
.menu-nav a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.menu-nav a:hover { background: #eee7da; }
.menu-nav a[aria-current="location"] {
  background: var(--ink);
  color: #fffdf8;
}

main { padding-block: 26px 56px; }
.menu-notice {
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}
.menu-section {
  padding: 0 0 37px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.menu-section:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-inline-start: 1px;
}
.section-number {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}
h2 {
  font: normal clamp(30px, 7vw, 43px)/1.08 var(--serif);
  letter-spacing: -.037em;
  margin: 0;
}
.section-note {
  margin: -4px 0 13px;
  font: italic 17px/1.35 var(--serif);
  color: var(--muted);
}
.menu-items { list-style: none; margin: 0; padding: 0; }
.dish {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  align-content: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.dish:last-child { border: 0; }
.dish-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: pretty;
}
.price {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price.pending { color: var(--red); font-size: 11px; font-weight: 650; }
.description {
  grid-column: 1 / -1;
  max-width: 42ch;
  margin: 5px 0 0;
  color: var(--muted);
  font: 16px/1.44 var(--serif);
  text-wrap: pretty;
}
.dish.featured {
  padding: 15px 16px 16px;
  margin: 3px 0 4px;
  border: 1px solid #cf9c8e;
  background: #fbf4e8;
}
.dish.featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 3px;
  height: calc(100% + 2px);
  background: var(--red);
}
.feature-label {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 7px;
  color: var(--red);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.featured .dish-name, .featured .price { grid-row: 2; }
.groups { display: grid; gap: 18px; }
.menu-section > .menu-items + .groups { margin-top: 18px; }
/* A subcategoría inside a food section ("Lo manabita" in Desayunos). */
.subgroup-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 2px;
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.subgroup-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.drink-group {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 17px 16px 4px;
}
.group-title {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.drink-group .dish { padding-block: 10px; }
.drink-group .dish-name { font-size: 15px; }
.drink-group .description { font-size: 15px; }

.menu-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 27px 0 30px;
  text-align: center;
}
.menu-footer p { margin: 0 0 8px; font: 20px/1.2 var(--serif); }
.menu-footer a {
  display: inline-grid;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 359px) {
  .menu-nav a { font-size: 11px; padding-inline: 6px; }
  .masthead-inner::before { inset-inline-start: 5%; }
  .masthead-inner::after { inset-inline-end: 5%; }
}
@media (min-width: 680px) {
  .masthead { padding-block: 20px; }
  .masthead-inner { min-height: 254px; }
  .brand { width: 224px; }
  .menu-nav ul { gap: 8px; }
  .menu-nav a { padding-inline: 14px; font-size: 13px; }
  main { padding-block-start: 38px; }
  .menu-section { margin-bottom: 42px; }
  .menu-section > .menu-items, .groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 28px;
  }
  .menu-section > .menu-items > .dish {
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }
  .menu-section > .menu-items > .dish.featured {
    border: 1px solid #cf9c8e;
    margin-block: 0;
  }
  .drink-group { padding-inline: 20px; }
}
