/* ─────────────────────────────────────────────────────────────
   Página de enlaces (colores, letras y forma: assets/css/theme.css)
   Motivo gráfico: el arco del horno de leña (portada, fotos de la carta,
   fondo de escritorio). Mobile-first · 481 tablet · 769 escritorio.
   ───────────────────────────────────────────────────────────── */

:root {
  --pad: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 140ms;
  --t: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 15px/1.5 var(--sans);
  color: var(--texto);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.flip { transform: scaleX(-1); }

:focus-visible { outline: 2.5px solid var(--brasa); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 999px; background: var(--corteza); color: var(--papel); font-weight: 700;
}
.skip:focus { top: 12px; }

/* ── Escenario ───────────────────────────────────────────────── */
.stage { min-height: 100vh; min-height: 100dvh; }
.card {
  position: relative; overflow: hidden; overflow: clip;
  min-height: 100vh; min-height: 100dvh;
  background: var(--papel) var(--grain);
}

/* ── Esqueleto y error ───────────────────────────────────────── */
.skeleton { padding: 16px var(--pad); display: grid; gap: 12px; }
.sk { background: var(--miga-2); border-radius: 12px; animation: pulse 1.4s ease-in-out infinite; }
.sk--arch { aspect-ratio: 100 / 84; border-radius: 999px 999px 14px 14px / 50% 50% 14px 14px; }
.sk--pill { width: 55%; height: 28px; border-radius: 999px; margin-top: 10px; }
.sk--title { width: 70%; height: 48px; }
.sk--line { width: 85%; height: 16px; }
.sk--btn { height: 64px; border-radius: 14px; }
.sk--primary { height: 78px; background: var(--miga); }
.noscript, .fail { padding: 80px var(--pad); text-align: center; color: var(--texto-2); }
.fail { display: grid; justify-items: center; gap: 10px; }
.fail__title { font: 400 26px/1.2 var(--display); color: var(--corteza); }
.fail__eyebrow { font: 600 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brasa); }
.fail .btn { margin-top: 10px; }

/* ── Portada ─────────────────────────────────────────────────── */
.hero { padding: 18px var(--pad) 0; }
.arch { position: relative; container-type: inline-size; }
.arch__frame {
  position: relative; aspect-ratio: 100 / 84; overflow: hidden;
  border-radius: var(--frame-top) var(--frame-top) var(--frame-bottom) var(--frame-bottom);
  background: var(--corteza);
}
.arch__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
/* doble trazo: la boca del horno dibujada alrededor de la foto */
.arch__line {
  position: absolute; inset: -7px; pointer-events: none;
  border: 1.5px solid var(--corteza);
  border-radius: calc(var(--frame-top) + 7px) calc(var(--frame-top) + 7px) calc(var(--frame-bottom) + 6px) calc(var(--frame-bottom) + 6px);
}

.mark {
  position: absolute; top: -6px; left: -6px; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%;
  box-shadow: 0 0 0 4px var(--papel);
  object-fit: cover; background: var(--corteza);
}
.mark--mono {
  display: grid; place-items: center;
  color: var(--papel); font: 400 21px/1 var(--display); letter-spacing: .02em;
}

.stamp {
  position: absolute; top: -14px; right: -12px; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--trigo); color: var(--corteza);
  box-shadow: 0 0 0 4px var(--papel);
}
.stamp__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: currentColor; stroke: none;
  font-family: var(--sans); font-weight: 700; font-stretch: 75%;
  animation: spin 26s linear infinite;
}
.stamp__icon { width: 34px; height: 34px; stroke-width: 1.5; }

.hero__body { margin-top: 24px; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 11px; border-radius: 999px;
  background: var(--miga-2); color: var(--texto-2);
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--texto-2) 70%, var(--papel)); flex-shrink: 0; }
/* abierto = horno encendido: brasa, no el verde genérico */
.status.is-open { background: color-mix(in srgb, var(--brasa) 14%, var(--papel)); color: var(--brasa-2); }
.status.is-open .status__dot { background: var(--brasa); animation: ember 2.2s ease-in-out infinite; }
.status.is-soon { background: color-mix(in srgb, var(--trigo) 25%, var(--papel)); color: var(--corteza); }
.status.is-soon .status__dot { background: var(--trigo); animation: none; }

