/* Hornada · obrador de pan (concepto WEBO). Cercano y cálido: papel de bolsa, miga, corteza y tinta de sello.
   Gambarino para titulares (redondo, de rótulo de tienda antigua) y Rethink Sans para el texto.
   Motivos: el sello de goma (marca y etiquetas) y el borde dentado de la bolsa de papel entre secciones.
   Formas: radios de 12 a 16 px en superficies, píldora en lo pulsable. El índigo del sello es el único acento. */

@font-face { font-family: "Gambarino"; src: url("/assets/fonts/conceptos/gambarino-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url("/assets/fonts/conceptos/rethink-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url("/assets/fonts/conceptos/rethink-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --kraft: #D9BD93;
  --kraft-hondo: #C6A473;
  --miga: #FAF4E8;
  --papel: #FFFCF6;
  --corteza: #36200F;
  --corteza-2: #5E4330;
  --sello: #2E3D8C;
  --sello-hondo: #233070;
  --noche: #15110E;
  --sobre-noche: #F6EBDA;
  --sobre-noche-2: rgb(246 235 218 / .76);
  --filete: rgb(54 32 15 / .16);
  --filete-fuerte: rgb(54 32 15 / .34);
  --display: "Gambarino", "Cooper", Georgia, serif;
  --texto: "Rethink Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --masa: cubic-bezier(.22, 1, .36, 1);
  --margen: clamp(20px, 5vw, 72px);
  --ancho: 1296px;
  --fibra: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .35' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .2 0 0 0 0 .09 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --tinta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 2.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
  --dientes: conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) 50% 100% / 22px 11px repeat-x;
}

html { scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--fibra), var(--kraft); color: var(--corteza);
  font: 400 1.0625rem/1.6 var(--texto);
  font-kerning: normal;
}
::selection { background: var(--sello); color: var(--miga); }
:focus-visible { outline: 2px solid var(--sello); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }

.saltar {
  position: absolute; left: 16px; top: 16px; z-index: 50;
  padding: 10px 16px; border-radius: 999px; background: var(--corteza); color: var(--miga); text-decoration: none;
  transform: translateY(-180%);
}
.saltar:focus-visible { transform: none; }

.hueco { position: relative; overflow: hidden; margin: 0; background: var(--corteza); }
.hueco > svg, .hueco > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Botones y enlaces */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sello); color: var(--miga);
  font: 600 1rem/1 var(--texto); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease);
}
.boton:active { transform: scale(.97); }
.boton--borde { min-height: 44px; padding: 0 20px; background: transparent; color: var(--sello); box-shadow: inset 0 0 0 1.5px var(--sello); }
.enlace {
  color: var(--sello); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: .3em; text-decoration-color: rgb(46 61 140 / .35);
  transition: text-decoration-color 200ms ease;
}
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
@media (hover: hover) and (pointer: fine) {
  .boton:hover { background: var(--sello-hondo); }
  .boton--borde:hover { background: var(--sello); color: var(--miga); }
  .enlace:hover { text-decoration-color: currentColor; }
  .cabecera__nav a:hover { text-decoration-color: var(--sello); }
  .pie a:hover { color: var(--miga); }
}

/* Sello de goma: doble filete, tinta gastada y un pelo torcido */
.sello {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 14px 9px; color: var(--sello); text-decoration: none;
  border: 2px solid currentColor; border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--kraft), inset 0 0 0 3px currentColor;
  -webkit-mask: var(--tinta); mask: var(--tinta);
  transform: rotate(-2.5deg);
}
.sello__nombre { font: 400 1.5rem/1 var(--display); letter-spacing: .01em; }
.sello__sub { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; line-height: 1.2; }

/* Cabecera */
.cabecera {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin-inline: auto;
  padding: clamp(18px, 2.6vw, 30px) var(--margen) 0;
}
.sello--marca { margin-right: auto; }
.cabecera__nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.cabecera__nav a {
  font-size: .9688rem; font-weight: 600; color: var(--corteza); text-decoration: underline;
  text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  transition: text-decoration-color 200ms ease;
}

