/* =========================================================================
   PIZZERÍA ALEGRÍA · styles.css (v3)
   Dirección: pop editorial de marca + lenguaje fotográfico nocturno
   (inspiración napofficial.com): fotografía a sangre, negro cálido,
   Playfair Display muy pesada y sellos en Bebas Neue.
   Forma: interactivos en píldora, tarjetas 22px, bloques grandes 28px,
   campos 12px.
   ========================================================================= */

/* ---------- 0. Fuentes (autoalojadas: sin peticiones a Google, RGPD) ---------- */
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-display-latin-700-italic.woff2") format("woff2"); font-weight: 700 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-display-latin-900-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("assets/fonts/lora-latin-400-normal.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("assets/fonts/lora-latin-400-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-800-normal.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("assets/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- 1. Tokens ---------- */
:root {
  --cream: #FFE3C8;
  --paper: #FFF4E8;
  --bone: #F2E8DC;
  --mustard: #F2B137;
  --mustard-d: #D9951A;
  --olive: #817E37;
  --olive-d: #5E5C24;
  --olive-deep: #6B6829; /* oliva de marca un paso más oscuro: texto crema a 5,3:1 */
  --ink: #1E1B16;
  --ink-2: #4A443B;
  --night: #171512;
  --wa: #1FAF5A;

  --line: 2.5px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 22px;
  --radius-lg: 28px;
  --radius-sm: 14px;

  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-stamp: "Bebas Neue", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-serif: "Lora", Georgia, serif;
  --f-sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --ease-spring: cubic-bezier(.16, 1, .3, 1); /* expo-out: sin rebote */

  --gutter: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --maxw: 1320px;
  --nav-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button, a, [role="button"], [role="tab"], .seg label, .switch, .check { touch-action: manipulation; }
button, [role="button"], [role="tab"], .seg label, .switch, .sticker, .dipchip {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
address { font-style: normal; }
p, li, blockquote, .card__ing, .dessert__ing { text-wrap: pretty; }
.card__name, .dessert__name, .pz__title, .cart__head h3, .loyalty h2 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mustard); color: var(--ink); }
html { accent-color: var(--olive); caret-color: var(--olive-d); scrollbar-color: var(--ink) var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
body.is-locked { overflow: hidden; }

/* ---------- 3. Tipografía ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(44px, 8vw, 112px); line-height: .95; padding-bottom: .08em; }
.h2 em, .hero__title em, .final__title em { font-style: italic; color: var(--olive); }
.stamp { font-family: var(--f-stamp); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: .9; }
.section-head { display: grid; gap: 18px; margin-bottom: 40px; }
.section-head__lead { font-family: var(--f-serif); font-size: 19px; color: var(--ink-2); max-width: 52ch; }

/* ---------- 4. Botones ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--bg); color: var(--fg);
  border: var(--line); border-radius: 99px;
  font-weight: 800; font-size: 16px; text-decoration: none; letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .2s;
  user-select: none; -webkit-user-select: none;
  white-space: nowrap;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); transition-duration: .06s; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--xl { min-height: 68px; padding: 18px 38px; font-size: 20px; }
.btn--mustard { --bg: var(--mustard); }
.btn--ink { --bg: var(--ink); --fg: var(--cream); }
.btn--ghost { --bg: transparent; }
.btn--light { --bg: var(--paper); }
.btn--wa { --bg: var(--wa); --fg: #fff; width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Hover solo con ratón real: en táctil se quedaría "pegado" tras el toque */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
  .btn.nav__cart:hover { box-shadow: none; transform: none; background: var(--olive-d); }
  .nav__links a:hover { background: var(--cream); }
  .card:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 8px 8px 0 var(--ink); }
  .card:hover .card__img img { transform: rotate(32deg) scale(1.05); }
  .card:hover .card__add { transform: rotate(90deg); background: var(--ink); color: var(--mustard); }
  .dessert:hover .dessert__img img { transform: translateY(-8px) rotate(-2deg); }
  .drink__add:hover { background: var(--mustard); transform: rotate(90deg); }
  .filters button:hover { background: var(--cream); }
  .sheet__close:hover { transform: rotate(90deg); background: var(--mustard); }
  .footer a:hover, .footer button:hover { color: var(--mustard); }
  .qty button:hover { background: var(--cream); }
  .dipchip:hover { transform: translateY(-2px); }
  .gallery__rail img:hover { transform: scale(1.02) rotate(-.6deg); }
  .pillar:hover img { transform: scale(1.04); }
  .legal__doc summary:hover { color: var(--olive-d); }
}

/* ---------- 5. Nav ---------- */
.nav {
  position: fixed; z-index: 40;
  top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), var(--maxw));
  height: 64px;
  display: flex; align-items: center; gap: 20px;
  padding: 0 10px 0 20px;
  background: rgba(255, 244, 232, .94);
  border: var(--line); border-radius: 99px;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out);
}
@supports (backdrop-filter: blur(10px)) {
  .nav { background: rgba(255, 244, 232, .8); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); }
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__logo img { width: 128px; height: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 99px; transition: background-color .2s; }
.nav__status { font-size: 13px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.nav__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2); }
.nav__status.is-open::before { background: var(--wa); box-shadow: 0 0 0 3px rgba(31, 175, 90, .25); }
.nav__cart { min-height: 46px; padding: 8px 10px 8px 18px; box-shadow: none; }
.badge { min-width: 26px; height: 26px; padding: 0 7px; display: inline-grid; place-items: center; background: var(--mustard); color: var(--ink); border-radius: 99px; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.badge.is-bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.4); } }