.hero__name {
  margin-top: 12px;
  font: 400 clamp(42px, 13vw, 54px)/.96 var(--display);
  letter-spacing: -.02em; color: var(--corteza);
  text-wrap: balance;
}
.hero__tagline {
  margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  font-size: 13px; font-weight: 800; font-stretch: 78%; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brasa);
}
.hero__city { display: inline-flex; align-items: center; gap: 4px; color: var(--texto-2); }
.hero__city svg { width: 14px; height: 14px; stroke-width: 2; }
.hero__desc { margin-top: 10px; max-width: 34ch; font-size: 16px; line-height: 1.45; color: var(--texto-2); text-wrap: pretty; }

/* ── Redes / botones de ícono ────────────────────────────────── */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--linea); background: transparent; color: var(--corteza);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn--sm { width: 40px; height: 40px; }
.icon-btn:active { transform: scale(.92); }

/* ── Secciones ───────────────────────────────────────────────── */
.section { padding: 0 var(--pad); margin-top: 44px; scroll-margin-top: 20px; }
.section--links { margin-top: 26px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section__title { font: 400 27px/1.1 var(--display); letter-spacing: -.01em; color: var(--corteza); }
.section__aside { display: flex; align-items: center; gap: 12px; }
.section__note { font-size: 13px; color: var(--texto-2); }
.section__more {
  font-size: 13.5px; font-weight: 700; color: var(--brasa);
  padding: 12px 0; margin: -12px 0; text-underline-offset: 3px; white-space: nowrap;
}
.eyebrow { font-size: 12px; font-weight: 800; font-stretch: 78%; letter-spacing: .16em; text-transform: uppercase; color: var(--brasa); }

/* ── Botones de enlace ───────────────────────────────────────── */
.links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.link {
  display: flex; align-items: center; gap: 14px;
  min-height: 66px; padding: 10px 16px 10px 10px;
  background: var(--papel); border: 1.5px solid var(--linea); border-radius: 14px;
  cursor: pointer; user-select: none;
  transition: transform var(--t-fast) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.link__icon {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px; background: var(--miga-2); color: var(--corteza);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.link__icon svg { width: 21px; height: 21px; }
.link__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.link__text strong { font-size: 16px; font-weight: 700; letter-spacing: -.005em; line-height: 1.25; }
.link__text small {
  font-size: 13px; line-height: 1.35; color: var(--texto-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.link__chev { width: 18px; height: 18px; color: color-mix(in srgb, var(--texto-2) 60%, var(--papel)); transition: transform var(--t) var(--ease), color var(--t) var(--ease); }
.link:active { transform: scale(.975); }

.link--primary {
  min-height: 80px; padding: 12px 20px 12px 12px;
  background: var(--corteza); border-color: var(--corteza); color: var(--papel);
}
.link--primary .link__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--brasa); color: var(--papel); }
.link--primary .link__icon svg { width: 26px; height: 26px; }
.link--primary .link__text strong { font-size: 18.5px; }
.link--primary .link__text small { color: color-mix(in srgb, var(--papel) 72%, var(--corteza)); }
.link--primary .link__chev { width: 22px; height: 22px; color: var(--papel); }

.pill {
  flex-shrink: 0; padding: 4px 10px; border-radius: 999px;
  background: var(--trigo); color: var(--corteza);
  font-size: 11.5px; font-weight: 800; font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase;
}
.is-pending { cursor: help; }
/* En la vista previa del panel, lo pendiente se ve punteado */
.is-preview .link.is-pending:not(.link--primary) { border-style: dashed; }

/* ── Promoción ───────────────────────────────────────────────── */
.promos { display: grid; gap: 20px; }
.promo { position: relative; border-radius: 6px; background: var(--corteza) var(--grain-light); color: var(--papel); }
.promo__media { position: relative; aspect-ratio: 412 / 300; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px 6px 0 0; }
.promo__badge {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--papel); color: var(--corteza);
  font-size: 11.5px; font-weight: 800; font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase;
}
.sticker {
  position: absolute; right: 12px; bottom: -44px; z-index: 2;
  width: 122px; height: 122px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--corteza); text-align: center;
  transform: rotate(-9deg);
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--trigo); stroke: var(--trigo); stroke-width: 4; stroke-linejoin: round; }
.sticker__now { position: relative; font: 400 24px/1 var(--display); letter-spacing: -.01em; }
.sticker__was { position: relative; font-size: 12.5px; font-weight: 700; }
.promo__body { padding: 22px 20px 20px; }
/* el texto rodea el sticker en vez de encogerse entero */
.promo__body.has-sticker::before { content: ""; float: right; width: 112px; height: 50px; margin: -22px -8px 0 8px; }
.promo__title { font: 400 31px/1.02 var(--display); letter-spacing: -.01em; color: var(--papel); }
.promo__cond { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: color-mix(in srgb, var(--papel) 80%, var(--corteza)); }
.promo .btn { margin-top: 18px; clear: both; }

