/* Structure of the menu engine (menu.js). Skins in each template's style.css override the
   look through the tokens and the .m-* classes. Colours: theme tokens only. */
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.5; min-width: 0; overflow-wrap: break-word; }
.m-app { min-height: 100svh; }
.m-head, .m-tools, .m-main, .m-empty, .m-legend, .m-foot { width: min(100% - 2.5rem, var(--m-w, 46rem)); margin-inline: auto; }
.m-head__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: max(14px, env(safe-area-inset-top)); }
.m-lang { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.m-lang button { min-width: 40px; height: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 600 12px/1 var(--font-body); letter-spacing: .12em; color: var(--ink-soft); }
.m-lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.m-print { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer; color: var(--ink-soft); font: 500 13px/1 var(--font-body); }
.m-print svg, .m-search svg, .m-meta svg, .m-top svg { width: 18px; height: 18px; flex: none; }
.m-brand { text-align: center; padding: 28px 0 22px; }
.m-brand__deco { margin: 0 auto 6px; width: min(46%, 240px); height: auto; }
.m-name { font: 400 clamp(2.4rem, 9vw, 4rem)/1.04 var(--font-display); letter-spacing: .01em; text-wrap: balance; }
.m-tagline { margin-top: 10px; color: var(--ink-soft); font-style: italic; text-wrap: balance; }
.m-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 18px; color: var(--ink-soft); font-size: .92rem; }
.m-meta li { display: inline-flex; align-items: center; gap: 7px; }
.m-meta a { text-decoration-color: var(--line); text-underline-offset: 3px; }

.m-bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.m-nav { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.m-nav::-webkit-scrollbar { display: none; }
.m-nav ol { display: flex; gap: 6px; width: max-content; min-width: 100%; justify-content: center; padding: 8px 14px; margin-inline: auto; }
.m-nav li { flex: none; }
.m-nav a { display: block; padding: 9px 15px; border-radius: 999px; text-decoration: none; white-space: nowrap; color: var(--ink-soft); font: 500 .95rem/1.2 var(--font-body); transition: background-color .2s, color .2s; }
.m-nav a:hover { background: var(--paper-2); }
.m-nav a[aria-current="true"] { background: var(--ink); color: var(--paper); }

.m-tools { display: grid; gap: 12px; padding-block: 22px 6px; }
.m-search { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); color: var(--ink-soft); }
.m-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.m-search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: none; color: var(--ink); font-size: 16px; }
.m-search input::placeholder { color: var(--ink-soft); opacity: .8; }
.m-search input::-webkit-search-cancel-button { display: none; }
.m-search__clear { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.m-search__clear svg { width: 16px; height: 16px; }
.m-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); cursor: pointer; font: 500 .9rem/1 var(--font-body); }
.m-chip__code { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; background: var(--paper-3); font: 700 10px/1 var(--font-body); letter-spacing: .04em; }
.m-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.m-chip[aria-pressed="true"] .m-chip__code { background: var(--paper); color: var(--ink); }
.m-count { min-height: 1.4em; font-size: .85rem; color: var(--ink-soft); }
.m-count:empty { display: none; }