/* Portada en papel de bolsa */
.portada {
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px);
  align-items: end;
  padding: clamp(40px, 6vh, 72px) var(--margen) clamp(80px, 11vh, 128px);
  min-height: min(calc(100svh - 90px), 860px);
}
.portada__texto { grid-column: 1 / 8; padding-bottom: clamp(8px, 2vh, 24px); }
.portada h1 { font-size: clamp(3.4rem, 7.6vw, 6rem); line-height: .96; letter-spacing: -.02em; max-width: 9ch; }
.portada__sub { margin-top: clamp(20px, 3vh, 30px); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--corteza-2); max-width: 38ch; }
.portada .acciones { margin-top: clamp(28px, 4.2vh, 40px); }
.portada__foto { grid-column: 8 / 13; position: relative; }
@media (min-width: 901px) { .portada__foto { width: min(100%, calc((100svh - 260px) * .8)); justify-self: end; } }
.hueco--hogaza { aspect-ratio: 4 / 5; border-radius: 16px; box-shadow: 0 30px 60px -30px rgb(54 32 15 / .55); }
.sello--etiqueta {
  position: absolute; left: -38px; bottom: 36px;
  background: var(--kraft); padding: 12px 18px 13px; transform: rotate(-6deg);
}
.sello--etiqueta span:first-child { font: 400 1.375rem/1 var(--display); }
.sello--etiqueta span:last-child { font-size: .75rem; font-weight: 600; letter-spacing: .16em; }

/* Borde dentado de bolsa entre papel y miga */
.hornadas, .encargos { position: relative; }
.hornadas::before, .encargos::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 11px;
  background: var(--miga); -webkit-mask: var(--dientes); mask: var(--dientes);
}

/* Hornadas del día */
.hornadas { background: var(--miga); }
.hornadas__in, .panes__in, .encargos__in, .donde__in, .pie__in {
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin-inline: auto; padding-inline: var(--margen);
}
.hornadas__in { padding-top: clamp(88px, 10vw, 144px); padding-bottom: clamp(96px, 11vw, 160px); }
.hornadas__cab { display: grid; gap: 18px; max-width: 760px; }
.hornadas h2, .panes h2, .encargos h2, .donde h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1; letter-spacing: -.015em; }
.hornadas__ahora { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; color: var(--corteza-2); max-width: 46ch; }

.dia { margin-top: clamp(72px, 8vw, 104px); position: relative; }
.dia__linea { display: none; }
.tandas { display: grid; gap: 28px; }
.tanda__cuerpo h3 { font-size: 1.75rem; line-height: 1.1; }
.tanda__h { color: var(--sello); }
.tanda__cuerpo p { margin-top: 8px; color: var(--corteza-2); max-width: 52ch; }