/* ── Botones ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background-color var(--t) var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:active { transform: scale(.96); }
.btn--light { background: var(--papel); color: var(--corteza); }
.btn--cream { background: var(--papel); color: var(--brasa-2); }
.btn--dark { background: var(--corteza); color: var(--papel); }
.btn--block { width: 100%; }

/* ── La semana en el horno ───────────────────────────────────── */
.week__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day {
  position: relative; height: 52px; border-radius: 12px;
  border: 1.5px solid var(--linea); background: transparent; color: var(--corteza);
  font: 400 20px/1 var(--display); cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.day.is-empty { color: var(--texto-2); border-style: dashed; }
.day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; translate: -50% 0;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brasa);
}
.day[aria-pressed="true"] { background: var(--brasa); border-color: var(--brasa); color: var(--papel); }
.day[aria-pressed="true"].is-today::after { background: var(--trigo); }
.day:active { transform: scale(.94); }

.week__panel {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 10px; padding: 20px 20px 20px; min-height: 176px;
  border-radius: 16px; background: var(--brasa); color: var(--papel);
}
.week__panel.is-empty { background: var(--miga-2); color: var(--corteza); }
.week__ghost {
  position: absolute; right: -8px; bottom: -34px; z-index: -1;
  font: 400 150px/1 var(--display); letter-spacing: -.04em; text-transform: lowercase;
  color: color-mix(in srgb, var(--papel) 10%, transparent);
}
.week__panel.is-empty .week__ghost { color: color-mix(in srgb, var(--corteza) 6%, transparent); }
.week__eyebrow { font-size: 12px; font-weight: 800; font-stretch: 78%; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--papel) 78%, var(--brasa)); }
.week__panel.is-empty .week__eyebrow { color: var(--brasa); }
.special + .special { margin-top: 18px; padding-top: 18px; border-top: 1px dashed color-mix(in srgb, var(--papel) 35%, transparent); }
.special__title { margin-top: 8px; font: 400 28px/1.05 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.special__detail { margin-top: 8px; max-width: 30ch; font-size: 14.5px; line-height: 1.45; color: color-mix(in srgb, var(--papel) 88%, var(--brasa)); }
.special__row { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.special__price { font: 400 26px/1 var(--display); }
.special__row .btn { margin-left: auto; }
.special__empty { margin-top: 10px; max-width: 28ch; font: 400 21px/1.25 var(--display); }

/* ── Cinta ───────────────────────────────────────────────────── */
.ticker {
  margin: 52px -28px 0; padding: 13px 0;
  background: var(--corteza); color: var(--papel);
  transform: rotate(-2.4deg); overflow: hidden;
}
.ticker__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker__run {
  display: flex; align-items: center; gap: 18px; padding-right: 18px;
  font-size: 18px; font-weight: 800; font-stretch: 75%; letter-spacing: .06em; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
}
.ticker__sep { width: 14px; height: 14px; stroke-width: 2.8; color: var(--trigo); }

/* ── De la carta ─────────────────────────────────────────────── */
#carta { margin-top: 48px; }
.shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px;
  margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 10px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf > li { scroll-snap-align: start; min-width: 0; }
.shelf:focus-visible { outline-offset: -3px; }
.item { display: flex; flex-direction: column; container-type: inline-size; }
.item__img {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--frame-top) var(--frame-top) var(--frame-bottom) var(--frame-bottom); background: var(--miga);
}
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.item__price {
  position: absolute; left: 10px; bottom: 12px;
  padding: 6px 10px; border-radius: 4px;
  background: var(--trigo); color: var(--corteza);
  font-size: 14.5px; font-weight: 800; letter-spacing: -.01em;
  transform: rotate(-4deg);
}
.item__name { margin-top: 12px; font: 400 21px/1.1 var(--display); color: var(--corteza); }
.item__desc { margin-top: 5px; font-size: 13.5px; line-height: 1.4; color: var(--texto-2); }
.item__cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--brasa); }
.item__cta svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.shelf-nav { display: none; gap: 6px; }

