/* ═══════════════════════════════════════════════════════════
   MADRE TAPAS — styles.css
   Paleta: sage green #82BAAC · white bg · near-black text
   Fuentes: Cinzel (headings) · Montserrat (body) — autoalojadas
═══════════════════════════════════════════════════════════ */

@import url('fonts.css');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --sage:       #6A8A82;
  --sage-dk:    #3D6660;
  --bg:         #F7F7F5;
  --dark:       #1A3230;
  --d12:        rgba(26, 50, 48, .12);
  --d50:        rgba(26, 50, 48, .50);
  --text-muted: rgba(26, 50, 48, .65);
  --font-hl:    'Cinzel', Georgia, serif;
  --font:       'Montserrat', sans-serif;
}

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .5rem 1.25rem;
  background: var(--dark);
  color: var(--sage);
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  border: 2px solid var(--sage);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* ── FOCUS VISIBLE ───────────────────────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage-dk);
  outline-offset: 4px;
  border-radius: 2px;
}

a, button, .af-btn, .af-reset, .nav-link, .lang-btn, .float-btn {
  touch-action: manipulation;
}

/* ── RESET ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

::selection {
  background: var(--sage);
  color: var(--bg);
}

/* ── BODY ────────────────────────────────────────────────── */
body {
  position: relative;
  width: 100%;
  font-synthesis: none;
  font-family: var(--font);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(26,50,48,.04) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--d12); }
::-webkit-scrollbar-thumb:hover { background: var(--sage); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(400px, 70vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark);
  overflow: hidden;
  padding: 2rem 2rem 0;
}

.hero-blob {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-blob-a,
.hero-blob-b {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  top: 50%;
  left: 50%;
}

.hero-blob-a {
  width: 180%;
  height: 45%;
  background: radial-gradient(ellipse at center,
    rgba(106, 138, 130, .55) 0%,
    rgba(106, 138, 130, .18) 38%,
    transparent 62%
  );
}

.hero-blob-b {
  width: 120%;
  height: 30%;
  background: radial-gradient(ellipse at center,
    rgba(130, 186, 172, .30) 0%,
    rgba(130, 186, 172, .07) 42%,
    transparent 64%
  );
}

.hero-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grainShift .9s steps(1) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(  0%,  0%); }
  20%  { transform: translate( -4%,  7%); }
  40%  { transform: translate(  5%, -6%); }
  60%  { transform: translate( -7%,  3%); }
  80%  { transform: translate(  3%,  8%); }
  100% { transform: translate(  0%,  0%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-grain { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: rgba(130, 186, 172, .85);
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(130, 186, 172, .35);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--font-hl);
  font-size: clamp(2.5rem, 7vw, 50px);
  font-weight: normal;
  letter-spacing: 0.03em;
  line-height: .88;
  color: #F1F0E8;
  margin-bottom: 1.5rem;
}

.hero h1 .go { color: var(--sage); }

.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--sage);
  opacity: .55;
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(130, 186, 172, .9);
  margin-bottom: 3rem;
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  transform: translateZ(0);
  top: 0;
  z-index: 500;
  padding: .55rem 1.5rem .3rem;
  background: rgba(247,247,245,.97);
  border-bottom: 1px solid var(--d12);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  overflow: visible;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav {
    background: rgba(247,247,245,.93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo {
  display: block;
  height: 55px;
  width: auto;
}

.nav-links {
  order: 10;
  width: 100%;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  border-top: 1px solid var(--d12);
  padding-top: .15rem;
}

/* ── FILTRO DE CATEGORÍAS ─────────────────────────────────── */
.cat-bar {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
}

.cat-btn {
  padding: .27rem .85rem;
  font-family: var(--font);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: 1px solid rgba(26,50,48,.2);
  border-radius: 99px;
  background: transparent;
  color: var(--text-muted, #888);
  cursor: pointer;
  line-height: 1.2;
  transition: color .18s, background .18s, border-color .18s;
}
.cat-btn:hover  { color: var(--dark); border-color: rgba(26,50,48,.4); }
.cat-btn.active { color: var(--bg); background: var(--dark); border-color: var(--dark); }

/* ── ESTADOS OCULTOS ─────────────────────────────────────── */
.sec--hidden       { display: none !important; }
.page-rule--hidden { display: none !important; }

/* ── VINOS — columnas precio ─────────────────────────────── */
.wine-cols {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  padding: .4rem .6rem .2rem;
}

.wine-cols span {
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 44px;
  text-align: right;
}

.mi-price-dual {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.mi-price-dual .mi-price {
  min-width: 44px;
  text-align: right;
}

.mi-price-empty {
  min-width: 44px;
  text-align: right;
  color: var(--text-muted);
  font-size: .75rem;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-link {
  white-space: nowrap;
  padding: .4rem .85rem;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
  scroll-snap-align: start;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sage-dk);
  border-bottom-color: var(--sage-dk);
}

.nav-group-sep {
  width: 1px;
  height: 16px;
  background: var(--d12);
  flex-shrink: 0;
  align-self: center;
  margin: 0 .25rem;
}

/* ── LANG SELECTOR ───────────────────────────────────────── */
.lang-sel {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-shrink: 0;
}

.lang-btn {
  font-family: var(--font);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: .3rem .45rem;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
  line-height: 1;
}

.lang-btn:hover { color: var(--dark); }
.lang-btn.active { color: var(--sage-dk); border-bottom-color: var(--sage-dk); }
.lang-sep { width: 1px; height: 10px; background: var(--d12); }

/* ── MAIN ────────────────────────────────────────────────── */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

/* ── SECTION SCAFFOLD ────────────────────────────────────── */
.sec {
  contain: layout paint;
  padding: 1.5rem 0 1rem;
  scroll-margin-top: 100px;
}

/* ── ANIMACIONES ─────────────────────────────────────────── */
.will-animate,
.fade-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}

.will-animate.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .will-animate,
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── ALÉRGENOS ───────────────────────────────────────────── */
.allergens {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-top: .4rem;
}

.allergen {
  width: 22px;
  height: 15px;
  object-fit: cover;
  object-position: center top;
  cursor: default;
  user-select: none;
  display: block;
  flex-shrink: 0;
}

/* ── FILTRO ALÉRGENOS ────────────────────────────────────── */
.allergen-filter-section {
  background: var(--bg);
  border-bottom: 1px solid var(--d12);
  padding: 1rem 1.5rem;
}

.af-inner { max-width: 960px; margin: 0 auto; }

.af-title {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--sage-dk);
  margin-bottom: 0;
}

.af-sub {
  font-size: .72rem;
  color: var(--text-muted);
  font-style: italic;
}

.af-open-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: none;
  border: 1px solid var(--sage);
  padding: .55rem 1.1rem;
  cursor: pointer;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--sage-dk);
  transition: border-color .18s, background .18s;
  touch-action: manipulation;
  border-radius: 0;
}