.m-main { padding-block: 8px 20px; }
.m-sec { padding-top: 34px; scroll-margin-top: calc(var(--bar-h, 56px) + 6px); }
.m-sec[hidden], .m-item[hidden] { display: none; }
.m-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 8px; }
.m-sec__head h2 { font: 400 clamp(1.7rem, 5.4vw, 2.3rem)/1.1 var(--font-display); outline: none; }
.m-sec__n { display: none; }
.m-sec__desc { flex-basis: 100%; color: var(--ink-soft); font-style: italic; }
.m-items { display: grid; }
.m-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); break-inside: avoid; page-break-inside: avoid; }
.m-item__img { flex: none; width: 92px; aspect-ratio: 4 / 3; align-self: flex-start; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.m-item__img img { width: 100%; height: 100%; object-fit: cover; }
.m-item__body { flex: 1; min-width: 0; }
.m-item__row { display: flex; align-items: baseline; gap: 8px; }
.m-item__name { font: 600 1.08rem/1.25 var(--font-body); }
.m-item__dots { flex: 1; min-width: 12px; align-self: flex-end; margin-bottom: .35em; border-bottom: 1px dotted var(--line); }
.m-price { font-weight: 600; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.m-item__desc { margin-top: 3px; color: var(--ink-soft); font-size: .98rem; max-width: 52ch; }
.m-variants { display: grid; gap: 2px; margin-top: 6px; }
.m-variants li { display: flex; justify-content: space-between; gap: 14px; color: var(--ink-soft); font-size: .95rem; }
.m-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.m-tag { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border: 1px solid var(--ink-soft); border-radius: 999px; font: 700 10px/1 var(--font-body); letter-spacing: .05em; color: var(--ink-soft); }
.m-als { display: inline-flex; gap: 3px; }
.m-al { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--paper-3); color: var(--ink); font: 600 10.5px/1 var(--font-body); font-variant-numeric: lining-nums; }

.m-empty { padding: 50px 0; text-align: center; color: var(--ink-soft); }
.m-empty[hidden] { display: none; }
.m-empty__clear { margin-top: 14px; min-height: 42px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; background: none; cursor: pointer; }
.m-legend { margin-top: 20px; padding-block: 8px; border-top: 1px solid var(--line); }
.m-legend[hidden] { display: none; }
.m-legend summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; font: 600 .82rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); list-style: none; }
.m-legend summary::-webkit-details-marker { display: none; }
.m-legend summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
.m-legend details[open] summary::after { content: "\2212"; }
.m-legend__intro { color: var(--ink-soft); font-size: .95rem; }
.m-legend__sub { margin-top: 16px; font-weight: 600; font-size: .9rem; }
.m-legend__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 8px 16px; margin: 12px 0 8px; font-size: .95rem; }
.m-legend__list li { display: flex; align-items: center; gap: 9px; }
.m-foot { padding: 14px 0 80px; text-align: center; color: var(--ink-soft); font-size: .88rem; }
.m-top { position: fixed; z-index: 30; left: max(12px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.m-top.is-on { opacity: 1; pointer-events: auto; transform: none; }

@media (min-width: 900px) {
  body { font-size: 18px; }
  .m-item__img { width: 120px; }
}
@media (min-width: 1800px) { html { font-size: 112.5%; } }
.is-embed .m-top, .is-embed .m-print { display: none; }

@media print {
  :root { --paper: #fff; --ink: #000; --ink-soft: #222; --line: #bbb; --paper-2: #fff; --paper-3: #eee; --accent-ink: #000; }
  html { font-size: 11pt; } html.is-dark { background: #fff; }
  body { background: #fff !important; color: #000; }
  body::before, body::after { display: none !important; }
  .m-bar, .m-tools, .m-top, .m-print, .m-lang, .vora-badge, .m-empty, .m-sec__n { display: none !important; }
  .m-head, .m-main, .m-legend, .m-foot { width: 100%; }
  .m-brand { padding: 0 0 12pt; } .m-brand__deco { width: 90pt; filter: grayscale(1) !important; mix-blend-mode: normal !important; }
  .m-sec { padding-top: 14pt; break-inside: auto; } .m-sec__head { break-after: avoid; }
  .m-item { padding: 6pt 0; break-inside: avoid; } .m-item__img { width: 64pt; filter: grayscale(1); }
  .m-legend details > * { display: block; } .m-legend summary::after { content: none; }
  a { text-decoration: none; }
}
.m-app [hidden] { display: none !important; }
@media (max-width: 699px) {
  .m-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.25rem; padding: 2px 1.25rem 6px; scrollbar-width: none; }
  .m-filters::-webkit-scrollbar { display: none; }
  .m-chip { flex: none; white-space: nowrap; }
}
