/* Components used by pages generated with menus/build.py.
   Loaded after css/menu.css and the per-location menu stylesheet, and reuses
   their --menu-* variables (with fallbacks for pages that don't define them). */

/* Inline extras after an item name: serving size, Ω marker, dietary tags */
.mi-size,
.mi-tags,
.mi-marker {
  font-weight: 400;
  white-space: nowrap;
}

.mi-size {
  font-size: 0.85em;
  color: var(--menu-text-soft, rgb(34 31 32 / 0.68));
}

.mi-marker {
  color: var(--menu-accent-light, var(--burgundy));
}

.mi-tags {
  font-family: var(--font-subhead);
  font-weight: 900;
  font-size: 0.78em;
  letter-spacing: 0.08em;
  color: var(--menu-accent-light, var(--burgundy));
}

/* Text for screen readers only (spoken meaning of V, GF, Ω) */
.mi-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* add: / substitute: / vegan option: lines */
.mi-mod {
  margin: 0.3rem 0 0;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--menu-text-soft, rgb(34 31 32 / 0.72));
}

.mi-mod__label {
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--menu-accent-light, var(--burgundy));
}

/* Sub-heading of a menu (e.g. "2–5pm daily" under Happy hour) */
.menu-section-note--hours {
  color: var(--menu-accent-light, var(--burgundy));
}

/* Anchor for sections without a visible heading */
.menu-anchor {
  display: block;
  scroll-margin-top: 5.75rem;
}

/* Boxed groups and items: Zero proof, Make it a meal, Sharing platter */
.menu-box,
.mi--callout,
.mi--bundle {
  border: 1px solid var(--menu-border, rgb(110 76 31 / 0.45));
  border-radius: 14px;
  background: var(--menu-surface, rgb(255 250 222 / 0.6));
}

.menu-box {
  margin: 1.25rem 0 0.5rem;
  padding: 0.25rem 1rem 0.75rem;
  scroll-margin-top: 5.75rem;
}

.mi--callout,
.mi--bundle {
  padding: 0.85rem 1rem;
  margin-top: 0.35rem;
}

.mi-callout__title {
  margin: 0;
  font-family: var(--font-subhead);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--menu-accent-light, var(--burgundy));
}

.mi-includes {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0;
  font-size: 0.96rem;
  color: var(--menu-text, rgb(34 31 32 / 0.86));
}

.mi-includes li + li::before {
  content: "·";
  padding: 0 0.5rem;
  color: var(--menu-text-muted, rgb(34 31 32 / 0.45));
}

/* Policy lines at the end of each menu */
.menu-notes {
  margin: 1.1rem 0 0;
}

.menu-notes p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--menu-text-muted, rgb(34 31 32 / 0.6));
}

@media (max-width: 900px) {
  .menu-anchor,
  .menu-box {
    scroll-margin-top: 7.5rem;
  }
}

@media (max-width: 600px) {
  .menu-box {
    padding: 0.15rem 0.85rem 0.6rem;
  }

  .mi--callout,
  .mi--bundle {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--menu-border, rgb(110 76 31 / 0.45));
  }

  .mi-mod {
    font-size: 0.9rem;
  }
}