/* ── Visítanos (ticket) ──────────────────────────────────────── */
.ticket { position: relative; padding: 22px 20px 20px; border-radius: 16px; background: var(--miga-2); }
.ticket__name { margin-top: 6px; font: 400 28px/1.1 var(--display); color: var(--corteza); }
.ticket__addr { margin-top: 8px; display: flex; gap: 6px; align-items: flex-start; font-size: 15px; }
.ticket__addr svg { width: 17px; height: 17px; margin-top: 2px; color: var(--brasa); }
.ticket__cut { position: relative; margin: 20px -20px 6px; border-top: 2px dashed color-mix(in srgb, var(--corteza) 22%, transparent); }
.ticket__cut::before, .ticket__cut::after {
  content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--papel);
}
.ticket__cut::before { left: -11px; }
.ticket__cut::after { right: -11px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--corteza) 10%, transparent); font-size: 14.5px; }
.hours dt { color: var(--texto-2); }
.hours dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours .is-today dt { color: var(--corteza); font-weight: 700; }
.hours .is-today dt::after { content: " · hoy"; color: var(--brasa); }
.ticket .btn { margin-top: 18px; }

/* ── Galería ─────────────────────────────────────────────────── */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: var(--miga); transition: opacity var(--t) var(--ease); }
.mosaic:not([data-count="1"]):not([data-count="2"]) img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mosaic[data-count="1"] { grid-template-columns: 1fr; }
.mosaic[data-count="2"] { grid-template-columns: 1fr 1fr; }

/* ── Pie ─────────────────────────────────────────────────────── */
.footer {
  margin-top: 60px; padding: 40px var(--pad) 0;
  background: var(--corteza) var(--grain-light); color: var(--papel);
  container-type: inline-size; overflow: hidden;
}
.footer__line { max-width: 16ch; font: 400 24px/1.2 var(--display); }
.socials--dark .icon-btn { border-color: color-mix(in srgb, var(--papel) 22%, transparent); color: var(--papel); }
.footer__legal { margin-top: 22px; font-size: 12.5px; color: color-mix(in srgb, var(--papel) 65%, var(--corteza)); }
.footer__word {
  margin: 18px 0 -.2em;
  display: flex; flex-direction: column;
  font: 400 min(calc(100cqi / (var(--chars) * .6)), 150px)/.84 var(--display);
  letter-spacing: -.035em; color: var(--brasa-claro);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  margin-bottom: calc(-96px - env(safe-area-inset-bottom) - .12em);
}

/* ── WhatsApp flotante ───────────────────────────────────────── */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(20, 60, 35, .55), 0 0 0 3px var(--papel);
  transition: transform var(--t-fast) var(--ease);
  animation: popIn .5s var(--ease) .8s both;
}
.wa-float svg { width: 28px; height: 28px; stroke-width: 1.7; }
.wa-float:active { transform: scale(.92); }

/* ── Toast ───────────────────────────────────────────────────── */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom));
  max-width: min(92vw, 380px); padding: 12px 16px; border-radius: 12px;
  background: var(--corteza); color: var(--papel); font-size: 13.5px; font-weight: 600; text-align: center;
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ── Entrada (solo la primera vez) ───────────────────────────── */
.anim .arch__frame { animation: ovenOpen .9s var(--ease) both; }
.anim .arch__line { animation: fadeIn .8s var(--ease) .2s both; }
.anim .stamp, .anim .mark { animation: popIn .55s var(--ease) .45s both; }
.anim .hero__body > * { animation: fadeUp .5s var(--ease) both; }
.anim .hero__body > :nth-child(2) { animation-delay: .08s; }
.anim .hero__body > :nth-child(3) { animation-delay: .14s; }
.anim .hero__body > :nth-child(4) { animation-delay: .2s; }
.anim .hero__body > :nth-child(5) { animation-delay: .26s; }
.anim .links li { animation: fadeUp .45s var(--ease) both; animation-delay: calc(.3s + var(--i, 0) * 45ms); }