/* Con JS: línea del día de 6:00 a 21:00 con las tandas en su hora */
.dia.es-activo .dia__linea { display: block; position: relative; height: 56px; }
.dia__trazo { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--corteza); border-radius: 2px; }
.dia__trazo::after {
  content: ""; position: absolute; inset: 0; transform-origin: 0 50%;
  background: repeating-linear-gradient(90deg, var(--filete-fuerte) 0 1px, transparent 1px calc(100% / 30));
  height: 10px; top: 2px;
}
.dia__hora {
  position: absolute; top: -26px; left: calc((var(--h) - 6) / 15 * 100%); transform: translateX(-50%);
  font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--corteza-2);
}
/* Lo que va de día: de las 6:00 a la hora del visitante, en tinta de sello */
.dia__hecho {
  position: absolute; left: 0; top: -1px; height: 4px; border-radius: 2px;
  width: calc((var(--h, 6) - 6) / 15 * 100%); background: var(--sello); transform-origin: 0 50%;
}
.dia__hecho[hidden] { display: none; }
.dia__ya {
  position: absolute; top: -34px; height: 36px; left: calc((var(--h) - 6) / 15 * 100%);
  width: 2px; margin-left: -1px; background: var(--sello); transform-origin: 50% 100%;
}
.dia__ya[hidden] { display: none; }
.dia__ya span {
  position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -4px); white-space: nowrap;
  padding: 3px 9px; border-radius: 999px; background: var(--sello); color: var(--miga);
  font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.dia.es-activo .tandas {
  grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 0; margin-top: -54px;
}
.dia.es-activo .tanda { display: contents; }
.tanda__boton[hidden] { display: none; }
.dia.es-activo .tanda__boton {
  grid-row: 1; position: relative; justify-self: start;
  display: grid; gap: 2px; justify-items: start; text-align: left;
  min-width: 132px; padding: 12px 16px 12px; margin-left: -16px; margin-top: 0;
  border: 0; border-radius: 12px; background: none; cursor: pointer; color: var(--corteza);
  transition: background-color 220ms ease, transform 160ms var(--ease);
}
.dia.es-activo .tanda__boton::before {
  content: ""; position: absolute; left: 10px; top: -6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--miga); box-shadow: inset 0 0 0 2px var(--corteza);
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 300ms var(--ease);
}
.tanda__hora { font: 400 1.5rem/1 var(--display); padding-top: 10px; }
.tanda__nombre { font-size: .9375rem; color: var(--corteza-2); }
.dia.es-activo .tanda__boton:active { transform: scale(.97); }
.dia.es-activo .tanda.es-elegida .tanda__boton { background: var(--papel); box-shadow: 0 1px 0 var(--filete), 0 14px 30px -18px rgb(54 32 15 / .35); }
/* Hornadas que ya han salido hoy: punto relleno de corteza */
.dia.es-activo .tanda.es-pasada .tanda__boton::before { background: var(--corteza); }
.dia.es-activo .tanda.es-elegida .tanda__boton::before { background: var(--sello); box-shadow: inset 0 0 0 2px var(--sello); transform: scale(1.15); }
.dia.es-activo .tanda.es-elegida .tanda__hora { color: var(--sello); }
@media (hover: hover) and (pointer: fine) {
  .dia.es-activo .tanda:not(.es-elegida) .tanda__boton:hover { background: rgb(255 252 246 / .6); }
}
.dia.es-activo .tanda:nth-child(1) .tanda__boton { grid-column: 3 / span 6; }
.dia.es-activo .tanda:nth-child(2) .tanda__boton { grid-column: 10 / span 6; }
.dia.es-activo .tanda:nth-child(3) .tanda__boton { grid-column: 15 / span 6; }
.dia.es-activo .tanda:nth-child(4) .tanda__boton { grid-column: 25 / span 6; }
.dia.es-activo .tanda__cuerpo {
  grid-row: 2; grid-column: 1 / -1; margin-top: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 40px; align-items: baseline;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border-radius: 16px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--filete);
}
.dia.es-activo .tanda__cuerpo p { margin-top: 0; font-size: 1.125rem; }
.dia.es-activo .tanda__cuerpo[hidden] { display: none; }

/* El obrador de noche, a sangre */
.noche { position: relative; isolation: isolate; overflow: hidden; background: var(--noche); color: var(--sobre-noche); min-height: 92svh; display: grid; align-items: end; }
.noche ::selection { background: var(--sobre-noche); color: var(--noche); }
.noche :focus-visible { outline-color: var(--sobre-noche); }
.noche__foto { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--noche); }
.noche__foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.noche__foto::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(270deg, rgb(21 17 14 / .95) 0%, rgb(21 17 14 / .9) 38%, rgb(21 17 14 / .55) 48%, rgb(21 17 14 / 0) 62%),
    linear-gradient(0deg, rgb(21 17 14 / .55) 0%, rgb(21 17 14 / 0) 36%);
}
.noche__in {
  width: 100%; max-width: calc(var(--ancho) + 2 * var(--margen)); margin-inline: auto;
  padding: clamp(120px, 16vw, 200px) var(--margen) clamp(64px, 9vw, 112px);
  display: grid; justify-items: start; padding-left: max(var(--margen), calc(56% + 24px));
}
.noche h2 { font-size: clamp(2.6rem, 4.6vw, 4.25rem); line-height: .98; letter-spacing: -.015em; max-width: 12ch; }
.noche__in > p { margin-top: 22px; max-width: 44ch; font-size: 1.125rem; color: var(--sobre-noche-2); }
.noche__datos { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 1fr; max-width: 440px; width: 100%; }
.noche__datos li { padding: 12px 0; }
.noche__datos li { border-top: 1px solid rgb(246 235 218 / .3); font-size: .9688rem; line-height: 1.45; color: var(--sobre-noche); }