.af-open-btn:hover {
  border-color: var(--sage-dk);
  background: rgba(106, 138, 130, .08);
}

/* ── Sidebar alérgenos ────────────────────────────────── */
.af-no-scroll { overflow: hidden; }

.af-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(320px, 90vw);
  background: var(--bg);
  z-index: 600;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 40px rgba(26, 50, 48, .15);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.af-sidebar.open { transform: translateX(0); }

.af-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 50, 48, .45);
  z-index: 599;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.af-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.af-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--d12);
  flex-shrink: 0;
}

.af-sidebar-head .af-title { margin-bottom: 0; }

.af-sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color .18s, background .18s;
  touch-action: manipulation;
}

.af-sidebar-close:hover {
  color: var(--dark);
  background: var(--d12);
}

.af-sidebar-sub {
  padding: .75rem 1.5rem;
  border-bottom: 1px solid var(--d12);
  flex-shrink: 0;
}

.af-sidebar-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.af-sidebar-body .af-btns {
  flex-direction: column;
  align-items: stretch;
  gap: .3rem;
}

.af-sidebar-body .af-btn {
  justify-content: flex-start;
  padding: .55rem .75rem;
}

.af-sidebar-body .af-reset {
  margin-top: .5rem;
  text-align: left;
}

.af-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}

.af-btn img {
  display: block;
  width: 18px;
  height: 12px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.af-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .75rem;
  border: 1px solid var(--sage);
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  font-size: .63rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background .15s, border-color .15s, color .15s;
  user-select: none;
  border-radius: 0;
}

.af-btn:hover {
  border-color: var(--sage-dk);
  color: var(--dark);
  background: rgba(106, 138, 130, .08);
}