/* ---------- 6. Hero (fotografía a sangre) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  padding: calc(var(--nav-h) + 60px) var(--gutter) clamp(48px, 8vh, 96px);
  background: var(--night); color: var(--paper);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform-origin: 60% 50%; will-change: transform; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 21, 18, .92) 0%, rgba(23, 21, 18, .72) 38%, rgba(23, 21, 18, .12) 70%),
    linear-gradient(0deg, rgba(23, 21, 18, .7) 0%, rgba(23, 21, 18, 0) 45%);
}
.hero__inner { max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(60px, 10vw, 150px); line-height: .9; letter-spacing: -.035em; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.12em; white-space: nowrap; }
.hero__title .line > * { display: inline-block; }
.hero__title em { color: var(--mustard); padding-right: .06em; }
.hero__lead { font-family: var(--f-serif); font-size: clamp(18px, 1.6vw, 21px); max-width: 34ch; color: rgba(255, 244, 232, .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .btn { box-shadow: 3px 3px 0 var(--paper); }
.hero__stickers { position: absolute; right: clamp(16px, 6vw, 110px); top: calc(var(--nav-h) + 60px); display: grid; gap: 18px; justify-items: end; }

.sticker { position: relative; z-index: 3; display: grid; place-items: center; align-content: center; text-align: center; border: var(--line); border-radius: 50%; font-weight: 800; line-height: 1.05; font-size: 15px; box-shadow: var(--shadow-sm); }
.sticker--olive { background: var(--olive-deep); color: var(--paper); }
.sticker--mustard { background: var(--mustard); color: var(--ink); }
.sticker--cream { background: var(--paper); color: var(--ink); }
.sticker b { font-family: var(--f-display); font-size: 2.1em; line-height: .9; }
.sticker svg { color: var(--mustard-d); margin: 0 auto 2px; }
.sticker__big { font-family: var(--f-stamp); font-size: 2.05em; line-height: .86; letter-spacing: .02em; text-transform: uppercase; font-weight: 400; }
.sticker__small { display: block; font-size: 11px; font-weight: 700; line-height: 1.15; margin-top: 4px; max-width: 9ch; }
.hs1 { width: 132px; height: 132px; transform: rotate(-10deg); }
.hs2 { width: 120px; height: 120px; transform: rotate(8deg); margin-right: 40px; }

/* ---------- 7. Banda ---------- */
.band { background: var(--mustard); color: var(--ink); border-block: var(--line); overflow: hidden; padding: 14px 0 10px; }
.band__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: band 36s linear infinite; font-family: var(--f-stamp); font-size: clamp(30px, 3.6vw, 48px); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.band__track svg { color: var(--ink); flex: none; margin-top: -6px; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- 8. Pilares ---------- */
.secrets { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 10vw, 130px) var(--gutter) 0; }
.secrets__head { display: grid; gap: 18px; margin-bottom: 40px; }
.pillar__n { justify-self: start; width: 44px; height: 44px; border-radius: 50%; background: var(--mustard); color: var(--ink); border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 22px; }
.pantry { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 20px 22px; background: var(--cream); border: var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.pantry__title { font-size: 30px; color: var(--olive-d); flex: none; }
.pantry__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pantry__list li { padding: 6px 14px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); font-weight: 700; font-size: 14px; font-style: italic; }
.pillars { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; min-height: min(92vh, 860px); }
.pillar { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: var(--line); background: var(--night); isolation: isolate; }
.pillar--a { grid-row: 1 / 3; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 21, 18, .85) 0%, rgba(23, 21, 18, 0) 55%); }
.pillar figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: var(--paper); display: grid; gap: 8px; }
.pillar figcaption > span:last-child { font-family: var(--f-serif); font-size: 17px; max-width: 32ch; }
.pillar .stamp { font-size: clamp(48px, 6vw, 92px); color: var(--mustard); }
.pillar--b .stamp, .pillar--c .stamp { font-size: clamp(40px, 4.4vw, 64px); }


/* ---------- 8b. Historia ---------- */
.history { background: var(--night); color: var(--paper); padding: clamp(80px, 11vw, 150px) var(--gutter); }
.history__head { max-width: var(--maxw); margin: 0 auto clamp(48px, 7vw, 90px); display: grid; gap: 22px; }
.history__head .h2 em { color: var(--mustard); }
.history__lead { font-family: var(--f-serif); font-size: clamp(19px, 1.8vw, 23px); max-width: 52ch; color: rgba(255, 244, 232, .85); }
.timeline { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: clamp(22px, 3vw, 40px); position: relative; counter-reset: none; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: clamp(52px, 6.4vw, 92px); height: 2px; background: repeating-linear-gradient(90deg, var(--mustard) 0 10px, transparent 10px 18px); }
.chapter { position: relative; display: grid; gap: 14px; align-content: start; }
.chapter__year { display: inline-block; font-size: clamp(76px, 10vw, 150px); color: var(--mustard); background: var(--night); padding-right: 14px; justify-self: start; position: relative; }
.chapter__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.chapter p { font-family: var(--f-serif); font-size: 17px; color: rgba(255, 244, 232, .82); max-width: 40ch; }
.chapter__badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 16px 6px; border: 2.5px solid var(--paper); border-radius: 99px; font-family: var(--f-stamp); font-size: 26px; line-height: 1; color: var(--paper); transform: rotate(-4deg); }
.chapter__badge svg { color: var(--mustard); margin-top: -4px; }
.chapter__photo { margin-top: 8px; border-radius: var(--radius); overflow: hidden; border: 2.5px solid var(--paper); aspect-ratio: 4 / 3; transform: rotate(1.5deg); }
.chapter__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.history--compact { padding: clamp(60px, 8vw, 100px) var(--gutter); }
.history--compact .history__head { margin-bottom: clamp(32px, 5vw, 56px); }
.history--compact .chapter__year { font-size: clamp(56px, 6vw, 92px); }
.history--compact .timeline::before { top: clamp(38px, 4vw, 58px); }
.history--compact .chapter__photo { max-width: 360px; }

/* Visor de la carta */
.nav__pdf { font-weight: 800; font-size: 14px; padding: 7px 14px; border: var(--line); border-radius: 99px; background: var(--mustard); margin-left: 8px; transition: transform .15s var(--ease-out); }
.nav__pdf:active { transform: scale(.96); }
.section-head__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sheet--carta .sheet__panel { width: min(820px, calc(100% - 32px)); height: calc(100% - 48px); }
.carta__head { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 22px; border-bottom: var(--line); }
.carta__head h3 { font-family: var(--f-display); font-weight: 900; font-size: 26px; white-space: nowrap; }
.carta__head .sheet__close { position: static; margin-left: auto; flex: none; }
.carta__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.carta__tabs button { flex: none; min-height: 40px; padding: 6px 14px; border: var(--line); border-radius: 99px; font-weight: 700; font-size: 14px; background: var(--paper); transition: background-color .15s, transform .15s var(--ease-out); }
.carta__tabs button:active { transform: scale(.96); }
.carta__tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.carta__pages { flex: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; background: #E9E1D6; scrollbar-width: none; }
.carta__pages::-webkit-scrollbar { display: none; }
.carta__pages img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; padding: 14px; }
.carta__foot { display: flex; gap: 12px; justify-content: flex-end; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: var(--line); }

