:root {
  color-scheme: light;
  --paper: #f7f3e8;
  --surface: #fffdf7;
  --ink: #253c2d;
  --muted: #53614f;
  --green: #31583c;
  --line: #c9cfbb;
  font: 100%/1.5 system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { max-width: 70rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: absolute; top: .5rem; left: .5rem; z-index: 5; background: white; padding: .7rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0 1rem; }
.masthead { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.2rem; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark img { width: clamp(6.4rem, 14vw, 8.875rem); height: auto; filter: brightness(0) opacity(.86); }
h1 { margin: 0; color: var(--muted); font-size: .95rem; font-weight: 600; }
#languages, #menu-tabs { display: flex; gap: .2rem; }
#languages { flex-wrap: wrap; }
#languages button, #menu-tabs button {
  min-height: 44px; padding: .4rem .8rem; border: 1px solid transparent;
  background: transparent; font-weight: 600; border-radius: .5rem;
}
#languages button { font-size: .88rem; }
#languages button[aria-pressed="true"] { background: #e3e9db; }
#menu-tabs button[aria-pressed="true"] { color: white; background: var(--green); }
.toolbar {
  position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; background: var(--paper); padding: .55rem 0; border-block: 1px solid var(--line);
}
#menu-tabs { min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.search-field input, select {
  max-width: 100%; min-height: 44px; padding: .45rem .7rem; border: 1px solid var(--line);
  border-radius: .55rem; background: var(--surface);
}
.search-field input { width: 18rem; }
.summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .7rem 0; color: var(--muted); }
.summary p, footer p { margin: 0; font-size: .85rem; }
.summary label { max-width: 55%; }
.summary select { font-size: .85rem; }
#menu-content { min-height: 40vh; }
.category-section {
  display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); gap: 1rem 2rem;
  padding: 1.4rem 0 2rem; border-top: 1px solid var(--line); scroll-margin-top: 5rem;
}
h2, h3, .description { overflow-wrap: anywhere; }
h2 { margin: 0; font: 500 clamp(1.4rem, 3vw, 2rem)/1.1 Georgia, serif; }
.category-menu { display: block; margin: 0 0 .35rem; font-size: .78rem; color: var(--muted); }
.product { border-top: 1px solid var(--line); padding: .85rem 0; }
.product:first-child { padding-top: 0; border: 0; }
.item-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.item-heading h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.price { flex: 0 0 auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.description, .details-line, details { margin: .25rem 0 0; color: var(--muted); font-size: .91rem; }
.availability { color: #8a3328; font-weight: 700; }
details summary { width: fit-content; padding: .3rem 0; color: var(--green); font-weight: 600; }
details ul { margin: 0; padding-left: 1.2rem; }
details li { margin: .35rem 0; }
details li p { margin: .1rem 0; }
footer { display: grid; gap: .27rem; color: var(--muted); border-top: 1px solid var(--line); padding: 1.5rem 0 max(2rem, env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
  .site-header { display: block; padding: .5rem 0 .2rem; }
  .masthead { justify-content: space-between; gap: .25rem; }
  #languages button { padding-inline: .7rem; }
  .toolbar { flex-direction: column; align-items: stretch; gap: .35rem; padding: .35rem 0 .5rem; }
  #menu-tabs button { flex: 1 0 auto; padding: .4rem .6rem; font-size: .93rem; }
  .search-field input { width: 100%; font-size: 1rem; }
  .summary { padding: .4rem 0; }
  .category-section { display: block; padding: .9rem 0 1.3rem; scroll-margin-top: 7rem; }
  .product-list { margin-top: .8rem; }
}