/* Panes de la casa, sobre papel */
.panes { overflow-x: clip; } /* la bandeja entra de lado: que no ensanche la página mientras llega */
.panes__in { padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(96px, 11vw, 160px); }
.panes__cab p { margin-top: 14px; color: var(--corteza-2); font-size: 1.125rem; }
.tablero {
  margin-top: clamp(44px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: start;
}
.lista:nth-of-type(1) { grid-column: 1 / 5; }
.lista:nth-of-type(2) { grid-column: 5 / 9; }
.lista h3 { font-size: 1.875rem; padding-bottom: 12px; border-bottom: 2px solid var(--corteza); }
.lista li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px;
  padding: 16px 0 17px;
  background: linear-gradient(90deg, var(--filete-fuerte) 50%, transparent 0) 0 100% / 8px 1.5px repeat-x;
}
.lista__nombre { font-weight: 600; font-size: 1.0625rem; }
.lista__desc { grid-row: 2; font-size: .9375rem; color: var(--corteza-2); }
.lista__precio { grid-row: 1 / span 2; align-self: center; font: 400 1.375rem/1 var(--display); color: var(--sello); font-variant-numeric: tabular-nums; }
.hueco--bandeja { grid-column: 9 / 13; aspect-ratio: 4 / 5; border-radius: 16px; transform: rotate(1.5deg); box-shadow: 0 30px 60px -30px rgb(54 32 15 / .5); }

/* Encargos */
.encargos { background: var(--miga); }
.encargos__in {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: start;
  padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(96px, 11vw, 160px);
}
.encargos__texto { grid-column: 1 / 6; position: sticky; top: 40px; }
.encargos__texto p { margin-top: 20px; font-size: 1.125rem; color: var(--corteza-2); max-width: 38ch; }
.pedido {
  grid-column: 7 / 13; display: grid; gap: 28px;
  padding: clamp(24px, 3.4vw, 44px); border-radius: 16px;
  background: var(--papel); box-shadow: inset 0 0 0 1px var(--filete), 0 30px 60px -40px rgb(54 32 15 / .45);
}
.pedido fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pedido legend, .pedido__etq { display: block; padding: 0; margin-bottom: 10px; font-weight: 600; font-size: .9688rem; }
.pedido__fila { display: grid; grid-template-columns: auto 1fr; gap: 24px 28px; }
.pedido__fila:has(.campo) { grid-template-columns: 1fr 1fr; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--filete-fuerte); font-size: .9688rem; font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 160ms var(--ease);
}
.chip input:checked + span { background: var(--sello); color: var(--miga); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--sello); outline-offset: 2px; }
.chip:active span { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { box-shadow: inset 0 0 0 1.5px var(--corteza); } }
.contador { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--filete-fuerte); }
.contador button {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; cursor: pointer;
  font-size: 1.25rem; line-height: 1; color: var(--corteza); transition: background-color 160ms ease, transform 160ms var(--ease);
}
.contador button:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .contador button:hover { background: var(--miga); } }
.contador input {
  width: 3ch; border: 0; background: none; text-align: center; font: 400 1.375rem/1 var(--display);
  font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.contador input::-webkit-inner-spin-button, .contador input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.campo {
  width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 10px;
  background: var(--miga); box-shadow: inset 0 0 0 1.5px var(--filete); font-size: 1rem;
  transition: box-shadow 180ms ease;
}
.campo:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sello); }
.campo[aria-invalid=true] { box-shadow: inset 0 0 0 2px #A3321F; }
.pedido__resumen {
  display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center;
  padding-top: 24px; background: linear-gradient(90deg, var(--filete-fuerte) 50%, transparent 0) 0 0 / 8px 1.5px repeat-x;
}
.ticket { font: 400 1.375rem/1.3 var(--display); color: var(--sello); }
.pedido__aviso { font-size: .9688rem; color: var(--corteza-2); }
.pedido__aviso:empty { display: none; }
.pedido__aviso.es-error { color: #A3321F; font-weight: 600; }

/* Dónde estamos, en corteza */
.donde, .pie { background: var(--corteza); color: var(--miga); }
.donde ::selection, .pie ::selection { background: var(--miga); color: var(--corteza); }
.donde :focus-visible, .pie :focus-visible { outline-color: var(--miga); }
.donde__in { padding-top: clamp(96px, 11vw, 152px); padding-bottom: clamp(72px, 8vw, 112px); }
.donde h2 { max-width: 16ch; }
.donde__datos { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); }
.dato { border-top: 1px solid rgb(250 244 232 / .28); padding-top: 16px; }
.dato h3 { font-size: 1.5rem; }
.dato p, .horario { margin-top: 10px; color: rgb(250 244 232 / .8); }
.horario { display: grid; gap: 6px; }
.horario div { display: flex; justify-content: space-between; gap: 16px; max-width: 300px; }
.horario dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--miga); }
.donde .enlace { color: var(--miga); text-decoration-color: rgb(250 244 232 / .45); font: 400 1.5rem/1.2 var(--display); }
.pie__in {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
  padding-top: 26px; padding-bottom: 88px; border-top: 1px solid rgb(250 244 232 / .16);
  font-size: .9375rem; color: rgb(250 244 232 / .8);
}
.pie__marca { font: 400 1.25rem/1 var(--display); color: var(--miga); }
.pie nav { margin-left: auto; }
.pie ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pie a { color: rgb(250 244 232 / .8); text-decoration: none; transition: color 200ms ease; }