/* ---------- 9. Pizza del mes ---------- */
.month { padding: clamp(80px, 11vw, 140px) var(--gutter); }
.month[hidden] { display: none; }
.month__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; background: var(--olive-deep); color: var(--paper); border: var(--line); border-radius: var(--radius-lg); box-shadow: 10px 10px 0 var(--ink); padding: clamp(28px, 5vw, 70px); position: relative; overflow: hidden; }
.month__art { position: relative; aspect-ratio: 1; max-width: 540px; width: 100%; justify-self: center; }
.month__pizza { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); z-index: 2; }
.month__photo { position: absolute; width: 38%; aspect-ratio: 1; object-fit: cover; left: -4%; bottom: -2%; border-radius: var(--radius); border: var(--line); transform: rotate(-6deg); z-index: 3; box-shadow: var(--shadow-sm); }
.month__ring { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.month__ring svg { width: 100%; height: 100%; overflow: visible; }
.month__ring text { font-family: var(--f-sans); font-weight: 800; font-size: 9.6px; letter-spacing: .32em; text-transform: uppercase; fill: var(--mustard); }
@keyframes spin { to { transform: rotate(360deg); } }
.month__price { position: absolute; width: 112px; height: 112px; right: 0; top: 4%; transform: rotate(10deg); font-size: 22px; display: flex; align-items: center; justify-content: center; gap: 1px; z-index: 4; }
.month .h2 { font-size: clamp(42px, 6vw, 88px); margin-bottom: 20px; color: var(--paper); }
.month__lead { font-family: var(--f-serif); font-size: clamp(18px, 1.7vw, 22px); max-width: 36ch; }
.month__dips { margin-top: 26px; }
.month__dips legend { font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.dipchips { display: flex; flex-wrap: wrap; gap: 10px; }
.dipchip { min-height: 46px; padding: 8px 18px; border: var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); font-weight: 800; box-shadow: var(--shadow-sm); transition: transform .15s var(--ease-out), background-color .15s, box-shadow .15s; }
.dipchip:active { transform: scale(.96); }
.dipchip[aria-checked="true"] { background: var(--mustard); box-shadow: 0 0 0 var(--ink); transform: translate(2px, 2px); }
.dipchip[aria-checked="true"]::before { content: "✓ "; }
.month__small { margin: 18px 0 26px; font-size: 14px; opacity: .9; }
.month__hint { margin-top: 14px; font-weight: 700; color: var(--mustard); }

/* ---------- 10. Carta ---------- */
.menu { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 130px); max-width: var(--maxw); margin: 0 auto; }
.filters { display: flex; gap: 10px; overflow-x: auto; padding: 8px 4px 14px; margin: 0 -4px 26px; scrollbar-width: none; overscroll-behavior-x: contain; position: sticky; top: 86px; z-index: 20; background: var(--paper); box-shadow: 0 -12px 0 var(--paper); border-radius: 0 0 18px 18px; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 44px; padding: 10px 18px; border: var(--line); border-radius: 99px; background: var(--paper); font-weight: 700; font-size: 15px; transition: background-color .2s, transform .15s var(--ease-out), box-shadow .2s; }
.filters button:active { transform: scale(.96); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-sm); }
.menu__month-note { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; background: var(--olive-deep); color: var(--paper); border: var(--line); border-radius: 99px; padding: 6px 6px 6px 16px; font-weight: 700; font-size: 14px; }
.menu__month-note[hidden] { display: none; }
.menu__month-note button { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.menu__month-note button::after { content: ""; position: absolute; inset: -6px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px 22px; padding-top: 40px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--cream); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 18px 18px; text-align: left; cursor: pointer; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.card:nth-child(4n+2) { background: var(--paper); }
.card:nth-child(4n+3) { background: #FCEBD3; }
.card:active { transform: scale(.96); box-shadow: 2px 2px 0 var(--ink); transition-duration: .12s; }
.card.is-hidden { display: none; }
.card__img { display: block; width: 88%; margin: -40px auto 10px; aspect-ratio: 1; }
.card__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(30, 27, 22, .28)); transition: transform 1s var(--ease-out); }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag { display: inline-block; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 99px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--mustard); color: var(--ink); }
.tag--veggie { background: #CFE3A5; }
.tag--hot { background: #F08A5D; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-family: var(--f-display); font-weight: 900; font-size: 27px; line-height: 1.05; letter-spacing: -.01em; }
.card__price { font-weight: 800; font-size: 19px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__ing { font-family: var(--f-serif); font-size: 15px; color: var(--ink-2); margin: 8px 0 14px; flex: 1; }
.card__foot { display: flex; justify-content: space-between; align-items: center; }
.card__add { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mustard); border: var(--line); transition: transform .3s var(--ease-spring), background-color .2s; }
.card.is-in { animation: cardIn .6s var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px); } }