.af-btn.active {
  background: rgba(106, 138, 130, .18);
  border-color: var(--sage-dk);
  color: var(--dark);
}

.af-reset {
  border-color: transparent;
  color: var(--text-muted);
  font-size: .72rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  font-family: var(--font);
  font-weight: 600;
  padding: .35rem .5rem;
}
.af-reset:hover { color: var(--dark); }

.mi.mi-hidden {
  opacity: .12 !important;
  pointer-events: none;
}

/* ── PAGE RULE ───────────────────────────────────────────── */
.page-rule {
  height: 1px;
  background: rgba(106, 138, 130, .35);
  margin: .5rem 0;
}

.page-rule--drinks {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--sage), transparent);
  margin: 2rem 0 .5rem;
  opacity: .6;
}

/* ── SECTION LABELS ──────────────────────────────────────── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--sage-dk);
  margin-bottom: .6rem;
}

.sec-label-icon {
  font-size: 1rem;
  line-height: 1;
}

.sec-title {
  font-family: var(--font-hl);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: .3rem;
}

.sec-title .go { color: var(--sage-dk); }

.sec-sub {
  font-size: .77rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
  margin-top: .5rem;
}

.sec-rule {
  clear: both;
  height: 1px;
  margin: 1.75rem 0 2rem;
  background: rgba(106, 138, 130, .4);
}

/* ── MENU LIST ───────────────────────────────────────────── */
.mlist {
  display: grid;
  grid-template-columns: 1fr;
}

/* c2 desactivado — todo en una columna */
/* @media (min-width: 680px) {
  .mlist.c2 {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
  }
} */

.mi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .9rem .5rem;
  margin: 0 -.5rem;
  border-bottom: 1px solid var(--d12);
  transition: opacity .45s ease, transform .45s ease,
              background-color .18s ease, border-bottom-color .18s ease;
  cursor: default;
}

.mi:last-child { border-bottom: none; }

.mi:hover {
  background-color: rgba(106, 138, 130, .07);
  border-bottom-color: rgba(106, 138, 130, .30);
}

.mi-l {
  flex: 1;
  min-width: 0;
}

.mi-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.38;
}

.mi-desc {
  font-size: .72rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  margin-top: .15rem;
}

.mi-price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--sage-dk);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── SUBSECCIONES ────────────────────────────────────────── */
.subsec { margin-top: 2.25rem; }
.subsec:first-child { margin-top: 0; }

.subsec-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--sage-dk);
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(106, 138, 130, .4);
  margin-bottom: .25rem;
}

/* ── CALLOUT BOX ─────────────────────────────────────────── */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--sage);
  background: rgba(106, 138, 130, .08);
}

.callout p {
  font-size: .76rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.callout strong {
  color: var(--dark);
  font-style: normal;
  display: block;
  margin-bottom: .25rem;
  font-size: .8rem;
}

/* ── NOTE / NOTICE ───────────────────────────────────────── */
.note {
  margin: 1.25rem 0;
  padding: .85rem 1.25rem;
  border-left: 3px solid rgba(106, 138, 130, .5);
  background: rgba(106, 138, 130, .06);
}

.note p {
  font-size: .73rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.note strong { color: var(--dark); font-style: normal; }

/* ── BADGE NUEVO ─────────────────────────────────────────── */
.badge-new {
  display: inline-flex;
  font-size: .5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .15rem .4rem;
  margin-left: .4rem;
  vertical-align: middle;
  background: rgba(106, 138, 130, .18);
  color: var(--sage-dk);
  border: 1px solid rgba(106, 138, 130, .45);
  border-radius: 0;
  line-height: 1.4;
}

/* ── VARIADOS MARK ───────────────────────────────────────── */
.variados-mark {
  font-size: .78em;
  color: var(--sage-dk);
  font-style: normal;
  margin-left: .2rem;
  opacity: .75;
}

/* ── PRECIO TABLA HEADER ─────────────────────────────────── */
.price-header {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  padding: .3rem .5rem .2rem;
  margin: 0 -.5rem;
}

.price-header span {
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 50px;
  text-align: right;
}

/* price-header-row: ocultar duplicado (c2 desactivado) */
.price-header-row {
  display: flex;
}
.price-header-row .price-header:last-child {
  display: none;
}

/* ── FOTOS DE SECCIÓN ────────────────────────────────────── */
.sec-photo {
  float: right;
  width: 160px;
  height: 160px;
  margin: 0 0 0.5rem 1.5rem;
  overflow: hidden;
  border-radius: 12px;
  shape-outside: border-box;
}

.sec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .sec-photo {
    width: 110px;
    height: 110px;
    margin: 0 0 0.5rem 1rem;
  }
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  z-index: 9998;
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lb-overlay.open { display: flex; }

.lb-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0, 0, 0, .6);
  pointer-events: none;
}