/* Sello «Apuntado» que se estampa en el ticket al hacer el encargo */
.pedido__resumen { position: relative; }
.sello--apuntado {
  position: absolute; right: 4px; top: -22px; z-index: 1;
  padding: 7px 14px 8px; background: var(--papel);
  box-shadow: inset 0 0 0 2px var(--papel), inset 0 0 0 3px currentColor;
  font: 400 1.25rem/1 var(--display); transform: rotate(-6deg);
}
.sello--apuntado[hidden] { display: none; }

/* Movimiento (20/10/2026). Cercano y artesano: la hogaza sube como la masa en el horno, después se estampa la
   etiqueta y sale un vaho lento. La línea del día, la bandeja y los precios los mueve hornada.js.
   Solo bajo html.mov (concepto.js); fill «backwards» para no bloquear los :active de después. */
.mov .portada h1, .mov .portada__sub, .mov .portada .acciones { animation: hornada-subir 800ms var(--ease) backwards; }
.mov .portada__sub { animation-delay: 90ms; }
.mov .portada .acciones { animation-delay: 170ms; }
.mov .hueco--hogaza { animation: hornada-fundir 900ms var(--ease) 100ms backwards; }
.hueco--hogaza .masa, .hueco--hogaza .masa-sombra { transform-box: fill-box; }
.hueco--hogaza .masa { transform-origin: 50% 100%; }
.hueco--hogaza .masa-sombra { transform-origin: 50% 50%; }
.mov .hueco--hogaza .masa { animation: hornada-levar 1900ms var(--masa) 380ms backwards; }
.mov .hueco--hogaza .masa-sombra { animation: hornada-sombra 1900ms var(--masa) 380ms backwards; }
.mov .sello--etiqueta { animation: hornada-estampar 420ms cubic-bezier(.3, 0, .2, 1) 1350ms backwards; }
.mov .sello--apuntado.es-estampado { animation: hornada-estampar 420ms cubic-bezier(.3, 0, .2, 1) backwards; }
.mov .dia.es-activo .tanda__cuerpo:not([hidden]) { animation: hornada-subir 420ms var(--ease) backwards; }
/* Vaho: tres hilos que suben y se deshacen; corren solo con la portada en pantalla (clase que pone el JS) */
.vaho path { opacity: 0; }
.mov .vaho path { animation: hornada-vaho 6.6s ease-in-out infinite paused; }
.mov .vaho path:nth-child(2) { animation-delay: 2.2s; }
.mov .vaho path:nth-child(3) { animation-delay: 4.4s; }
.mov .vaho-activo .vaho path { animation-play-state: running; }
@keyframes hornada-subir { from { opacity: 0; transform: translateY(12px); } }
@keyframes hornada-fundir { from { opacity: 0; transform: translateY(18px); } }
@keyframes hornada-estampar { from { opacity: 0; transform: scale(1.35) rotate(-12deg); } 70% { opacity: 1; } to { opacity: 1; transform: scale(1) rotate(-6deg); } }
@keyframes hornada-levar { from { transform: scale(.95, .78); } }
@keyframes hornada-sombra { from { transform: scaleX(.84); opacity: .55; } }
@keyframes hornada-vaho { 0% { opacity: 0; transform: translateY(16px); } 40% { opacity: .32; } 100% { opacity: 0; transform: translateY(-38px); } }

