.menu-book-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.menu-book-heading h1 { font-size: clamp(38px, 4.1vw, 56px); margin-bottom: 14px; }
.menu-book-heading .lede { max-width: 620px; font-size: 15px; }
.menu-experience { min-width: 0; scroll-margin-top: 90px; }
.menu-format-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 24px; }
.menu-view-tabs { display: inline-flex; padding: 5px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: #eeebe4; }
.menu-view-tabs button { min-height: 46px; border: 0; border-radius: 999px; padding: 11px 25px; background: transparent; color: var(--ink-soft); font-size: 13px; font-weight: 600; transition: background .2s, color .2s, box-shadow .2s; }
.menu-view-tabs button[aria-selected="true"] { background: var(--charcoal); color: #f5e6cb; box-shadow: 0 3px 7px #00000012; }
.menu-format-note { color: var(--ink-soft); font-size: 12px; margin: 0; }
.menu-book-panel { background: #ede8de; border: 1px solid #dfd7c9; border-radius: 18px; padding: 22px 30px 24px; }
.book-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.book-contents-label { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-soft); }
.book-contents-label select { min-height: 42px; max-width: 350px; border: 1px solid #d3cabc; border-radius: 7px; background: #f8f5ef; color: var(--ink); padding: 8px 34px 8px 13px; font-size: 12px; }
.book-close { min-height: 42px; padding: 8px 14px; background: transparent; border: 0; color: var(--ink-soft); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.book-toolbar-actions { display: flex; gap: 10px; }
.menu-book-stage { width: min(920px, 100%); margin: 28px auto 22px; outline-offset: 10px; }
.menu-book-volume { width: 100%; position: relative; margin: auto; }
.menu-book-engine { margin: auto; transition: transform 1.15s ease-in-out; }
.menu-book-volume[data-cover="front"] .menu-book-engine { transform: translateX(-25%); }
.menu-book-volume[data-cover="back"] .menu-book-engine { transform: translateX(25%); }
.book-sheet { overflow: hidden; background: #fbf8f0; border: 1px solid #dfd6c5; box-shadow: 0 3px 0 #d1cabc, 0 5px 0 #e2dbce, 0 18px 28px #31251524; }
.book-sheet img { display: block; width: 100%; height: 100%; object-fit: fill; user-select: none; pointer-events: none; }
.book-sheet.--left { border-right-color: #bfb4a0; }
.book-sheet.--right { border-left-color: #bfb4a0; }
.book-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; max-width: 920px; margin: auto; }
.book-controls button { min-height: 46px; padding: 11px 24px; border: 1px solid #d0c6b5; border-radius: 999px; background: #f9f6ee; color: var(--ink); font-size: 12px; font-weight: 600; }
.book-controls [data-book-previous] { justify-self: start; }
.book-controls [data-book-next] { justify-self: end; background: var(--charcoal); color: #f5e6cb; border-color: var(--charcoal); }
.book-controls button:hover:not(:disabled) { box-shadow: 0 3px 12px #33261415; }
.book-controls button:disabled { opacity: .35; }
.book-position { text-align: center; font-size: 12px; color: var(--ink-soft); margin: 0; font-variant-numeric: tabular-nums; }
.book-hint { text-align: center; color: var(--ink-soft); margin: 18px 0 0; font-size: 12px; }
.book-load-message { max-width: 920px; margin: 16px auto; font-size: 14px; }
.menu-pdf-panel { padding: 22px; background: #ede8de; border-radius: 18px; border: 1px solid #dfd7c9; }
.menu-pdf-actions { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.menu-pdf-actions p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.menu-pdf-actions .actions { flex-shrink: 0; }
.menu-pdf-pages { display: grid; gap: 28px; max-height: min(820px, 80vh); overflow: auto; overscroll-behavior: contain; padding: 20px; border-radius: 8px; background: #e1dbd0; outline-offset: 4px; }
.menu-pdf-page { width: min(720px, 100%); min-width: 0; margin: 0 auto; }
.menu-pdf-page img { display: block; width: 100%; height: auto; background: #fbf9f3; box-shadow: 0 3px 14px #3125151f; }
.menu-pdf-page figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; color: var(--ink-soft); font-size: 12px; }
.menu-pdf-page figcaption button { flex-shrink: 0; min-height: 40px; padding: 8px 14px; background: #f9f6ee; color: var(--ink); border: 1px solid #c7bca9; border-radius: 999px; font-size: 12px; }
.menu-text-version { border-top: 1px solid var(--line); padding-top: 22px; }
.menu-text-version summary { width: fit-content; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-soft); padding: 4px 0; }
.menu-text-version[open] summary { margin-bottom: 24px; }
.menu-text-version summary::marker { color: var(--accent-ink); }
.printed-menu-text { display: grid; gap: 24px; }
.menu-page-dialog { width: min(1000px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.menu-page-dialog::backdrop { background: #111111ba; backdrop-filter: blur(4px); }
.menu-zoom-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.menu-zoom-toolbar h2 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0; margin: 0; }
.menu-zoom-toolbar button { flex-shrink: 0; min-height: 40px; padding: 8px 16px; background: var(--charcoal); color: white; border: 0; border-radius: 999px; font-size: 12px; }
.menu-zoom-scroll { max-height: 75vh; overflow: auto; overscroll-behavior: contain; background: #e9e4da; }
.menu-zoom-scroll img { width: 950px; max-width: none; height: auto; margin: auto; }
.menu-zoom-footer { display: flex; justify-content: space-between; padding: 12px 20px; }
.menu-zoom-footer button { min-height: 40px; padding: 8px 15px; background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
@media (max-width: 1000px) {
  .menu-format-note { display: none; }
  .book-contents-label { gap: 8px; }
  .book-contents-label select { max-width: 270px; }
}
@media (max-width: 760px) {
  .menu-book-heading h1 { font-size: 40px; }
  .menu-book-heading .lede { font-size: 14px; }
  .menu-format-bar { margin-bottom: 18px; }
  .menu-view-tabs { width: 100%; }
  .menu-view-tabs button { flex: 1; padding-inline: 12px; }
  .menu-book-panel { padding: 16px 14px 20px; border-radius: 12px; }
  .book-toolbar { align-items: flex-start; gap: 4px; }
  .book-contents-label { display: grid; gap: 5px; min-width: 0; }
  .book-contents-label > span { display: none; }
  .book-contents-label select { max-width: min(64vw, 380px); width: 100%; padding-left: 9px; font-size: 11px; }
  .book-close { padding: 8px 7px; font-size: 11px; white-space: nowrap; }
  .book-toolbar { flex-wrap: wrap; }
  .book-toolbar-actions { margin-left: auto; gap: 2px; }
  .menu-book-stage { margin-block: 24px; }
  .book-controls { gap: 8px; grid-template-columns: 1fr auto 1fr; }
  .book-controls button { min-height: 44px; padding: 10px 12px; font-size: 11px; }
  .book-position { font-size: 10px; }
  .book-hint { font-size: 11px; margin-top: 17px; }
  .menu-pdf-panel { padding: 16px 12px; }
  .menu-pdf-pages { padding: 10px; gap: 20px; }
  .menu-pdf-page figcaption { gap: 8px; font-size: 11px; }
  .menu-pdf-page figcaption button { padding-inline: 10px; font-size: 11px; }
  .menu-pdf-actions { align-items: flex-start; flex-direction: column; }
  .menu-pdf-actions .actions { width: 100%; flex-direction: row; }
  .menu-pdf-actions .button { font-size: 12px; padding: 10px 16px; }
  .menu-page-dialog { width: calc(100vw - 16px); }
  .menu-zoom-toolbar { padding: 10px 12px; gap: 10px; }
  .menu-zoom-toolbar h2 { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-view-tabs button { transition: none; }
  .menu-book-engine { transition: none; }
}

/* Menu page: an order button in the heading, a reserved space while the book loads,
   and on phones the readable text menu first with the book below it. */
.menu-heading-actions { margin-top: 18px; flex-wrap: wrap; }
.menu-phone-only { display: none; }
.menu-summary-phone { display: none; }
.menu-experience.is-loading { position: relative; min-height: 880px; }
.menu-experience.is-loading > * { visibility: hidden; }
.menu-experience.is-loading::before { content: "Opening the menu…"; position: absolute; inset: 0; display: grid; place-items: center;
  border-radius: 18px; background: #ede8de; color: var(--ink-soft); font-size: 13px; }
@media (max-width: 640px) {
  .menu-phone-only { display: block; }
  .menu-summary-wide { display: none; }
  .menu-summary-phone { display: inline; font-family: var(--font-display, inherit); font-size: 22px; color: var(--ink); }
  .menu-jump { margin: 14px 0 0; font-size: 14px; }
  .menu-text-version { order: 1; border-top: 0; padding-top: 0; }
  .menu-experience { order: 2; border-top: 1px solid var(--line); padding-top: 24px; scroll-margin-top: 90px; }
  .menu-experience.is-loading { min-height: 660px; }
  .menu-printed-heading { margin: 0 0 16px; font-size: 26px; }
}

/* Live menu pages (menu-live.js). Laid out at the book's 460 × 651 design size in container units, so the
   measured pagination holds in the book at any size, the PDF tab, the zoom dialog and on paper. */
.book-sheet, .menu-pdf-sheet, .menu-zoom-page, .menu-print-page { container-type: size; }
.book-measure { position: absolute; left: -10000px; top: 0; visibility: hidden; pointer-events: none; }
.book-page { --book-ink: #28241f; --book-muted: #6f665d; --book-burgundy: #842f29; --book-gold: #c9a96a;
  box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 6cqw 7.5cqw 4.6cqw;
  background: #fbf8f0; color: var(--book-ink); font-family: var(--font-body); font-size: 2.45cqw; line-height: 1.32;
  -webkit-print-color-adjust: exact; print-color-adjust: exact; user-select: none; }
.book-page-head, .book-page-foot { display: flex; justify-content: space-between; gap: 4cqw; color: var(--book-muted);
  font-size: 1.65cqw; letter-spacing: .18em; text-transform: uppercase; }
.book-page-head { padding-bottom: 1.6cqw; border-bottom: .22cqw solid var(--book-gold); }
.book-page-foot { padding-top: 1.6cqw; border-top: .22cqw solid var(--book-gold); letter-spacing: .12em; }
.book-page-body { flex: 1 1 auto; min-height: 0; overflow: hidden; padding-top: 1.2cqw; }
.book-section-title { margin: 3.2cqw 0 2.4cqw; font-family: var(--font-display); font-size: 5.1cqw; font-weight: 600;
  line-height: 1.1; letter-spacing: -.01em; color: var(--book-burgundy); text-align: center; }
.book-section-title::after { content: ""; display: block; width: 9cqw; margin: 1.5cqw auto 0; border-top: .3cqw solid var(--book-gold); }
.book-dish { margin: 0 0 1.75cqw; break-inside: avoid; }
.book-dish p { margin: 0; }
.book-dish-line { display: flex; align-items: baseline; gap: 1.4cqw; }
.book-dish-name { font-weight: 650; font-size: 2.7cqw; }
.book-dish-leader { flex: 1 1 2cqw; min-width: 2cqw; border-bottom: .22cqw dotted #cbbfa9; transform: translateY(-.5cqw); }
.book-dish-price { font-variant-numeric: tabular-nums; font-size: 2.55cqw; white-space: nowrap; }
.book-dish-desc { margin-top: .5cqw !important; color: var(--book-muted); font-size: 2.2cqw; line-height: 1.32; }
.book-dish-allergens { margin-top: .35cqw !important; color: var(--book-muted); font-size: 1.85cqw; font-style: italic; line-height: 1.3; }
.book-dish-allergens.is-unlisted { color: var(--book-burgundy); }
.book-dish-price.is-unavailable { color: var(--book-burgundy); font-size: 2.15cqw; font-style: italic; }
.book-dish.is-unavailable .book-dish-name, .book-dish.is-unavailable .book-dish-desc { opacity: .62; }
.book-page--overflow .book-dish-allergens { margin: .35cqw 0 .5cqw !important; }
/* A dish too tall for a whole page: the body still clips, so this note (outside the body) says so. */
.book-overflow-note { flex: 0 0 auto; margin: 0; padding: 1.6cqw 0 1.4cqw; border-top: .22cqw solid var(--book-gold);
  color: var(--book-burgundy); font-size: 1.95cqw; font-style: italic; line-height: 1.35; text-align: center; }
.book-allergen-note { margin: 3cqw 0 0; padding-top: 2cqw; border-top: .22cqw solid var(--book-gold); color: var(--book-muted);
  font-size: 1.85cqw; line-height: 1.45; text-align: center; }
.book-contents-title { margin: 4cqw 0 4.5cqw; font-family: var(--font-display); font-size: 8cqw; font-weight: 500;
  text-align: center; color: var(--book-ink); letter-spacing: -.02em; }
.book-contents { columns: 2; column-gap: 7cqw; margin: 0; padding: 0; list-style: none; font-size: 2.5cqw; }
.book-contents li { display: flex; align-items: baseline; gap: 1.2cqw; margin-bottom: 1.25cqw; break-inside: avoid; }
.book-contents .book-contents-group { display: block; margin: 1.6cqw 0 1.4cqw; padding-bottom: .8cqw; border-bottom: .22cqw solid var(--book-gold);
  font-size: 1.8cqw; letter-spacing: .18em; text-transform: uppercase; color: var(--book-burgundy); }
.book-contents .book-contents-group:first-child { margin-top: 0; }
.book-note { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 0 6cqw; text-align: center; color: var(--book-muted); }
.book-note p { margin: 0 0 3cqw; font-size: 2.7cqw; line-height: 1.5; }
.book-note .book-note-eyebrow { color: var(--book-burgundy); font-size: 1.9cqw; letter-spacing: .2em; text-transform: uppercase; }
.book-note .book-note-lead { font-family: var(--font-display); font-size: 5cqw; line-height: 1.25; color: var(--book-ink); }
.book-sheet.is-html { background: #fbf8f0; }
.menu-pdf-sheet { width: 100%; aspect-ratio: 595 / 842; box-shadow: 0 3px 14px #3125151f; }
.menu-zoom-page { width: 950px; max-width: none; aspect-ratio: 595 / 842; margin: auto; }
.menu-print { display: none; }

/* Print or save as PDF: the book's pages, one per A4 sheet (the pages already have the A4 ratio). */
@media print {
  @page { size: A4 portrait; margin: 0; }
  body.has-menu-print { background: #fff; min-width: 0; }
  body.has-menu-print > *:not(.menu-print) { display: none !important; }
  body.has-menu-print > .menu-print { display: block; }
  .menu-print-page { width: 210mm; height: 297mm; overflow: hidden; break-after: page; page-break-after: always; }
  .menu-print-page:last-child { break-after: auto; page-break-after: auto; }
  .menu-print-page > img { display: block; width: 100%; height: 100%; object-fit: contain; }
}