.al { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800; color: var(--ink); border: 1.5px solid var(--ink); background: var(--paper); margin-right: 4px; }
.al--G { background: #F7D79A; } .al--L { background: #E8EEF6; } .al--F { background: #D9B48F; }
.al--P { background: #B9DCEB; } .al--H { background: #FFF1A8; } .al--M { background: #E8D35A; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 40px; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; }
.legend__title { font-weight: 800; color: var(--ink); }
.legend__pdf { margin-left: auto; font-weight: 700; color: var(--ink); min-height: 40px; }

/* ---------- 11. Tiramisús ---------- */
.sweet { background: var(--night); color: var(--paper); padding: clamp(80px, 11vw, 150px) var(--gutter); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.sweet__head { max-width: var(--maxw); margin: 0 auto 70px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px 60px; align-items: end; }
.sweet__head .h2 em { color: var(--mustard); }
.sweet__head .section-head__lead { color: rgba(255, 244, 232, .78); }
.sweet__photo { grid-column: 2; grid-row: 1 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 2.5px solid var(--paper); aspect-ratio: 4 / 3; transform: rotate(2deg); }
.sweet__photo img { width: 100%; height: 100%; object-fit: cover; }
.sweet__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dessert { position: relative; display: flex; flex-direction: column; }
.dessert:nth-child(2) { transform: translateY(48px); }
.dessert__img { position: relative; aspect-ratio: 8 / 9; display: grid; place-items: end center; }
.dessert__img::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 62%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--mustard); border: 2.5px solid var(--paper); border-bottom: 0; }
.dessert:nth-child(2) .dessert__img::before { background: var(--olive-deep); }
.dessert:nth-child(3) .dessert__img::before { background: var(--cream); }
.dessert__img img { position: relative; width: 92%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .45)); transition: transform .8s var(--ease-out); }
.dessert__body { padding: 22px 6px 0; display: grid; gap: 8px; border-top: 2.5px solid var(--paper); }
.dessert__name { font-family: var(--f-display); font-size: 28px; font-weight: 900; line-height: 1.05; }
.dessert__ing { font-family: var(--f-serif); color: rgba(255, 244, 232, .75); font-size: 15px; }
.dessert__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.dessert__price { font-family: var(--f-display); font-size: 30px; font-weight: 900; color: var(--mustard); font-variant-numeric: tabular-nums; }
.dessert .btn { --bg: var(--mustard); border-color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.dessert .al { border-color: var(--paper); }

/* ---------- 12. Bebidas ---------- */
.drinks { max-width: var(--maxw); margin: 0 auto; padding: clamp(110px, 12vw, 160px) var(--gutter) clamp(80px, 10vw, 120px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.drinks__photo { border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 10px 10px 0 var(--mustard), 10px 10px 0 2.5px var(--ink); aspect-ratio: 1; transform: rotate(-2deg); }
.drinks__photo img { width: 100%; height: 100%; object-fit: cover; }
.drinks__list .h2 { margin-bottom: 26px; }
.dgroup + .dgroup { margin-top: 26px; }
.dgroup h3 { font-family: var(--f-stamp); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: .02em; color: var(--olive-d); margin-bottom: 4px; }
.drink { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 2px dashed rgba(30, 27, 22, .2); }
.drink__name { font-weight: 700; font-size: 17px; }
.drink__det { display: block; font-family: var(--f-serif); font-size: 14px; color: var(--ink-2); font-weight: 400; }
.drink__dots { flex: 1; }
.drink__price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.drink__add { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; border: var(--line); background: var(--paper); display: grid; place-items: center; transition: background-color .2s, transform .25s var(--ease-spring); }
.drink__add::after { content: ""; position: absolute; inset: -4px; }
.drink__add:active { transform: scale(.96); background: var(--mustard); transition-duration: .1s; }

/* ---------- 13. Nosotros ---------- */
.story { background: var(--cream); border-block: var(--line); padding: clamp(80px, 11vw, 150px) var(--gutter); overflow: hidden; }
.story__head { max-width: var(--maxw); margin: 0 auto 56px; }
.story__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(60px, auto); gap: 22px; }
.story__fig { margin: 0; border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.story__fig img { width: 100%; height: 100%; object-fit: cover; }
.f1 { grid-column: 1 / 8; grid-row: 1 / 7; }
.f2 { grid-column: 8 / 13; grid-row: 1 / 4; --r: 1.5deg; }
.f3 { grid-column: 8 / 13; grid-row: 4 / 8; }
.story__text { grid-column: 1 / 8; grid-row: 7 / 9; padding-top: 18px; display: grid; gap: 16px; align-content: start; }
.story__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; }
.story__text p:not(.story__big) { font-family: var(--f-serif); color: var(--ink-2); max-width: 56ch; }

/* ---------- 14. Galería ---------- */
.gallery { padding: clamp(80px, 10vw, 130px) 0 0; }
.gallery__head { max-width: var(--maxw); margin: 0 auto 30px; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.gallery__rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 24px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.gallery__rail img { flex: 0 0 auto; height: clamp(260px, 34vw, 420px); width: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: var(--line); scroll-snap-align: start; transition: transform .5s var(--ease-out); }
.gallery__rail img:nth-child(3n+2) { aspect-ratio: 4 / 5; }
.gallery__rail img:last-child { aspect-ratio: 3 / 2; }

/* ---------- 15. Reseñas ---------- */
.reviews { padding: clamp(80px, 10vw, 130px) 0; }
.reviews__head { max-width: var(--maxw); margin: 0 auto 36px; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.reviews__score { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.reviews__score b { font-family: var(--f-display); font-size: 44px; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--mustard-d); }
.stars svg { width: 18px; height: 18px; }
.reviews__rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 22px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; overscroll-behavior-x: contain; }
.review { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.review:nth-child(3n+2) { background: var(--mustard); }
.review:nth-child(3n+2) .stars { color: var(--ink); }
.review:nth-child(3n) { background: var(--cream); }
.review blockquote { margin: 0; font-family: var(--f-serif); font-size: 19px; line-height: 1.45; flex: 1; }
.review blockquote::before { content: "“"; display: block; font-family: var(--f-display); font-size: 70px; line-height: .6; height: 30px; }
.review figcaption { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.review__who small { display: block; font-weight: 500; font-size: 13px; color: var(--ink-2); }

/* ---------- 16. Fidelidad ---------- */
.loyalty { max-width: var(--maxw); margin: 0 auto clamp(80px, 10vw, 130px); padding: 0 var(--gutter); }
.loyalty__card { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--mustard); border: var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.loyalty__stamps { display: grid; grid-template-columns: repeat(5, 34px); gap: 8px; transform: rotate(-4deg); }
.loyalty__stamps span { width: 34px; height: 34px; border-radius: 50%; border: 2.5px dashed var(--ink); display: grid; place-items: center; }
.loyalty__stamps span.on { background: var(--ink); border-style: solid; color: var(--mustard); }
.loyalty__stamps .loyalty__free { background: var(--paper); border-style: solid; font-weight: 900; font-size: 8px; letter-spacing: .02em; color: var(--ink); text-transform: uppercase; transform: rotate(-12deg); }
.loyalty h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; margin-bottom: 6px; }
.loyalty p { font-family: var(--f-serif); max-width: 46ch; }


/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 980px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--gutter); }
.faq .h2 { margin-bottom: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; min-height: 60px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: var(--line); display: grid; place-items: center; font-weight: 800; transition: transform .25s var(--ease-out), background-color .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--mustard); }
.faq__item h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.faq__item p { padding: 0 20px 20px; font-family: var(--f-serif); color: var(--ink-2); max-width: 70ch; }

/* ---------- 17. Visítanos ---------- */
.visit { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 130px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: stretch; }
.visit__info { display: grid; gap: 20px; align-content: start; }
.visit__status { font-weight: 700; display: flex; align-items: baseline; gap: 8px; font-size: 17px; }
.visit__status.is-open::before, .visit__status.is-closed::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--ink-2); }
.visit__status.is-open::before { background: var(--wa); }
.visit__note { font-weight: 700; font-size: 15px; background: var(--cream); border-radius: 12px; padding: 10px 14px; justify-self: start; }
.hours { border-collapse: collapse; width: 100%; max-width: 440px; font-size: 17px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 2px dashed rgba(30, 27, 22, .18); text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.hours .is-closed td { color: var(--ink-2); font-weight: 500; }
.hours .is-today th, .hours .is-today td { background: var(--mustard); }
.hours .is-today th { border-radius: 10px 0 0 10px; padding-left: 12px; }
.hours .is-today td { border-radius: 0 10px 10px 0; padding-right: 12px; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.visit__map { position: relative; border: var(--line); border-radius: var(--radius-lg); box-shadow: 10px 10px 0 var(--ink); min-height: 420px; background: var(--cream); }
.map-card { position: relative; display: grid; place-items: center; align-content: end; gap: 10px; height: 100%; min-height: 420px; padding: 28px; border-radius: calc(var(--radius-lg) - 2px); overflow: hidden; text-decoration: none; color: var(--paper); isolation: isolate; }
.map-card img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.map-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(23, 21, 18, .8) 0%, rgba(23, 21, 18, 0) 60%); }
.map-card .btn { --bg: var(--mustard); }
.map-card__addr { font-weight: 700; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .map-card:hover img { transform: scale(1.04); } }
.visit__sticker { position: absolute; width: 150px; height: 150px; left: -36px; bottom: -36px; transform: rotate(-10deg); font-size: 15px; }