/* Tableta */
@media (max-width: 1080px) {
  .cabecera__nav { display: none; }
  .lista:nth-of-type(1) { grid-column: 1 / 7; }
  .lista:nth-of-type(2) { grid-column: 7 / 13; }
  .hueco--bandeja { grid-column: 1 / 13; grid-row: 2; aspect-ratio: 16 / 9; margin-top: 48px; transform: none; }
  .encargos__texto { grid-column: 1 / 13; position: static; }
  .pedido { grid-column: 1 / 13; margin-top: 40px; }
}
@media (max-width: 860px) {
  .portada { min-height: 0; padding-top: 36px; }
  .portada__texto { grid-column: 1 / 13; }
  .portada__foto { grid-column: 2 / 13; margin-top: 48px; }
  .hueco--hogaza { aspect-ratio: 5 / 4; }
  .sello--etiqueta { left: -26px; bottom: 22px; }
  /* La línea del día pasa a vertical: cada tanda se abre bajo su hora */
  .dia.es-activo .dia__linea { display: none; }
  .dia.es-activo .tandas { display: block; margin-top: 0; position: relative; padding-left: 28px; }
  .dia.es-activo .tandas::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--corteza); border-radius: 2px; transform: scaleY(var(--hilo, 1)); transform-origin: 50% 0; }
  .dia.es-activo .tanda { display: block; position: relative; }
  .dia.es-activo .tanda + .tanda { margin-top: 8px; }
  .dia.es-activo .tanda__boton { display: flex; align-items: baseline; gap: 14px; width: 100%; min-width: 0; margin-left: 0; padding: 12px 14px; }
  .dia.es-activo .tanda__boton::before { left: -28px; top: 18px; }
  .tanda__hora { padding-top: 0; }
  .dia.es-activo .tanda__cuerpo { display: block; margin-top: 8px; padding: 18px 18px 20px; }
  .dia.es-activo .tanda__cuerpo h3 { display: none; }
  .donde__datos { grid-template-columns: 1fr 1fr; }
  .noche__in { padding-left: var(--margen); }
  .noche__foto::after { background: linear-gradient(0deg, rgb(21 17 14 / .95) 0%, rgb(21 17 14 / .75) 40%, rgb(21 17 14 / 0) 72%); }
}

/* Móvil */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .cabecera { padding-top: 16px; gap: 12px; }
  .sello--marca { padding: 6px 11px 7px; }
  .sello__nombre { font-size: 1.25rem; }
  .sello__sub { font-size: .625rem; }
  .boton--borde { min-height: 40px; padding: 0 16px; font-size: .9063rem; }
  .portada h1 { font-size: clamp(3rem, 14.4vw, 3.75rem); }
  .portada__foto { grid-column: 1 / 13; }
  .hueco--hogaza { aspect-ratio: 1 / 1; }
  .sello--etiqueta { left: 14px; bottom: auto; top: -22px; }
  .hornadas__ahora { font-size: 1.0625rem; }
  .noche { min-height: 0; }
  .noche__foto { bottom: auto; height: 460px; }
  .noche__foto > img { object-position: 30% 50%; }
  .noche__foto::after { background: linear-gradient(0deg, rgb(21 17 14 / 1) 0%, rgb(21 17 14 / .6) 26%, rgb(21 17 14 / 0) 52%); }
  .noche__in { padding-top: 380px; padding-left: var(--margen); }
  .lista:nth-of-type(1), .lista:nth-of-type(2) { grid-column: 1 / 13; }
  .lista:nth-of-type(2) { margin-top: 44px; }
  .hueco--bandeja { aspect-ratio: 4 / 3; }
  .pedido { padding: 22px 18px 24px; }
  .pedido__fila, .pedido__fila:has(.campo) { grid-template-columns: 1fr; }
  .pedido__resumen { grid-template-columns: 1fr; }
  .pedido__resumen .boton { width: 100%; }
  .ticket { font-size: 1.25rem; }
  .donde__datos { grid-template-columns: 1fr; }
  .pie nav { margin-left: 0; width: 100%; }
}
