:root {
  --brand: #9c3d14;
  --brand-dark: #1f2933;
  --ink: #1f2933;
  --muted: #52606d;
  --line: #d9dee3;
  --bg: #ffffff;
  --soft: #f5f6f7;
  --radius: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
body.is-embed { background: transparent; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--bg); padding: 8px 12px; }

.top { padding: 20px 16px 12px; border-bottom: 1px solid var(--line); }
.top__name { margin: 0; font-size: 1.5rem; line-height: 1.2; color: var(--brand-dark); }
.top__contact { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .95rem; }
.top__contact a { min-height: 24px; display: inline-flex; align-items: center; }
.status { display: inline-block; margin: 8px 0 0; padding: 2px 10px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.status--open { background: #e3f4e8; color: #17552e; }
.status--closed { background: #f6e7e4; color: #7a2617; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 12px 16px; }
.langs { display: flex; align-items: center; gap: 8px; }
.langs label { font-weight: 600; color: var(--muted); }
.langs select { min-height: 36px; padding: 4px 8px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #c8cdd2; border-radius: var(--radius); }
.langs select:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.toolbar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center;
}
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn[aria-busy="true"] { opacity: .6; }

.notice, .banner { margin: 0 16px 12px; padding: 10px 14px; border-radius: var(--radius); }
.notice { background: #fff7e0; color: #5c4400; }
.banner { background: #f6e7e4; color: #7a2617; font-weight: 600; }

.menu { padding: 0 16px 24px; outline: none; }
.sections { display: flex; gap: 8px; margin: 4px 0 16px; overflow-x: auto; }
.sections a { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; }
.sections a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }

.section { margin-bottom: 28px; }
.section__title { font-size: 1.3rem; margin: 8px 0 4px; color: var(--brand-dark); }
.section__meta { margin: 0 0 8px; color: var(--muted); }

.chips {
  position: sticky; top: 0; z-index: 2; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0;
  background: var(--bg); scrollbar-width: none;
}
.is-embed .chips { background: var(--bg); }
.chips a { flex: 0 0 auto; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; }

.search { margin: 8px 0 12px; }
.search label { display: block; font-weight: 600; margin-bottom: 4px; }
.search input { width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; border: 1px solid #8a959e; border-radius: var(--radius); }
.search__count { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

.category, .day { padding-top: 8px; scroll-margin-top: 64px; }
.category__title, .day__title { font-size: 1.1rem; margin: 12px 0 4px; }
.category__desc { margin: 0 0 8px; color: var(--muted); }
.days { display: flex; gap: 6px; overflow-x: auto; margin: 8px 0; }
.days button { min-height: 40px; min-width: 48px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font: inherit; cursor: pointer; }
.days button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.items { list-style: none; margin: 0; padding: 0; }
.item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.item[hidden] { display: none; }
.item__img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--soft); }
.item__body { flex: 1; min-width: 0; }
.item__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.item__name { margin: 0; font-size: 1rem; }
.item__price { margin: 0; font-weight: 700; white-space: nowrap; }
.item__price s { font-weight: 400; color: var(--muted); }
.item__desc { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.item__sizes { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; }
.badges { margin-top: 6px; min-height: 28px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); cursor: pointer; font: inherit; font-size: .8rem; display: inline-flex; gap: 6px; }
.badges abbr { text-decoration: none; font-weight: 700; }
.item__allergens { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

.notes { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.empty, .message { text-align: center; padding: 48px 16px; }
.message h1 { font-size: 1.3rem; }

.foot { padding: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.is-embed .foot { display: none; }
.foot__qr, .foot__url { display: none; }
.foot__qr svg { width: 96px; height: 96px; }

@media (min-width: 720px) {
  .top, .toolbar, .menu, .foot { max-width: 880px; margin-left: auto; margin-right: auto; }
  .item__img { flex-basis: 96px; width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Print view (/print and the Print button): A4, two columns, no images. */
@page { size: A4; margin: 14mm 12mm; }
@media print {
  body { font-size: 10pt; background: #fff; }
  .toolbar, .chips, .search, .sections, .days, .notice, .skip, .item__img, .badges { display: none !important; }
  .day[hidden], .item[hidden] { display: block !important; }
  .item__allergens[hidden] { display: block !important; }
  .top { padding: 0 0 6pt; }
  .menu { columns: 2; column-gap: 10mm; padding: 0; }
  .section__title { column-span: all; }
  .category, .day, .item { break-inside: avoid; }
  .item { padding: 4pt 0; }
  .is-embed .foot, .foot { display: flex !important; align-items: center; gap: 12pt; border-top: 1px solid #999; }
  .foot__qr, .foot__url { display: block; }
  .foot__qr svg { width: 22mm; height: 22mm; }
  a { color: inherit; text-decoration: none; }
}
.is-print .chips, .is-print .search, .is-print .item__img, .is-print .days, .is-print .badges { display: none; }
.is-print .item__allergens[hidden], .is-print .day[hidden] { display: block; }
.is-print .foot { display: flex; align-items: center; gap: 16px; }
.is-print .foot__qr, .is-print .foot__url { display: block; }
@media screen and (min-width: 720px) {
  .is-print .menu { columns: 2; column-gap: 32px; }
  .is-print .section__title { column-span: all; }
  .is-print .category, .is-print .day, .is-print .item { break-inside: avoid; }
}