/* ---------- 18. CTA final ---------- */
.final { background: var(--mustard); border-top: var(--line); padding: clamp(90px, 12vw, 170px) var(--gutter); text-align: center; display: grid; justify-items: center; gap: 30px; overflow: hidden; }
.final__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 14vw, 210px); line-height: .9; padding-bottom: .1em; letter-spacing: -.04em; }
.final__title em { color: var(--paper); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; }
.final .btn { --bg: var(--ink); --fg: var(--cream); box-shadow: 6px 6px 0 var(--paper); }
.final__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; counter-reset: st; font-family: var(--f-serif); font-size: 18px; max-width: 980px; }
.final__steps li { counter-increment: st; display: flex; align-items: baseline; gap: 10px; }
.final__steps li::before { content: counter(st); font-family: var(--f-display); font-weight: 900; font-size: 34px; line-height: 1; }
.final__steps b { font-family: var(--f-sans); font-weight: 800; }

/* ---------- 19. Información legal ---------- */
.legal { background: var(--paper); padding: clamp(60px, 8vw, 100px) var(--gutter); border-top: var(--line); }
.legal__title { max-width: 900px; margin: 0 auto 22px; font-family: var(--f-display); font-weight: 900; font-size: clamp(28px, 3vw, 40px); }
.legal__doc { max-width: 900px; margin: 0 auto; border-top: 2px solid var(--ink); }
.legal__doc:last-of-type { border-bottom: 2px solid var(--ink); }
.legal__doc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 800; font-size: 19px; transition: color .2s; }
.legal__doc summary::-webkit-details-marker { display: none; }
.legal__doc summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: var(--line); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .25s var(--ease-out); }
.legal__doc[open] summary::after { transform: rotate(45deg); background: var(--mustard); }
.legal__body { padding: 4px 0 30px; font-size: 15.5px; color: var(--ink-2); max-width: 75ch; }
.legal__body h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin: 22px 0 6px; }
.legal__body p + p { margin-top: 10px; }
.legal__body ul, .legal__body ol { margin: 8px 0; padding-left: 20px; list-style: disc; display: grid; gap: 4px; }
.legal__body ol { list-style: lower-alpha; }
.legal__table { overflow-x: auto; margin: 12px 0; border: 2px solid var(--ink); border-radius: 12px; }
.legal__table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px solid rgba(30, 27, 22, .15); }
.legal__table th { background: var(--cream); color: var(--ink); }

/* ---------- 20. Footer ---------- */
.footer { background: var(--night); color: var(--cream); padding: 64px var(--gutter) 120px; display: grid; gap: 30px; justify-items: center; text-align: center; }
.footer img { width: 190px; }
.footer__cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 64px; }
.footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer__legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; }
.footer__legal-links a, .footer__legal-links button { text-decoration: underline; text-underline-offset: .2em; min-height: 40px; }
.footer__legal-links .footer__minor { opacity: .6; font-size: 13px; }
.footer__legal { font-size: 13px; opacity: .65; }

/* ---------- 21. Barra móvil ---------- */
.mbar { display: none; }