@keyframes ovenOpen { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.6) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .55; } }
@keyframes ember {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brasa) 45%, transparent); }
  50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brasa) 0%, transparent); }
}

/* ── Hover (solo con puntero real) ───────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .link:hover { border-color: var(--corteza); }
  .link:not(.link--primary):hover .link__icon { background: var(--corteza); color: var(--papel); }
  .link:hover .link__chev { transform: translateX(3px); color: var(--corteza); }
  .link--primary:hover { background: var(--corteza-2); }
  .link--primary:hover .link__icon { background: var(--brasa-2); }
  .link--primary:hover .link__chev { color: #fff; }
  .icon-btn:hover { background: var(--corteza); border-color: var(--corteza); color: var(--papel); }
  .socials--dark .icon-btn:hover { background: var(--papel); border-color: var(--papel); color: var(--corteza); }
  .btn:hover svg { transform: translateX(3px); }
  .btn--dark:hover { background: var(--corteza-2); }
  .btn--light:hover, .btn--cream:hover { background: #fff; }
  .day:not([aria-pressed="true"]):hover { border-color: var(--corteza); }
  .item:hover .item__img img { transform: scale(1.05); }
  .item:hover .item__cta svg { transform: translateX(3px); }
  .mosaic:hover img { opacity: .85; }
  .mosaic img:hover { opacity: 1; }
  .section__more:hover { text-decoration: underline; }
  .shelf-nav { display: flex; }
  .wa-float:hover { transform: translateY(-2px) scale(1.04); }
}

/* ── Móvil pequeño (≤ 360) ───────────────────────────────────── */
@media (max-width: 360px) {
  :root { --pad: 16px; }
  .link { gap: 12px; }
  .stamp { width: 96px; height: 96px; }
  .stamp__icon { width: 28px; height: 28px; }
  .day { height: 46px; font-size: 18px; }
  .sticker { width: 108px; height: 108px; }
  .sticker__now { font-size: 21px; }
  .promo__body.has-sticker::before { width: 92px; height: 50px; }
}

/* ── Tablet (≥ 481) ──────────────────────────────────────────── */
@media (min-width: 481px) {
  :root { --pad: 24px; }
  body { background: var(--harina) var(--grain); }
  .stage { padding: 32px 20px 56px; }
  .card {
    max-width: 460px; margin: 0 auto; min-height: 0;
    border-radius: 28px;
    box-shadow: 0 0 0 1.5px var(--corteza), 0 30px 60px -30px color-mix(in srgb, var(--corteza) 45%, transparent);
  }
  .shelf { grid-auto-columns: 58%; }
  .footer__word { padding-bottom: 0; margin-bottom: -.2em; }
  .wa-float { box-shadow: 0 10px 24px -8px rgba(20, 60, 35, .55); }
}

/* ── Escritorio (≥ 769): arcos del horno detrás de la tarjeta ── */
@media (min-width: 769px) {
  body { background: var(--corteza) var(--grain-light); }
  body::before, body::after {
    content: ""; position: fixed; left: 50%; z-index: -1; pointer-events: none;
    height: 160vh; translate: -50% 0;
    border: 1.5px solid color-mix(in srgb, var(--harina) 13%, transparent); border-bottom: 0;
    border-radius: 9999px 9999px 0 0;
  }
  body::before { top: 70px; width: min(1000px, 94vw); }
  body::after { top: 100px; width: calc(min(1000px, 94vw) - 60px); border-color: color-mix(in srgb, var(--brasa-claro) 22%, transparent); }
  .stage { padding: 56px 24px 72px; position: relative; z-index: 0; }
  .card { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75); }
  .wa-float { right: 32px; bottom: 32px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
  .toast { bottom: 110px; }
}

/* ── Movimiento reducido ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important;
    transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important;
  }
  .ticker__track { animation: none !important; }
}