/* ── FLOAT BUTTON ────────────────────────────────────────── */
.float-btn {
  position: fixed;
  bottom: max(2rem, calc(1.5rem + env(safe-area-inset-bottom)));
  right: max(2rem, calc(1.5rem + env(safe-area-inset-right)));
  z-index: 490;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.75rem;
  background: var(--sage-dk);
  color: #fff;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-decoration: none;
  border-radius: 0;
  box-shadow: 0 8px 40px rgba(26, 50, 48, .22), 0 2px 8px rgba(26, 50, 48, .10);
  transition: background .22s, transform .22s, box-shadow .22s;
}

.float-btn:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(61, 102, 96, .28);
}

.float-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: max(2rem, calc(1.5rem + env(safe-area-inset-bottom)));
  left: max(2rem, calc(1.5rem + env(safe-area-inset-left)));
  z-index: 490;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border: 1px solid rgba(106, 138, 130, .4);
  border-radius: 50%;
  color: var(--sage);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .18s, border-color .18s;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--sage-dk);
  border-color: var(--sage-dk);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 1.5rem max(3rem, calc(2rem + env(safe-area-inset-bottom)));
}

.footer-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.f-brand { display: flex; flex-direction: column; gap: .75rem; }

.f-logo-img {
  max-height: 70px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.f-tagline {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.f-col h5 {
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .85rem;
}

.f-col a,
.f-col p,
.f-col address {
  display: block;
  font-style: normal;
  font-size: .8rem;
  line-height: 1.85;
  color: rgba(255,255,255,.5);
  text-decoration: none;
}

.f-col a:hover { color: var(--sage); }

.f-col-note {
  margin-top: .6rem;
  font-size: .7rem !important;
  color: rgba(255,255,255,.3) !important;
  font-style: italic;
}

.f-bottom {
  max-width: 960px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .62rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .02em;
}

.f-bottom a {
  color: rgba(255,255,255,.4);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.2);
}

.f-bottom a:hover { color: var(--sage); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .allergen-filter-section { padding: .85rem 1rem; }

  .nav {
    flex-wrap: wrap;
    height: auto;
    padding: .5rem 1.5rem .3rem;
    gap: .25rem;
  }

  .nav-brand { flex: 1; }

  .cat-bar {
    order: 2;
    flex: none;
    width: 100%;
    padding: .2rem 0 .15rem;
    margin-top: .1rem;
    border-top: 1px solid var(--d12);
  }
  .cat-btn { font-size: .56rem; padding: .22rem .5rem; }

  .nav-links {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--d12);
    padding-top: .25rem;
    margin-top: .1rem;
  }

  .nav-link {
    padding: .4rem .7rem;
    font-size: .6rem;
  }

  .sec { scroll-margin-top: 130px; }

  .hero {
    min-height: 50vh;
    padding: 2rem 1.25rem 0;
  }

  main { padding: 0 1rem 4rem; }

  .float-btn {
    padding: .85rem 1.4rem;
    font-size: .68rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (min-width: 641px) {
  .hero { min-height: 60vh; }
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  :root {
    --sage:    #000;
    --sage-dk: #000;
    --bg:      #fff;
    --dark:    #000;
    --text-muted: rgba(0,0,0,.6);
  }

  .nav, .float-btn, .allergen-filter-section,
  .hero-grain, .hero-blob, .sec-photo,
  .back-to-top { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }
  .footer { background: #fff; padding: 1rem 0; }
  .footer * { color: #000 !important; }
  a[href]::after { content: none; }

  .sec { page-break-inside: avoid; break-inside: avoid; }

  .hero {
    background: #fff;
    padding: 1.5rem;
    min-height: auto;
  }

  .hero h1    { color: #000; font-size: 1.8rem; line-height: 1.2; }
  .hero-rule  { display: none; }
  .hero-eyebrow,
  .hero-tagline { color: #555; }
}