/* ---------- 22. Sheets (modal + carrito) ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; pointer-events: none; visibility: hidden; transition: visibility 0s .45s; }
.sheet.is-open { visibility: visible; transition: none; pointer-events: auto; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(23, 21, 18, .55); opacity: 0; transition: opacity .2s ease; }
.sheet.is-open .sheet__scrim { opacity: 1; transition-duration: .3s; }
.sheet__panel { position: absolute; left: 50%; top: 50%; width: min(960px, calc(100% - 32px)); max-height: calc(100% - 48px); background: var(--paper); border: var(--line); border-radius: var(--radius-lg); box-shadow: 10px 10px 0 var(--ink); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translate(-50%, -48%) scale(.96); transition: opacity .16s ease, transform .2s var(--ease-out); }
.sheet.is-open .sheet__panel { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .2s ease, transform .38s var(--ease-drawer); }
.sheet__close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: var(--line); background: var(--paper); display: grid; place-items: center; transition: transform .15s var(--ease-out), background-color .15s; }
.sheet__close:active { transform: scale(.96); }

.pz { display: grid; grid-template-columns: .85fr 1.15fr; overflow-y: auto; overscroll-behavior: contain; }
.pz__img { background: var(--mustard); border-right: var(--line); display: grid; place-items: center; padding: 30px; }
.pz__img img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(30, 27, 22, .35)); }
.sheet.is-open .pz__img img { animation: roll .8s var(--ease-out); }
@keyframes roll { from { transform: rotate(-80deg) scale(.88); } }
.pz__body { padding: 30px 30px 20px; display: grid; gap: 18px; align-content: start; }
.pz__title { font-family: var(--f-display); font-size: clamp(32px, 4vw, 44px); font-weight: 900; line-height: 1; padding-right: 50px; }
.pz__ing { font-family: var(--f-serif); color: var(--ink-2); }
.opt { display: grid; gap: 10px; }
.opt legend { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.opt legend small, .switch small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--olive-d); }
.opt--month { background: var(--cream); border: 2px dashed var(--ink); border-radius: 26px; padding: 14px; }
.opt--month legend { float: left; width: 100%; }
.opt--month.is-disabled .switch { opacity: .45; pointer-events: none; }
.opt__note { font-size: 13px; color: var(--olive-d); font-weight: 600; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--wrap { display: flex; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; min-height: 46px; padding: 8px 14px; border: var(--line); border-radius: 12px; font-weight: 700; font-size: 15px; background: var(--paper); transition: background-color .15s, transform .15s var(--ease-out), box-shadow .15s; }
.seg span small { font-weight: 600; color: var(--olive-d); }
.seg label:active span { transform: scale(.96); }
.seg input:checked + span { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-sm); }
.seg input:checked + span small { color: var(--mustard); }
.seg input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.dip-pick p { font-size: 14px; font-weight: 700; margin: 4px 0 8px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; }
.switch input { appearance: none; -webkit-appearance: none; flex: none; width: 52px; height: 30px; border: var(--line); border-radius: 99px; background: var(--paper); position: relative; cursor: pointer; transition: background-color .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease-spring); }
.switch input:checked { background: var(--mustard); }
.switch input:checked::after { transform: translateX(22px); }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.4; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.check--locked { opacity: .75; cursor: default; }
.opt--note span { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.opt--note input, .field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: var(--line); border-radius: 12px; background: #fff; font-size: 16px; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus, .opt--note input:focus { outline: 3px solid var(--mustard); outline-offset: 1px; }
.field.is-invalid input, .field.is-invalid select { border-color: #B23A0C; background: #FFF1EA; }
.check.is-invalid { color: #B23A0C; }
.sheet__warn { margin: 0; padding: 10px 20px; background: #FFE1D2; border-top: var(--line); font-weight: 700; font-size: 14px; color: #8A2C08; }
.sheet__foot { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: var(--line); background: var(--paper); }
.sheet__add { flex: 1; }
.qty { display: flex; align-items: center; border: var(--line); border-radius: 99px; overflow: hidden; flex: none; }
.qty button { width: 44px; height: 48px; display: grid; place-items: center; transition: transform .12s var(--ease-out), background-color .12s, opacity .12s; }
.qty button:active { transform: scale(.96); background: var(--cream); }
.qty button[disabled] { opacity: .3; pointer-events: none; }
.qty output { min-width: 30px; text-align: center; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.qty--sm button { width: 34px; height: 36px; position: relative; }
.qty--sm button::after { content: ""; position: absolute; inset: -4px -3px; }
.qty--sm output { min-width: 22px; font-size: 15px; }

/* Carrito lateral */
.sheet--side .sheet__panel { left: auto; right: 0; top: 0; bottom: 0; height: 100%; max-height: none; width: min(500px, 100%); border-radius: var(--radius-lg) 0 0 var(--radius-lg); border-right: 0; transform: translateX(100%); opacity: 1; box-shadow: -8px 0 0 var(--ink); transition: transform .22s var(--ease-out); }
.sheet--side.is-open .sheet__panel { transform: translateX(0); transition: transform .42s var(--ease-drawer); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 14px; border-bottom: var(--line); }
.cart__head h3 { font-family: var(--f-display); font-size: 36px; font-weight: 900; }
.cart__head .sheet__close { position: static; }
.cart__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 22px 22px; }
.cart__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 2px dashed rgba(30, 27, 22, .18); }
.cart__thumb { width: 56px; height: 56px; object-fit: contain; }
.cart__thumb--txt { display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--cream); font-family: var(--f-display); font-weight: 900; font-size: 22px; }
.cart__name { font-weight: 800; line-height: 1.2; }
.cart__opts { font-size: 13px; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.cart__side { display: grid; justify-items: end; gap: 6px; }
.cart__line-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.cart__cap { margin-top: 12px; font-size: 14px; font-weight: 700; background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.cart__cap.is-full { background: #FFE1D2; color: #8A2C08; }
.cart__empty { text-align: center; display: grid; justify-items: center; gap: 16px; padding: 40px 10px; }
.cart__empty img { width: 120px; }
.cart__empty p { font-family: var(--f-serif); font-size: 18px; }
.cart__empty[hidden], .cart__form[hidden] { display: none; }
.cart__form { display: grid; gap: 16px; margin-top: 22px; }
.cart__form .opt legend { margin-bottom: 8px; }
.cart__when { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cart__delivery { display: grid; gap: 16px; }
.cart__delivery[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 800; font-size: 14px; }
.field small { font-weight: 500; color: var(--ink-2); }
.cart__hint { font-size: 14px; background: var(--cream); border-radius: 12px; padding: 10px 12px; font-weight: 600; margin-top: -6px; }
.cart__hint:empty { display: none; }
.cart__privacy { display: grid; gap: 12px; border: 2px dashed rgba(30, 27, 22, .3); border-radius: 14px; padding: 14px; }
.cart__privacy p { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.cart__foot { border-top: var(--line); padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: var(--paper); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total span { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.cart__total b { font-family: var(--f-display); font-size: 34px; font-variant-numeric: tabular-nums; }
.cart__pay { font-size: 13px; color: var(--ink-2); }
.cart__error { font-size: 14px; font-weight: 700; color: #B23A0C; }


/* ---------- Comanda (resumen final para leer al llamar) ---------- */
.sheet--comanda .sheet__panel { width: min(560px, calc(100% - 32px)); height: calc(100% - 40px); background: var(--night); border-color: var(--ink); }
.sheet--comanda .sheet__close { background: var(--paper); top: calc(14px + env(safe-area-inset-top, 0px)); }
.comanda__scroll::before { content: "Tu comanda"; position: absolute; left: 22px; top: calc(20px + env(safe-area-inset-top, 0px)); font-family: var(--f-display); font-weight: 900; font-size: 28px; color: var(--paper); }
.comanda__scroll { flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 74px 22px 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; }
.comanda__scroll > * { min-width: 0; }
.comanda__status { display: grid; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--olive-deep); color: var(--paper); border: 2.5px solid var(--paper); grid-template-columns: minmax(0, 1fr); }
.comanda__status .btn { white-space: normal; text-align: center; }
.comanda__status.is-over { background: #A63A12; }
.comanda__msg { font-weight: 700; font-size: 16.5px; line-height: 1.4; }
.comanda__call { --bg: var(--mustard); --fg: var(--ink); width: 100%; border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.comanda__call svg { flex: none; }
.comanda__remind { --bg: var(--paper); width: 100%; }

.ticket {
  position: relative; background: #FFFDF8; color: var(--ink);
  padding: 30px 26px 26px; font-variant-numeric: tabular-nums;
  --tooth: 10px;
  --edge: radial-gradient(var(--tooth) at 50% 0, #0000 98%, #000) 50% 0 / calc(var(--tooth) * 2.2) 51% repeat-x,
          radial-gradient(var(--tooth) at 50% 100%, #0000 98%, #000) 50% 100% / calc(var(--tooth) * 2.2) 51% repeat-x;
  -webkit-mask: var(--edge);
  mask: var(--edge);
  transform: rotate(-1deg);
  animation: ticketIn .7s var(--ease-out) both;
}
@keyframes ticketIn { from { transform: translateY(40px) rotate(-4deg); opacity: 0; } }
.ticket__head { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 0 0 16px; border-bottom: 2px dashed rgba(30, 27, 22, .35); }
.ticket__head img { width: 130px; }
.ticket__kind { font-family: var(--f-stamp); font-size: 26px; line-height: 1; letter-spacing: .04em; color: var(--olive-d); }
.ticket__ref { font-family: var(--f-display); font-weight: 900; font-size: 34px; line-height: 1; }
.ticket__meta { display: grid; gap: 8px; padding: 16px 0; border-bottom: 2px dashed rgba(30, 27, 22, .35); margin: 0; }
.ticket__meta div[hidden] { display: none; }
.ticket__meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket__meta dt { font-family: var(--f-stamp); font-size: 19px; letter-spacing: .03em; color: var(--ink-2); flex: none; }
.ticket__meta dd { margin: 0; font-weight: 800; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.ticket__meta--foot { border-bottom: 0; padding-bottom: 6px; }
.ticket__lines { padding: 14px 0; border-bottom: 2px dashed rgba(30, 27, 22, .35); display: grid; gap: 4px; }
.t-line, .t-mod, .t-note { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.t-line { margin-top: 8px; }
.t-line:first-child { margin-top: 0; }
.t-qty { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; }
.t-name { font-family: var(--f-stamp); font-size: 25px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.t-name small { display: block; font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--olive-d); margin-top: 4px; }
.t-price { font-weight: 800; }
.t-mod { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.t-note { font-size: 14px; font-style: italic; color: #8A2C08; font-weight: 700; }
.ticket__sum { padding: 14px 0; display: grid; gap: 6px; border-bottom: 2px dashed rgba(30, 27, 22, .35); }
.ticket__sum p:first-child { font-weight: 700; color: var(--ink-2); font-size: 14px; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; }
.ticket__total span { font-family: var(--f-stamp); font-size: 30px; line-height: 1; }
.ticket__total b { font-family: var(--f-display); font-size: 40px; font-weight: 900; line-height: 1; }
.ticket__stamp {
  position: absolute; right: 8px; top: 18px; transform: rotate(12deg); max-width: 6.5em; text-align: center;
  font-family: var(--f-stamp); font-size: 14px; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  color: #B23A0C; border: 2.5px solid #B23A0C; border-radius: 8px; padding: 5px 7px 3px; opacity: .78;
  mix-blend-mode: multiply; pointer-events: none;
}
.ticket__foot { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-top: 8px; }
.comanda__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.comanda__actions .btn { flex: 1 1 auto; border-color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.comanda__actions .btn--ghost { color: var(--paper); }
.comanda__note { color: rgba(255, 244, 232, .7); font-size: 13px; text-align: center; }

/* Aviso flotante de comanda guardada */
.comanda-pill { position: fixed; z-index: 44; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 6px; background: var(--ink); color: var(--cream); border: var(--line); border-radius: 99px; padding: 6px; box-shadow: 4px 4px 0 var(--mustard); max-width: calc(100% - 24px); }
.comanda-pill[hidden] { display: none; }
.comanda-pill__open { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-weight: 800; font-size: 14.5px; text-align: left; }
.comanda-pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mustard); flex: none; }
.comanda-pill.is-open .comanda-pill__dot { background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 175, 90, .3); }
.comanda-pill__call { width: 42px; height: 42px; border-radius: 50%; background: var(--mustard); color: var(--ink); display: grid; place-items: center; flex: none; }
.comanda-pill__x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 244, 232, .7); flex: none; }
.cart__delivery-note { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-top: -6px; }
.cart__delivery-note a { color: var(--ink); font-weight: 800; }
.cart__privacy { font-size: 13px; color: var(--ink-2); line-height: 1.45; }

/* ---------- 23. Cookies ---------- */
.cookies { position: fixed; z-index: 90; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(720px, calc(100% - 24px)); max-height: calc(100% - 32px); overflow-y: auto; background: var(--paper); border: var(--line); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--ink); padding: 22px; display: grid; gap: 12px; }
.cookies[hidden] { display: none; }
.cookies .cookies__title { font-family: var(--f-display); font-weight: 900; font-size: 22px; line-height: 1.1; }
.cookies p:not(.cookies__title) { font-size: 14px; color: var(--ink-2); }
.cookies__panel { display: grid; gap: 12px; padding: 12px 0; border-top: 2px dashed rgba(30, 27, 22, .25); }
.cookies__panel[hidden] { display: none; }
.cookies__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cookies__btns .btn { min-height: 46px; padding: 10px 14px; font-size: 15px; }
.cookies__btns .btn[hidden] { display: none; }
.cookies__panel > p { font-size: 13.5px; color: var(--ink-2); }
.cookies__cat { border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; }
.cookies__cat p { font-size: 13px; color: var(--ink-2); }
.cookies__cat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink) !important; font-size: 15px !important; }
.cookies__cat-head span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--olive-deep); color: var(--paper); border-radius: 99px; padding: 4px 10px; }
.cookies__panel .btn { justify-self: start; min-height: 44px; font-size: 15px; }
.linkbtn { font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
.cart__mode { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--cream); border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.cart__mode svg { color: var(--mustard); flex: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 140%); opacity: 0; background: var(--ink); color: var(--cream); border-radius: 99px; padding: 12px 20px; font-weight: 700; box-shadow: 4px 4px 0 var(--mustard); transition: transform .45s var(--ease-spring), opacity .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.is-locked .toast { bottom: auto; top: calc(16px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -140%); }
.is-locked .toast.is-on { transform: translate(-50%, 0); }

.fly { position: fixed; z-index: 90; width: 76px; height: 76px; object-fit: contain; pointer-events: none; }

/* ---------- 24. Reveal ---------- */
.reveal { transform: translateY(48px) rotate(var(--r, 0deg)); clip-path: inset(0 0 12% 0 round var(--radius)); transition: transform 1s var(--ease-out), clip-path 1s var(--ease-out); }
.reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); transform: rotate(var(--r, 0deg)); }
.pillar.reveal { clip-path: inset(0 0 12% 0 round var(--radius-lg)); }
.pillar.reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { transform: none; clip-path: none; }

/* ---------- 25. Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__pdf { display: none; }
  .nav__status { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .hero { padding-bottom: 40px; min-height: 92svh; }
  .hero::before { background: linear-gradient(0deg, rgba(23, 21, 18, .95) 0%, rgba(23, 21, 18, .75) 45%, rgba(23, 21, 18, .15) 80%); }
  .hero__stickers { top: calc(var(--nav-h) + 30px); right: 16px; gap: 10px; }
  .hs1 { width: 104px; height: 104px; font-size: 12.5px; }
  .hs2 { width: 96px; height: 96px; font-size: 12.5px; margin-right: 24px; }
  .pillars { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .pantry { padding: 16px; }
  .pillar--a { grid-row: auto; aspect-ratio: 4 / 5; }
  .pillar--b, .pillar--c { aspect-ratio: 4 / 3; }
  .month__inner { grid-template-columns: 1fr; }
  .month__art { max-width: 400px; }
  .sweet__head { grid-template-columns: 1fr; }
  .sweet__photo { grid-column: 1; grid-row: auto; transform: rotate(1deg); }
  .sweet__grid { grid-template-columns: 1fr; max-width: 460px; gap: 48px; }
  .dessert:nth-child(2) { transform: none; }
  .drinks { grid-template-columns: 1fr; }
  .drinks__photo { max-width: 460px; }
  .story__grid { grid-template-columns: repeat(2, 1fr); }
  .f1 { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 1; }
  .f2, .f3 { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .story__text { grid-column: 1 / 3; grid-row: auto; }
  .visit { grid-template-columns: 1fr; padding-bottom: 120px; }
  .visit__map, .map-card { min-height: 340px; }
  .visit__sticker { left: auto; right: 12px; bottom: -44px; width: 124px; height: 124px; font-size: 12.5px; }
  .loyalty__card { grid-template-columns: 1fr; justify-items: start; }
  .final__steps { flex-direction: column; align-items: flex-start; text-align: left; }
  .timeline { grid-template-columns: 1fr; gap: 46px; padding-left: 22px; }
  .timeline::before { left: 0; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--mustard) 0 10px, transparent 10px 18px); }
  .chapter::before { content: ""; position: absolute; left: -29px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--mustard); border: 2.5px solid var(--night); }
  .chapter__year { padding-right: 0; }
  .sheet--carta .sheet__panel { width: 100%; height: 100%; max-height: none; top: 0; left: 0; transform: translateY(100%); border-radius: 0; border: 0; box-shadow: none; opacity: 1; transition: transform .22s var(--ease-out); }
  .sheet--carta.is-open .sheet__panel { transform: none; transition: transform .42s var(--ease-drawer); }
  .carta__head { flex-wrap: wrap; padding-top: calc(14px + env(safe-area-inset-top)); }
  .carta__tabs { order: 3; width: 100%; }
  .carta__pages img { padding: 6px; }
  .carta__foot .btn { flex: 1; }
  .sheet--comanda .sheet__panel { width: 100%; height: 100%; max-height: none; top: 0; left: 0; transform: translateY(100%); border-radius: 0; border: 0; box-shadow: none; opacity: 1; transition: transform .22s var(--ease-out); }
  .sheet--comanda.is-open .sheet__panel { transform: none; transition: transform .42s var(--ease-drawer); }
  .comanda__scroll { padding: calc(70px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom)); }
  .ticket { padding: 26px 18px 22px; }
  .comanda-pill { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .pz { grid-template-columns: 1fr; }
  .pz__img { border-right: 0; border-bottom: var(--line); padding: 18px; }
  .pz__img img { width: min(56vw, 230px); }
  .sheet[data-sheet="pizza"] .sheet__panel { left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 92%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 0; box-shadow: 0 -6px 0 var(--ink); transform: translateY(100%); opacity: 1; transition: transform .22s var(--ease-out); }
  .sheet[data-sheet="pizza"].is-open .sheet__panel { transform: translateY(0); transition: transform .42s var(--ease-drawer); }
  .sheet[data-sheet="pizza"] .sheet__foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 130px; }
  .mbar { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; transform: translateY(160%); transition: transform .5s var(--ease-spring); }
  .mbar.is-on { transform: none; }
  .mbar__btn { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 10px; background: var(--ink); color: var(--cream); border: var(--line); border-radius: 99px; box-shadow: 4px 4px 0 var(--mustard); font-weight: 800; font-size: 17px; }
  .mbar__btn b { margin-left: auto; font-variant-numeric: tabular-nums; }
  .mbar__count { width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); color: var(--ink); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
  .toast { bottom: 92px; }
  .cookies { padding: 16px; gap: 8px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .cookies .cookies__title { font-size: 18px; }
  .cookies p:not(.cookies__title) { font-size: 13px; line-height: 1.45; }
  .cookies__btns { gap: 6px; }
  .cookies__btns .btn { min-height: 44px; padding: 8px 6px; font-size: 13.5px; white-space: normal; line-height: 1.1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { height: 58px; top: calc(8px + env(safe-area-inset-top, 0px)); width: calc(100% - 16px); padding: 0 6px 0 14px; gap: 10px; }
  .nav__logo img { width: 104px; }
  .nav__cart-label { display: none; }
  .nav__cart { padding: 6px 8px 6px 12px; min-height: 42px; }
  .nav__status { font-size: 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .filters { top: 74px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 34px 12px; padding-top: 26px; }
  .card { padding: 0 10px 12px; border-radius: 18px; box-shadow: var(--shadow-sm); }
  .card__img { width: 96%; margin: -26px auto 6px; }
  .card__name { font-size: 20px; }
  .card__row { flex-direction: column; gap: 2px; }
  .card__price { font-size: 16px; }
  .card__ing { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 10px; }
  .card__add { width: 38px; height: 38px; }
  .card__tags { top: 8px; left: 8px; }
  .tag { font-size: 9.5px; padding: 3px 7px; }
  .al { width: 19px; height: 19px; font-size: 10px; margin-right: 2px; }
  .legend__pdf { margin-left: 0; }
  .seg--3 span { font-size: 14px; padding: 8px 6px; }
  .cart__when { grid-template-columns: 1fr; }
  .band { padding: 10px 0 6px; }
}
@media (pointer: coarse) { .qty--sm button { width: 40px; height: 40px; } }

/* ---------- 26. Movimiento reducido: solo lo intrusivo ---------- */
@media (prefers-reduced-motion: reduce) {
  .band__track { animation-duration: 120s; }
  .month__ring { animation: none; }
}

/* ===== Canal ético y de denuncias (página aparte, discreta) ===== */
.cetico-page { background: var(--paper); color: var(--ink); }
.cetico-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(14px, env(safe-area-inset-top)) clamp(16px, 4vw, 40px) 14px; border-bottom: var(--line); background: var(--cream); }
.cetico-top__logo img { height: 44px; width: auto; }
.cetico-top__back { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.cetico { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) 16px 48px; display: grid; gap: 28px; }
.cetico .h2 { font-size: clamp(34px, 6vw, 56px); }
.cetico__intro { font-size: 17px; line-height: 1.55; }
.cetico__nav { display: flex; flex-wrap: wrap; gap: 10px; }
.cetico__card { background: #fff; border: var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); display: grid; gap: 16px; scroll-margin-top: 24px; }
.cetico__card h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 900; font-size: clamp(26px, 4vw, 34px); line-height: 1.1; }
.cetico__sub { font-weight: 700; color: var(--olive-d); }
.cetico__above { font-size: 15px; line-height: 1.6; background: var(--cream); border-radius: var(--radius-sm); padding: 14px 16px; }
.cetico__form { display: grid; gap: 18px; }
.cetico__form[hidden] { display: none; }
.cetico__form .field input[type="file"] { padding: 10px; background: var(--paper); }
.cetico__note { font-size: 14px; color: var(--olive-d); font-weight: 600; }
.cetico__note a, .cetico__clause a { text-decoration: underline; text-underline-offset: 2px; }
.cetico__ident { display: grid; gap: 18px; }
.cetico__ident[hidden] { display: none; }
.cetico__clause { display: grid; gap: 0; font-size: 13px; line-height: 1.5; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; }
.cetico__clause > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 14px; border-top: 1px solid rgba(30, 27, 22, .15); }
.cetico__clause > div:first-child { border-top: 0; }
.cetico__clause dt { font-weight: 800; }
.cetico__ok, .cetico__err { border: var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 700; line-height: 1.5; }
.cetico__ok { background: var(--mustard); }
.cetico__err { background: #FFF1EA; color: #8A2A06; border-color: #B23A0C; }
.cetico__ok[hidden], .cetico__err[hidden] { display: none; }
.cetico__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cetico-foot { text-align: center; padding: 24px 16px max(32px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; }
.cetico-foot a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) {
  .cetico__clause > div { grid-template-columns: 1fr; gap: 2px; }
  .cetico-top__logo img { height: 36px; }
}
