/* =========================================================
   Nostra Pizza — estilos
   Layout inspirado en hero fotográfico a pantalla completa
   ========================================================= */

:root {
  /* curva de los marcos (la misma de la carta revista): acompaña el ancho de la pantalla */
  --frame-r: clamp(16px, 3.4vw, 28px);
  --frame-r-in: clamp(10px, 2vw, 18px);
  --bg: rgb(25, 20, 16);
  --bg-alt: rgb(42, 34, 28);
  --ink: rgb(214, 191, 167);
  --ink-soft: rgb(160, 126, 91);
  --red: rgb(217, 56, 41);
  --wa: #25d366;
  --white: rgb(29, 23, 19);
  --line: rgba(214, 191, 167, 0.12);
  --panel: rgba(214, 191, 167, 0.92);
  --header-h: 88px;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1240px;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Sin el recuadro azul del navegador al tocar o hacer clic (Android, iPhone, Samsung, PC) */
html, * { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
/* Con teclado (Tab) se sigue viendo dónde está el foco, pero en el terracota de la página */
:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 2px; }
button::-moz-focus-inner { border: 0; }
/* Sin teclado (toque o mouse) nunca se dibuja el contorno de foco, ni siquiera cuando el foco vuelve solo a un botón */
html:not(.kbd) :focus-visible,
html:not(.kbd) .cart-seg input:focus-visible + span { outline: none !important; }
picture { display: contents; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* iPhone/Safari: el "rebote" arriba y abajo muestra el oscuro de la página (no un blanco) y nunca hay scroll de costado */
  background-color: rgb(218, 199, 179);
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, .9rem + .25vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1; }
p { margin: 0; }
:focus-visible { outline: 2px solid rgb(29, 23, 19); outline-offset: 3px; }
main :focus-visible { outline-color: var(--red); }

/* Tipografía display ancha y gruesa (Archivo, eje wdth) */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .8em 1.6em;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 110%;
  font-variation-settings: "wdth" 110;
  font-size: .85em;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.3em; height: 1.3em; flex-shrink: 0; }
.btn--dark { background: var(--ink); color: rgb(29, 23, 19); }
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: var(--red); }
}
.btn--wa { background: var(--wa); color: #08291a; }
@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover { background: #1fbd5a; }
}
.btn--outline { border-color: var(--ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--ink); color: rgb(29, 23, 19); }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled,
.header.is-open {
  background: #0b0908;
  box-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

/* Logo, siempre a la izquierda */
.navbar-logo {
  display: block;
  flex-shrink: 0;
}
.navbar-logo img {
  width: 68px; height: 68px;
  max-width: none;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .4));
  transition: width .3s, height .3s;
}
.header.is-scrolled .navbar-logo img { width: 56px; height: 56px; }
.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
  max-width: 1480px;
  transition: height .3s;
}
.header.is-scrolled .header__inner { height: 80px; }

.nav-label {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

/* Links principales */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 2.2vw, 3.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a { text-decoration: none; padding: .5em 0; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
}

/* Hamburguesa (mobile/tablet) */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 24px; height: 2px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
  transition: transform .25s, background-color .25s;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.header.is-open .menu-toggle span { background: transparent; }
.header.is-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.header.is-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1099px) {
  :root { --header-h: 84px; }
  .menu-toggle { display: block; }
  .navbar-logo img,
  .header.is-scrolled .navbar-logo img { width: 64px; height: 64px; }
  .header.is-scrolled .header__inner { height: var(--header-h); }

  /* Logo a la izquierda (siempre visible) y la hamburguesa a la derecha */
  .menu-toggle { order: 3; margin: 0 -10px 0 auto; }

  /* Panel desplegable con toda la navegación */
  .nav-panel {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + env(safe-area-inset-top) + 1rem) max(24px, env(safe-area-inset-left)) calc(1.5rem + env(safe-area-inset-bottom));
    background: #0b0908;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .45s;
  }
  .header.is-open .nav-panel { visibility: visible; -webkit-transform: none; transform: none; transition: transform .45s cubic-bezier(.77, 0, .18, 1), visibility 0s; }
  /* Los links entran uno tras otro desde la derecha */
  .nav-panel .nav-links li, .nav-panel .panel-cta { opacity: 0; transform: translateX(28px); transition: opacity .3s, transform .3s; }
  .header.is-open .nav-panel .nav-links li, .header.is-open .nav-panel .panel-cta { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
  .header.is-open .nav-links li:nth-child(1) { transition-delay: .18s; }
  .header.is-open .nav-links li:nth-child(2) { transition-delay: .23s; }
  .header.is-open .nav-links li:nth-child(3) { transition-delay: .28s; }
  .header.is-open .nav-links li:nth-child(4) { transition-delay: .33s; }
  .header.is-open .nav-links li:nth-child(5) { transition-delay: .38s; }
  .header.is-open .nav-links li:nth-child(6) { transition-delay: .43s; }
  .header.is-open .nav-links li:nth-child(7) { transition-delay: .48s; }
  .header.is-open .nav-panel .panel-cta { transition-delay: .55s; }
  .nav-panel .panel-tagline {
    margin-top: 1.25rem;
    text-align: center;
    font-family: "Lobster Two", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 5.5vw, 1.9rem);
    color: rgb(217, 56, 41);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s;
  }
  .header.is-open .nav-panel .panel-tagline { opacity: 1; transform: none; transition: opacity .5s ease .6s, transform .6s cubic-bezier(.2, .8, .2, 1) .6s; }
  .nav-panel .panel-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%);
    color: #1a130e;
    box-shadow: 8px 8px 22px rgba(157, 57, 51, 0.3);
    font-family: var(--display);
    font-weight: 700;
    font-stretch: 112%;
    font-variation-settings: "wdth" 112;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .nav-panel .nav-links {
    position: static;
    display: block;
    padding: 0;
    background: none;
    visibility: visible;
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
  .nav-panel .nav-links li { border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  /* Los links reparten el alto disponible: sin espacios vacíos */
  .nav-panel > nav { flex: 1; display: flex; width: 100%; }
  .nav-panel .nav-links { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; width: 100%; }
  .nav-panel .nav-links li { flex: 1; display: flex; width: 100%; min-height: 52px; max-height: 90px; }
  .nav-panel .nav-links a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    text-align: left;
    font-size: clamp(22px, 6.4vw, 30px);
  }
  .nav-panel .nav-links a::after { content: "→"; font-family: var(--sans); font-weight: 400; font-size: .8em; color: rgba(255, 255, 255, .45); transition: transform .2s, color .2s; }
  .nav-panel .nav-links a:active::after { transform: translateX(4px); color: rgb(217, 56, 41); }
}
@media (min-width: 1100px) {
  :root { --header-h: 104px; }
  .nav-panel .panel-cta, .nav-panel .panel-tagline { display: none; }
  /* Logo | links centrados | carrito: los extremos ocupan lo mismo, así el centro queda centrado */
  .header__inner { justify-content: space-between; gap: 1.5rem; }
  .navbar-logo,
  .nav-end { flex: 1 1 0; }
  .nav-end { display: flex; justify-content: flex-end; }
  /* El link del logo se estira: que solo la imagen sea clickeable */
  .navbar-logo { pointer-events: none; }
  .navbar-logo img { pointer-events: auto; }
  .nav-panel { display: flex; align-items: center; gap: clamp(1.5rem, 2.2vw, 3.25rem); }
}
@media (max-width: 479px) {
  .navbar-logo img,
  .header.is-scrolled .navbar-logo img { width: 58px; height: 58px; }
}

/* =========================================================
   HERO / SLIDER
   ========================================================= */
.hero {
  /* Pantalla completa: nada se monta encima del hero */
  --overlap: 0px;
  position: relative;
  height: calc(100vh + var(--overlap));
  height: calc(100svh + var(--overlap));
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: #1a120c;
}
.hero__slides { position: absolute; top: 0; right: 0; bottom: 0; left: 0; top: 0; left: 0; width: 100%; height: 100%; }
/* Aparición del hero cuando se abre la intro: la foto y el título pasan de desenfocados a nítidos */
.hero__slides { animation: heroFocus 1.7s cubic-bezier(.2, .7, .2, 1) 3.6s both; }
.hero__content > * { animation: heroTextIn 1.1s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero__content > :nth-child(1) { animation-delay: 3.9s; }
.hero__content > :nth-child(2) { animation-delay: 4.1s; }
.hero__content > :nth-child(3) { animation-delay: 4.25s; }
.hero__content > :nth-child(4) { animation-delay: 4.4s; }
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 0; }
  .hero__title { font-size: clamp(2.2rem, 13vh, 4.2rem); }
  .hero__subtitle { margin-top: 0; }
  .hero__headline { font-size: clamp(1.7rem, 9vh, 3rem); max-width: 22ch; }
  .hero__cta { margin-top: .9rem; min-height: 40px; }
  .hero__dots { margin-top: .8rem; }
  .hero__arrow { top: 50%; }
}
/* Indicadores de diapositiva (celular y tablet) */
.hero__dots { display: none; gap: 8px; margin-top: 1.4rem; pointer-events: auto; }
.hero__dots button {
  position: relative;
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: width .35s ease, background-color .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero__dots button::before { content: ""; position: absolute; top: -12px; right: -6px; bottom: -12px; left: -6px; }
.hero__dots button.is-active { width: 26px; background: #fff; }
@media (max-width: 1099px) { .hero__dots { display: flex; } }
.hero__arrow { animation: heroTextIn .8s ease 4.4s backwards; }
@keyframes heroFocus {
  from { -webkit-filter: blur(24px) brightness(.75); filter: blur(24px) brightness(.75); transform: scale(1.12); }
  to { -webkit-filter: none; filter: none; transform: none; }
}
@keyframes heroTextIn {
  from { opacity: 0; -webkit-filter: blur(12px); filter: blur(12px); transform: translateY(18px); }
  to { opacity: 1; -webkit-filter: none; filter: none; transform: none; }
}
/* Celular/tablet: el desenfoque es lo más caro de dibujar, y cuesta según el radio. Con la mitad se ve igual
   en pantalla chica y no traba. La capa de las fotos se prepara antes de que se abra la intro */
@media (max-width: 1099px) {
  .hero__slides { animation-name: heroFocusM; will-change: transform, filter; }
  .hero__content > * { animation-name: heroTextInM; }
  .hero__arrow { animation-name: heroTextInM; }
}
.hero__slides.is-done { will-change: auto; }
@keyframes heroFocusM {
  from { -webkit-filter: blur(10px) brightness(.75); filter: blur(10px) brightness(.75); transform: scale(1.12); }
  to { -webkit-filter: none; filter: none; transform: none; }
}
@keyframes heroTextInM {
  from { opacity: 0; -webkit-filter: blur(6px); filter: blur(6px); transform: translateY(18px); }
  to { opacity: 1; -webkit-filter: none; filter: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__phrase { transition: none; }
  .hero__slides, .hero__content > *, .hero__arrow { animation: none; }
}
.hero__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  transition: transform 2.8s cubic-bezier(.2, .6, .3, 1);
}
.hero__slide.is-active img { -webkit-transform: scale(1); transform: scale(1); }

/* Pantallas táctiles (html.hero-stack, lo pone el JS): el hero queda fijo y se aleja mientras
   "Cómo pedir" sube por encima como una hoja. Con overflow-x: clip (y no hidden) el sticky funciona */
.hero__veil { display: none; }
/* capa única de las tres fotos: lo que se achica y redondea es esta capa */
.hero__zoom { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
html.hero-stack, html.hero-stack body { overflow-x: clip; }
.hero-stack .hero { position: sticky; top: 0; z-index: 0; }
.hero-stack .hero__zoom { overflow: hidden; border-radius: 26px; transform: scale(1.07); }
.hero-stack .hero__veil {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
  display: block;
  background: #0b0705;
  opacity: 0;
  pointer-events: none;
}
/* Movido por JS (navegadores sin animation-timeline): capas listas de antemano */
.hero-js .hero__zoom { will-change: transform; }
.hero-js .hero__content { will-change: transform, opacity; }
.hero-js .hero__veil { will-change: opacity; }
/* Movido por el navegador, atado al scroll de la página: el hero mide 100svh, así que todo pasa en los
   primeros 100svh de scroll. El título y las flechas se apagan en los primeros 42svh, como la versión JS */
.hero-sda .hero__zoom { animation: heroStackZoom linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
.hero-sda .hero__veil { animation: heroStackVeil linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
.hero-sda .hero__content {
  animation: heroStackLift cubic-bezier(.5, 1, .89, 1) both, heroStackFade cubic-bezier(.5, 1, .89, 1) both;
  animation-timeline: scroll(root), scroll(root);
  animation-range: 0 100svh, 0 42svh;
}
.hero-sda .hero__arrow {
  animation: heroTextIn .8s ease 4.4s backwards, heroStackFade cubic-bezier(.5, 1, .89, 1) both;
  animation-timeline: auto, scroll(root);
  animation-range: normal, 0 42svh;
}
@media (max-width: 1099px) { .hero-sda .hero__arrow { animation-name: heroTextInM, heroStackFade; } }
/* ya tapado del todo por "Cómo pedir": deja de dibujarse (lo hace el JS una sola vez al cruzar, no en cada cuadro) */
@keyframes heroStackZoom { from { transform: translate3d(0, 0, 0) scale(1.07); } to { transform: translate3d(0, 5vh, 0) scale(.9); } }
@keyframes heroStackVeil { from { opacity: 0; } to { opacity: .72; } }
@keyframes heroStackLift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(0, -12vh, 0) scale(.9); } }
@keyframes heroStackFade { from { opacity: 1; } to { opacity: 0; } }
.hero-stack .hero + .section {
  position: relative;
  z-index: 1;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -22px 50px rgba(0, 0, 0, .45);
}
.hero-stack .hero + .section > .fluid { border-radius: inherit; }

/* Overlay oscuro/cálido para legibilidad */
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(to bottom, rgba(10, 6, 3, .55) 0%, rgba(10, 6, 3, 0) 22%),
    linear-gradient(to top, rgba(10, 6, 3, .55) 0%, rgba(10, 6, 3, 0) 24%),
    radial-gradient(ellipse at center, rgba(20, 10, 4, .35) 0%, rgba(20, 10, 4, .55) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) var(--gutter) calc(2rem + var(--overlap));
  pointer-events: none;
}
.hero__cta {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%) border-box;
  color: #1a130e;
  box-shadow: 0 8px 22px rgba(157, 57, 51, 0.35);
  pointer-events: auto;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
/* Contorno brillante como "Ver más" */
.hero__cta::before {
  content: "";
  position: absolute;
  top: -7px; right: -7px; bottom: -7px; left: -7px;
  border-radius: inherit;
  border: 3px solid rgb(239, 74, 54);
  box-shadow: 0 0 30px rgba(239, 74, 54, 0.55);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .hero__cta:hover::before, .hero__cta:focus-visible::before, .hero__cta:active::before { opacity: 1; }
}
.hero__cta:active { transform: translateY(-3px) scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .hero__cta:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(157, 57, 51, 0.5); color: #1a130e; }
}
.hero__cta span { display: inline-block; transition: opacity .22s ease, transform .22s ease; }
.hero__cta.is-swapping span { opacity: 0; transform: translateY(6px); }
/* Botón del hero (.is-led, en las tres fotos: Ver carta revista, Cómo pedir y Cómo llegar): dos luces tipo
   tira LED recorren el borde sin parar y un halo cálido respira, para que se note. El anillo es un conic-gradient
   que gira (--led) recortado con máscara a un borde de 3px */
@property --led { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hero__cta::after {
  content: "";
  position: absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
  padding: 3px;
  border-radius: inherit;
  background: conic-gradient(from var(--led),
    rgba(253, 122, 94, 0) 0deg 105deg, rgba(253, 81, 54, 0.9) 150deg, #fff6e8 172deg, rgba(255, 246, 232, 0) 180deg 285deg,
    rgba(253, 81, 54, 0.9) 330deg, #fff6e8 352deg, rgba(255, 246, 232, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.hero__cta.is-led::after { opacity: 1; animation: heroLed 2.6s linear infinite; }
.hero__cta.is-led { animation: heroLedGlow 2.6s ease-in-out infinite; }
@keyframes heroLed { to { --led: 360deg; } }
@keyframes heroLedGlow {
  0%, 100% { box-shadow: 0 8px 22px rgba(157, 57, 51, 0.35), 0 0 0 0 rgba(239, 74, 54, 0); }
  50% { box-shadow: 0 10px 30px rgba(229, 71, 50, 0.6), 0 0 22px 2px rgba(253, 91, 64, 0.45); }
}
@media (hover: hover) and (pointer: fine) {
  .hero__cta.is-led:hover { animation-play-state: paused; }
}
/* Las mismas luces en los botones de Redes (.led, lo pone el JS con <led-ring> y <led-glow> adentro).
   Solo giran los que están en pantalla (.led-on) */
led-ring, led-glow { position: absolute; display: block; border-radius: inherit; pointer-events: none; }
led-ring {
  z-index: 1;
  top: -3px; right: -3px; bottom: -3px; left: -3px;
  padding: 2px;
  background: conic-gradient(from var(--led),
    rgba(253, 122, 94, 0) 0deg 105deg, rgba(253, 81, 54, 0.9) 150deg, rgb(20, 16, 13) 172deg, rgba(20, 16, 13, 0) 180deg 285deg,
    rgba(253, 81, 54, 0.9) 330deg, rgb(20, 16, 13) 352deg, rgba(20, 16, 13, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: heroLed 2.6s linear var(--led-d, 0s) infinite paused;
}
led-glow {
  top: 0; right: 0; bottom: 0; left: 0;
  box-shadow: 0 0 18px 2px rgba(253, 81, 54, 0.4);
  opacity: .25;
  animation: ledGlow 1.3s ease-in-out var(--led-d, 0s) infinite alternate paused;
}
/* botones que recortan lo que sobresale: el anillo y el brillo van por dentro */
.led--in led-ring { top: 0; right: 0; bottom: 0; left: 0; }
.led--in led-glow { box-shadow: inset 0 0 14px rgba(253, 81, 54, 0.38); }
.led.led-on led-ring, .led.led-on led-glow { animation-play-state: running; }
@keyframes ledGlow { from { opacity: .25; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  led-ring, led-glow { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cta.is-led, .hero__cta.is-led::after { animation: none; }
}
/* El nombre queda solo para buscadores/lectores de pantalla: en pantalla manda el logo del navbar */
.hero__title {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  font-size: clamp(3rem, 1.2rem + 8.4vw, 8.5rem);
  line-height: .86;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero__title span { display: block; }
/* Frase de cada foto: línea chica arriba + titular grande, centrados */
.hero__phrase {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 980px;
  transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1), -webkit-filter .6s ease, filter .6s ease;
}
.hero__phrase.is-leaving { opacity: 0; transform: translateY(-14px); -webkit-filter: blur(6px); filter: blur(6px); transition-duration: .35s; }
.hero__phrase.is-enter { opacity: 0; transform: translateY(18px); -webkit-filter: blur(6px); filter: blur(6px); transition: none; }
.hero__headline {
  margin-top: clamp(.7rem, 1.6vw, 1.1rem);
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(2.1rem, 1rem + 5.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}
/* La palabra destacada en letra cursiva terracota, como "Nuestra Carta" */
.hero__headline em {
  font-family: "Lobster Two", Georgia, serif;
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-variation-settings: normal;
  font-size: 1.08em;
  letter-spacing: 0;
  text-transform: none;
  color: rgb(229, 71, 50);
}
.hero__subtitle {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(12px, .6rem + .4vw, 15px);
  letter-spacing: .22em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

/* Flechas del slider */
.hero__arrow {
  position: absolute;
  top: calc(50% - var(--overlap) / 2);
  z-index: 3;
  width: 50px; height: 50px;
  margin-top: -25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, .12);
  border: 1px solid rgba(255, 255, 255, .85);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .hero__arrow:hover { background: #fff; color: var(--ink); }
}
/* Celular/tablet: se pone blanca solo al tocarla y vuelve sola */
.hero__arrow:active { background: #fff; color: var(--ink); transition: none; }
.hero__arrow.is-tapped { animation: arrowTap .45s ease-out; }
@keyframes arrowTap { from { background: rgb(29, 23, 19); color: rgb(214, 191, 167); } to { background: rgba(0, 0, 0, .12); color: rgb(29, 23, 19); } }
/* Tocar las flechas o los puntos nunca debe arrastrar/desplazar la página */
.hero__arrow, .hero__dots, .hero__dots button { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow--prev { left: max(10px, env(safe-area-inset-left)); }
.hero__arrow--next { right: max(10px, env(safe-area-inset-right)); }
/* Celulares y tablets (pantalla táctil): sin flechas, las portadas se pasan deslizando con el dedo. En PC y notebooks quedan */
@media (hover: none) and (pointer: coarse) { .hero__arrow { display: none !important; } }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .hero__slide img, .navbar-logo img { transition: none; }
}

/* =========================================================
   INTRO (debajo del hero): papel rasgado + texto + 3 fotos
   ========================================================= */
.intro {
  --edge: clamp(36px, 5vw, 72px);
  --paper: #fff;
  --tan: rgb(157, 57, 51);
  position: relative;
  z-index: 2;
  overflow: hidden;
  /* Se monta sobre el final de "Nosotros": la franja de arriba es transparente.
     Abajo termina en el crema de "Redes", que va justo después */
  margin-top: calc(-1 * var(--edge));
  background: transparent;
  font-family: "Barlow", var(--sans);
}
/* Foto del horno de fondo (debajo de la franja transparente de arriba) + velo oscuro */
.intro__bg {
  position: absolute;
  top: var(--edge); left: 0;
  width: 100%;
  height: calc(100% - var(--edge));
  max-width: none;
  object-fit: cover;
  object-position: 50% 55%;
}
.intro::before {
  content: "";
  position: absolute;
  top: var(--edge); left: 0; right: 0; bottom: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(20, 15, 12, 0) calc(100% - 120px), #140f0c 100%),
    linear-gradient(90deg, rgba(12, 9, 7, .88) 0%, rgba(12, 9, 7, .7) 50%, rgba(12, 9, 7, .55) 100%);
}
@media (max-width: 767px) {
  .intro::before { background: linear-gradient(to bottom, rgba(20, 15, 12, 0) calc(100% - 100px), #140f0c 100%), rgba(12, 9, 7, .78); }
}
/* Franja de arriba de Historia (se monta sobre el final de Nosotros): sin dibujos, solo marca dónde empieza */
.intro__doodles {
  position: absolute;
  top: var(--edge); left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.intro > .intro__grid { z-index: 2; }

/* Collage de 3 fotos a la izquierda y el texto a la derecha */
.intro__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(44px, 8vw, 64px);
  padding-top: calc(var(--edge) + clamp(56px, 8vw, 96px));
  padding-bottom: clamp(64px, 9vw, 120px);
}
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 100px); align-items: center; }
}

.intro__text {
  position: relative;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(16.5px, .98rem + .25vw, 18.5px);
  line-height: 1.7;
}
.intro__text > * { position: relative; }
.intro__title { line-height: 1.15; }
.intro__script {
  display: block;
  font-family: "Lobster Two", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem);
  color: rgb(217, 56, 41);
}
.intro__caps {
  display: block;
  margin-top: .15em;
  font-family: "Barlow", var(--sans);
  font-weight: 600;
  font-size: clamp(1.35rem, 1rem + 1.3vw, 2.15rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
}
.intro__title { margin-bottom: clamp(18px, 2.4vw, 28px); }
.intro__script { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.05; }
.intro__text p { max-width: 540px; }
.intro__text p + p { margin-top: .9em; }
/* el collage guarda siempre la misma forma: todo va en % de su caja */
.intro__collage { position: relative; width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 10 / 11; }
@supports not (aspect-ratio: 1) { .intro__collage { height: 0; padding-bottom: 110%; } }
.intro__gallery { position: absolute; inset: 0; z-index: 1; margin: 0; }
.intro__photo {
  position: absolute;
  overflow: hidden;
  border-radius: 4px;
  isolation: isolate;
  background: #2a211b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.intro__photo:nth-child(1) { left: 18%; top: 7%; width: 56%; height: 50%; }
.intro__photo:nth-child(2) { left: 0; top: 58%; width: 42%; height: 25%; }
.intro__photo:nth-child(3) { left: 50%; top: 68%; width: 36%; height: 32%; }
.intro__photo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
/* el zoom al bajar (lo maneja index.html) */
.intro__text, .intro__photo { will-change: transform, opacity; transition: transform .25s ease-out, opacity .25s ease-out; }

/* celular y tablet: primero el texto y abajo el collage */
@media (max-width: 899px) {
  .intro__text { order: -1; max-width: 640px; margin: 0 auto; }
}
/* celular acostado: collage chico a la izquierda y el texto al lado, así el collage entra entero en la pantalla */
@media (orientation: landscape) and (max-height: 540px) and (min-width: 600px) {
  .intro__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); column-gap: 32px; align-items: center; }
  .intro__text { order: 0; }
  .intro__collage { max-width: min(100%, 300px); }
}
@media (min-width: 900px) { .intro__collage { margin-right: 0; } }
/* notebook con poco alto: el collage no pasa del alto de la pantalla */
@media (min-width: 900px) and (max-height: 820px) {
  .intro__collage { max-width: min(600px, 74vh); }
}

/* =========================================================
   CARTA: banner oscuro + pizzas en zig-zag
   ========================================================= */
.menu-banner {
  position: relative;
  /* arriba poco aire: el título queda cerca del borde de arriba de la sección */
  /* abajo más aire: la sombra de la tarjeta de la revista se apaga antes del borde y no tapa el título "Pizzas" */
  padding: clamp(20px, 2.8vw, 34px) var(--gutter) clamp(64px, 7vw, 96px);
  text-align: center;
  color: rgb(29, 23, 19);
  background: rgb(216, 194, 172);
  overflow: hidden;
  isolation: isolate;
}
.menu-banner__title { line-height: 1.1; }
.menu-banner__script {
  display: block;
  font-family: "Lobster Two", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem);
  color: rgb(175, 52, 43);
}
.menu-banner__caps {
  display: block;
  margin-top: .1em;
  font-family: "Barlow", var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem);
  letter-spacing: .05em;
  text-transform: uppercase;
}
/* Tarjeta "Carta revista": tarjeta oscura con marco fino, libro 3D con la tapa de la revista y texto editorial.
   Es un solo botón (toda la tarjeta abre el visor de la revista) */
.rvp {
  --rvp-cream: rgb(244, 232, 216);
  --rvp-red: rgb(175, 52, 43);
  --rvp-red-2: rgb(232, 96, 70);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
  width: 100%;
  max-width: 940px;
  margin: clamp(22px, 3vw, 38px) auto 0;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 5vw, 68px);
  border: 0;
  border-radius: var(--frame-r);
  background:
    radial-gradient(70% 120% at 12% 50%, rgba(175, 52, 43, 0.22) 0%, rgba(175, 52, 43, 0) 60%),
    linear-gradient(135deg, rgb(36, 28, 23) 0%, rgb(22, 17, 14) 100%);
  color: var(--rvp-cream);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 24px 40px -24px rgba(45, 22, 12, 0.7), 0 8px 18px -10px rgba(45, 22, 12, 0.4);
  transition: transform .5s cubic-bezier(.22, .8, .24, 1), box-shadow .5s ease;
}
/* marco fino por dentro, como el de una carta impresa */
.rvp::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(214, 170, 120, 0.22);
  border-radius: calc(var(--frame-r) - 10px);
  pointer-events: none;
}
.rvp:focus-visible { outline: 2px solid var(--rvp-red); outline-offset: 4px; }

/* Libro 3D */
.rvp__stage { position: relative; display: block; width: clamp(150px, 17vw, 200px); perspective: 1100px; }
.rvp__book {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(5deg) rotateZ(-1deg);
  transition: transform .7s cubic-bezier(.22, .8, .24, 1);
}
/* canto de las hojas (asoma a la derecha) */
.rvp__pages {
  position: absolute;
  inset: 1.6% -9px 1.6% 4%;
  border-radius: 0 3px 3px 0;
  background:
    repeating-linear-gradient(90deg, rgba(120, 100, 80, 0.28) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgb(205, 192, 172), rgb(247, 240, 229) 40%, rgb(226, 214, 196));
  transform: translateZ(-2px);
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.35);
}
.rvp__cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 10% 10% 9% 13%;
  overflow: hidden;
  border-radius: 2px 5px 5px 2px;
  background: radial-gradient(110% 80% at 70% 35%, rgb(52, 42, 35) 0%, rgb(25, 20, 16) 72%);
  color: #fff;
  container-type: inline-size;
  transform-origin: left center;
  transform: translateZ(1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 14px 18px 30px rgba(0, 0, 0, 0.45);
  transition: transform .7s cubic-bezier(.22, .8, .24, 1);
}
/* lomo (sombra a la izquierda) y brillo de tapa plastificada */
.rvp__cover::before,
.rvp__cover::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.rvp__cover::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(255, 255, 255, 0.12) 3.5%, rgba(0, 0, 0, 0.25) 6%, rgba(0, 0, 0, 0) 12%); }
.rvp__cover::after { background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.10) 48%, rgba(255, 255, 255, 0) 62%); }
.rvp__logo { position: relative; z-index: 2; display: block; width: 36cqw; height: auto; }
.rvp__pizza {
  position: absolute;
  top: 22%; right: -34%;
  width: 98cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.6);
  animation: rvSpin 50s linear infinite;
  will-change: transform;
}
.rvp__pizza img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.rvp__cover-title {
  position: relative;
  z-index: 2;
  margin-top: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: 25cqw;
  line-height: .84;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}
.rvp__cover-sub {
  position: relative;
  z-index: 2;
  margin-top: 6cqw;
  font-family: "Barlow", var(--sans);
  font-weight: 600;
  font-size: 6.4cqw;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgb(229, 71, 50);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.rvp__shadow {
  position: absolute;
  left: 4%; right: -6%; bottom: -16px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  filter: blur(2px);
  transition: transform .7s cubic-bezier(.22, .8, .24, 1), opacity .7s ease;
}

/* Texto */
.rvp__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.rvp__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: #fff;
}
.rvp__title em {
  display: block;
  margin-top: .08em;
  font-family: "Lobster Two", Georgia, serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.04em;
  letter-spacing: 0;
  color: var(--rvp-red-2);
}
.rvp__text { margin-top: 16px; max-width: 42ch; font-size: clamp(.92rem, .88rem + .2vw, 1rem); line-height: 1.6; color: rgba(244, 232, 216, 0.72); }
.rvp__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: 14px 22px 14px 24px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--rvp-red);
  color: #fff;
  font-family: "Barlow", var(--sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -10px rgba(175, 52, 43, 0.8);
  transition: background-color .3s ease;
}
.rvp__cta svg { flex: none; width: 18px; height: 18px; transition: transform .35s cubic-bezier(.22, .8, .24, 1); }
/* reflejo que cruza el botón */
.rvp__cta::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  transition: left .8s cubic-bezier(.22, .8, .24, 1);
}
.rvp:active { transform: scale(.985); }

/* Mouse: la tarjeta sube, el libro se endereza y la tapa se abre un poco mostrando las hojas */
@media (hover: hover) and (pointer: fine) {
  .rvp:hover { transform: translateY(-4px); box-shadow: 0 30px 46px -24px rgba(45, 22, 12, 0.75), 0 12px 22px -10px rgba(45, 22, 12, 0.45); }
  .rvp:hover .rvp__book { transform: rotateY(-12deg) rotateX(3deg) translateY(-6px); }
  .rvp:hover .rvp__cover { transform: translateZ(1px) rotateY(-26deg); }
  .rvp:hover .rvp__shadow { transform: scaleX(.92); opacity: .75; }
  .rvp:hover .rvp__cta { background: rgb(196, 60, 48); }
  .rvp:hover .rvp__cta svg { transform: translateX(4px); }
  .rvp:hover .rvp__cta::after { left: 130%; }
}

/* Celulares: todo apilado y centrado */
@media (max-width: 640px) {
  .rvp { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 30px; padding: 34px 22px 30px; text-align: center; }
  .rvp__stage { width: clamp(132px, 40vw, 168px); }
  .rvp__body { align-items: center; }
  .rvp__text { max-width: 36ch; }
  .rvp__cta { width: 100%; max-width: 300px; justify-content: center; }
}
@media (max-width: 360px) {
  .rvp { padding: 30px 16px 24px; }
  .rvp::before { inset: 7px; }
  .rvp__text { font-size: .88rem; }
  .rvp__cta { padding-left: 16px; padding-right: 14px; letter-spacing: .14em; }
}
.lite .rvp__cover { box-shadow: 8px 10px 16px rgba(0, 0, 0, 0.35); }

/* "Ver carta revista" es un botón de verdad (la tarjeta es un div: adentro va también "Cambiar" de local) */
button.rvp__cta { border: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.rvp__cta:focus-visible { outline: 2px solid var(--rvp-cream); outline-offset: 3px; }
/* Local elegido (con dos locales): "Carta y precios de Nostra Sarmiento · Cambiar" */
.rvp-suc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; padding: 12px 12px 12px 16px; border: 1.5px solid rgba(244, 232, 216, 0.28); border-radius: 18px; background: rgba(244, 232, 216, 0.08); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); color: rgba(244, 232, 216, 0.85); font-size: clamp(1rem, .94rem + .3vw, 1.15rem); line-height: 1.3; cursor: default; max-width: 100%; box-sizing: border-box; }
.rvp-suc[hidden] { display: none; }
.rvp-suc__ico { display: flex; flex: none; width: 24px; height: 24px; color: var(--rvp-red-2); }
.rvp-suc__ico svg { width: 100%; height: 100%; }
.rvp-suc__txt { flex: 1 1 auto; min-width: 0; }
.rvp-suc__txt b { color: var(--rvp-cream); font-weight: 800; font-size: 1.08em; }
.rvp-suc__btn {
  flex: none;
  min-height: 46px;
  padding: 10px 22px;
  border: 1.5px solid var(--rvp-red);
  border-radius: 999px;
  background: var(--rvp-red);
  color: #fff;
  font: 800 1rem/1 var(--sans);
  letter-spacing: .02em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.rvp-suc__btn:focus-visible { outline: 2px solid var(--rvp-cream); outline-offset: 3px; }
.rvp-suc__btn:active { background: var(--rvp-cream); border-color: var(--rvp-cream); color: rgb(29, 23, 19); }
@media (hover: hover) and (pointer: fine) {
  .rvp-suc__btn:hover { border-color: var(--rvp-cream); background: var(--rvp-cream); color: rgb(29, 23, 19); }
}
@media (max-width: 640px) {
  .rvp-suc { justify-content: center; text-align: center; padding: 14px; }
  .rvp-suc__txt { flex-basis: calc(100% - 40px); }
  .rvp-suc__btn { flex: 1 1 100%; max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .rvp, .rvp__book, .rvp__cover, .rvp__shadow, .rvp__cta, .rvp__cta svg, .rvp__cta::after { transition: none; }
}

.menu {
  --tan: rgb(175, 52, 43);
  --menu-ink: rgb(29, 23, 19);
  --menu-soft: rgba(29, 23, 19, 0.62);
  --menu-line: rgba(29, 23, 19, 0.12);
  position: relative;
  padding: 0 0 clamp(72px, 9vw, 112px);
  background: rgb(216, 194, 172);
  isolation: isolate;
  color: rgb(29, 23, 19);
  font-family: "Barlow", var(--sans);
}
.menu__inner { position: relative; max-width: 1160px; }

/* Categoría: título + "ver menos" */
.menu-cat + .menu-cat { margin-top: clamp(64px, 8vw, 104px); }
.menu-cat__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 40px);
  text-align: center;
}
.menu-cat__title {
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--menu-ink);
}
/* "PIZZAS" centrado entre "¡Buen provecho!" y el botón */
#pizzas .menu-cat__title { margin-top: -2.5rem; }
.menu-cat__toggle { margin-top: 1.75rem; }
@media (max-width: 1099px) {
  #pizzas .menu-cat__title { margin-top: -.9rem; }
  .menu-cat__toggle { margin-top: 1.5rem; }
}
.menu :focus-visible { outline-color: var(--tan); }

/* Grilla de pizzas */
/* Flex con wrap centrado: si la última fila queda incompleta, queda al medio */
.pizza-grid {
  --cols: 2;
  --gap-x: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px var(--gap-x);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pizza-card { width: calc((100% - (var(--cols) - 1) * var(--gap-x)) / var(--cols)); }
@media (min-width: 768px) { .pizza-grid { --cols: 3; --gap-x: 24px; row-gap: 44px; } }
@media (min-width: 1024px) { .pizza-grid { --cols: 4; --gap-x: 28px; row-gap: 48px; } }


.pizza-card { display: flex; flex-direction: column; }
.pizza-card__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--frame-r);
  isolation: isolate;
  background: rgb(201, 174, 146);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}
@supports not (aspect-ratio: 1) { .pizza-card__img { height: 0; padding-bottom: 125%; } }
/* Combinada: en vez de foto, un plato vacío partido al medio (cada mitad se elige en la carta revista) */
.combo-card__img { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 42%, rgb(64, 42, 33) 0%, rgb(33, 24, 19) 72%); cursor: pointer; }
.combo-plate { position: relative; display: flex; width: 78%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgb(75, 42, 32) 0%, rgb(42, 26, 20) 72%); box-shadow: 0 0 0 9px rgb(84, 30, 26), 0 0 0 10px rgba(0, 0, 0, .35), 0 18px 30px rgba(0, 0, 0, .45); }
.combo-plate::after { content: ""; position: absolute; top: 9%; bottom: 9%; left: 50%; border-left: 2px dashed rgba(255, 236, 214, .45); }
.combo-plate__half { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: rgba(255, 236, 214, .8); font: 600 13px "Barlow", var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: background-color .3s; }
.combo-plate__half b { font: 800 clamp(30px, 9vw, 44px)/1 var(--display); letter-spacing: 0; color: #fff; }
.combo-card__tag { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: rgb(229, 71, 50); color: #fff; font: 700 12px "Barlow", var(--sans); letter-spacing: .04em; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
@media (hover: hover) and (pointer: fine) {
  .combo-card__img:hover .combo-plate__half:first-child { background: rgba(229, 71, 50, .22); }
  .combo-card__img:hover .combo-plate__half:last-child { background: rgba(229, 71, 50, .12); }
}
.combo-card__img:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 3px; }
.pizza-card__img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .6s ease;
}
@media (hover: hover) and (pointer: fine) {
  .pizza-card:hover .pizza-card__img img { transform: scale(1.05); }
}
.pizza-card__name {
  margin-top: 16px;
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.25;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--menu-ink);
}
.pizza-card__desc {
  margin: 6px 0 14px;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--menu-soft);
}
/* Precio en caja, como en la carta impresa */
.pizza-card__price,
.promo__price {
  display: inline-block;
  padding: .2em .65em;
  border: 1.5px solid var(--tan);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: rgb(29, 23, 19);
  white-space: nowrap;
}
.pizza-card__price { align-self: flex-start; margin-top: auto; }
/* El botón "Pedir" va debajo del precio */
.pizza-card > .pizza-card__btn { margin-top: 12px; }
/* Botón "Pedir": cápsula oscura con borde degradé cobre/dorado, brillo interior suave y,
   al pasar el mouse, un reflejo de luz que la cruza en diagonal + halo cálido */
.pizza-card__btn {
  --btn-edge: linear-gradient(120deg, rgba(237, 102, 75, 0.95), rgba(157, 57, 51, 0.35) 38%, rgba(157, 57, 51, 0.35) 62%, rgba(237, 102, 75, 0.95));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgb(217, 197, 176) 0%, #000 100%) padding-box,
    var(--btn-edge) border-box;
  box-shadow: inset 0 1px 0 rgba(31, 24, 20, 0.1), 0 10px 22px -14px rgba(0, 0, 0, .8);
  color: rgb(36, 29, 24);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .35s ease, box-shadow .45s ease, transform .35s cubic-bezier(.2, .8, .2, 1), background .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.pizza-card__btn svg { width: 16px; height: 16px; flex-shrink: 0; color: rgb(229, 71, 50); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), color .35s ease; }
.pizza-card__btn-label { position: relative; }
/* reflejo de luz (queda afuera, a la izquierda, hasta el hover) */
.pizza-card__btn::before {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%; left: 0;
  z-index: -1;
  width: 38%;
  background: linear-gradient(100deg, transparent 0%, rgba(36, 29, 24, 0.1) 28%, rgba(30, 24, 20, 0.55) 50%, rgba(36, 29, 24, 0.1) 72%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg);
  pointer-events: none;
}
/* línea de luz fina arriba del borde */
.pizza-card__btn::after {
  content: "";
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 24, 20, 0.55), transparent);
  opacity: .45;
  transition: opacity .45s ease;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .pizza-card__btn:hover {
    transform: translateY(-2px);
    color: rgb(29, 23, 19);
    background:
      linear-gradient(180deg, rgb(213, 190, 165) 0%, rgb(221, 204, 186) 100%) padding-box,
      var(--btn-edge) border-box;
    box-shadow: inset 0 1px 0 rgba(31, 24, 20, 0.16), 0 0 0 1px rgba(229, 71, 50, 0.18), 0 0 26px rgba(217, 56, 41, 0.32), 0 14px 26px -14px rgba(0, 0, 0, .85);
  }
  .pizza-card__btn:hover::before { transform: translateX(330%) skewX(-18deg); transition: transform 1.15s cubic-bezier(.45, .1, .25, 1); }
  .pizza-card__btn:hover::after { opacity: 1; }
  .pizza-card__btn:hover svg { transform: translateY(-1px) rotate(-10deg) scale(1.08); color: rgb(242, 97, 66); }
}
.pizza-card__btn:active { transform: translateY(0) scale(.98); }
.pizza-card__btn:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 3px; }
@media (max-width: 479px) {
  .pizza-card__name { margin-top: 12px; font-size: .88rem; }
  .pizza-card__desc { font-size: .8rem; }
  .pizza-card__btn { min-height: 40px; letter-spacing: .1em; }
  /* el precio se achica con la pantalla para no salirse de la tarjeta (plegables cerrados, 280 px) */
  .pizza-card__price { max-width: 100%; padding: .2em .5em; font-size: clamp(.8rem, 4.3vw, 1.05rem); }
}

.menu__note {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
  color: rgba(29, 23, 19, 0.45);
  font-size: .9em;
  font-style: italic;
}

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: rgb(29, 23, 19); }

.eyebrow {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem); line-height: .92; }
.section-lead { color: var(--ink-soft); max-width: 48ch; margin-top: 1.25rem; }
.section--dark .section-lead { color: rgba(29, 23, 19, 0.72); }

.menu-note { margin-top: 2rem; color: var(--ink-soft); font-size: .88em; }

/* Promos y extras */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto;
}
@media (min-width: 700px) { .promo-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgb(208, 183, 156);
  border: 1px solid rgba(29, 23, 19, 0.08);
  color: rgb(29, 23, 19);
  padding: 1.75rem 1.5rem;
  border-radius: var(--frame-r);
}
.promo > .promo__price { margin: 1.1rem 0 1.25rem; }
.promo .pizza-card__btn { align-self: stretch; margin-top: auto; }
.extras-list {
  align-self: stretch;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.extras-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-top: 1px solid rgba(29, 23, 19, 0.1);
  font-weight: 600;
}
.promo h4 {
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.promo p { margin-top: .5rem; color: rgba(29, 23, 19, 0.72); font-size: .95em; }
/* Extras: nombre · precio · botón "+" para sumarlo al pedido */
.extras-list li > span:first-child { flex: 1; min-width: 0; }
.extra-add, .rv-ex-add {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(217, 56, 41); color: #fff; cursor: pointer;
  box-shadow: 0 4px 10px -4px rgba(157, 57, 51, .7);
  transition: transform .15s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.extra-add svg, .rv-ex-add svg { width: 18px; height: 18px; transition: transform .25s ease; }
.extra-add:active, .rv-ex-add:active { transform: scale(.9); }
.extra-add.is-added, .rv-ex-add.is-added { background: rgb(29, 122, 62); }
.extra-add.is-added svg, .rv-ex-add.is-added svg { transform: rotate(45deg) scale(0); }
.extra-add.is-added::after, .rv-ex-add.is-added::after { content: "✓"; position: absolute; font-weight: 800; font-size: 17px; }
.extra-add, .rv-ex-add { position: relative; }
.extra-add:disabled, .rv-ex-add:disabled { background: rgba(29, 23, 19, .18); box-shadow: none; cursor: not-allowed; }
.extra-add:focus-visible, .rv-ex-add:focus-visible { outline: 2px solid rgb(29, 23, 19); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .extra-add:not(:disabled):hover, .rv-ex-add:not(:disabled):hover { background: rgb(239, 74, 54); transform: scale(1.06); }
}
/* Tarjeta de extras: fondo blanco */
.promo#extras { background: #fff; }

/* Cómo pedir: fondo terracota con 4 tarjetas blancas (estilo "pilares"), la info en terracota */
.order.section {
  padding: clamp(56px, 7vw, 96px) 0 clamp(8px, 1.5vw, 20px);
  position: relative;
  background: rgb(216, 194, 172);
  overflow: hidden;
  isolation: isolate;
}
.order__head { text-align: center; }
.order__head .eyebrow {
  display: inline-block;
  margin-bottom: .8rem;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgb(29, 23, 19);
  color: rgb(114, 40, 39);
  font-size: 11px;
}
.order__head .section-title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1; color: rgb(29, 23, 19); }
.order__sub { margin-top: .75rem; color: rgba(29, 23, 19, 0.9); }
.order .order-cta { justify-content: center; text-align: center; }
.order .menu-arrow { color: rgb(29, 23, 19); }
.order .menu-arrow__label { color: rgba(29, 23, 19, 0.92); }
@media (hover: hover) and (pointer: fine) {
  .order .menu-arrow:hover .menu-arrow__label { color: rgb(29, 23, 19); }
}

.steps {
  position: relative; /* el JS mide cada tarjeta con offsetTop respecto de la lista */
  list-style: none;
  max-width: 420px;
  margin: clamp(2rem, 4vw, 3.25rem) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1160px; } }
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.4rem 2.1rem;
  border-radius: var(--frame-r);
  background: rgb(214, 191, 167);
  color: rgb(114, 40, 39);
  text-align: center;
  box-shadow: 0 24px 44px -28px rgba(36, 28, 23, 0.65);
  transition: transform .45s cubic-bezier(.22, .8, .24, 1), box-shadow .45s cubic-bezier(.22, .8, .24, 1);
}
@media (hover: hover) and (pointer: fine) {
  .step:hover { transform: translateY(-8px); box-shadow: 0 32px 54px -26px rgba(36, 28, 23, 0.75); }
}
.step__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgb(157, 57, 51);
  color: rgb(214, 191, 167);
}
.step__ico svg { width: 30px; height: 30px; }
/* Número del paso, arriba a la izquierda */
.step__num {
  position: absolute;
  top: 14px; left: 20px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(1.6rem, 1.35rem + .6vw, 2rem);
  line-height: 1;
  color: rgb(157, 57, 51);
}
.step h3 {
  margin-bottom: .55rem;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: rgb(88, 27, 27);
}
.step p { font-size: 1rem; line-height: 1.55; color: rgb(56, 28, 27); }
.step strong { color: rgb(114, 40, 39); font-weight: 700; }

/* Encabezado y botón: entrada suave al aparecer */
.js .order.anim .order__head,
.js .order.anim .order-cta { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .order.anim.is-visible .order__head,
.js .order.anim.is-visible .order-cta { opacity: 1; transform: none; }
.js .order.anim.is-visible .order-cta { transition-delay: .5s; }

/* Tarjetas: emergen 180px desde abajo (o arriba si se sube) con rebote, escalonadas .15s,
   y quedan inclinadas. Usa translate/rotate sueltos para no pisar el transform del hover */
.steps.emerge .step {
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  /* capa propia preparada de antemano: el primer cuadro del rebote no espera a que se arme */
  will-change: translate, rotate, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  opacity: 0;
  translate: 0 var(--from, 180px);
  transition:
    translate 1s var(--spring) calc(var(--i, 0) * .15s),
    rotate 1s var(--spring) calc(var(--i, 0) * .15s),
    opacity .5s ease calc(var(--i, 0) * .15s),
    transform .45s cubic-bezier(.22, .8, .24, 1),
    box-shadow .45s cubic-bezier(.22, .8, .24, 1);
}
/* Rebote de resorte real donde el navegador lo entiende; si no, queda el cubic-bezier parecido */
@supports (transition-timing-function: linear(0, 1)) {
  .steps.emerge .step { --spring: linear(0, 0.026, 0.094, 0.191, 0.306, 0.428, 0.551, 0.668, 0.774, 0.867, 0.945, 1.008, 1.056, 1.09, 1.112, 1.124, 1.126, 1.122, 1.113, 1.1, 1.085, 1.07, 1.054, 1.04, 1.027, 1.015, 1.006, 0.998, 0.992, 0.988, 0.985, 0.984, 0.984, 0.985, 0.986, 0.988, 0.99, 0.992, 0.995, 0.998, 1); }
}
.steps.emerge .step.from-top { --from: -180px; }
.steps.emerge .step.is-in { opacity: 1; translate: 0 0; }
/* Celular: de a una, alternando la inclinación */
.steps.emerge .step.is-in:nth-child(odd) { rotate: -2deg; }
.steps.emerge .step.is-in:nth-child(even) { rotate: 2deg; }
/* Tablet (2 columnas): la de la derecha entra un poquito después */
@media (min-width: 600px) {
  .steps .step:nth-child(even) { --i: 1; }
  .steps.emerge .step.is-in:nth-child(odd) { rotate: -3deg; }
  .steps.emerge .step.is-in:nth-child(even) { rotate: 3deg; }
}
/* PC/notebook (4 en fila): abanico, las de las puntas inclinadas y las del medio rectas */
@media (min-width: 1100px) {
  .steps .step:nth-child(2) { --i: 1; }
  .steps .step:nth-child(3) { --i: 2; }
  .steps .step:nth-child(4) { --i: 3; }
  .steps.emerge .step.is-in:nth-child(n) { rotate: 0deg; }
  .steps.emerge .step.is-in:nth-child(1) { rotate: -4deg; }
  .steps.emerge .step.is-in:nth-child(4) { rotate: 4deg; }
}

.order-cta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
}

/* Tres flechitas que apuntan al menú */
.menu-arrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 4px;
  color: rgb(217, 56, 41);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.menu-arrow__label {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(29, 23, 19, 0.8);
  transition: color .2s;
}
.menu-arrow__icon { display: block; width: 60px; height: 50px; overflow: visible; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.menu-arrow__chev { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: chevFade 2.4s ease-in-out infinite; }
.menu-arrow__chev--2 { animation-delay: .25s; }
.menu-arrow__chev--3 { animation-delay: .5s; }
@media (hover: hover) and (pointer: fine) {
  .menu-arrow:hover .menu-arrow__label { color: rgb(217, 56, 41); }
}
.menu-arrow.is-nudging .menu-arrow__chev { animation: chevNudge .8s ease-out, chevFade 2.4s ease-in-out .8s infinite; }
.menu-arrow.is-nudging .menu-arrow__chev--2 { animation-delay: .1s, .9s; }
.menu-arrow.is-nudging .menu-arrow__chev--3 { animation-delay: .2s, 1s; }
@keyframes chevFade { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes chevNudge { 0% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(6px); } 100% { opacity: .25; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .menu-arrow__chev { animation: none !important; }
}

/* Nosotros: historia + pizzas recortadas + sello giratorio */
.story {
  --tan: rgb(157, 57, 51);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0;
  background: #15110e;
  color: #fff;
  font-family: "Barlow", var(--sans);
}
/* Foto de fondo a pantalla completa + velo oscuro para que se lea el texto */
.story__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 62%;
}
.story::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(to bottom, rgba(15, 11, 9, 0) calc(100% - 140px), #0f0b09 100%),
    linear-gradient(90deg, rgba(12, 9, 7, .9) 0%, rgba(12, 9, 7, .74) 48%, rgba(12, 9, 7, .45) 100%);
}
@media (max-width: 899px) { .story::before { background: linear-gradient(to bottom, rgba(15, 11, 9, 0) calc(100% - 120px), #0f0b09 100%), rgba(12, 9, 7, .76); } }
.story > .container { position: relative; z-index: 2; }
/* velo más parejo y oscuro: la foto de fondo queda como textura y el texto se lee limpio */
.story::before { background: linear-gradient(to bottom, rgba(15, 11, 9, .55) 0%, rgba(15, 11, 9, 0) 220px), linear-gradient(to bottom, rgba(15, 11, 9, 0) calc(100% - 140px), #0f0b09 100%), rgba(12, 9, 7, .84); }
/* Título centrado arriba con una línea fina a todo el ancho */
.story__head { position: relative; z-index: 2; padding: 0 20px clamp(16px, 2vw, 22px); border-bottom: 1px solid rgba(214, 191, 167, .35); text-align: center; }
.story__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.9rem);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.story__title span { display: inline-block; }

/* Historia a la izquierda y la foto de los dueños a la derecha */
.story__wrap { max-width: 1180px; padding-top: clamp(36px, 5vw, 64px); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 44px); align-items: center; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(40px, 5vw, 72px); }
}
.story__body { min-width: 0; }
.story__sub {
  margin: 0 0 clamp(14px, 1.8vw, 20px);
  font-family: "Lobster Two", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  text-align: center;
  color: rgb(217, 56, 41);
}
.story__lead { margin: 0; color: #fff; font-weight: 600; font-size: clamp(17px, 1rem + .3vw, 19.5px); line-height: 1.55; }
.story__text { margin-top: .9em; }
.story__text p { color: rgba(255, 255, 255, .82); font-size: clamp(16px, .95rem + .2vw, 18px); line-height: 1.62; }
.story__text p + p { margin-top: .8em; }
.story__text em { font-style: italic; font-weight: 700; color: #e0a070; }
.story__sign { margin: clamp(16px, 2vw, 22px) 0 0; font-family: "Lobster Two", Georgia, serif; font-weight: 700; font-size: clamp(1.4rem, 1.15rem + .7vw, 1.8rem); line-height: 1; color: #e0a070; }

/* Foto de los dueños: recuadro limpio con sombra */
.story__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .story__photo { aspect-ratio: 1 / 1; } }
@media (max-width: 899px) { .story__photo picture { outline-offset: 5px; } .story__photo { margin: 0 6px; } }
.story__photo picture, .story__photo > img { display: block; width: 100%; height: 100%; }
.story__photo picture { position: absolute; inset: 0; overflow: hidden; border-radius: 4px; background: #2a211b; box-shadow: 0 22px 50px rgba(0, 0, 0, .5); outline: 1px solid rgba(214, 191, 167, .18); outline-offset: 8px; }
.story__photo picture img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 42%; }
.story__photo-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4em;
  height: 100%;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .14);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(217, 56, 41, .28), transparent 60%),
    repeating-linear-gradient(90deg, rgba(217, 56, 41, .09) 0 44px, transparent 44px 88px),
    rgba(12, 9, 7, .72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  text-align: center;
}
.story__photo-names { font-family: "Lobster Two", Georgia, serif; font-weight: 700; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.6rem); line-height: 1; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.story__photo-names i { font-style: normal; color: rgb(217, 56, 41); }
.story__photo-role { font-weight: 600; font-size: clamp(13px, .75rem + .25vw, 16px); letter-spacing: .22em; text-transform: uppercase; color: #e0a070; }
/* el sello no va en este diseño (queda en el HTML porque lo usa el panel) */
.story__badge { display: none; }
.story__badge-ring {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  fill: rgb(217, 56, 41);
  font-family: "Barlow", var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 2.6px;
}

/* Cierre centrado: link subrayado con flecha y el lema en ámbar */
.story__foot { margin-top: clamp(40px, 5vw, 60px); text-align: center; }
.story__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  color: #fff;
  font-weight: 600;
  font-size: clamp(15px, .9rem + .2vw, 17px);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .55);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.story__more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .story__more:hover { color: #e0a070; text-decoration-color: #e0a070; }
  .story__more:hover svg { transform: translateX(4px); }
}
.story__more:focus-visible { outline: 2px solid #e0a070; outline-offset: 4px; }
.story__motto { text-wrap: balance; margin: clamp(18px, 2.4vw, 26px) 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, .9rem + 1vw, 1.75rem); letter-spacing: .05em; text-transform: uppercase; color: rgb(217, 56, 41); }
.story__motto-sub { margin: 4px 0 0; font-family: "Lobster Two", Georgia, serif; font-size: clamp(1.1rem, .95rem + .5vw, 1.4rem); color: #e0a070; }

/* celular acostado: historia y foto lado a lado */
@media (orientation: landscape) and (max-height: 540px) and (min-width: 600px) {
  .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); column-gap: 32px; }
  .story__photo { aspect-ratio: 1 / 1; }
}

/* ---------- Animaciones al entrar en pantalla (solo con JS) ---------- */
@keyframes storySpin { to { transform: rotate(360deg); } }
.js .anim .story__sub,
.js .anim .story__lead,
.js .anim .story__photo,
.js .anim .story__text p {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
}
.js .anim .story__title span {
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  transition: -webkit-clip-path .9s cubic-bezier(.2, .8, .2, 1), clip-path .9s cubic-bezier(.2, .8, .2, 1);
}
.js .anim.is-visible .story__sub,
.js .anim.is-visible .story__lead,
.js .anim.is-visible .story__photo,
.js .anim.is-visible .story__text p { opacity: 1; transform: none; }
.js .anim.is-visible .story__title span { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }
.js .anim.is-visible .story__title span:nth-child(1) { transition-delay: .15s; }
.js .anim.is-visible .story__title span:nth-child(2) { transition-delay: .35s; }
.js .anim.is-visible .story__lead { transition-delay: .55s; }
.js .anim.is-visible .story__photo { transition-delay: .3s; }
.js .anim.is-visible .story__text p:nth-of-type(2) { transition-delay: .12s; }
.js .anim.is-visible .story__text p:nth-of-type(3) { transition-delay: .24s; }
.js .anim.is-visible .story__text p:nth-of-type(4) { transition-delay: .36s; }
/* el sello gira siempre (es liviano: no se apaga en modo liviano ni con "reducir movimiento") */
.story__badge-ring { animation: storySpin 22s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .js .anim *:not(.story__badge-ring) { opacity: 1 !important; transform: none !important; -webkit-clip-path: none !important; clip-path: none !important; animation: none !important; transition: none !important; }
  
}

/* Ubicación: título + horarios + fotos del local, todo en un bloque */
.loc { --tan: rgb(157, 57, 51); position: relative; overflow: hidden; font-family: "Barlow", var(--sans); }
.loc__title { line-height: 1.1; }
.loc__script {
  display: block;
  font-family: "Lobster Two", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem);
  color: rgb(217, 56, 41);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}
.loc__caps {
  display: block;
  margin-top: .1em;
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}

/* Fachada oscurecida + título + tarjeta con datos y slider */
.loc__place {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.loc__place-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  -webkit-filter: blur(2px) saturate(.8);
  filter: blur(2px) saturate(.8);
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}
.loc__place::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(16, 12, 9, 0) calc(100% - 140px), #100c09 100%), rgba(16, 12, 9, .7);
}
.loc__place-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }

.loc__sub { margin-top: .8rem; color: rgba(255, 255, 255, .78); font-size: 1.05rem; }

.loc-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid rgba(29, 23, 19, 0.08);
  border-radius: var(--frame-r);
  background: rgba(214, 191, 167, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  text-align: left;
}
@media (min-width: 860px) { .loc-card { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; } }
.loc-card__eyebrow { font-size: .85rem; letter-spacing: .18em; color: rgba(29, 23, 19, 0.6); }
.loc-card__name {
  margin-top: .4rem;
  font-family: "Lobster Two", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
  line-height: 1.1;
  color: rgb(217, 56, 41);
}
.loc-card__list { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.1rem; }
.loc-card__list li { display: flex; align-items: center; gap: 14px; }
.loc-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(29, 23, 19, 0.2);
  border-radius: 50%;
  color: rgb(217, 56, 41);
}
.loc-card__icon svg { width: 18px; height: 18px; }
.loc-card__list strong {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(29, 23, 19, 0.55);
}
.loc-card__list div span { display: block; margin-top: .15rem; line-height: 1.5; color: rgb(29, 23, 19); }
.loc-card__list a { color: rgb(29, 23, 19); text-decoration-color: rgb(217, 56, 41); text-underline-offset: 3px; }
.loc-card__btn { margin-top: 1.75rem; }

/* Slider de fotos del local */
.loc-slider { position: relative; border-radius: var(--frame-r-in); overflow: hidden; isolation: isolate; background: rgb(201, 174, 146); touch-action: pan-y; }
.loc-slider__track { position: relative; aspect-ratio: 4 / 3; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.loc-slider__track:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: -4px; }
@supports not (aspect-ratio: 1) { .loc-slider__track { height: 0; padding-bottom: 75%; } }
.loc-slider__img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.loc-slider__img.is-active { opacity: 1; }
.loc-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(214, 191, 167, 0.6);
  color: rgb(29, 23, 19);
  cursor: pointer;
  transition: background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .loc-slider__arrow:hover { background: rgba(214, 191, 167, 0.9); }
}
.loc-slider__arrow svg { width: 18px; height: 18px; }
.loc-slider__arrow--prev { left: 12px; }
.loc-slider__arrow--next { right: 12px; }
.loc-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 1;
  display: flex;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(214, 191, 167, 0.55);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.loc-slider__dots button {
  position: relative;
  width: 7px; height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 23, 19, 0.5);
  cursor: pointer;
  transition: width .3s, background-color .3s;
}
.loc-slider__dots button.is-active { width: 22px; background: rgb(29, 23, 19); }
.loc-slider__dots button::before { content: ""; position: absolute; top: -14px; right: -4px; bottom: -14px; left: -4px; }
@media (prefers-reduced-motion: reduce) { .loc-slider__img { transition: none; } }

/* Aparición suave al entrar en pantalla (solo con JS activo) */
.js .reveal {
  opacity: 0;
  -webkit-transform: translateY(18px);
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease;
}
.js .reveal.is-visible { opacity: 1; -webkit-transform: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Footer: mismo lenguaje que la tarjeta "Nuestro local" */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 calc(28px + env(safe-area-inset-bottom));
  background: rgb(217, 196, 175);
  isolation: isolate;
  color: rgb(29, 23, 19);
  font-family: "Barlow", var(--sans);
}
/* Filete terracota arriba, como la línea de la carta impresa */
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__inner { grid-template-columns: 1.15fr 1.1fr .9fr; gap: 56px; } }

.footer__eyebrow,
.footer__label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(29, 23, 19, 0.55);
}
.footer__logo { display: block; width: 104px; height: auto; margin-bottom: 1.25rem; }
.footer__name {
  margin-top: .35rem;
  font-family: "Lobster Two", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem);
  line-height: 1.05;
  color: rgb(217, 56, 41);
}
.footer__claim { max-width: 34ch; margin-top: .9rem; color: rgba(29, 23, 19, 0.68); line-height: 1.65; }
.footer__social { display: flex; gap: 10px; margin-top: 1.5rem; }
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(29, 23, 19, 0.2);
  border-radius: 50%;
  color: rgb(29, 23, 19);
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.footer__social-link svg { width: 19px; height: 19px; }
@media (hover: hover) and (pointer: fine) {
  .footer__social-link:hover { background: rgb(157, 57, 51); border-color: rgb(157, 57, 51); transform: translateY(-3px); }
}

.footer__info { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.4rem; align-content: start; }
.footer__info li { display: flex; align-items: center; gap: 14px; }
.f-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border: 1px solid rgba(29, 23, 19, 0.2);
  border-radius: 50%;
  color: rgb(217, 56, 41);
}
.f-icon svg { width: 18px; height: 18px; }
.footer__info strong {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(29, 23, 19, 0.55);
}
.footer__info div span { display: block; margin-top: .15rem; line-height: 1.5; color: rgb(29, 23, 19); }
.loc-card__list a,
.footer__info a { display: inline-block; padding: 7px 0; margin: -7px 0; }
.footer__info a { color: rgb(29, 23, 19); text-decoration-color: rgb(217, 56, 41); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .footer__info a:hover { color: rgb(217, 56, 41); }
}

.footer__nav { display: grid; gap: .1rem; margin-top: .6rem; }
.footer__nav a {
  justify-self: start;
  padding: .3rem 0;
  color: rgba(29, 23, 19, 0.8);
  text-decoration: none;
  transition: color .2s, transform .2s;
}
@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover { color: rgb(217, 56, 41); transform: translateX(4px); }
}
.footer__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.75rem; }
.footer__btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .85em 1.4em;
  border: 1px solid rgba(29, 23, 19, 0.35);
  border-radius: 999px;
  color: rgb(29, 23, 19);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.footer__btn svg { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) {
  .footer__btn:hover { border-color: rgb(217, 56, 41); color: rgb(217, 56, 41); }
}
.footer__btn--light { background: rgb(29, 23, 19); border-color: rgb(29, 23, 19); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .footer__btn--light:hover { background: rgb(217, 56, 41); border-color: rgb(217, 56, 41); color: var(--ink); }
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  padding-right: 80px;
  border-top: 1px solid rgba(29, 23, 19, 0.1);
  color: rgba(29, 23, 19, 0.55);
  font-size: .98rem;
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: rgba(29, 23, 19, 0.7);
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 600;
  padding: .7em 0;
}
.footer__top svg { width: 15px; height: 15px; transition: transform .25s; }
@media (hover: hover) and (pointer: fine) {
  .footer__top:hover { color: rgb(217, 56, 41); }
}
@media (hover: hover) and (pointer: fine) {
  .footer__top:hover svg { transform: translateY(-3px); }
}

.footer > .container { position: relative; z-index: 1; }

/* Flechita lateral hero <-> footer */
.jump {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(217, 56, 41, 0.55);
  border-radius: 50%;
  background: rgba(216, 195, 173, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgb(233, 130, 114);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
  -webkit-tap-highlight-color: transparent;
  animation: heroTextIn .8s ease 4.5s backwards;
  transition: background-color .2s, color .2s;
}
.jump svg { width: 22px; height: 26px; margin-top: 3px; overflow: visible; transition: transform .5s cubic-bezier(.6, 0, .2, 1); animation: jumpNudge 2.4s ease-in-out 4s infinite; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.jump.is-up svg { transform: rotate(180deg); margin-top: -3px; }
.jump__cheese { fill: #f3c25e; stroke: #e2a645; stroke-width: 1; stroke-linejoin: round; }
.jump__crust { fill: none; stroke: #c27a35; stroke-width: 6; stroke-linecap: round; }
.jump__slice circle { fill: rgb(217, 56, 41); }
@keyframes jumpNudge { 0%, 70%, 100% { translate: 0 0; } 82% { translate: 0 4px; } }
@media (hover: hover) and (pointer: fine) { .jump:hover { background: rgba(217, 56, 41, 0.25); border-color: rgb(217, 56, 41); } }
.jump:active { background: rgba(217, 56, 41, 0.3); }
@media (max-width: 1099px) { .jump { bottom: calc(18px + env(safe-area-inset-bottom)); width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .jump, .jump svg { animation: none; } }

.footer__credit {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  text-align: center;
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(29, 23, 19, 0.45);
}
.footer__credit a { font-weight: 700; color: rgb(217, 56, 41); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
@media (hover: hover) and (pointer: fine) {
  .footer__credit a:hover, .footer__credit a:focus-visible { color: rgb(239, 74, 54); border-bottom-color: currentColor; }
}


/* =========================================================
   REDES: celular a la izquierda, texto y botones a la derecha
   ========================================================= */
.social {
  padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 120px);
  background: rgb(214, 191, 167);
  color: var(--ink);
  font-family: "Barlow", var(--sans);
}
.social__title { line-height: 1.05; }
.social__script {
  display: block;
  font-family: "Lobster Two", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  color: rgb(157, 57, 51);
}
.social__caps {
  display: block;
  margin-top: .1em;
  font-weight: 600;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.social__sub { max-width: 34ch; margin-top: 1.1rem; color: var(--ink); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.6; }
.social__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.social-btn {
  --brand: rgb(157, 57, 51);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 3px;
  background: #1b1918;
  color: rgb(214, 191, 167);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .4s ease, box-shadow .4s ease, border-radius .4s ease;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn--ig { --brand: #d6249f; }
.social-btn--tt { --brand: #fe2c55; }
.social-btn--fb { --brand: #0866ff; }
/* Hover: se llena con el color de la red y "crece" con un rebote corto */
@media (hover: hover) and (pointer: fine) {
  .social-btn:hover { animation: socialGrow .3s ease forwards; border-radius: 26px; }
  .social-btn--ig:hover { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 40%, #d6249f 65%, #285aeb 100%); }
  .social-btn--tt:hover { background: #000; box-shadow: -3px -3px 0 #25f4ee, 3px 3px 0 #fe2c55; }
.social-btn--fb:hover { background: linear-gradient(180deg, #1877f2, #0866ff); box-shadow: 0 6px 18px rgba(8, 102, 255, .4); }
}
@keyframes socialGrow {
  0% { transform: scale(1); }
  90% { transform: scale(1.09); }
  100% { transform: scale(1.06); }
}
/* Clic: rebote + 8 chispas que salen alrededor */
.social-btn.is-burst { animation: socialBounce .3s ease-out; }
@keyframes socialBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.burst { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; }
.burst span { position: absolute; margin: auto; width: 2px; height: 9px; border-radius: 2px; background: var(--brand); opacity: 0; }
.burst span:nth-child(1) { top: -20px; left: 0; right: 0; }
.burst span:nth-child(2) { bottom: -20px; left: 0; right: 0; }
.burst span:nth-child(3) { top: 0; bottom: 0; left: -12px; transform: rotate(90deg); }
.burst span:nth-child(4) { top: 0; bottom: 0; right: -12px; transform: rotate(90deg); }
.burst span:nth-child(5) { top: -18px; left: -70%; right: 0; transform: rotate(-30deg); }
.burst span:nth-child(6) { top: -18px; left: 0; right: -70%; transform: rotate(30deg); }
.burst span:nth-child(7) { bottom: -18px; left: -70%; right: 0; transform: rotate(30deg); }
.burst span:nth-child(8) { bottom: -18px; left: 0; right: -70%; transform: rotate(-30deg); }
.is-burst .burst span { animation: .4s ease-out 1; }
.is-burst .burst span:nth-child(1) { animation-name: spark1; }
.is-burst .burst span:nth-child(2) { animation-name: spark2; }
.is-burst .burst span:nth-child(3) { animation-name: spark3; }
.is-burst .burst span:nth-child(4) { animation-name: spark4; }
.is-burst .burst span:nth-child(5) { animation-name: spark5; }
.is-burst .burst span:nth-child(6) { animation-name: spark6; }
.is-burst .burst span:nth-child(7) { animation-name: spark7; }
.is-burst .burst span:nth-child(8) { animation-name: spark8; }
@keyframes spark1 { 0% { transform: scaleY(.5); opacity: 0; } 50% { transform: translateY(-10px) scaleY(1.4); opacity: 1; } 100% { transform: translateY(-20px) scaleY(.5); opacity: 0; } }
@keyframes spark2 { 0% { transform: scaleY(1); opacity: 0; } 50% { transform: translateY(10px) scaleY(1.4); opacity: 1; } 100% { transform: translateY(20px) scaleY(.5); opacity: 0; } }
@keyframes spark3 { 0% { transform: rotate(90deg) scaleY(.5); opacity: 0; } 50% { transform: rotate(90deg) translateY(10px) scaleY(1.4); opacity: 1; } 100% { transform: rotate(90deg) translateY(20px) scaleY(.5); opacity: 0; } }
@keyframes spark4 { 0% { transform: rotate(90deg) scaleY(.5); opacity: 0; } 50% { transform: rotate(90deg) translateY(-10px) scaleY(1.4); opacity: 1; } 100% { transform: rotate(90deg) translateY(-20px) scaleY(.5); opacity: 0; } }
@keyframes spark5 { 0% { transform: rotate(-30deg) scaleY(.5); opacity: 0; } 50% { transform: rotate(-30deg) translateY(-8px) scaleY(1.4); opacity: 1; } 100% { transform: rotate(-30deg) translateY(-16px) scaleY(.5); opacity: 0; } }
@keyframes spark6 { 0% { transform: rotate(30deg) scaleY(.5); opacity: 0; } 50% { transform: rotate(30deg) translateY(-8px) scaleY(1.4); opacity: 1; } 100% { transform: rotate(30deg) translateY(-16px) scaleY(.5); opacity: 0; } }
@keyframes spark7 { 0% { transform: rotate(30deg) scaleY(.5); opacity: 0; } 50% { transform: rotate(30deg) translateY(8px) scaleY(1.4); opacity: 1; } 100% { transform: rotate(30deg) translateY(16px) scaleY(.5); opacity: 0; } }
@keyframes spark8 { 0% { transform: rotate(-30deg) scaleY(.5); opacity: 0; } 50% { transform: rotate(-30deg) translateY(8px) scaleY(1.4); opacity: 1; } 100% { transform: rotate(-30deg) translateY(16px) scaleY(.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .social-btn:hover, .social-btn.is-burst, .is-burst .burst span { animation: none; }
}

/* Fondo: ronda de porciones dibujadas que gira con el scroll */
.social { position: relative; --spin: -20deg; --gap: 195px; }
.social__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: min(1400px, 190vw);
  height: auto;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
}
.ring { transform: rotate(var(--spin)); transition: transform .12s linear; }
.ring__slice {
  opacity: .85;
  transform: rotate(calc(var(--k) * 45deg)) translateY(calc(-1 * var(--gap)));
}
.social > .container { position: relative; }

.social > .container { z-index: 4; }
.footer > .container { padding-top: 24px; }
.footer .reveal:nth-child(2) { transition-delay: .12s; }
.footer .reveal:nth-child(3) { transition-delay: .24s; }
.footer__bottom.reveal { transition-delay: .3s; }

/* Celular con el perfil de Instagram */
.social { overflow: hidden; }
.social__layout {
  display: grid;
  justify-items: center;
  gap: clamp(36px, 5vw, 56px);
}
.social__text { text-align: center; }
.social__text .social__sub { margin-left: auto; margin-right: auto; }
.social__text .social__btns { justify-content: center; }
@media (min-width: 860px) {
  .social__layout { grid-template-columns: auto 1fr; align-items: center; gap: clamp(48px, 7vw, 110px); max-width: 1000px; margin: 0 auto; }
  .social__text { justify-self: start; text-align: left; }
  .social__text .social__sub { margin-left: 0; }
  .social__text .social__btns { justify-content: flex-start; }
}
.phone-wrap { position: relative; }
.phone {
  display: block;
  position: relative;
  width: min(300px, 78vw);
  padding: 10px;
  border-radius: 46px;
  background: #1b1b1d;
  box-shadow: 0 0 0 2px #3a3a3e, 0 30px 60px rgba(21, 17, 14, .35);
  color: #000;
  text-decoration: none;
  transition: transform .3s;
}
@media (hover: hover) and (pointer: fine) {
  .phone:hover { transform: translateY(-6px); }
}
.phone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  border-radius: 37px;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
}
.phone__status {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 4px;
  font-size: 12px;
  font-weight: 600;
  transition: color .3s;
}
.phone__island {
  position: absolute;
  top: 9px; left: 50%;
  width: 86px; height: 24px;
  margin-left: -43px;
  border-radius: 20px;
  background: #000;
}
.phone__icons { width: 38px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, currentColor 60%, rgba(128, 128, 128, .35) 60%); }

@supports not (aspect-ratio: 1) {
  .phone__screen { height: calc((min(300px, 78vw) - 20px) * 19 / 9); }
  .tt-grid img { height: 0; padding-bottom: 133%; }
}

/* Instagram */
.ig-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 6px; }
.ig-bar svg { width: 18px; height: 18px; }
.ig-bar strong { font-size: 13px; }
.ig-top { display: flex; align-items: center; gap: 12px; padding: 4px 12px 0; }
.ig-avatar { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.ig-stats { flex: 1; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; text-align: center; font-size: 10.5px; }
.ig-stats b { display: block; font-size: 13px; }
.ig-bio { display: flex; flex-direction: column; padding: 8px 12px 0; }
.ig-bio b { font-size: 11.5px; }
.ig-bio__muted { color: #737373; }
.ig-bio__link { color: #00376b; font-weight: 600; }
.ig-btns { display: flex; gap: 5px; padding: 9px 12px 0; font-weight: 600; text-align: center; }
.ig-btns > span { flex: 1; padding: 6px 0; border-radius: 8px; background: #efefef; }
/* Botón Seguir de Instagram: azul, se toca solo y pasa a "Siguiendo" */
.ig-btns .ig-follow { position: relative; overflow: hidden; background: #0095f6; color: #fff; }
.ig-follow__a, .ig-follow__b { display: block; }
.ig-follow__b { position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding-top: 6px; opacity: 0; color: #000; }
.ig-follow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: rgba(255, 255, 255, .6); opacity: 0; }
.phone.is-playing .ig-follow { animation: ig-follow-bg .3s ease 1.6s both; }
.phone.is-playing .ig-follow::after { animation: tap .5s ease-out 1.35s both; }
.phone.is-playing .ig-follow__a { animation: fade-out .2s ease 1.6s both; }
.phone.is-playing .ig-follow__b { animation: fade-in .2s ease 1.65s both; }
@keyframes ig-follow-bg { to { background: #efefef; } }
.ig-btns .ig-btns__sq { flex: 0 0 30px; display: flex; align-items: center; justify-content: center; }
.ig-btns svg { width: 12px; height: 12px; }
.ig-hl { display: flex; gap: 10px; margin: 0; padding: 10px 12px 6px; list-style: none; overflow: hidden; }
.ig-hl li { flex: 0 0 52px; text-align: center; font-size: 9.5px; }
.ig-hl img { width: 52px; height: 52px; border-radius: 50%; }
.ig-hl span { display: block; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-tabs { display: flex; justify-content: space-around; padding: 6px 0 0; border-top: 1px solid #efefef; }
.ig-tabs svg { width: 18px; height: 18px; padding-bottom: 6px; color: #737373; box-sizing: content-box; }
.ig-tabs svg.is-on { color: #000; border-bottom: 1.5px solid #000; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; margin: 0; padding: 0; list-style: none; align-items: start; }
.ig-grid img { display: block; width: 100%; height: auto; }
.ig-nav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 9px 6px 18px;
  background: #fff;
  border-top: 1px solid #efefef;
}
.ig-nav svg { width: 20px; height: 20px; }
.ig-nav__me { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; border: 1.5px solid #000; }
.ig-nav__me img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }

/* Notificación (estilo iOS) */
.ig-notif {
  position: absolute;
  top: 40px; left: 8px; right: 8px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(242, 242, 242, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  font-size: 11px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-140%);
}
.ig-notif__app {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.ig-notif__app svg { width: 18px; height: 18px; }
.ig-notif__body { display: flex; flex-direction: column; min-width: 0; }
.ig-notif__top { display: flex; justify-content: space-between; color: #555; }
.ig-notif__top small { font-size: 10px; }

/* Intro: logo, giro del triángulo y mordiscos */
.splash {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
.splash__logo { width: 70%; overflow: visible; }
/* Logo (el cartel del local en vector, ver .np-defs en index.html): disco negro, luz cálida atrás y todo en blanco */
.np-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.np-disc { fill: #121010; }
.np-badge { fill: #fff; }
.np-ring { fill: none; stroke: #fff; stroke-width: 21; stroke-linecap: round; stroke-dasharray: 1400; }
.np-tri { fill: none; stroke: #f5de5f; stroke-width: 21; stroke-linejoin: miter; }
.splash__slice, .bite, .crumbs circle, .np-arc { transform-box: fill-box; transform-origin: center; }
.bite { fill: #000; transform: scale(0); }
.crumbs circle { fill: #e9c54b; opacity: 0; }

.phone.is-playing .phone__status { animation: status-color 35s step-end both; }
.phone.is-playing .splash { animation: splash 4.2s 2s both; }
.phone.is-playing .splash__logo { animation: logo-in .6s cubic-bezier(.2, .8, .2, 1) 2.1s both, word-out .4s ease 5.25s forwards; }
.phone.is-playing .np-halo { animation: sign-on 1.2s linear 2.15s both; }
.phone.is-playing .np-ring { animation: ring-draw 1s cubic-bezier(.65, 0, .35, 1) 2.3s both; }
.phone.is-playing .np-arc--top { animation: arc-in .6s cubic-bezier(.2, .8, .2, 1) 2.65s both; }
.phone.is-playing .np-arc--bot { animation: arc-in .6s cubic-bezier(.2, .8, .2, 1) 2.8s both; }
.phone.is-playing .splash__slice { animation: slice 3.4s cubic-bezier(.65, 0, .35, 1) 2.5s both; }
.phone.is-playing .bite { animation: bite .22s cubic-bezier(.2, 1.5, .4, 1) both; }
.phone.is-playing .bite--1 { animation-delay: 3.9s; }
.phone.is-playing .bite--1b { animation-delay: 3.98s; }
.phone.is-playing .bite--2 { animation-delay: 4.3s; }
.phone.is-playing .bite--2b { animation-delay: 4.38s; }
.phone.is-playing .bite--3 { animation-delay: 4.7s; }
.phone.is-playing .bite--3b { animation-delay: 4.78s; }
.phone.is-playing .crumbs circle { animation: crumb-a .7s cubic-bezier(.2, .7, .4, 1) both; }
.phone.is-playing .crumbs circle:nth-child(3n+2) { animation-name: crumb-b; }
.phone.is-playing .crumbs circle:nth-child(3n) { animation-name: crumb-c; }
.phone.is-playing .crumbs circle:nth-child(-n+3) { animation-delay: 3.92s; }
.phone.is-playing .crumbs circle:nth-child(n+4):nth-child(-n+6) { animation-delay: 4.32s; }
.phone.is-playing .crumbs circle:nth-child(n+7) { animation-delay: 4.72s; }
.phone.is-playing .ig-notif { animation: notif 4.4s cubic-bezier(.2, .9, .3, 1) 6.5s both; }

/* ciclo de 35 s: Instagram (blanco) → intro (negro) → Instagram → TikTok (negro) → Facebook (blanco) → horno (negro) → Facebook */
@keyframes status-color { 0% { color: #000; } 5.71% { color: #fff; } 17.71% { color: #000; } 34.29% { color: #fff; } 60% { color: #000; } 66.4% { color: #fff; } 78.7%, 100% { color: #000; } }
@keyframes splash { 0% { opacity: 0; } 8%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes logo-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes slice {
  0% { transform: rotate(0); }
  35% { transform: rotate(360deg); }
  75% { transform: rotate(360deg) scale(1); opacity: 1; }
  100% { transform: rotate(360deg) scale(.6); opacity: 0; }
}
@keyframes bite { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes crumb-a { 0% { opacity: 0; transform: none; } 1% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(-120px, 140px); } }
@keyframes crumb-b { 0% { opacity: 0; transform: none; } 1% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(105px, 160px); } }
@keyframes crumb-c { 0% { opacity: 0; transform: none; } 1% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(14px, 200px); } }
/* el cartel se prende como un tubo de luz: un par de parpadeos y queda fijo */
@keyframes sign-on { 0% { opacity: 0; } 8% { opacity: .85; } 12% { opacity: .1; } 20% { opacity: .95; } 24% { opacity: .25; } 34%, 100% { opacity: 1; } }
@keyframes ring-draw { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
@keyframes arc-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes word-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes notif {
  0% { opacity: 0; transform: translateY(-140%); }
  10%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-140%); }
}


/* Pantalla 2: TikTok (entra deslizando cuando termina Instagram) */
.tt {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 4;
  padding-top: 36px;
  background: #000;
  color: rgb(29, 23, 19);
  text-align: center;
  transform: translateX(100%);
}
.tt-head { padding: 6px 0; font-size: 13px; font-weight: 600; }
.tt-profile { padding: 2px 14px 10px; }
.tt-avatar { display: block; width: 64px; height: 64px; margin: 0 auto 7px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); }
.tt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tt-name { display: block; font-size: 14px; }
.tt-stats { display: flex; justify-content: center; gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 10.5px; color: rgba(255, 255, 255, .6); }
.tt-stats b { display: block; color: #fff; font-size: 13px; }
.tt-actions { display: flex; justify-content: center; gap: 6px; margin-top: 10px; font-size: 11.5px; font-weight: 600; }
.tt-actions > span { position: relative; width: 92px; padding: 7px 0; border-radius: 6px; overflow: hidden; }
.tt-follow { background: #fe2c55; }
.tt-follow__a, .tt-follow__b { display: block; }
.tt-follow__b { position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding-top: 7px; opacity: 0; }
.tt-follow::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  opacity: 0;
}
.tt-msg { background: #2f2f2f; }
.tt-bio { margin-top: 9px; font-size: 10.5px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.tt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; }
.tt-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Pizza que se arma con porciones de arriba y de abajo */
.tt-pop {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  pointer-events: none;
}
.tt-pizza { width: 74%; overflow: visible; }
.tt-slice, .tt-badge { transform-box: fill-box; transform-origin: center; }
.tt-slice__cheese { fill: #f3c25e; stroke: #e2a645; stroke-width: 1; }
.tt-slice__crust { fill: none; stroke: #c27a35; stroke-width: 9; stroke-linecap: round; }
.tt-slice__pep { fill: #c8361f; }
.tt-slice__basil { fill: #3f8a3a; }
.tt-slice--top { transform: translateY(-190px) rotate(-35deg); opacity: 0; }
.tt-slice--bot { transform: translateY(190px) rotate(35deg); opacity: 0; }
.tt-badge circle { fill: #000; stroke: #e9c54b; stroke-width: 2; }
.tt-badge { transform: scale(0); }

.tt-notif { top: 40px; }
.tt-notif__app { background: #000; }

.phone.is-playing .tt { animation: tt-in .7s cubic-bezier(.7, 0, .2, 1) 12s both; }
.phone.is-playing .tt-follow { animation: follow-bg .3s ease 13.2s both; }
.phone.is-playing .tt-follow::after { animation: tap .5s ease-out 12.95s both; }
.phone.is-playing .tt-follow__a { animation: fade-out .2s ease 13.2s both; }
.phone.is-playing .tt-follow__b { animation: fade-in .2s ease 13.25s both; }
.phone.is-playing .tt-pop { animation: pop-bg 2.3s ease 13.4s both; }
.phone.is-playing .tt-slice { animation: slice-join .55s cubic-bezier(.2, .9, .3, 1.15) calc(13.5s + var(--i) * .07s) both; }
.phone.is-playing .tt-badge { animation: badge-pop .35s cubic-bezier(.2, 1.6, .4, 1) 14.25s both; }
.phone.is-playing .tt-pizza { animation: pizza-out .4s cubic-bezier(.5, 0, .8, .3) 15.15s both; }
.phone.is-playing .tt-notif { animation: notif 4.4s cubic-bezier(.2, .9, .3, 1) 15.8s both; }

@keyframes tt-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes follow-bg { to { background: #2f2f2f; } }
@keyframes tap { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(4); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes pop-bg { 0% { opacity: 0; } 8%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes slice-join { to { transform: none; opacity: 1; } }
@keyframes badge-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pizza-out { 0% { transform: scale(1); opacity: 1; } 30% { transform: scale(1.08); } 100% { transform: scale(0); opacity: 0; } }

/* Emojis que suben a los costados */
.yum {
  position: absolute;
  z-index: 2;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
  opacity: 0;
  pointer-events: none;
}
.yum--l1 { left: -46px; bottom: 30%; }
.yum--l2 { left: -70px; bottom: 45%; }
.yum--l3 { left: -40px; bottom: 58%; }
.yum--l4 { left: -66px; bottom: 22%; }
.yum--r1 { right: -48px; bottom: 34%; }
.yum--r2 { right: -72px; bottom: 50%; }
.yum--r3 { right: -42px; bottom: 24%; }
.yum--r4 { right: -68px; bottom: 60%; }
@media (max-width: 480px) {
  .yum--l1, .yum--l3 { left: -24px; }
  .yum--l2, .yum--l4 { left: -34px; }
  .yum--r1, .yum--r3 { right: -24px; }
  .yum--r2, .yum--r4 { right: -34px; }
}
.yum--l1 { --d: 6.8s; } .yum--r1 { --d: 7s; } .yum--l2 { --d: 7.3s; } .yum--r2 { --d: 7.5s; }
.yum--l3 { --d: 7.8s; } .yum--r3 { --d: 8s; } .yum--l4 { --d: 8.3s; } .yum--r4 { --d: 8.5s; }
.phone-wrap.is-playing .yum { animation: yum 2.6s ease-out var(--d) both; }
.phone-wrap.is-playing .yum--late { animation-delay: calc(var(--d) + 9.3s); }
@keyframes yum {
  0% { opacity: 0; transform: translateY(30px) scale(.5) rotate(-12deg); }
  20% { opacity: 1; transform: translateY(0) scale(1.1) rotate(6deg); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px) scale(.9) rotate(-8deg); }
}

/* Botón con contorno brillante al pasar el mouse + flechas en cascada */
.pulse-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%);
  color: rgb(212, 189, 164);
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 8px 8px 22px rgba(157, 57, 51, 0.4);
  cursor: pointer;
  transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
  -webkit-tap-highlight-color: transparent;
}
.pulse-btn::before {
  content: "";
  position: absolute;
  top: -7px; right: -7px; bottom: -7px; left: -7px;
  border-radius: inherit;
  border: 3px solid rgb(239, 74, 54);
  box-shadow: 0 0 30px rgba(239, 74, 54, 0.55);
  opacity: 0;
  transition: opacity .3s ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
  .pulse-btn:hover,
  .pulse-btn:focus-visible { transform: translateY(-5px); box-shadow: 10px 14px 28px rgba(157, 57, 51, 0.5); }
}
@media (hover: hover) and (pointer: fine) {
  .pulse-btn:hover::before,
  .pulse-btn:focus-visible::before { opacity: 1; }
}
.pulse-btn__chev { width: 24px; height: 16px; overflow: visible; transition: transform .3s; }
.pulse-btn__chev path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .pulse-btn:hover .pulse-btn__chev .c3 { animation: chevColor 1s infinite .2s; }
}
@media (hover: hover) and (pointer: fine) {
  .pulse-btn:hover .pulse-btn__chev .c2 { animation: chevColor 1s infinite .4s; }
}
@media (hover: hover) and (pointer: fine) {
  .pulse-btn:hover .pulse-btn__chev .c1 { animation: chevColor 1s infinite .6s; }
}
@keyframes chevColor { 0%, 100% { stroke: rgb(212, 189, 164); } 20% { stroke: rgb(29, 23, 19); } }
/* "Ver más" apunta abajo, "Ver menos" arriba */
.menu-cat__toggle .pulse-btn__chev { transform: rotate(90deg); }
.menu-cat__toggle[aria-expanded="true"] .pulse-btn__chev { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) {
  .pulse-btn__chev path { animation: none !important; }
}

/* =========================================================
   INTRO DE CARGA
   ========================================================= */
html.is-loading, html.is-loading body { overflow: hidden; }
.loader {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0908;
  animation: loaderOpen .8s cubic-bezier(.76, 0, .24, 1) 3.55s forwards;
}
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(30px, 4vw, 44px); }
.loader__mask { overflow: hidden; padding: 0 6px; }
/* Misma animación que la intro del celular de Redes (mismos tiempos, arrancando 2 s antes) */
.loader__logo { display: block; width: clamp(210px, 28vw, 330px); height: auto; overflow: visible; animation: logo-in .6s cubic-bezier(.2, .8, .2, 1) .1s both, word-out .4s ease 3.25s forwards; }
.loader .np-halo { animation: sign-on 1.2s linear .15s both; }
.loader .np-ring { animation: ring-draw 1s cubic-bezier(.65, 0, .35, 1) .3s both; }
.loader .np-arc--top { animation: arc-in .6s cubic-bezier(.2, .8, .2, 1) .65s both; }
.loader .np-arc--bot { animation: arc-in .6s cubic-bezier(.2, .8, .2, 1) .8s both; }
.loader .bite { animation: bite .22s cubic-bezier(.2, 1.5, .4, 1) both; }
.loader .splash__slice { animation: slice 3.4s cubic-bezier(.65, 0, .35, 1) .5s both; }
.loader .bite--1 { animation-delay: 1.9s; }
.loader .bite--1b { animation-delay: 1.98s; }
.loader .bite--2 { animation-delay: 2.3s; }
.loader .bite--2b { animation-delay: 2.38s; }
.loader .bite--3 { animation-delay: 2.7s; }
.loader .bite--3b { animation-delay: 2.78s; }
.loader .crumbs circle { animation: crumb-a .7s cubic-bezier(.2, .7, .4, 1) both; }
.loader .crumbs circle:nth-child(3n+2) { animation-name: crumb-b; }
.loader .crumbs circle:nth-child(3n) { animation-name: crumb-c; }
.loader .crumbs circle:nth-child(-n+3) { animation-delay: 1.92s; }
.loader .crumbs circle:nth-child(n+4):nth-child(-n+6) { animation-delay: 2.32s; }
.loader .crumbs circle:nth-child(n+7) { animation-delay: 2.72s; }
/* La frase sube desde abajo y se va junto con el nombre */
.loader__tag {
  display: block;
  font-family: "Barlow", var(--sans);
  font-weight: 600;
  font-size: clamp(11px, 3.2vw, 13px);
  letter-spacing: .32em;
  white-space: nowrap;
  color: rgba(255, 255, 255, .7);
  animation: loaderRise .8s cubic-bezier(.2, .8, .2, 1) .7s both, word-out .4s ease 3.25s forwards;
}
@keyframes loaderRise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes loaderOpen { to { transform: translateY(-100%); visibility: hidden; } }
/* Abierta como app instalada, Android muestra antes su pantalla de inicio con el ícono (el logo blanco sobre negro).
   La intro arranca desde ese mismo logo, ya dibujado, del mismo tamaño y centrado, y solo se le prende la luz:
   así se ve un solo logo que se enciende, sin que se apague y vuelva a aparecer (lo pone index.html; igual en admin/intro.css) */
html.app-launch .loader__inner { position: relative; }
html.app-launch .loader__mask { position: absolute; top: 100%; left: 50%; margin-top: clamp(30px, 4vw, 44px); transform: translateX(-50%); }
html.app-launch .loader__logo { animation: word-out .4s ease 3.25s forwards; }
html.app-launch .loader .np-ring, html.app-launch .loader .np-arc { animation: none; }
html.app-launch .loader .np-disc { animation: sign-on 1.2s linear .15s both; }
@media (pointer: coarse) { html.app-launch .loader__logo { width: 220px; } }

@media (prefers-reduced-motion: reduce) {
  .loader, .loader * { animation-duration: .01s !important; animation-delay: 0s !important; }
  .loader { animation: loaderFade .3s ease .4s forwards !important; }
  @keyframes loaderFade { to { opacity: 0; visibility: hidden; } }
}

/* Fotos de pizzas: aparición rápida al bajar */
.pizza-card__img.pop { opacity: 0; transform: translateY(26px) scale(.94); }
.pizza-card__img.pop.is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.pizza-card__img.pop.no-anim { transition: none; }

html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 1099px) {
  .hero__content { transform-origin: 50% 40%; will-change: transform, opacity; }
  .hero__content { padding-left: max(64px, env(safe-area-inset-left)); padding-right: max(64px, env(safe-area-inset-right)); }
  /* Flechas a los costados, a media altura, como en el video */
  .hero__arrow { top: 50%; bottom: auto; margin-top: -22px; }
  .hero__arrow--prev { left: max(10px, env(safe-area-inset-left)); right: auto; }
  .hero__arrow--next { right: max(10px, env(safe-area-inset-right)); left: auto; }
}
@media (max-width: 480px) {
  .hero__arrow { top: 66%; width: 40px; height: 40px; margin-top: -20px; }
}

/* =========================================================
   FOOTER (diseño de columnas con títulos espaciados)
   ========================================================= */
.footer .footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-top: 28px;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  justify-self: start;
  color: rgb(29, 23, 19);
  text-decoration: none;
}
.footer__brand img { width: 96px; height: auto; }
/* Celular y tablet: logo grande y centrado, con una línea fina debajo */
@media (max-width: 1099px) {
  .footer__brand {
    justify-self: stretch;
    justify-content: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(217, 56, 41, 0.18);
  }
  .footer__brand img { width: clamp(130px, 36vw, 170px); }
}
.footer__brand span {
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.footer .footer__label {
  margin: 0 0 16px;
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgb(29, 23, 19);
}
.footer__links { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer__links, .footer__links a { color: rgba(29, 23, 19, 0.7); font-size: 1.12rem; line-height: 1.45; text-decoration: none; }
.footer__links a { justify-self: start; transition: color .2s; }
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover { color: rgb(217, 56, 41); }
}
.footer__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border: 1px solid rgba(217, 56, 41, 0.45);
  border-radius: 999px;
  color: rgb(29, 23, 19);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.footer__pill span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(90deg, rgb(229, 71, 50), rgb(157, 57, 51)); color: rgb(212, 189, 164); }
.footer__pill svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .footer__pill:hover { border-color: rgb(217, 56, 41); background: rgba(217, 56, 41, 0.08); }
}
.footer__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%);
  color: rgb(212, 189, 164);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 6px 6px 18px rgba(157, 57, 51, 0.25);
  transition: transform .2s;
}
.footer__menu-btn svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .footer__menu-btn:hover { transform: translateY(-2px); }
}
.footer .footer__bottom { align-items: center; flex-wrap: nowrap; padding-right: 0; }
.footer .footer__bottom p { flex: 1; min-width: 0; }
.footer .footer__top { flex-shrink: 0; }
.footer .footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  border-radius: 50%;
  background: rgb(208, 183, 156);
  border: 1px solid rgba(217, 56, 41, 0.35);
  color: rgb(217, 56, 41);
}
.footer .footer__top svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .footer .footer__top:hover { background: rgb(217, 56, 41); color: rgb(212, 189, 164); }
}
@media (min-width: 768px) {
  .footer .footer__inner { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .footer .footer__inner { grid-template-columns: 1.1fr 1fr 1.2fr 1.3fr; align-items: start; gap: 48px; }
  .footer__brand { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer .footer__bottom { padding-right: 80px; }
}

/* Carta: carrusel horizontal en celular y tablet */
.pizza-carousel { position: relative; }
.pz-arrow { display: none; }
@media (max-width: 1099px) {
  .pizza-carousel.is-carousel { margin: 0 calc(-1 * max(var(--gutter), env(safe-area-inset-left))); }
  /* Carrusel cuando está "Ver más" (cerrado); abierto muestra todas en grilla */
  .pizza-grid.is-collapsed {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 max(var(--gutter), env(safe-area-inset-left));
    padding: 0 max(var(--gutter), env(safe-area-inset-left)) 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pizza-grid::-webkit-scrollbar { display: none; }
  .pizza-grid.is-collapsed .pizza-card { display: flex !important; flex: 0 0 68%; width: auto; scroll-snap-align: start; }
  .pizza-carousel:not(.is-carousel) .pz-arrow { display: none; }
  /* Flechas finas, discretas, a media altura de la foto */
  .pz-arrow {
    position: absolute;
    top: var(--arrow-top, 34%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    margin-top: -19px;
    padding: 0;
    border: 1px solid rgba(217, 56, 41, 0.55);
    border-radius: 50%;
    background: rgba(216, 195, 173, 0.62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: rgb(233, 130, 114);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: opacity .3s, transform .2s, background-color .2s;
  }
  .pz-arrow svg { width: 18px; height: 18px; }
  .pz-arrow--prev { left: 6px; }
  .pz-arrow--next { right: 6px; }
  .pz-arrow:active { transform: scale(.9); background: rgb(157, 57, 51); color: rgb(212, 189, 164); }
  .pz-arrow.is-off { opacity: 0; pointer-events: none; }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .pizza-grid.is-collapsed .pizza-card { flex-basis: 40%; }
  .pz-arrow { width: 44px; height: 44px; margin-top: -22px; }
  .pz-arrow--prev { left: 12px; }
  .pz-arrow--next { right: 12px; }
}
/* Celular acostado: más columnas, así cada tarjeta (foto + nombre + precio) se ve casi entera en la pantalla baja */
@media (orientation: landscape) and (max-height: 500px) {
  .pizza-grid { --cols: 3; --gap-x: 16px; row-gap: 32px; }
  .pizza-grid.is-collapsed .pizza-card { flex-basis: 30%; }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 700px) {
  .pizza-grid { --cols: 4; }
  .pizza-grid.is-collapsed .pizza-card { flex-basis: 23%; }
}

/* PC: "Ver menos" deja una fila de 4 que se recorre con flechas */
@media (min-width: 1100px) {
  .pizza-grid.is-collapsed {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* aire para el hover del botón y el foco, sin que se corten */
    padding: 6px 4px 12px;
    margin: -6px -4px -12px;
    scroll-padding: 0 4px;
    scrollbar-width: none;
  }
  .pizza-grid.is-collapsed::-webkit-scrollbar { display: none; }
  .pizza-grid.is-collapsed .pizza-card { flex: 0 0 auto; scroll-snap-align: start; }
  .pizza-carousel.is-carousel .pz-arrow {
    position: absolute;
    top: var(--arrow-top, 40%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    margin-top: -26px;
    padding: 0;
    border: 1px solid rgba(217, 56, 41, 0.6);
    border-radius: 50%;
    background: rgba(216, 195, 173, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(29, 23, 19, 0.06);
    color: rgb(233, 130, 114);
    cursor: pointer;
    transition: opacity .3s, transform .25s cubic-bezier(.2, .8, .2, 1), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  }
  .pz-arrow svg { width: 22px; height: 22px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
  .pz-arrow--prev { left: -26px; }
  .pz-arrow--next { right: -26px; }
  .pz-arrow:hover {
    background: rgb(157, 57, 51);
    border-color: rgb(217, 56, 41);
    color: rgb(212, 189, 164);
    box-shadow: 0 12px 30px rgba(157, 57, 51, 0.4);
  }
  .pz-arrow--prev:hover svg { transform: translateX(-2px); }
  .pz-arrow--next:hover svg { transform: translateX(2px); }
  .pz-arrow:active { transform: scale(.92); }
  .pz-arrow.is-off { opacity: 0; pointer-events: none; transform: scale(.8); }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  .pizza-grid.is-collapsed { scroll-behavior: auto; }
}

/* Celular/tablet: los botones hacen su animación al pasar por el centro de la pantalla (scroll) */
@media (hover: none) {
  .pulse-btn.is-live { transform: translateY(-5px); box-shadow: 10px 14px 28px rgba(157, 57, 51, 0.5); }
  .pulse-btn.is-live::before { opacity: 1; }
  .pulse-btn.is-live .pulse-btn__chev .c3 { animation: chevColor 1s infinite .2s; }
  .pulse-btn.is-live .pulse-btn__chev .c2 { animation: chevColor 1s infinite .4s; }
  .pulse-btn.is-live .pulse-btn__chev .c1 { animation: chevColor 1s infinite .6s; }
  .social-btn.is-live { animation: socialGrow .3s ease forwards; border-radius: 26px; }
  .social-btn--ig.is-live { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 40%, #d6249f 65%, #285aeb 100%); }
  .social-btn--tt.is-live { background: #000; box-shadow: -3px -3px 0 #25f4ee, 3px 3px 0 #fe2c55; }
.social-btn--fb.is-live { background: linear-gradient(180deg, #1877f2, #0866ff); box-shadow: 0 6px 18px rgba(8, 102, 255, .4); }
  .footer__pill, .footer__menu-btn { transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, background-color .3s, box-shadow .3s; }
  .footer__pill.is-live { transform: scale(1.05); border-color: rgb(217, 56, 41); background: rgba(217, 56, 41, 0.12); }
  .footer__pill.is-live span { animation: socialGrow .3s ease forwards; }
  .footer__menu-btn.is-live { transform: translateY(-3px) scale(1.03); box-shadow: 10px 14px 28px rgba(157, 57, 51, 0.45); }
}

/* =========================================================
   MODO LIVIANO (celulares/notebooks de gama baja o ahorro de datos)
   Saca los efectos más pesados para la GPU sin cambiar el diseño
   ========================================================= */
.lite .hero__slides { animation: none; will-change: auto; }
.lite .hero__content > * { -webkit-filter: none !important; filter: none !important; }
.lite .ig-notif, .lite .jump, .lite .pz-arrow { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite .ig-notif { background: #f2f2f2; }
.lite .jump, .lite .pz-arrow { background: rgba(216, 195, 173, 0.88); }
.lite .intro__bg, .lite .story__bg { will-change: auto; }
.lite .hero__slide img { transition: none; transform: none; }
.lite .menu-arrow__icon, .lite .jump svg { -webkit-filter: none; filter: none; }

/* =========================================================
   VISOR DE PIZZAS
   ========================================================= */
.pizza-card__img { cursor: zoom-in; }
.pizza-card__img:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 3px; }
.pzv { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
.pzv[hidden] { display: none; }
.pzv.is-over-rv { z-index: 960; }
.pzv__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(220, 202, 183, 0.9); opacity: 0; transition: opacity .3s ease; }
.pzv__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 980px);
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(217, 56, 41, 0.25);
  border-radius: var(--frame-r);
  background: rgb(214, 191, 167);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translateY(24px) scale(.94);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.1);
}
.pzv.is-open .pzv__backdrop { opacity: 1; }
.pzv.is-open .pzv__dialog { opacity: 1; transform: none; }
.pzv__stage { position: relative; background: rgb(217, 196, 174); }
.pzv__img { display: block; width: 100%; height: min(46vh, 440px); object-fit: cover; }
.pzv__dialog { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pzv__dialog.is-next .pzv__img { animation: pzvIn .45s cubic-bezier(.2, .8, .2, 1); }
/* hacia atrás, la misma entrada que hacia adelante pero desde la izquierda */
.pzv__dialog.is-prev .pzv__img { animation: pzvInL .45s cubic-bezier(.2, .8, .2, 1); }
.pzv__dialog.is-next .pzv__info > *, .pzv__dialog.is-prev .pzv__info > * { animation: pzvText .4s ease; }
@keyframes pzvIn { from { opacity: .2; transform: translateX(40px) scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes pzvInL { from { opacity: .2; transform: translateX(-40px) scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes pzvText { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pzv__info { padding: 22px 24px 24px; color: rgb(29, 23, 19); font-family: "Barlow", var(--sans); }
.pzv__count { font-size: .8rem; letter-spacing: .2em; color: rgb(217, 56, 41); }
.pzv__name { margin-top: 6px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pzv__desc { margin-top: 8px; color: rgba(29, 23, 19, 0.72); font-size: 1.02rem; line-height: 1.55; }
.pzv.is-photo .pzv__row { display: none; }
.pzv__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.pzv__price { padding: 6px 14px; border: 1.5px solid rgb(157, 57, 51); border-radius: 8px; font-size: 1.25rem; font-weight: 700; }
.pzv__order {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px;
  border-radius: 999px; background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%);
  color: rgb(212, 189, 164); font-weight: 700; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 8px 20px rgba(157, 57, 51, 0.35); transition: transform .2s;
}
@media (hover: hover) and (pointer: fine) {
  .pzv__order:hover { transform: translateY(-2px); }
}
.pzv__close, .pzv__nav {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid rgba(217, 56, 41, 0.55); border-radius: 50%;
  background: rgba(216, 195, 173, 0.72); color: rgb(233, 130, 114); cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background-color .2s, color .2s, transform .2s;
}
.pzv__close { top: 12px; right: 12px; }
.pzv__nav { top: 50%; margin-top: -22px; }
.pzv__nav--prev { left: 12px; }
.pzv__nav--next { right: 12px; }
.pzv__close svg, .pzv__nav svg { width: 20px; height: 20px; }
.pzv__close:active, .pzv__nav:active { transform: scale(.92); background: rgb(157, 57, 51); color: rgb(212, 189, 164); }
@media (hover: hover) and (pointer: fine) { .pzv__close:hover, .pzv__nav:hover { background: rgb(157, 57, 51); color: rgb(212, 189, 164); } }
@media (min-width: 900px) {
  .pzv__dialog { grid-template-columns: 1.25fr 1fr; align-items: center; }
  .pzv__img { height: min(78vh, 620px); }
  .pzv__info { padding: 36px 36px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .pzv__dialog { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .pzv__img { height: calc(100vh - 40px); }
  .pzv__info { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { .pzv__dialog, .pzv__backdrop, .pzv__img, .pzv__info > * { transition: none !important; animation: none !important; } }

/* Ultrawide: más aire, sin estirar el contenido */
@media (min-width: 1920px) {
  :root { --max: 1400px; }
  .header__inner { padding-left: 48px; padding-right: 48px; }
}

/* =========================================================
   CARRITO
   ========================================================= */
/* Contenedor del carrito en la barra: en celular/tablet no arma caja propia */
.nav-end { display: contents; }
/* Botón en la barra (con contador) */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px; height: 46px;
  margin-left: 14px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.cart-btn svg { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) {
  .cart-btn:hover { background: rgb(217, 56, 41); border-color: rgb(217, 56, 41); color: #1a130e; }
}
.cart-btn:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 3px; }
.cart-btn__count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgb(217, 56, 41);
  color: #1a130e;
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 0 0 2px #0b0908;
  transform: scale(0);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.cart-btn.has-items .cart-btn__count { transform: scale(1); }
.cart-btn.is-bump { animation: cartBump .55s cubic-bezier(.34, 1.56, .64, 1); }
.cart-btn.is-bump .cart-btn__count { animation: cartCountPop .55s ease; }
@keyframes cartBump { 0% { transform: scale(1); } 30% { transform: scale(1.22) rotate(-8deg); } 60% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes cartCountPop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@media (max-width: 1099px) {
  .cart-btn { order: 2; width: 44px; height: 44px; margin-left: auto; }
  .menu-toggle { margin-left: 8px; }
}

/* Botón "Pedir" al agregar */
.pizza-card__btn.is-added,
.pizza-card__btn.is-added:hover {
  background:
    linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%) padding-box,
    linear-gradient(90deg, rgb(242, 97, 66), rgb(157, 57, 51)) border-box;
  color: rgb(212, 189, 164);
  box-shadow: 0 0 24px rgba(217, 56, 41, 0.35);
}
.pizza-card__btn.is-added svg { color: rgb(212, 189, 164); }
@media (prefers-reduced-motion: reduce) {
  .pizza-card__btn, .pizza-card__btn svg { transition: none; }
  .pizza-card__btn:hover::before { transition: none; }
}

/* Al llegar al carrito: ondas desde el botón y globito "¡Tu pedido está acá!" (encima de la revista, debajo del carrito abierto) */
.cart-cue__ring { position: fixed; z-index: 945; border: 3px solid rgb(229, 71, 50); border-radius: 50%; pointer-events: none; opacity: 0; animation: cartCueRing 1.1s ease-out forwards; }
@keyframes cartCueRing { 0% { transform: scale(.7); opacity: .95; } 100% { transform: scale(2.3); opacity: 0; } }
.cart-cue__tip {
  position: fixed;
  z-index: 946;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(300px, calc(100vw - 24px));
  padding: 10px 16px 10px 10px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: rgb(29, 23, 19);
  font-family: "Barlow", var(--sans);
  text-align: left;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: cartCueIn .4s cubic-bezier(.34, 1.56, .64, 1) both;
}
.cart-cue__tip.is-above { transform-origin: var(--ax) 100%; }
.cart-cue__tip.is-below { transform-origin: var(--ax) 0; }
/* piquito que apunta al botón del carrito */
.cart-cue__tip::after { content: ""; position: absolute; left: calc(var(--ax) - 8px); width: 16px; height: 16px; background: #fff; border-radius: 3px; transform: rotate(45deg); }
.cart-cue__tip.is-above::after { bottom: -6px; }
.cart-cue__tip.is-below::after { top: -6px; }
.cart-cue__tip.is-out { animation: cartCueOut .3s ease forwards; }
@keyframes cartCueIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes cartCueOut { to { opacity: 0; transform: scale(.85); } }
.cart-cue__ok { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgb(217, 56, 41); color: #fff; }
.cart-cue__ok svg { width: 18px; height: 18px; }
.cart-cue__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.2; }
.cart-cue__txt b { font-size: 16px; font-weight: 700; }
.cart-cue__txt small { overflow: hidden; font-size: 13px; color: rgba(29, 23, 19, .65); white-space: nowrap; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .cart-cue__tip, .cart-cue__tip.is-out { animation: none; } }

/* La foto que vuela hasta el carrito */
.cart-fly {
  position: fixed;
  top: 0; left: 0;
  z-index: 960;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid rgb(217, 56, 41);
  background: rgb(208, 183, 156);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  pointer-events: none;
  will-change: transform, opacity;
}
.cart-fly img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cart-fly--sq { border-radius: 22%; background: #fff; }
.cart-fly--sq img { object-fit: contain; }
.cart-fly--icon { display: flex; align-items: center; justify-content: center; background: rgb(217, 56, 41); color: rgb(212, 189, 164); }
.cart-fly--icon svg { width: 55%; height: 55%; }

/* Panel lateral */
.cart { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 950; }
.cart[hidden] { display: none; }
.cart__backdrop {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(220, 202, 183, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s ease;
}
.cart__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: #fff;
  color: rgb(29, 23, 19);
  font-family: "Barlow", var(--sans);
  box-shadow: -20px 0 50px rgba(0, 0, 0, .45);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.77, 0, .18, 1);
}
.cart.is-open .cart__backdrop { opacity: 1; }
.cart.is-open .cart__panel { transform: none; }
.cart__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: calc(22px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) 18px max(22px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(29, 23, 19, 0.08);
}
.cart__kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgb(217, 56, 41); }
.cart__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: none;
  letter-spacing: 0;
}
.cart__title svg { width: 24px; height: 24px; color: rgb(217, 56, 41); }
.cart__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px; height: 42px;
  margin: -4px -6px 0 0;
  padding: 0;
  border: 1px solid rgba(29, 23, 19, 0.18);
  border-radius: 50%;
  background: transparent;
  color: rgb(29, 23, 19);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.cart__close svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .cart__close:hover { background: rgb(29, 23, 19); color: rgb(213, 190, 165); }
}
.cart__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px max(22px, env(safe-area-inset-right)) 8px max(22px, env(safe-area-inset-left)); }

/* Vacío */
.cart__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 40px 10px; text-align: center; }
.cart__empty[hidden] { display: none; }
.cart__empty-ico { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50%; background: rgba(217, 56, 41, 0.12); color: rgb(217, 56, 41); }
.cart__empty-ico svg { width: 34px; height: 34px; }
.cart__empty-title { font-weight: 600; font-size: 1.1rem; }
.cart__empty-text { max-width: 26ch; margin-top: 6px; color: rgba(29, 23, 19, 0.6); font-size: .95rem; line-height: 1.5; }
.cart__browse {
  margin-top: 22px;
  padding: 11px 24px;
  border: 1.5px solid rgb(217, 56, 41);
  border-radius: 999px;
  color: rgb(217, 56, 41);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
@media (hover: hover) and (pointer: fine) {
  .cart__browse:hover { background: rgb(217, 56, 41); color: rgb(212, 189, 164); }
}

/* Productos */
.cart__list { list-style: none; margin: 0; padding: 0; }
.cart__list[hidden] { display: none; }
/* Promo sugerida debajo del pedido: tarjeta dorada (foto de la promo + nombre, precio y botón) */
.cart-up { position: relative; display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); align-items: center; gap: 12px 14px; margin: 16px 0 6px; padding: 10px 12px 12px 10px; overflow: hidden; isolation: isolate; border: 1px solid rgba(150, 102, 18, .45); border-radius: 18px; background: linear-gradient(135deg, rgb(252, 229, 150) 0%, rgb(240, 196, 92) 48%, rgb(214, 152, 46) 100%); color: rgb(52, 32, 8); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 12px 26px -10px rgba(150, 95, 10, .55); animation: cartUpIn .5s cubic-bezier(.2, .9, .3, 1.1) both; }
.cart-up[hidden] { display: none; }
/* brillo que cruza la tarjeta cada tanto */
.cart-up::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; z-index: 2; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); transform: skewX(-18deg); pointer-events: none; animation: cartUpShine 4.5s ease-in-out 1s infinite; }
.cart-up__media { position: relative; aspect-ratio: 720 / 560; overflow: hidden; border-radius: 12px; box-shadow: 0 6px 14px rgba(110, 66, 6, .35); }
.cart-up__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-up__badge { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgb(42, 26, 8); color: rgb(252, 216, 120); font: 700 11px/1.2 "Barlow", var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.cart-up__badge svg { width: 11px; height: 11px; fill: currentColor; }
.cart-up__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.cart-up__kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(122, 72, 6); }
.cart-up__kicker span { white-space: nowrap; color: rgb(42, 26, 8); }
.cart-up__title { margin: 2px 0 0; font: 800 clamp(15px, 4.2vw, 17px)/1.15 var(--display); color: rgb(42, 26, 8); overflow-wrap: anywhere; }
.cart-up__price { margin: 6px 0 0; font: 800 clamp(20px, 5.6vw, 24px)/1 var(--display); color: rgb(42, 26, 8); }
.cart-up__btn { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 999px; background: rgb(42, 26, 8); color: rgb(252, 222, 140); font: 700 15px/1.15 "Barlow", var(--sans); text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; box-shadow: 0 6px 14px -4px rgba(42, 26, 8, .6); transition: transform .15s ease, background-color .2s ease; }
.cart-up__btn svg { flex: none; width: 16px; height: 16px; }
.cart-up__btn:hover { background: rgb(70, 44, 12); }
.cart-up__btn:active { transform: scale(.97); }
.cart-up__btn:focus-visible { outline: 2px solid rgb(42, 26, 8); outline-offset: 3px; }
@keyframes cartUpIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes cartUpShine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
/* celulares muy angostos: la foto arriba y el texto abajo */
@media (max-width: 359px) {
  .cart-up { grid-template-columns: 1fr; padding: 10px; }
  .cart-up__media { aspect-ratio: 720 / 560; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-up, .cart-up::after { animation: none; }
  .cart-up::after { display: none; }
}

/* Sugerencias (panel → Sugerencias): una sola ocupa todo el ancho; si hay varias se pasan deslizando, con puntitos abajo */
.cart-sug { margin: 16px 0 6px; }
.cart-sug[hidden] { display: none; }
.cart-sug .cart-up { margin: 0; }
.cart-sug__track { display: flex; gap: 10px; }
.cart-sug__track > .cart-up { flex: 0 0 100%; min-width: 0; }
.cart-sug.is-many .cart-sug__track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.cart-sug.is-many .cart-sug__track::-webkit-scrollbar { display: none; }
/* la siguiente asoma por el costado: se nota que hay más */
.cart-sug.is-many .cart-sug__track > .cart-up { flex-basis: 88%; scroll-snap-align: start; }
.cart-sug__dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.cart-sug__dots:empty { display: none; }
.cart-sug__dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(150, 102, 18, .35); transition: width .25s ease, background-color .25s ease; }
.cart-sug__dots i.is-on { width: 20px; background: rgb(150, 95, 10); }
/* foto de la sugerencia: siempre entera (botellas, latas, pizzas…), centrada sobre la misma foto desenfocada */
.cart-up__media--fit { background: #fff; }
.cart-up__media--fit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cart-up__media--fit img.cart-up__blur { object-fit: cover; filter: blur(14px) saturate(1.1); transform: scale(1.25); opacity: .55; }
/* sin foto: el texto ocupa todo el ancho */
.cart-up:not(:has(.cart-up__media)) { grid-template-columns: 1fr; }

/* Extras sugeridos en el carrito (queso y jamón en fetas): dos tarjetas lado a lado */
.cart-ex { margin: 14px 0 6px; padding: 12px; border: 1px solid rgba(150, 102, 18, .35); border-radius: 18px; background: linear-gradient(160deg, rgb(255, 246, 222) 0%, rgb(248, 228, 180) 100%); color: rgb(52, 32, 8); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 22px -12px rgba(150, 95, 10, .5); animation: cartUpIn .5s cubic-bezier(.2, .9, .3, 1.1) both; }
.cart-ex[hidden], .cart-ex__card[hidden] { display: none; }
.cart-ex__title { margin: 0 0 10px; font: 800 12px/1.2 "Barlow", var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgb(122, 72, 6); }
.cart-ex__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-ex.is-one .cart-ex__grid { grid-template-columns: minmax(0, 1fr); }
.cart-ex.is-one .cart-ex__card:not([hidden]) { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 12px; align-items: start; }
.cart-ex.is-one .cart-ex__media { grid-row: 1 / 4; margin: 0; }
.cart-ex.is-one .cart-ex__btn { align-self: end; }
.cart-ex__card { display: flex; flex-direction: column; min-width: 0; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .7); box-shadow: 0 4px 12px -6px rgba(110, 66, 6, .4); }
.cart-ex__media { aspect-ratio: 720 / 560; margin: 0 0 8px; overflow: hidden; border-radius: 10px; box-shadow: 0 4px 10px rgba(110, 66, 6, .25); }
.cart-ex__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-ex__name { margin: 0; font: 800 clamp(14px, 3.8vw, 16px)/1.15 var(--display); color: rgb(42, 26, 8); overflow-wrap: anywhere; }
.cart-ex__price { margin: 3px 0 8px; font: 800 clamp(16px, 4.4vw, 19px)/1 var(--display); color: rgb(42, 26, 8); }
.cart-ex__btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 40px; margin-top: auto; padding: 8px 10px; border: 0; border-radius: 999px; background: rgb(42, 26, 8); color: rgb(252, 222, 140); font: 700 14px/1.15 "Barlow", var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s ease, background-color .2s ease; }
.cart-ex__btn svg { flex: none; width: 15px; height: 15px; }
.cart-ex__btn:hover { background: rgb(70, 44, 12); }
.cart-ex__btn:active { transform: scale(.97); }
.cart-ex__btn:focus-visible { outline: 2px solid rgb(42, 26, 8); outline-offset: 3px; }
@media (max-width: 359px) {
  .cart-ex { padding: 10px; }
  .cart-ex__grid { gap: 8px; }
  .cart-ex__card { padding: 6px; }
  .cart-ex__btn { gap: 4px; padding: 8px 6px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-ex { animation: none; }
}
/* Sugerencia y extras más compactos (todas las pantallas) */
.cart-up { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 8px 10px; margin: 12px 0 4px; padding: 8px 10px 10px 8px; border-radius: 16px; }
.cart-up__kicker { font-size: 11px; }
.cart-up__title { font-size: clamp(14px, 3.8vw, 15px); }
.cart-up__price { margin-top: 4px; font-size: clamp(17px, 4.6vw, 19px); }
.cart-up__btn { min-height: 38px; padding: 7px 12px; font-size: 14px; }
.cart-up__btn svg { width: 14px; height: 14px; }
.cart-ex { margin: 10px 0 4px; padding: 10px; border-radius: 16px; }
.cart-ex__title { margin-bottom: 8px; font-size: 11px; }
.cart-ex__grid { gap: 8px; }
.cart-ex__card { padding: 6px; border-radius: 12px; }
.cart-ex__media { aspect-ratio: 16 / 9; margin-bottom: 6px; border-radius: 8px; }
.cart-ex.is-one .cart-ex__card:not([hidden]) { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); column-gap: 10px; }
.cart-ex__name { font-size: clamp(13px, 3.5vw, 14px); }
.cart-ex__price { margin: 2px 0 6px; font-size: clamp(14px, 3.9vw, 16px); }
.cart-ex__btn { min-height: 36px; padding: 6px 8px; font-size: 13px; }
.cart-ex__btn svg { width: 13px; height: 13px; }
@media (max-width: 359px) {
  .cart-up { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); padding: 8px; }
  .cart-ex__btn { padding: 6px 4px; font-size: 12px; }
}
/* Cada producto es una tarjeta: foto grande a la izquierda (la pizza recortada redonda), nombre, descripción en una
   línea, precio en rojo y abajo "Quitar" junto a los botones de cantidad */
.cart__list:not([hidden]) { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.cart-item { --ci: clamp(62px, 17vw, 78px); position: relative; display: grid; grid-template-columns: var(--ci) minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 12px 12px 10px; border-radius: 18px; background: rgb(246, 241, 235); }
.cart-item.is-new { animation: cartItemIn .35s ease; }
@keyframes cartItemIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.cart-item__thumb { position: relative; display: flex; align-items: center; justify-content: center; width: var(--ci); height: var(--ci); overflow: hidden; border-radius: 14px; background: rgb(201, 174, 146); color: rgb(217, 56, 41); }
.cart-item__thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cart-item__thumb svg { width: 30px; height: 30px; }
/* productos que no son pizza: la foto entera, centrada sobre la misma foto desenfocada */
.cart-item__thumb.is-fit { background: #fff; }
.cart-item__thumb.is-fit img { position: absolute; inset: 0; object-fit: contain; }
.cart-item__thumb.is-fit img.cart-item__blur { object-fit: cover; filter: blur(10px) saturate(1.1); transform: scale(1.25); opacity: .55; }
/* pizza redonda: sin recuadro, con su sombrita como si estuviera apoyada */
.cart-item__thumb.is-round { overflow: visible; background: none; filter: drop-shadow(0 6px 9px rgba(70, 38, 14, .3)); }
.cart-item__thumb.is-round img { border-radius: 50%; }
/* pizzas sin recorte redondo: su foto cuadrada recortada en círculo, con zoom para que la pizza llene el círculo */
.cart-item__thumb.is-round.is-crop { overflow: hidden; border-radius: 50%; isolation: isolate; }
.cart-item__thumb.is-round.is-crop img { position: absolute; top: -9%; left: -9%; width: 118%; height: 118%; object-fit: cover; border-radius: 0; }
/* combinada: media pizza de cada una, una al lado de la otra */
.cart-item__thumb.is-half img { position: absolute; top: 0; left: 0; }
.cart-item__thumb.is-half img:first-child { -webkit-clip-path: inset(0 50% 0 0); clip-path: inset(0 50% 0 0); }
.cart-item__thumb.is-half img:nth-child(2) { -webkit-clip-path: inset(0 0 0 50%); clip-path: inset(0 0 0 50%); }
.cart-item__pic { position: relative; display: block; width: var(--ci); height: var(--ci); }
.cart-item__badge { position: absolute; top: -4px; left: -4px; z-index: 2; max-width: calc(100% + 4px); padding: 3px 8px; border: 2px solid rgb(246, 241, 235); border-radius: 999px; background: rgb(229, 71, 50); color: #fff; font: 700 11px/1.2 "Barlow", var(--sans); letter-spacing: .02em; white-space: nowrap; font-variant-numeric: normal; box-shadow: 0 3px 8px rgba(160, 40, 20, .3); pointer-events: none; }
.cart-item__thumb:not(.is-round) + .cart-item__badge { top: 5px; left: 5px; border: 0; }
.cart-item__info { min-width: 0; }
.cart-item__name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-weight: 700; font-size: 1.02rem; line-height: 1.2; overflow-wrap: anywhere; }
.cart-item__desc { margin-top: 3px; overflow: hidden; color: rgba(29, 23, 19, .62); font-size: .8rem; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.cart-item__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 6px; }
.cart-item__sub { font-weight: 800; font-size: 1.1rem; line-height: 1.1; color: rgb(217, 56, 41); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-item__unit { color: rgba(29, 23, 19, .55); font-size: .75rem; white-space: nowrap; }
.cart-item__unit:empty { display: none; }
.cart-item__ctrls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.cart-item__qty { display: inline-flex; flex: none; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(60, 35, 15, .12); }
.cart-item__del { display: inline-flex; flex: none; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px 0 10px; border: 1.5px solid rgba(217, 56, 41, .5); border-radius: 999px; background: rgba(217, 56, 41, .07); color: rgb(190, 42, 28); font: 700 .85rem/1 "Barlow", var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s, color .2s, border-color .2s; }
.cart-item__del svg { flex: none; width: 15px; height: 15px; }
.cart-item__del:active { background: rgb(217, 56, 41); border-color: rgb(217, 56, 41); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .cart-item__del:hover { background: rgb(217, 56, 41); border-color: rgb(217, 56, 41); color: #fff; }
}
.cart-item__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgb(29, 23, 19);
  cursor: pointer;
  transition: background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.cart-item__step svg { width: 17px; height: 17px; }
.cart-item__step:active { background: rgba(217, 56, 41, .14); }
@media (hover: hover) and (pointer: fine) {
  .cart-item__step:hover { background: rgba(217, 56, 41, .14); color: rgb(217, 56, 41); }
}
.cart-item__num { min-width: 20px; text-align: center; font-weight: 700; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
/* celulares muy angostos: un poco más compacto */
@media (max-width: 359px) {
  .cart-item { gap: 10px; padding: 10px 8px 10px 8px; }
  .cart-item__step { width: 30px; height: 30px; }
  .cart-item__del { min-height: 34px; padding: 0 9px 0 8px; font-size: .8rem; }
  .cart-item__sub { font-size: 1rem; }
}
.cart button:focus-visible, .cart a:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 2px; }

/* Total y finalizar */
.cart__foot { padding: 18px max(22px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)); border-top: 1px solid rgba(29, 23, 19, 0.08); background: #fff; }
.cart__total-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cart__total-row span { color: rgba(29, 23, 19, 0.7); font-size: .95rem; }
.cart__total { font-family: var(--display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.cart__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%);
  color: rgb(212, 189, 164);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(157, 57, 51, 0.3);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.cart__checkout svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .cart__checkout:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(157, 57, 51, 0.45); }
}
.cart__checkout.is-disabled { opacity: .4; box-shadow: none; cursor: not-allowed; transform: none; }
.cart.is-empty .cart__checkout.is-disabled { pointer-events: none; }
.cart__clear {
  display: block;
  margin: 26px auto 4px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: rgba(29, 23, 19, 0.5);
  font: inherit;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cart__clear[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cart__clear:hover { color: rgb(29, 23, 19); }
}

/* Aviso "se agregó al carrito" */
/* "Ver carrito": pastilla compacta a la izquierda de la flecha de pizza (.jump), centrada a su misma altura */
.cart-toast {
  --jump-size: 46px;
  position: fixed;
  right: calc(max(16px, env(safe-area-inset-right)) + var(--jump-size) + 10px);
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 940;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  height: var(--jump-size);
  max-width: calc(100% - 32px - var(--jump-size));
  padding: 0 5px 0 9px;
  border: 1px solid rgba(217, 56, 41, 0.35);
  border-radius: 999px;
  background: rgba(213, 190, 165, 0.96);
  color: rgb(29, 23, 19);
  font-family: "Barlow", var(--sans);
  font-size: .92rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility .3s;
}
.cart-toast.is-on { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 1099px) {
  .cart-toast { --jump-size: 42px; right: calc(max(16px, env(safe-area-inset-right)) + var(--jump-size) + 8px); bottom: calc(18px + env(safe-area-inset-bottom)); }
}
.cart-toast__check { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgb(217, 56, 41); color: rgb(212, 189, 164); }
.cart-toast__check svg { width: 15px; height: 15px; }
.cart-toast__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.cart-toast__open {
  flex-shrink: 0;
  height: calc(var(--jump-size) - 12px);
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgb(217, 56, 41);
  color: rgb(212, 189, 164);
  font: inherit;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
/* Señal de "acá ves tu pedido": el botón late con un halo, le pasa un brillo y dos flechitas de cada lado
   apuntan hacia el texto (como las de "Ver carta revista"), encendiéndose en cascada */
.cart-toast__open { position: relative; display: inline-flex; align-items: center; gap: 6px; overflow: hidden; }
.cart-toast__open::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(29, 23, 19, 0.55), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.cart-toast.is-cue .cart-toast__open { animation: toastCue 1.4s cubic-bezier(.2, .8, .2, 1) .35s 2; }
.cart-toast.is-cue .cart-toast__open::after { animation: toastShine 1.4s ease .45s 2; }
.cart-toast.is-cue .cart-toast__check { animation: toastCheck .5s cubic-bezier(.34, 1.56, .64, 1) .1s; }
.cart-toast__arr { display: inline-flex; align-items: center; gap: 0; }
.cart-toast__arr i { display: block; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; border-radius: 1px; transform: rotate(45deg); opacity: .25; animation: toastArr 1.3s ease-in-out infinite; }
.cart-toast__arr i:nth-child(2) { animation-delay: .18s; }
.cart-toast__arr--r { flex-direction: row-reverse; }
.cart-toast__arr--r i { transform: rotate(-135deg); }
@keyframes toastArr { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes toastCue {
  0% { box-shadow: 0 0 0 0 rgba(217, 56, 41, 0.65); }
  60%, 100% { box-shadow: 0 0 0 12px rgba(217, 56, 41, 0); }
}
@keyframes toastShine { 0% { left: -60%; opacity: 1; } 55%, 100% { left: 130%; opacity: 1; } }
@keyframes toastCheck { from { transform: scale(.3); } to { transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .cart-toast__open:hover { background: rgb(239, 74, 54); }
}
@media (prefers-reduced-motion: reduce) {
  .cart-toast.is-cue .cart-toast__open, .cart-toast.is-cue .cart-toast__open::after,
  .cart-toast.is-cue .cart-toast__check { animation: none; }
  .cart-toast__arr i { animation: none; opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .cart__panel, .cart__backdrop, .cart-toast, .cart-btn__count { transition: none; }
  .cart-btn.is-bump, .cart-btn.is-bump .cart-btn__count, .cart-item.is-new { animation: none; }
}
.lite .cart__backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(220, 202, 183, 0.75); }
/* Celular: el panel tapa toda la pantalla, el desenfoque de atrás no se ve y solo gasta */
@media (max-width: 420px) { .cart__backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(220, 202, 183, 0.75); } }
/* Con el carrito, el visor o el menú abiertos, la página de atrás deja de animarse: el panel se desliza más fluido */
html.menu-open main *, html.menu-open main *::before, html.menu-open main *::after,
html.menu-open .footer *, html.menu-open .footer *::before, html.menu-open .footer *::after { animation-play-state: paused !important; }
.cart__body { contain: paint; }


/* =========================================================
   FONDOS "FLUIDOS": base oscura con luces terracota difusas que se mueven lento + grano fino
   (Cómo pedir, Carta y footer). La capa .fluid queda detrás del contenido (isolation en la sección)
   ========================================================= */
.fluid {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.fluid::before {
  content: "";
  position: absolute;
  top: -15%; right: -15%; bottom: -15%; left: -15%;
  background: var(--glow);
  animation: fluidDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.fluid::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: .07;
}
@keyframes fluidDrift {
  0% { transform: translate3d(-3%, -2%, 0) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.02); }
}
/* Cómo pedir: la más cálida (las tarjetas blancas resaltan encima); se apaga abajo para fundirse con la carta */
/* Fuera de pantalla las animaciones quedan en pausa (las retoma al volver) */
.is-idle *, .is-idle *::before, .is-idle *::after { animation-play-state: paused !important; }
/* la entrada del hero (borroso → nítido) no se pausa: si no, al volver arriba arrancaba de cero y quedaba borroso unos segundos */
.is-idle .hero__slides, .is-idle .hero__content > *, .is-idle .hero__arrow { animation-play-state: running !important; }
.lite .fluid::before { animation: none; will-change: auto; }
.fluid--order {
  --glow:
    radial-gradient(52% 58% at 14% 22%, rgba(157, 57, 51, 0.9), transparent 72%),
    radial-gradient(46% 54% at 86% 30%, rgba(229, 71, 50, 0.62), transparent 72%),
    radial-gradient(40% 44% at 48% 55%, rgba(217, 56, 41, 0.28), transparent 72%),
    radial-gradient(60% 48% at 58% 86%, rgba(114, 40, 39, 0.8), transparent 74%);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
/* Banner de la carta: luz centrada detrás del título, que se apaga antes de los bordes (sin cortes) */
.fluid--banner {
  --glow:
    radial-gradient(30% 34% at 50% 50%, rgba(157, 57, 51, 0.34), transparent 72%),
    radial-gradient(16% 26% at 30% 46%, rgba(217, 56, 41, 0.12), transparent 72%),
    radial-gradient(16% 26% at 70% 52%, rgba(229, 71, 50, 0.12), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
}
.fluid--menu {
  --glow:
    radial-gradient(30% 9% at 12% 8%, rgba(157, 57, 51, 0.24), transparent 72%),
    radial-gradient(32% 10% at 88% 28%, rgba(229, 71, 50, 0.16), transparent 72%),
    radial-gradient(30% 9% at 16% 52%, rgba(88, 27, 27, 0.3), transparent 72%),
    radial-gradient(34% 10% at 84% 74%, rgba(157, 57, 51, 0.2), transparent 72%),
    radial-gradient(30% 8% at 30% 94%, rgba(217, 56, 41, 0.1), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 400px);
  mask-image: linear-gradient(to bottom, transparent, #000 400px);
}
.fluid--menu::before { animation-duration: 30s; }
.fluid--footer {
  --glow:
    radial-gradient(42% 55% at 14% 8%, rgba(157, 57, 51, 0.26), transparent 70%),
    radial-gradient(38% 50% at 88% 92%, rgba(88, 27, 27, 0.34), transparent 70%),
    radial-gradient(26% 36% at 60% 40%, rgba(229, 71, 50, 0.08), transparent 70%);
}
@media (prefers-reduced-motion: reduce) { .fluid::before { animation: none; } }
.lite .fluid::before { animation: none; will-change: auto; }

/* Datos del pedido dentro del carrito */
.cart-form { padding: 6px 0 18px; }
.cart-form[hidden] { display: none; }
.cart-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.cart-form > * + * { margin-top: 18px; }
.cart-delivery > * + * { margin-top: 14px; }
.cart-delivery[hidden] { display: none; }
.cart-label, .cart-q {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 600;
  font-size: .95rem;
  color: rgb(29, 23, 19);
}
.cart-q { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 1.02rem; }
.cart-label span { color: rgba(29, 23, 19, 0.45); font-weight: 400; font-size: .85em; }
.cart-input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(29, 23, 19, 0.14);
  border-radius: 14px;
  background: rgba(29, 23, 19, 0.04);
  color: rgb(29, 23, 19);
  font: inherit;
  font-size: 16px; /* evita que el iPhone haga zoom al escribir */
  line-height: 1.4;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.cart-input--area { min-height: 76px; resize: vertical; }
.cart-input::placeholder { color: rgba(29, 23, 19, 0.35); }
.cart-input:focus { outline: none; border-color: rgba(29, 23, 19, 0.5); background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 3px rgba(29, 23, 19, 0.08); }
/* Nombre y WhatsApp bien puestos: borde verde (el rojo es solo para lo que falta o está mal) */
.cart-input.is-ok, .cart-input.is-ok:focus { border-color: rgb(29, 122, 62); box-shadow: 0 0 0 3px rgba(29, 122, 62, 0.14); }
.cart-input.is-invalid { border-color: rgb(214, 52, 38); background: rgba(214, 52, 38, 0.05); box-shadow: 0 0 0 3px rgba(214, 52, 38, 0.16); }
.cart-input.is-invalid:focus { border-color: rgb(214, 52, 38); box-shadow: 0 0 0 3px rgba(214, 52, 38, 0.24); }
/* Aviso rojo abajo del campo (nombre y apellido, WhatsApp) */
.cart-err { display: flex; gap: 8px; margin-top: 8px; padding: 9px 12px; border: 1px solid rgba(200, 30, 20, 0.28); border-left: 4px solid rgb(200, 30, 20); border-radius: 10px; background: rgba(255, 255, 255, 0.72); color: rgb(176, 22, 14); font-size: .92rem; font-weight: 700; line-height: 1.45; letter-spacing: .005em; }
.cart-err::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 19px; height: 19px; margin-top: 1px; border-radius: 50%; background: rgb(200, 30, 20); color: #fff; font-size: .78rem; font-weight: 800; }
.cart-err[hidden] { display: none; }
.cart-err + .cart-help { display: none; }
.cart-help { margin-top: 6px; color: rgba(29, 23, 19, 0.45); font-size: .82rem; line-height: 1.4; }

/* Tarjeta del local / entrega */
.cart-place {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 56, 41, 0.25);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(157, 57, 51, 0.16), rgba(157, 57, 51, 0.04));
}
.cart-place[hidden] { display: none; }
/* A qué local va el pedido (con dos locales) */
.cart-suc { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(29, 23, 19, 0.14); border-radius: 14px; background: rgba(29, 23, 19, 0.04); }
.cart-suc[hidden] { display: none; }
.cart-suc__ico { display: flex; flex: none; width: 20px; height: 20px; color: rgb(217, 56, 41); }
.cart-suc__ico svg { width: 100%; height: 100%; }
.cart-suc__txt { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.cart-suc__name { display: block; color: rgb(29, 23, 19); font-size: 1rem; font-weight: 700; }
.cart-suc__dir { display: block; margin-top: 1px; color: rgba(29, 23, 19, 0.6); font-size: .84rem; font-weight: 500; }
.cart-suc__btn {
  flex: none;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: rgb(29, 23, 19);
  font: 700 .88rem/1 var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.cart-suc__btn:active { color: rgb(217, 56, 41); }
@media (hover: hover) and (pointer: fine) {
  .cart-suc__btn:hover { color: rgb(217, 56, 41); }
}
.cart-place__ico { display: flex; flex-shrink: 0; width: 22px; height: 22px; color: rgb(217, 56, 41); }
.cart-place__ico svg { width: 100%; height: 100%; }
.cart-place__txt { flex: 1 1 auto; min-width: 0; }
.cart-place__title { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.cart-place__sub { margin-top: 2px; color: rgba(29, 23, 19, 0.6); font-size: .82rem; line-height: 1.35; }
.cart-place__link {
  flex-shrink: 0;
  color: rgb(217, 56, 41);
  font-weight: 700;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .cart-place__link:hover { color: rgb(29, 23, 19); }
}

/* Selector de dos opciones (Delivery / Retiro, Efectivo / Transferencia) */
.cart-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(29, 23, 19, 0.1);
  border-radius: 14px;
  background: rgba(29, 23, 19, 0.04);
}
.cart-seg label { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cart-seg input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; font-size: 16px; cursor: pointer; }
.cart-seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  color: rgba(29, 23, 19, 0.65);
  font-weight: 700;
  font-size: .92rem;
  text-align: center;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
@media (hover: hover) and (pointer: fine) {
  .cart-seg label:hover span { color: rgb(29, 23, 19); }
}
.cart-seg input:checked + span {
  background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%);
  color: rgb(212, 189, 164);
  box-shadow: 0 6px 16px rgba(157, 57, 51, 0.3);
}
.cart-seg input:focus-visible + span { outline: 2px solid rgb(217, 56, 41); outline-offset: 2px; }
.cart-seg label.is-off { cursor: not-allowed; }
.cart-seg label.is-off input { cursor: not-allowed; }
.cart-seg label.is-off span { flex-direction: column; gap: 2px; color: rgba(29, 23, 19, 0.35); line-height: 1.1; }
.cart-seg label.is-off small { font-size: .7rem; font-weight: 600; }

/* Aviso de lo que falta, debajo del botón */
.cart__hint { min-height: 1.3em; margin-top: 10px; color: rgba(29, 23, 19, 0.6); font-size: .85rem; text-align: center; }
.cart__hint:empty { display: none; }
@media (max-width: 360px) {
  .cart__head, .cart__body, .cart__foot { padding-left: 16px; padding-right: 16px; }
  .cart-place { flex-wrap: wrap; }
}

/* ===== Delivery: mapa, ubicación y datos de transferencia ===== */
.cart-map {
  position: relative;
  height: 150px;
  overflow: hidden;
  border: 1px solid rgba(29, 23, 19, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 40%, rgba(217, 56, 41, 0.14), transparent 60%),
    rgb(208, 183, 157);
  cursor: pointer;
  isolation: isolate; /* las capas del mapa chico no se suben encima del selector */
  -webkit-tap-highlight-color: transparent;
}
.cart-map:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 2px; }
.cart-map__canvas { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; pointer-events: none; }
/* tonos cálidos y oscuros para que el mapa combine con la página */
.cart-map__canvas .leaflet-tile-pane, .cart-picker__map .leaflet-tile-pane { -webkit-filter: saturate(.75) brightness(.92) sepia(.12); filter: saturate(.75) brightness(.92) sepia(.12); }
.cart-map__tag {
  position: absolute;
  left: 10px; bottom: 10px;
  z-index: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(216, 195, 173, 0.85);
  color: rgb(29, 23, 19);
  font-weight: 600;
  font-size: .8rem;
  pointer-events: none;
}
.cart-map.is-off .cart-map__tag::after { content: " · mapa no disponible"; color: rgba(29, 23, 19, 0.55); font-weight: 400; }
.cart-map .leaflet-control-attribution { font-size: 9px; }

.cart-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(217, 56, 41, 0.1);
  font-size: .88rem;
}
.cart-loc[hidden] { display: none; }
.cart-loc__ico { display: flex; flex-shrink: 0; width: 18px; height: 18px; color: rgb(217, 56, 41); }
.cart-loc__ico svg { width: 100%; height: 100%; }
.cart-loc__txt { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.cart-loc__clear { padding: 4px 0; border: 0; background: transparent; color: rgba(29, 23, 19, 0.6); font: inherit; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .cart-loc__clear:hover { color: rgb(217, 56, 41); }
}

/* Botones "Usar mi ubicación" / "Marcar en el mapa" */
.cart-geo { display: grid; gap: 10px; margin-top: 12px; }
.cart-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid rgba(29, 23, 19, 0.22);
  border-radius: 14px;
  background: transparent;
  color: rgb(29, 23, 19);
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.cart-action svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .cart-action:hover { border-color: rgb(217, 56, 41); color: rgb(217, 56, 41); }
}
.cart-action--main { border-color: transparent; background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%); color: rgb(212, 189, 164); }
@media (hover: hover) and (pointer: fine) {
  .cart-action--main:hover { border-color: transparent; color: rgb(212, 189, 164); filter: brightness(1.05); }
}
.cart-action:disabled { opacity: .5; cursor: default; }
.cart-action.is-loading svg { animation: geoSpin 1s linear infinite; }
@keyframes geoSpin { to { transform: rotate(360deg); } }
.cart-action:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 2px; }
#cartGeoMsg:empty { display: none; }

/* Pines del mapa */
.map-pin { position: relative; display: block; }
.map-pin span {
  position: absolute;
  left: 50%; top: 0;
  width: 30px; height: 30px;
  margin-left: -15px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, rgb(229, 71, 50), rgb(157, 57, 51));
  box-shadow: 0 6px 14px rgba(0, 0, 0, .45);
  transform: rotate(-45deg);
}
.map-pin span::after { content: ""; position: absolute; top: 9px; left: 9px; width: 12px; height: 12px; border-radius: 50%; background: rgb(212, 189, 164); }
.map-pin--sm span { width: 24px; height: 24px; margin-left: -12px; }
.map-pin--sm span::after { top: 7px; left: 7px; width: 10px; height: 10px; }
/* El local: logo redondo con borde rojo y una puntita abajo (la punta es el lugar exacto) */
.map-shop span {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0b0908;
  box-shadow: 0 0 0 3px rgb(217, 56, 41), 0 5px 12px rgba(0, 0, 0, .45);
}
.map-shop span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  margin-left: -7px;
  border: 7px solid transparent;
  border-bottom: 0;
  border-top: 10px solid rgb(217, 56, 41);
}
.map-shop img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Selector del mapa (ocupa todo el panel) */
.cart-picker {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: #fff;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.cart-picker[hidden] { display: none; }
.cart-picker.is-open { opacity: 1; transform: none; }
.cart-picker__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: calc(18px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) 14px max(22px, env(safe-area-inset-left));
}
.cart-picker__title { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 1.25rem; line-height: 1.15; }
.cart-picker__sub { margin-top: 4px; color: rgba(29, 23, 19, 0.6); font-size: .86rem; line-height: 1.4; }
.cart-picker__stage { position: relative; flex: 1 1 auto; min-height: 240px; isolation: isolate; border-top: 1px solid rgba(29, 23, 19, 0.08); }
.cart-picker__map { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #f4f2ef; }
/* Botón para mostrar/ocultar las zonas de envío: a la izquierda, debajo del + y − del mapa */
.cart-picker__zones {
  position: absolute; z-index: 1000;
  top: 86px; left: max(10px, env(safe-area-inset-left));
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px; padding: 0 10px 0 9px;
  border: 2px solid rgba(0, 0, 0, .2); border-radius: 4px; background: #fff; background-clip: padding-box;
  color: #1d1713; font: inherit; font-size: .82rem; font-weight: 700; line-height: 1;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  -webkit-user-select: none; user-select: none;
}
.cart-picker__zones[hidden] { display: none; }
.cart-picker__zones svg { flex-shrink: 0; width: 17px; height: 17px; }
.cart-picker__zones-sw { position: relative; flex-shrink: 0; width: 28px; height: 16px; border-radius: 99px; background: rgba(29, 23, 19, .22); transition: background-color .2s ease; }
.cart-picker__zones-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .2s ease; }
.cart-picker__zones[aria-pressed="true"] .cart-picker__zones-sw { background: rgb(217, 56, 41); }
.cart-picker__zones[aria-pressed="true"] .cart-picker__zones-sw::after { transform: translateX(12px); }
.cart-picker__zones:focus-visible { outline: 3px solid rgba(29, 23, 19, .6); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cart-picker__zones:hover { background: rgb(246, 243, 239); } }
@media (prefers-reduced-motion: reduce) { .cart-picker__zones-sw, .cart-picker__zones-sw::after { transition: none; } }
/* Buscador de direcciones: arriba a la derecha del mapa (a la izquierda quedan el + y −) */
.map-search {
  position: absolute; z-index: 1001;
  top: 10px; right: max(10px, env(safe-area-inset-right)); left: calc(max(10px, env(safe-area-inset-left)) + 50px);
  max-width: 380px; margin-left: auto;
  max-height: calc(100% - 20px);
  display: flex; flex-direction: column; gap: 6px;
  font-family: inherit;
}
.map-search__box {
  position: relative; flex-shrink: 0;
  display: flex; align-items: center;
  height: 44px; border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(29, 23, 19, .1), 0 4px 14px rgba(29, 23, 19, .16);
  transition: box-shadow .2s ease;
}
.map-search__box:focus-within { box-shadow: 0 0 0 2px rgb(29, 23, 19), 0 6px 18px rgba(29, 23, 19, .2); }
.map-search__ico { flex-shrink: 0; width: 18px; height: 18px; margin: 0 2px 0 13px; color: rgba(29, 23, 19, .5); }
.map-search__in {
  flex: 1 1 auto; min-width: 0; height: 100%;
  padding: 0 6px 0 8px; border: 0; background: transparent; outline: none;
  color: rgb(29, 23, 19); font: inherit; font-size: 16px; font-weight: 500;
  -webkit-appearance: none; appearance: none;
}
.map-search__in::placeholder { color: rgba(29, 23, 19, .48); font-weight: 400; opacity: 1; }
.map-search__clear {
  flex-shrink: 0; display: grid; place-items: center;
  width: 32px; height: 32px; margin-right: 6px; padding: 0;
  border: 0; border-radius: 50%; background: rgb(240, 237, 233); color: rgba(29, 23, 19, .7);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.map-search__clear[hidden] { display: none; }
.map-search__clear svg { width: 13px; height: 13px; }
.map-search__clear:focus-visible { outline: 2px solid rgb(29, 23, 19); outline-offset: 1px; }
.map-search__spin {
  display: none; flex-shrink: 0; width: 16px; height: 16px; margin-right: 10px;
  border: 2px solid rgba(29, 23, 19, .15); border-top-color: rgb(217, 56, 41); border-radius: 50%;
  animation: mapSearchSpin .7s linear infinite;
}
.map-search.is-busy .map-search__spin { display: block; }
@keyframes mapSearchSpin { to { transform: rotate(360deg); } }
.map-search__drop {
  min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 1px rgba(29, 23, 19, .08), 0 12px 32px rgba(29, 23, 19, .22);
  animation: mapSearchIn .18s ease;
}
.map-search__drop[hidden] { display: none; }
@keyframes mapSearchIn { from { opacity: 0; transform: translateY(-4px); } }
.map-search__list { margin: 0; padding: 4px; list-style: none; }
.map-search__list:empty { display: none; }
.map-search__it {
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 8px 10px; border-radius: 9px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.map-search__it + .map-search__it { margin-top: 1px; }
.map-search__it.is-act { background: rgb(246, 243, 239); }
@media (hover: hover) and (pointer: fine) { .map-search__it:hover { background: rgb(246, 243, 239); } .map-search__clear:hover { background: rgb(229, 225, 220); } }
.map-search__pin { flex-shrink: 0; width: 18px; height: 18px; color: rgb(217, 56, 41); }
.map-search__it.is-off .map-search__pin { color: rgba(29, 23, 19, .3); }
.map-search__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.map-search__txt b, .map-search__txt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-search__txt b { color: rgb(29, 23, 19); font-size: .9rem; font-weight: 700; line-height: 1.25; }
.map-search__txt small { color: rgba(29, 23, 19, .55); font-size: .76rem; line-height: 1.3; }
.map-search__it.is-off b { color: rgba(29, 23, 19, .55); }
.map-search__tag {
  flex-shrink: 0; padding: 4px 8px; border-radius: 99px;
  background: rgba(31, 157, 85, .12); color: #17733f;
  font-size: .7rem; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.map-search__tag.is-off { background: rgb(240, 237, 233); color: rgba(29, 23, 19, .6); }
.map-search__msg:empty { display: none; }
.map-search__msg { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; color: rgba(29, 23, 19, .72); font-size: .82rem; line-height: 1.45; }
.map-search__list:not(:empty) + .map-search__msg { border-top: 1px solid rgba(29, 23, 19, .08); }
.map-search__msg b { color: rgb(29, 23, 19); }
.map-search__msg.is-off { background: rgba(217, 56, 41, .07); color: rgba(29, 23, 19, .78); }
.map-search__msg.is-off b { color: #b3261e; }
.map-search__msg.is-err { color: #b3261e; }
.map-search__msg svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; color: rgb(217, 56, 41); }
@media (prefers-reduced-motion: reduce) { .map-search__drop { animation: none; } .map-search__spin { animation-duration: 1.6s; } }
/* pin fuera de las zonas: el aviso de abajo en rojo */
.cart-picker__info.is-out { color: #b3261e; }
.cart-picker__info.is-out .cart-picker__dot { border-color: #b3261e; background: #b3261e; box-shadow: inset 0 0 0 2px #fff; }
.map-pin--center {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 500;
  width: 0; height: 0;
  pointer-events: none;
}
.map-pin--center span { top: -40px; width: 36px; height: 36px; margin-left: -18px; }
.map-pin--center span::after { top: 11px; left: 11px; width: 14px; height: 14px; }
/* Pin que se arrastra en la ventana del mapa: más grande, con manito y sombrita; al agarrarlo se levanta */
.map-pin--drag { cursor: grab; }
.map-pin--drag span { width: 34px; height: 34px; margin-left: -17px; top: 2px; border: 2px solid #fff; transition: transform .15s ease, box-shadow .15s ease; }
.map-pin--drag span::after { top: 9px; left: 9px; width: 12px; height: 12px; background: #fff; }
.map-pin--drag::after { content: ""; position: absolute; left: 50%; top: 40px; width: 16px; height: 6px; margin-left: -8px; border-radius: 50%; background: rgba(0, 0, 0, .35); transition: transform .15s ease, opacity .15s ease; }
.cart-picker.is-dragging .map-pin--drag { cursor: grabbing; }
.cart-picker.is-dragging .map-pin--drag span { transform: translateY(-8px) rotate(-45deg) scale(1.08); box-shadow: 0 14px 22px rgba(0, 0, 0, .4); }
.cart-picker.is-dragging .map-pin--drag::after { transform: scale(.7); opacity: .6; }
.map-pin--drag:focus-visible span { outline: 3px solid rgba(29, 23, 19, .6); outline-offset: 2px; }
/* sombrita en el piso, debajo del pin */
.map-pin--center::after { content: ""; position: absolute; left: -7px; top: -3px; width: 14px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.cart-picker__foot { padding: 14px max(22px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)); border-top: 1px solid rgba(29, 23, 19, 0.08); background: #fff; }
.cart-picker__info { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .9rem; font-weight: 600; }
.cart-picker__info.is-warn { color: #c0392b; animation: pickerWarn .45s ease; }
@keyframes pickerWarn { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .cart-picker__info.is-warn { animation: none; } }
.cart-picker__dot { flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; border: 3px solid rgb(217, 56, 41); background: #fff; }
.cart-picker__btns { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.cart-picker__btns .cart-action { width: auto; }
.cart-picker .leaflet-control-zoom a { background: #fff; color: rgb(29, 23, 19); border-color: rgba(29, 23, 19, 0.15); }
@media (hover: hover) and (pointer: fine) {
  .cart-picker .leaflet-control-zoom a:hover { background: rgb(246, 243, 239); }
}
.leaflet-container { font-family: "Barlow", var(--sans); }

/* Datos de transferencia */
.cart-bank {
  padding: 16px;
  border: 1px solid rgba(217, 56, 41, 0.25);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(157, 57, 51, 0.12), rgba(157, 57, 51, 0.03));
}
.cart-bank[hidden] { display: none; }
.cart-bank__title { margin-bottom: 12px; color: rgba(29, 23, 19, 0.7); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.cart-bank__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(29, 23, 19, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, .2);
}
.cart-bank__row + .cart-bank__row { margin-top: 10px; }
.cart-bank__row[hidden] { display: none; }
.cart-bank__row--tit { min-height: 0; }
.cart-bank__row--tit .cart-bank__value { font-weight: 700; }
.cart-bank__row > div { min-width: 0; }
.cart-bank__label { display: block; color: rgb(217, 56, 41); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.cart-bank__value { display: block; min-height: 1.3em; margin-top: 2px; font-size: 1.02rem; overflow-wrap: anywhere; }
.cart-bank__value--mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92rem; letter-spacing: .02em; }
.cart-bank .cart-help { margin-top: 12px; }
.cart-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid rgba(29, 23, 19, 0.25);
  border-radius: 999px;
  background: transparent;
  color: rgb(29, 23, 19);
  font: inherit;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.cart-copy svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .cart-copy:hover:not(:disabled) { border-color: rgb(217, 56, 41); color: rgb(217, 56, 41); }
}
.cart-copy:disabled { opacity: .35; cursor: default; }
.cart-copy.is-done { border-color: rgb(217, 56, 41); background: rgb(217, 56, 41); color: rgb(212, 189, 164); }

/* Nota de envío debajo del total */
.cart__ship { margin: -8px 0 12px; color: rgba(29, 23, 19, 0.55); font-size: .8rem; line-height: 1.4; }
.cart__ship[hidden] { display: none; }
/* PC: el mapa se abre como ventana flotante (blanca, esquinas redondeadas) en el espacio libre a la izquierda
   del carrito, con la página oscurecida atrás. En celular y tablet vertical sigue ocupando todo el panel */
@media (min-width: 1000px) and (orientation: landscape) and (min-height: 560px) {
  .cart-picker {
    position: fixed;
    top: 50%; left: calc((100vw - 420px) / 2); right: auto; bottom: auto;
    width: min(780px, calc(100vw - 420px - 64px));
    height: min(740px, calc(100vh - 48px));
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 100vmax rgba(14, 10, 8, .55);
    transform: translate(-50%, calc(-50% + 18px)) scale(.98);
  }
  .cart-picker.is-open { transform: translate(-50%, -50%); }
  .cart-picker__head { align-items: center; padding: 18px 18px 14px 24px; background: #fff; }
  .cart-picker__title { font-size: 1.3rem; }
  .cart-picker__sub { color: rgba(29, 23, 19, 0.62); }
  .cart-picker__head .cart__close { margin: 0; border: 0; border-radius: 50%; background: rgb(240, 237, 233); color: rgb(29, 23, 19); }
  .cart-picker__stage { border-top: 1px solid rgba(29, 23, 19, 0.08); border-bottom: 1px solid rgba(29, 23, 19, 0.08); }
  .cart-picker__map .leaflet-tile-pane { -webkit-filter: none; filter: none; }
  .cart-picker__foot { padding: 14px 18px 18px; border-top: 0; background: #fff; }
  .cart-picker__info { margin-bottom: 12px; font-size: .98rem; }
  .cart-picker__btns { grid-template-columns: minmax(170px, auto) 1fr; }
  .cart-picker__btns .cart-action { min-height: 52px; border-radius: 14px; }
  .cart-picker__btns .cart-action:not(.cart-action--main) { border-color: rgba(29, 23, 19, 0.16); background: #fff; color: rgb(29, 23, 19); }
  .cart-picker__btns .cart-action--main { background: rgb(29, 23, 19); color: #fff; }
  .cart-picker .leaflet-control-zoom a { background: #fff; }
  .cart-picker__zones { background: #fff; }
}
@media (min-width: 1000px) and (orientation: landscape) and (min-height: 560px) and (hover: hover) and (pointer: fine) {
  .cart-picker__btns .cart-action--main:hover { background: rgb(55, 44, 37); color: #fff; filter: none; }
  .cart-picker__btns .cart-action:not(.cart-action--main):hover { background: rgb(246, 243, 239); }
  .cart-picker__zones:hover { background: rgb(246, 243, 239); }
}
/* ===== Mapa de entrega: mismo diseño en celular, tablet y PC (blanco y minimalista) =====
   Buscador arriba (píldora), + y − arriba a la derecha, "Ver zonas" abajo al medio, confirmar en negro */
.cart-picker__head { align-items: center; background: #fff; }
.cart-picker__head .cart__close { flex-shrink: 0; margin: 0; border: 0; border-radius: 50%; background: rgb(240, 237, 233); color: rgb(29, 23, 19); box-shadow: none; }
.cart-picker__sub { color: rgba(29, 23, 19, 0.62); }
.cart-picker__map .leaflet-tile-pane { -webkit-filter: none; filter: none; }
.cart-picker__btns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cart-picker__btns .cart-action { min-height: 52px; border-radius: 14px; white-space: normal; line-height: 1.15; }
.cart-picker__btns .cart-action:not(.cart-action--main) { border: 1.5px solid rgba(29, 23, 19, 0.16); background: #fff; color: rgb(29, 23, 19); }
.cart-picker__btns .cart-action--main { border-color: rgb(29, 23, 19); background: rgb(29, 23, 19); color: #fff; box-shadow: none; }
.cart-picker .leaflet-top.leaflet-right { top: 0; right: env(safe-area-inset-right); }
.cart-picker .leaflet-control-zoom { border: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(29, 23, 19, .12), 0 4px 14px rgba(29, 23, 19, .16); }
.cart-picker .leaflet-control-zoom.leaflet-bar a { width: 40px; height: 40px; line-height: 40px; background: #fff; border-radius: 0; }
.map-search { left: max(10px, env(safe-area-inset-left)); right: calc(max(10px, env(safe-area-inset-right)) + 52px); max-width: 520px; margin-left: 0; }
.map-search__box { height: 48px; border-radius: 999px; }
.map-search__ico { margin-left: 16px; }
.map-search__in { font-size: 16px; }
.cart-picker__zones {
  top: auto; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  min-height: 44px; padding: 0 18px; gap: 9px;
  border: 0; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px rgba(29, 23, 19, .1), 0 4px 14px rgba(29, 23, 19, .18);
  font-size: .95rem; white-space: nowrap;
}
.cart-picker__zones svg { width: 20px; height: 20px; }
.cart-picker__zones-sw { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cart-picker__btns .cart-action--main:hover { background: rgb(55, 44, 37); color: #fff; filter: none; }
  .cart-picker__btns .cart-action:not(.cart-action--main):hover { background: rgb(246, 243, 239); }
  .cart-picker__zones:hover { background: rgb(246, 243, 239); }
}
@media (prefers-reduced-motion: reduce) { .cart-picker { transition: none; } .cart-action.is-loading svg { animation: none; } }


/* ===== Celular acostado (iPhone/Android en horizontal: ~270–390px de alto en Safari) =====
   Carrito y mapa compactos para que quede lugar para el pedido */
@media (max-height: 500px) and (orientation: landscape) {
  .cart__head { align-items: center; padding-top: calc(10px + env(safe-area-inset-top)); padding-bottom: 10px; }
  .cart__kicker { display: none; }
  .cart__title { margin-top: 0; font-size: 1.2rem; }
  .cart__close { width: 38px; height: 38px; margin: 0 -4px 0 0; }
  .cart__foot {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "suma suma" "total btn" "ship ship" "hint hint" "alert alert";
    align-items: center;
    gap: 2px 18px;
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .cart__total-row { grid-area: total; flex-direction: column; align-items: flex-start; margin: 0; }
  .cart__total-row span { font-size: .8rem; }
  .cart__total { font-size: 1.3rem; }
  .cart__checkout { grid-area: btn; min-height: 46px; font-size: .78rem; }
  .cart__ship { grid-area: ship; margin: 4px 0 0; }
  .cart__hint { grid-area: hint; margin-top: 4px; font-size: .8rem; }
  .cart-alert { grid-area: alert; margin-top: 8px; }
  /* «Sumar algo más»: el aviso va en una franja finita arriba del total y el botón */
  .cart__foot .cart-suma { grid-area: suma; flex-wrap: nowrap; margin: 0 0 8px; padding: 5px 10px; gap: 10px; }
  .cart__foot .cart-suma p { flex: 1 1 auto; font-size: .8rem; line-height: 1.3; }
  .cart__foot .cart-suma button { min-height: 32px; font-size: .78rem; white-space: nowrap; }
  .cart__empty { padding: 16px 10px; }
  .cart__empty-ico { width: 56px; height: 56px; margin-bottom: 10px; }

  .cart-picker__head { padding-top: calc(10px + env(safe-area-inset-top)); padding-bottom: 8px; align-items: center; }
  .cart-picker__title { font-size: 1.05rem; }
  .cart-picker__sub { display: none; }
  .cart-picker__stage { min-height: 0; }
  .map-search__box { height: 42px; }
  .cart-picker__zones { bottom: 14px; min-height: 38px; }
  .map-search__it { min-height: 44px; padding-top: 5px; padding-bottom: 5px; }
  .cart-picker__foot { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .cart-picker__info { margin: 0 0 8px; font-size: .82rem; }
  #cartPickerInfoTxt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cart-picker__btns .cart-action { min-height: 42px; white-space: nowrap; }

}

/* =========================================================
   REVISTA (la carta como revista)
   Papel crema, tinta oscura y terracota; pizzas redondas sobre tabla de madera que ruedan al pasar de página
   ========================================================= */
html.rv-open, html.rv-open body { overflow: hidden; }
html.rv-open main *, html.rv-open main *::before, html.rv-open main *::after,
html.rv-open .footer *, html.rv-open .footer *::before, html.rv-open .footer *::after { animation-play-state: paused !important; }

.rv {
  --paper: rgb(214, 191, 167);
  --paper-2: rgb(215, 170, 153);
  --ink: rgb(30, 23, 19);
  --ink-soft: rgb(103, 86, 75);
  --terra: rgb(157, 57, 51);
  --terra-2: rgb(229, 71, 50);
  --bar: 78px;
  --ph: min(calc(100vh - var(--bar) - 20px), 900px);
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 930;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 90% at 50% 40%, #241a14 0%, #0b0908 70%);
  color: var(--ink);
  font-family: "Barlow", var(--sans);
  opacity: 0;
  transition: opacity .35s ease;
  -webkit-user-select: none;
  user-select: none;
}
@supports (height: 100dvh) { .rv { --ph: min(calc(100dvh - var(--bar) - 20px), 900px); } }
.rv[hidden] { display: none; }
.rv.is-open { opacity: 1; }
.rv__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.rv.is-dragging .rv__stage { cursor: grabbing; }
.rv__track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.rv-view {
  flex: 0 0 100%;
  /* las vistas fuera de pantalla no se dibujan */
  content-visibility: auto;
  contain-intrinsic-size: auto 100vw auto 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 10px 10px 0;
}
.rv.is-open .rv-view { animation: rvIn .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rvIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* Página */
.rv-page {
  position: relative;
  container-type: size;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: min(calc(100vw - 20px), 540px, calc(var(--ph) * .72));
  height: var(--ph);
  /* si el contenido no entra (celular bajo o acostado), la hoja se desliza hacia arriba: así el número de página siempre se llega a ver */
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: clamp(16px, 6.5cqw, 40px) clamp(16px, 7cqw, 42px) clamp(12px, 4cqh, 26px);
  background: var(--paper);
  /* esquinas redondeadas de la revista: la curva acompaña el tamaño de la pantalla */
  --rv-r: var(--frame-r);
  border-radius: var(--rv-r);
  /* Safari: que las pizzas que giran (animadas) también queden recortadas por la curva */
  isolation: isolate;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 2px 0 rgba(214, 191, 167, 0.06) inset;
}
/* textura sutil de papel */
.rv-page::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .2  0 0 0 0 .1  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  opacity: .12;
  pointer-events: none;
}
.rv-page > * { position: relative; }
.rv-page::-webkit-scrollbar { display: none; }
@media (max-width: 999px) {
  .rv-page { width: min(calc(100vw - 20px), 540px); }
}
/* Doble página: lomo con sombra al medio */
.rv--spread .rv-page { width: calc(var(--ph2) * .7); height: var(--ph2); }
.rv--spread { --ph2: min(calc(100vh - var(--bar) - 36px), calc((100vw - 64px) / 1.4), 860px); }
@supports (height: 100dvh) { .rv--spread { --ph2: min(calc(100dvh - var(--bar) - 36px), calc((100vw - 64px) / 1.4), 860px); } }
/* Notebooks (pantalla ancha y baja): la barra de abajo ocupa menos y las hojas se ensanchan para usar los costados vacíos */
@media (min-width: 1000px) and (max-height: 860px) {
  .rv--spread { --bar: 64px; }
  .rv--spread .rv-page { width: min(calc(var(--ph2) * .86), calc((100vw - 72px) / 2), 620px); padding-top: clamp(16px, 4.5vh, 40px); }
}
.rv--spread .rv-view:not(.rv-view--single) .rv-page:first-child { border-radius: var(--rv-r) 0 0 var(--rv-r); }
.rv--spread .rv-view:not(.rv-view--single) .rv-page:last-child { border-radius: 0 var(--rv-r) var(--rv-r) 0; }
.rv--spread .rv-view:not(.rv-view--single) .rv-page:first-child::after,
.rv--spread .rv-view:not(.rv-view--single) .rv-page:last-child::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 9%;
  pointer-events: none;
}
.rv--spread .rv-view:not(.rv-view--single) .rv-page:first-child::after { right: 0; background: linear-gradient(90deg, transparent, rgba(52, 42, 36, 0.16)); }
.rv--spread .rv-view:not(.rv-view--single) .rv-page:last-child::after { left: 0; background: linear-gradient(270deg, transparent, rgba(52, 42, 36, 0.2)); }

/* Cabecera y pie de página */
.rv-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: clamp(8px, 2cqh, 14px);
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(10px, 2.6cqw, 13px);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rv-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: -8px 0 -8px -6px;
  padding: 8px 6px;
  border: 0;
  background: none;
  color: var(--ink);
  font: 600 clamp(12px, 3cqw, 14px) "Barlow", var(--sans);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.rv-back svg { width: 16px; height: 16px; }
.rv-mark { font-family: "Lobster Two", cursive; font-weight: 700; font-size: 1.35em; letter-spacing: 0; text-transform: none; }
/* Número de página: solo el número, grande (en la doble, cada uno en su esquina de afuera) */
.rv-page__foot {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.4cqw, 12px);
  flex-shrink: 0;
  margin-top: auto;
  padding-top: clamp(8px, 2cqh, 14px);
}
.rv-page__foot b {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 6.4cqw, 32px);
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}.rv--spread .rv-view:not(.rv-view--single) .rv-page:last-child .rv-page__foot { flex-direction: row-reverse; }

.rv-title {
  margin: clamp(10px, 3cqh, 22px) 0 clamp(8px, 2cqh, 16px);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 11cqw, 58px);
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

/* Pizza redonda sobre tabla de madera; .rv-roll gira con el arrastre */
.rv-pz { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: clamp(8px, 2.4cqh, 18px) 0; }
.rv-pz__board {
  position: relative;
  width: min(74cqw, 44cqh);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgb(107, 45, 39) 0%, rgb(65, 22, 19) 55%, rgb(67, 55, 47) 100%);
  box-shadow: 0 22px 40px rgba(37, 29, 24, 0.35), 0 3px 0 rgba(214, 191, 167, 0.18) inset, 0 -4px 10px rgba(0, 0, 0, .25) inset;
}
@supports not (aspect-ratio: 1) { .rv-pz__board { height: min(74cqw, 44cqh); } }
.rv-roll { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: rgb(46, 37, 31); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* el borde de madera es el espacio alrededor de la pizza (inset, no padding: Safari suma el padding al alto y el plato
   sale ovalado; con inset queda redondo en todos los navegadores) */
.rv-pz__board > .rv-roll { position: absolute; top: 3.2%; right: 3.2%; bottom: 3.2%; left: 3.2%; width: auto; height: auto; }
/* solo las pizzas que pueden girar (vista actual y vecinas) tienen capa propia: giran sin redibujarse y sin gastar memoria de más */
.rv-roll.is-live { will-change: transform; }
/* la foto también va redonda: Safari a veces no recorta con overflow una capa que gira */
.rv-pz__img, .rv-cover__img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.12); pointer-events: none; }
.rv-pz__price {
  position: absolute;
  right: -10%; bottom: 6%;
  padding: .32em .7em .36em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terra-2), var(--terra));
  color: rgb(32, 25, 21);
  font: 800 clamp(15px, 5.4cqw, 26px) var(--display);
  letter-spacing: -.01em;
  box-shadow: 0 10px 22px rgba(55, 10, 7, 0.35);
  transform: rotate(-6deg);
}
.rv-pz__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 9cqw, 46px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.rv-pz__desc { margin-top: clamp(6px, 1.4cqh, 10px); font-size: clamp(13px, 3.8cqw, 17px); line-height: 1.4; color: var(--ink-soft); }
.rv-pz__buy { display: flex; flex-direction: column; gap: 6px; margin-top: clamp(10px, 2.4cqh, 18px); }
.rv-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: clamp(44px, 7cqh, 54px);
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: rgb(214, 191, 167);
  font: 700 clamp(14px, 4cqw, 17px) "Barlow", var(--sans);
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s, background-color .2s;
}
.rv-add svg { width: 18px; height: 18px; }
.rv-add.is-added { background: var(--terra); color: rgb(32, 25, 21); }
.rv-add:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .rv-add:hover { background: rgb(52, 42, 35); } .rv-add.is-added:hover { background: var(--terra); } }
.rv-pz__in { align-self: center; font-size: 13px; font-weight: 600; color: rgb(98, 32, 29); }
.rv-pz__in::before { content: "✓ "; }

/* Combinada: arriba el plato (dos mitades vacías) con el nombre y qué falta; abajo la lista para elegir cada mitad */
.rv-cb__top { display: flex; align-items: center; gap: clamp(14px, 4.5cqw, 30px); margin-top: clamp(8px, 2cqh, 18px); }
.rv-cb__plate {
  --pl: clamp(104px, min(38cqw, 25cqh), 290px);
  position: relative;
  flex-shrink: 0;
  width: var(--pl);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgb(107, 45, 39) 0%, rgb(65, 22, 19) 55%, rgb(67, 55, 47) 100%);
  box-shadow: 0 16px 30px rgba(37, 29, 24, 0.35), 0 3px 0 rgba(214, 191, 167, 0.18) inset, 0 -4px 10px rgba(0, 0, 0, .25) inset;
}
@supports not (aspect-ratio: 1) { .rv-cb__plate { height: var(--pl); } }
/* cada mitad es el mismo círculo recortado a la mitad: la foto entera queda debajo y se ve solo su lado */
.rv-cb__half { position: absolute; inset: 4%; overflow: hidden; border-radius: 50%; background: rgb(46, 37, 31); }
.rv-cb__half--l { -webkit-clip-path: inset(0 50% 0 0); clip-path: inset(0 50% 0 0); }
.rv-cb__half--r { -webkit-clip-path: inset(0 0 0 50%); clip-path: inset(0 0 0 50%); }
.rv-cb__half img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.12); pointer-events: none; }
.rv-cb__half--l img.is-in { animation: rvCbInL .55s cubic-bezier(.2, .9, .3, 1.15) both; }
.rv-cb__half--r img.is-in { animation: rvCbInR .55s cubic-bezier(.2, .9, .3, 1.15) both; }
.rv-cb__half img.is-out { animation: rvCbOut .3s ease forwards; }
@keyframes rvCbInL { from { opacity: 0; transform: translateX(-38%) rotate(-50deg) scale(.8); } to { opacity: 1; transform: scale(1.12); } }
@keyframes rvCbInR { from { opacity: 0; transform: translateX(38%) rotate(50deg) scale(.8); } to { opacity: 1; transform: scale(1.12); } }
@keyframes rvCbOut { to { opacity: 0; transform: scale(.8); } }
/* mitad vacía: número y "mitad" en el centro de su lado */
.rv-cb__ph { position: absolute; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 3px; color: rgba(255, 236, 214, .72); font: 600 clamp(10px, 2.8cqw, 14px) "Barlow", var(--sans); letter-spacing: .1em; text-transform: uppercase; transform: translate(-50%, -50%); transition: opacity .25s; }
.rv-cb__half--l .rv-cb__ph { left: 27%; }
.rv-cb__half--r .rv-cb__ph { left: 73%; }
.rv-cb__ph b { display: flex; align-items: center; justify-content: center; width: 1.9em; height: 1.9em; border: 1.5px dashed rgba(255, 236, 214, .6); border-radius: 50%; color: #fff; font-size: 1.15em; letter-spacing: 0; }
.rv-cb__half.is-full .rv-cb__ph { opacity: 0; }
.rv-cb__cut { position: absolute; top: 4%; bottom: 4%; left: 50%; border-left: 2px dashed rgba(255, 236, 214, .55); transform: translateX(-1px); pointer-events: none; transition: opacity .3s; }
.rv-cb__plate.is-ready .rv-cb__cut { opacity: .35; }
.rv-cb__plate.is-ready { animation: rvCbReady .5s ease; }
@keyframes rvCbReady { 40% { transform: scale(1.04); } }
.rv-cb__price { right: -8%; bottom: 2%; font-size: clamp(13px, min(4.4cqw, 2.8cqh), 24px); white-space: nowrap; }
/* sin precio hasta elegir las dos mitades: ahí aparece con un pequeño salto */
.rv-cb__price { opacity: 0; visibility: hidden; transform: rotate(-6deg) scale(.6); transition: opacity .25s, transform .35s cubic-bezier(.2, 1.4, .4, 1), visibility 0s .35s; }
.rv-cb__price.is-on { opacity: 1; visibility: visible; transform: rotate(-6deg); transition: opacity .25s, transform .35s cubic-bezier(.2, 1.4, .4, 1), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .rv-cb__price, .rv-cb__price.is-on { transition: none; } }
.rv-cb__price small { font-size: .62em; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.rv-cb__head { flex: 1; min-width: 0; }
.rv-cb__status { margin-top: clamp(6px, 1.2cqh, 10px); font-size: clamp(13px, min(4cqw, 2.3cqh), 17px); font-weight: 500; line-height: 1.35; color: rgb(38, 29, 23); }
.rv-cb__status b { color: rgb(150, 38, 28); }
/* lista: se desplaza hacia abajo dentro de la página (la revista igual se pasa deslizando de costado) */
/* Las hojas y listas con scroll propio vuelven a "pan-y": si no, el navegador toma el gesto de costado (scroll) y
   cancela el arrastre para pasar de hoja cuando el dedo arranca encima de la lista */
.rv-page, .rv-page * { touch-action: pan-y; }
.rv-cb__list { position: relative; display: flex; flex-direction: column; flex: 1 1 0; gap: clamp(5px, 1cqh, 9px); min-height: 0; margin: clamp(10px, 2cqh, 18px) -4px 0; padding: 2px 4px 10px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; list-style: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); }
/* Manito que avisa que la lista de la combinada se arrastra: aprieta abajo, sube con el dedo y suelta.
   Las dos primeras veces lleva "Arrastrá"; deja de salir cuando el cliente arrastra la lista */
.rv-cb__hint { --h: clamp(46px, 13.5vw, 62px); position: absolute; left: 0; right: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--h) * .74); pointer-events: none; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(28, 18, 12, .5), rgba(28, 18, 12, 0) 74%); animation: cbHintIn .45s ease both; transition: opacity .3s ease; }
.rv-cb__hint.is-out { opacity: 0; }
.rv-cb__stage { position: relative; width: var(--h); height: var(--h); flex: none; }
.rv-cb__trail { position: absolute; left: calc(var(--h) * .479 - 2px); top: calc(var(--h) * -.28); width: 4px; height: calc(var(--h) * 1.06); border-radius: 4px; background: linear-gradient(to top, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); transform-origin: 50% 100%; transform: scaleY(0); opacity: 0; animation: cbHintTrail 2.2s cubic-bezier(.45, 0, .25, 1) infinite; }
.rv-cb__hand { position: absolute; top: 0; left: 0; width: 100%; height: 100%; animation: cbHintDrag 2.2s cubic-bezier(.45, 0, .25, 1) infinite; will-change: transform, opacity; }
.rv-cb__hand svg { display: block; width: 100%; height: 100%; overflow: visible; fill: #fff; stroke: rgb(36, 24, 16); stroke-width: .9; stroke-linejoin: round; paint-order: stroke; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); }
.rv-cb__tap { position: absolute; left: calc(var(--h) * .279); top: calc(var(--h) * .05); width: calc(var(--h) * .4); height: calc(var(--h) * .4); border-radius: 50%; background: rgba(255, 255, 255, .35); box-shadow: 0 0 0 2px rgba(255, 255, 255, .75); opacity: 0; animation: cbHintTap 2.2s cubic-bezier(.45, 0, .25, 1) infinite; }
.rv-cb__label { display: inline-flex; align-items: center; gap: 6px; padding: .5em 1em .5em .8em; border-radius: 999px; background: rgba(28, 18, 12, .82); color: #fff; font-size: clamp(13px, 3.7vw, 15px); line-height: 1.2; white-space: nowrap; font-weight: 600; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rv-cb__label svg { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cbHintIn { from { opacity: 0; } }
@keyframes cbHintDrag {
  0% { transform: translateY(calc(var(--h) * .53)) scale(1); opacity: 0; }
  12% { transform: translateY(calc(var(--h) * .53)) scale(1); opacity: 1; }
  22% { transform: translateY(calc(var(--h) * .53)) scale(.9); }
  62% { transform: translateY(calc(var(--h) * -.53)) scale(.9); }
  72% { transform: translateY(calc(var(--h) * -.53)) scale(1); opacity: 1; }
  88%, 100% { transform: translateY(calc(var(--h) * -.53)) scale(1); opacity: 0; }
}
@keyframes cbHintTap {
  0%, 18% { opacity: 0; transform: scale(.5); }
  24%, 60% { opacity: 1; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes cbHintTrail {
  0%, 22% { transform: scaleY(0); opacity: 0; }
  24% { opacity: 1; }
  62% { transform: scaleY(1); opacity: 1; }
  86%, 100% { transform: scaleY(1); opacity: 0; }
}
/* celular acostado (poco alto): la mano más chica y el cartel más pegado */
@media (max-height: 500px) {
  .rv-cb__hint { --h: 40px; gap: 30px; }
  .rv-cb__label { font-size: 12px; }
}
/* solo en pantallas táctiles (celulares y tablets): en PC con mouse no sale */
html:not(.is-touch) .rv-cb__hint { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rv-cb__hand, .rv-cb__tap, .rv-cb__trail { animation: none; }
  .rv-cb__tap { opacity: 1; }
}
.rv-cb__row { display: flex; flex-shrink: 0; align-items: center; gap: clamp(9px, 2.6cqw, 14px); min-height: clamp(46px, 6.6cqh, 60px); padding: 5px 6px 5px 6px; border-radius: 12px; background: rgba(255, 252, 247, .9); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 3px 10px rgba(52, 42, 36, .12); transition: box-shadow .2s, background-color .2s, opacity .2s; }
.rv-cb__row.is-on { background: #fff; box-shadow: 0 0 0 2px var(--terra-2) inset, 0 4px 12px rgba(229, 71, 50, .25); }
.rv-cb__row.is-locked, .rv-cb__row.is-agotado { opacity: .5; }
.rv-cb__row .rv-idx__thumb { position: relative; width: clamp(34px, 5.4cqh, 46px); }
/* número de la mitad elegida, encima de la fotito */
.rv-cb__n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(229, 71, 50, .88); color: #fff; font: 800 clamp(14px, 2.6cqh, 19px) var(--display); font-style: normal; }
.rv-cb__n:empty { display: none; }
.rv-cb__txt { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.2; }
.rv-cb__txt b { overflow: hidden; font: 700 clamp(14px, min(4.4cqw, 2.6cqh), 18px) "Barlow", var(--sans); white-space: nowrap; text-overflow: ellipsis; }
.rv-cb__txt small { font-size: clamp(12px, min(3.6cqw, 2.1cqh), 15px); color: rgba(29, 23, 19, .75); font-variant-numeric: tabular-nums; }
.rv-cb__btn { flex-shrink: 0; min-width: clamp(92px, 27cqw, 124px); height: clamp(36px, 5.4cqh, 46px); padding: 0 14px; border: 2px solid var(--terra-2); border-radius: 999px; background: var(--terra-2); color: #fff; font: 700 clamp(14px, min(4.2cqw, 2.5cqh), 17px) "Barlow", var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; box-shadow: 0 3px 8px rgba(229, 71, 50, .3); transition: background-color .2s, color .2s, transform .15s; }
.rv-cb__btn:active { transform: scale(.95); }
.rv-cb__row.is-on .rv-cb__btn { background: #fff; color: rgb(190, 45, 30); box-shadow: none; }
.rv-cb__btn:disabled { border-color: transparent; background: rgba(30, 23, 19, .12); color: rgba(30, 23, 19, .5); box-shadow: none; cursor: default; }
.rv-cb__buy { flex-shrink: 0; margin-top: clamp(6px, 1.4cqh, 12px); }
.rv-cb__add { background: var(--terra-2); color: #fff; box-shadow: 0 8px 20px rgba(229, 71, 50, .35); }
.rv-cb__add:disabled { background: rgba(30, 23, 19, .16); color: rgba(30, 23, 19, .55); box-shadow: none; cursor: default; }
.rv-cb__add.is-added { background: rgb(34, 128, 72); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .rv-cb__btn:not(:disabled):hover { background: rgb(200, 52, 34); border-color: rgb(200, 52, 34); }
  .rv-cb__row.is-on .rv-cb__btn:hover { background: rgb(255, 236, 230); color: rgb(190, 45, 30); }
  .rv-cb__add:not(:disabled):hover { background: rgb(200, 52, 34); }
}

/* Tapa y contratapa (oscuras) */
.rv-page--cover, .rv-page--back { background: radial-gradient(110% 80% at 70% 35%, rgb(45, 37, 31) 0%, rgb(25, 20, 16) 70%); color: #fff; }
.rv-page--cover::before, .rv-page--back::before { opacity: .06; }
.rv-cover__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; z-index: 2; }
.rv-cover__top img { width: clamp(56px, 18cqw, 96px); height: auto; }
.rv-cover__top span { font-size: clamp(11px, 3.2cqw, 15px); font-weight: 600; line-height: 1.25; text-align: right; color: rgba(255, 255, 255, .85); }
.rv-cover__pizza { position: absolute; top: 15%; right: -22%; width: 96cqw; aspect-ratio: 1; animation: rvSpin 60s linear infinite; will-change: transform; }
.rv-cover__pizza .rv-roll { box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
@keyframes rvSpin { to { transform: rotate(360deg); } }
.rv-cover__sticker {
  position: absolute;
  top: 17%; right: 7%;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(84px, 27cqw, 140px); aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terra-2), var(--terra));
  color: rgb(32, 25, 21);
  font: 800 clamp(16px, 5.4cqw, 28px) var(--display);
  line-height: 1;
  transform: rotate(-10deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
}
.rv-cover__sticker small { font-size: .46em; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.rv-cover__title {
  z-index: 2;
  margin-top: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(54px, 25cqw, 132px);
  line-height: .84;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
}
.rv-cover__sub { z-index: 2; margin-top: clamp(10px, 2.4cqh, 18px); font-weight: 600; font-size: clamp(11px, 3.4cqw, 15px); letter-spacing: .26em; color: var(--terra-2); }
.rv-cover__text { z-index: 2; margin-top: 6px; font-size: clamp(14px, 4.2cqw, 19px); line-height: 1.35; color: rgba(255, 255, 255, .88); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.rv-cover__foot { z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, 2cqh, 14px); margin-top: clamp(12px, 3cqh, 22px); }
.rv-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 1px solid rgba(214, 191, 167, 0.25); border-radius: 999px; font-size: clamp(12px, 3.3cqw, 14px); font-weight: 600; background: rgba(0, 0, 0, .35); }
.rv-chip svg { width: 18px; height: 18px; color: var(--terra-2); }
.rv-cover__foot:has(> [hidden]:only-child) { display: none; }
/* Aviso "arrastrá": en el hueco entre el logo y el título, angosto para no pisar la pizza
   (el borde de la pizza se curva hacia la izquierda: el texto va en renglones cortos) */
.rv-cover__hint {
  z-index: 3;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 2.6cqw, 14px);
  max-width: 26cqw;
  margin-top: clamp(10px, 3cqh, 28px);
  color: #fff;
  pointer-events: none;
}
/* dedito que arrastra hacia la izquierda, con la estela del recorrido */
.rv-swipe { position: relative; display: block; flex-shrink: 0; width: clamp(70px, 24cqw, 124px); height: clamp(38px, 13cqw, 62px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(18, 14, 11, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 8px 22px rgba(0, 0, 0, .4); overflow: hidden; }
.rv-swipe__trail { position: absolute; left: 20%; right: 30%; top: 30%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(229, 71, 50, 0), var(--terra-2)); transform-origin: right center; transform: scaleX(0); animation: rvSwipeTrail 2.2s cubic-bezier(.45, 0, .25, 1) infinite; }
.rv-swipe__hand { position: absolute; left: 56%; top: 14%; width: 44%; height: auto; aspect-ratio: 1; max-width: 40px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); animation: rvSwipeHand 2.2s cubic-bezier(.45, 0, .25, 1) infinite; }
.rv-cover__hint-txt { display: flex; flex-direction: column; gap: 4px; line-height: 1.15; text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 2px 12px rgba(0, 0, 0, .7); }
.rv-cover__hint-txt b { font-size: clamp(15px, 4.6cqw, 22px); font-weight: 700; letter-spacing: .01em; }
.rv-cover__hint-txt small { display: none; font-size: clamp(13px, 2.9cqw, 16px); font-weight: 500; color: rgba(255, 255, 255, .75); }
/* páginas anchas (tablet, PC): hay más hueco, entra también "para ver la carta" */
@container (min-width: 440px) {
  .rv-cover__hint { max-width: 30cqw; }
  .rv-cover__hint-txt small { display: block; }
}
/* celular y tablet parados: el aviso a la altura del centro de la pizza (misma cuenta que .rv-cover__pizza) */
@media not ((max-height: 500px) and (orientation: landscape)) {
  .rv-cover__hint { position: absolute; left: clamp(16px, 7cqw, 42px); top: calc(15% + min(96cqw, 58cqh) / 2); transform: translateY(-50%); margin-top: 0; }
}
/* PC y notebook (solo mouse): no hace falta el aviso. Cualquier pantalla táctil (celulares y todas las tablets,
   incluso las que tienen lápiz y se anuncian como "pointer: fine") lo muestra */
@media (hover: hover) and (pointer: fine) and (not (any-pointer: coarse)) {
  html:not(.is-touch) .rv-cover__hint { display: none; }
}
@keyframes rvSwipeHand {
  0% { transform: translateX(10%) scale(1); opacity: 0; }
  12% { transform: translateX(10%) scale(1); opacity: 1; }
  22% { transform: translateX(10%) scale(.88); }
  62% { transform: translateX(-150%) scale(.88); opacity: 1; }
  72% { transform: translateX(-150%) scale(1); opacity: 0; }
  100% { transform: translateX(-150%) scale(1); opacity: 0; }
}
@keyframes rvSwipeTrail {
  0%, 22% { transform: scaleX(0); opacity: 1; }
  62% { transform: scaleX(1); opacity: 1; }
  80%, 100% { transform: scaleX(1); opacity: 0; }
}

/* Índice */
/* Índice como lista de botones (estilo lista de app): aviso arriba y una fila tocable por pizza */
.rv-idx-tip { display: flex; align-items: center; gap: clamp(8px, 2.4cqw, 12px); margin: 0 0 clamp(6px, 1.6cqh, 14px); padding: clamp(6px, 1.2cqh, 11px) clamp(10px, 3cqw, 14px) clamp(6px, 1.2cqh, 11px) clamp(6px, 1.6cqw, 9px); border-radius: 12px; background: rgb(29, 23, 19); color: #fff; font-size: clamp(12px, min(3.7cqw, 2.2cqh), 16px); font-weight: 500; line-height: 1.25; }
.rv-idx-tip b { font-weight: 700; color: rgb(255, 196, 160); }
.rv-idx-tip__ico { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: clamp(26px, 4.6cqh, 36px); aspect-ratio: 1; border-radius: 50%; background: var(--terra-2); }
.rv-idx-tip__ico svg { width: 62%; height: 62%; animation: rvTap 1.8s ease-in-out infinite; }
@keyframes rvTap { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(2px) scale(.88); } }
/* cada fila es su propia tarjetita, separada de la siguiente (el espacio crece con el alto de la página) */
/* la lista ocupa el lugar libre de la página y las filas se lo reparten (con un alto máximo): nunca se pasa del borde */
/* --n = cantidad de filas (la pone el JS): con más pizzas cargadas en el panel, filas, letras y fotitos se achican para que todo entre en la hoja */
.rv-idx { display: flex; flex-direction: column; flex: 1 1 0; gap: clamp(1px, calc(33cqh / var(--n, 15) - 8px), 12px); min-height: calc(var(--n, 15) * 22px - 1px); list-style: none; margin: 0; padding: 0; }
.rv-idx li { display: flex; flex: 1 1 0; min-height: 21px; max-height: 58px; overflow: hidden; border-radius: 12px; background: rgba(255, 252, 247, .9); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 3px 10px rgba(52, 42, 36, .12); }
.rv-idx .rv-idx__row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.4cqw, 14px);
  width: 100%;
  height: 100%;
  padding: 1px clamp(5px, 1.6cqw, 10px) 1px clamp(4px, 1.2cqw, 8px);
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s;
}
.rv-idx .rv-idx__row:active { background: rgba(229, 71, 50, .14); }
@media (hover: hover) and (pointer: fine) { .rv-idx .rv-idx__row:hover { background: rgba(229, 71, 50, .1); } }
.rv-idx__thumb { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: clamp(16px, calc(6.4cqh - 16px), 38px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: rgb(201, 174, 146); color: rgb(122, 44, 39); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
/* en el índice la fotito sigue el alto de su fila (nunca la estira) */
.rv-idx .rv-idx__thumb { width: auto; height: min(calc(100% - 4px), clamp(16px, calc(6.4cqh - 16px), 38px)); }
@supports not (aspect-ratio: 1) { .rv-idx .rv-idx__thumb { width: clamp(16px, calc(96cqh / var(--n, 15) - 16px), 38px); height: auto; } }
.rv-idx__thumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.rv-idx__thumb svg { width: 58%; height: 58%; }
.rv-idx__thumb--promo { background: rgb(29, 23, 19); color: #fff; }
.rv-idx__thumb--combo { position: relative; background: linear-gradient(90deg, rgb(229, 71, 50) 50%, rgb(84, 30, 26) 50%); }
.rv-idx__thumb--combo i { position: absolute; top: 12%; bottom: 12%; left: 50%; border-left: 2px dashed rgba(255, 255, 255, .85); transform: translateX(-1px); }
.rv-idx__name small { font-size: .78em; font-weight: 600; color: rgb(150, 38, 28); }
@container (max-width: 439px) { .rv-idx__name small { display: none; } }
.rv-idx .rv-idx__name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 clamp(12px, min(4.5cqw, calc(39cqh / var(--n, 15))), 19px) "Barlow", var(--sans); text-transform: none; }
.rv-idx .rv-idx__price { flex-shrink: 0; font: 600 clamp(11px, min(3.8cqw, calc(33cqh / var(--n, 15))), 16px) "Barlow", var(--sans); font-variant-numeric: tabular-nums; }
.rv-idx__go { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 2px; min-width: clamp(54px, 20cqw, 90px); height: calc(100% - 4px); min-height: 17px; max-height: 46px; padding: 0 clamp(6px, 1.8cqw, 10px) 0 clamp(10px, 3cqw, 15px); border-radius: 999px; background: var(--terra-2); color: #fff; font: 700 clamp(11px, min(4.3cqw, calc(39cqh / var(--n, 15))), 18px)/1 "Barlow", var(--sans); box-shadow: 0 3px 8px rgba(229, 71, 50, .3); }
/* páginas altas (la mayoría de los celulares y tablets): filas y botones "Ver" más grandes, fáciles de tocar */
.rv-idx__go svg { width: 1.15em; height: 1.15em; }
.rv-extras li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  padding: clamp(5px, 1.25cqh, 10px) 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.rv-idx__dots { flex: 1; min-width: 12px; border-bottom: 1.5px dotted rgba(30, 23, 19, 0.3); transform: translateY(-4px); }
.rv-how { margin-top: clamp(10px, 2.6cqh, 20px); padding: clamp(10px, 2.4cqh, 18px); border-radius: 12px; background: var(--paper-2); }
.rv-how h3, .rv-extras h3 { font: 800 clamp(12px, 3.4cqw, 15px) var(--display); letter-spacing: .1em; text-transform: uppercase; }
.rv-how ol { display: flex; gap: 10px; list-style: none; margin: 10px 0 0; padding: 0; }
.rv-how li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: clamp(11px, 3cqw, 13px); line-height: 1.25; color: var(--ink-soft); }
.rv-how b { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 13px var(--display); }
@container (max-height: 600px) { .rv-how { display: none; } }

/* Cómo pedir: 4 pasos (los de la mesa o los de retiro/delivery) y el aviso de revisar el pedido antes de confirmar */
/* "¿Cómo pedir?" en una sola línea: el tamaño se achica con el ancho de la hoja para que entre siempre */
.rv-page--steps .rv-title { margin-bottom: clamp(4px, 1cqh, 8px); font-size: clamp(20px, min(11.5cqw, 7cqh), 58px); white-space: nowrap; }
.rv-steps__sub { margin: 0 0 clamp(8px, 2cqh, 16px); font-size: clamp(13px, min(3.8cqw, 2.3cqh), 17px); font-weight: 500; color: var(--ink-soft); }
.rv-steps { display: flex; flex-direction: column; gap: clamp(6px, 1.6cqh, 12px); list-style: none; margin: 0; padding: 0; }
.rv-steps[hidden], .rv-steps__sub[hidden] { display: none; }
.rv-steps li { display: flex; align-items: center; gap: clamp(10px, 3cqw, 14px); }
.rv-steps b { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: clamp(28px, min(8.4cqw, 5.4cqh), 40px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 clamp(13px, min(3.8cqw, 2.4cqh), 18px) var(--display); }
.rv-steps span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rv-steps strong { font: 800 clamp(13px, min(4cqw, 2.5cqh), 18px) var(--display); letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.rv-steps small { font-size: clamp(12px, min(3.5cqw, 2.1cqh), 15px); line-height: 1.25; color: var(--ink-soft); }
.rv-note { display: flex; align-items: flex-start; gap: clamp(10px, 3cqw, 14px); margin-top: clamp(10px, 2.6cqh, 22px); padding: clamp(10px, 2.2cqh, 18px) clamp(12px, 3.6cqw, 18px); border-radius: 14px; background: rgb(29, 23, 19); color: #fff; box-shadow: 0 8px 22px rgba(37, 29, 24, .25); }
.rv-note__ico { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: clamp(28px, min(8cqw, 5cqh), 38px); aspect-ratio: 1; border-radius: 50%; background: var(--terra-2); }
.rv-note__ico svg { width: 58%; height: 58%; }
.rv-note h3 { margin: 0 0 4px; font: 800 clamp(13px, min(4cqw, 2.5cqh), 18px) var(--display); letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; color: rgb(255, 196, 160); }
.rv-note p { margin: 0; font-size: clamp(12px, min(3.5cqw, 2.1cqh), 15px); line-height: 1.35; color: rgba(255, 255, 255, .88); }
.rv-note b { font-weight: 700; color: #fff; }
.rv-note .rv-note__thanks { margin-top: 6px; font-weight: 600; color: #fff; }
.rv-steps__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; margin-top: clamp(10px, 2.4cqh, 20px); min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--terra); color: #fff; font: 700 clamp(14px, 3.8cqw, 16px) "Barlow", var(--sans); cursor: pointer; }
.rv-steps__cta svg { width: 18px; height: 18px; }
/* hojas anchas y no tan altas (notebooks 1440x900, iPad acostado): el título en un renglón, así entra todo sin desplazar */
/* páginas bajas (celulares chicos, notebooks con poca altura): se ve todo lo mismo, solo más compacto */
@container (max-height: 640px) {
  .rv-page--steps .rv-title { margin-top: clamp(6px, 1.6cqh, 12px); }
  .rv-steps__sub { margin-bottom: clamp(6px, 1.4cqh, 10px); }
  .rv-note { margin-top: clamp(8px, 1.8cqh, 14px); }
  .rv-steps__cta { min-height: 40px; margin-top: clamp(8px, 1.8cqh, 14px); padding: 0 18px; }
}
@container (max-height: 520px) {
  .rv-page--steps .rv-page__head { padding-bottom: 6px; }
  .rv-page--steps .rv-title { margin: 6px 0 2px; font-size: clamp(20px, min(11.5cqw, 6.4cqh), 34px); }
  .rv-steps__sub { margin-bottom: 6px; font-size: 12px; }
  .rv-steps { gap: 5px; }
  .rv-steps li { gap: 9px; }
  .rv-steps b { width: 26px; font-size: 12px; }
  .rv-steps strong { font-size: 12.5px; }
  .rv-steps small, .rv-note p { font-size: 11.5px; line-height: 1.22; }
  .rv-note { gap: 9px; margin-top: 8px; padding: 9px 11px; border-radius: 12px; }
  .rv-note__ico { width: 26px; }
  .rv-note h3 { margin-bottom: 3px; font-size: 12.5px; }
  .rv-note .rv-note__thanks { margin-top: 4px; }
  .rv-steps__cta { min-height: 36px; margin-top: 8px; padding: 0 16px; font-size: 13.5px; }
  .rv-steps__cta svg { width: 16px; height: 16px; }
  .rv-page--steps .rv-page__foot { padding-top: 6px; }
}
/* celulares angostos y bajos (iPhone SE, Android chicos): los renglones se cortan más, así que todo un poco más chico */
@container (max-height: 560px) and (max-width: 420px) {
  .rv-page--steps .rv-title { margin: 4px 0 2px; font-size: min(22px, 11.5cqw); }
  .rv-steps__sub { margin-bottom: 5px; font-size: 11.5px; }
  .rv-steps { gap: 4px; }
  .rv-steps li { gap: 8px; }
  .rv-steps b { width: 22px; font-size: 11px; }
  .rv-steps strong { font-size: 12px; }
  .rv-steps small, .rv-note p { font-size: 11px; line-height: 1.2; }
  .rv-note { gap: 8px; margin-top: 7px; padding: 8px 10px; }
  .rv-note__ico { width: 22px; }
  .rv-note h3 { font-size: 12px; }
  .rv-steps__cta { min-height: 34px; margin-top: 7px; font-size: 13px; }
  .rv-page--steps .rv-page__foot { padding-top: 4px; }
}
/* los más bajos (iPhone SE de 1ª generación, 320x568) */
@container (max-height: 470px) and (max-width: 420px) {
  .rv-page--steps .rv-title { margin: 2px 0 0; font-size: min(20px, 11.5cqw); }
  .rv-steps__sub { margin-bottom: 4px; }
  .rv-steps { gap: 2px; }
  .rv-steps small, .rv-note p { font-size: 10.5px; line-height: 1.15; }
  .rv-note { margin-top: 5px; padding: 6px 9px; }
  .rv-note h3 { margin-bottom: 2px; }
  .rv-note .rv-note__thanks { margin-top: 3px; }
  .rv-steps__cta { min-height: 32px; margin-top: 5px; }
}
/* celulares altos y angostos (Android, iPhone en vertical): la hoja sobra de alto, así que todo más grande y aireado */
@container (min-height: 600px) and (max-width: 480px) {
  .rv-page--steps .rv-title { font-size: clamp(20px, min(11.5cqw, 5.8cqh), 52px); }
  .rv-steps__sub { margin-bottom: clamp(8px, 1.8cqh, 18px); font-size: clamp(13px, min(4.3cqw, 2.2cqh), 18px); }
  .rv-steps { gap: clamp(7px, 1.5cqh, 16px); }
  .rv-steps b { width: clamp(28px, min(10cqw, 5cqh), 42px); font-size: clamp(13px, min(4.4cqw, 2.2cqh), 18px); }
  .rv-steps strong { font-size: clamp(13px, min(5cqw, 2.3cqh), 20px); }
  .rv-steps small, .rv-note p { font-size: clamp(12px, min(4.2cqw, 1.95cqh), 17px); line-height: 1.26; }
  .rv-note { margin-top: clamp(10px, 1.7cqh, 22px); padding: clamp(10px, 2cqh, 20px) clamp(12px, 4.2cqw, 20px); }
  .rv-note h3 { font-size: clamp(13px, min(4.8cqw, 2.35cqh), 19px); }
  .rv-note__ico { width: clamp(28px, min(9cqw, 4.6cqh), 40px); }
  .rv-steps__cta { min-height: 44px; margin-top: clamp(10px, 1.7cqh, 22px); padding: 0 22px; font-size: clamp(14px, min(4.6cqw, 2.3cqh), 18px); }
}
/* si igual sobra lugar, el bloque queda centrado en la hoja (no todo arriba con un hueco abajo) */
.rv-page--steps .rv-page__head { margin-bottom: auto; }
.rv-page--steps .rv-steps__cta { margin-bottom: auto; }
.rv-page--steps .rv-page__foot { margin-top: 0; }
/* respaldo: si en alguna pantalla igual no entra, la hoja se desplaza (nunca queda texto cortado) */
.rv-page--steps { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.rv-page--steps::-webkit-scrollbar { display: none; }

/* Promos */
/* Foto de la pizza en la revista: se toca y se ve en grande (cartelito "Ver foto" arriba a la izquierda) */
.rv-pz__board[data-zoom] { cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.rv-pz__board[data-zoom]:focus-visible { outline: 3px solid var(--terra-2); outline-offset: 4px; }
.rv-zoom {
  position: absolute; top: 7%; left: 7%; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px 6px 8px; border-radius: 999px;
  background: rgba(30, 23, 19, .82); color: #fff;
  font: 700 clamp(11px, 2.8cqw, 13px) "Barlow", var(--sans); letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  pointer-events: none;
  transition: transform .2s ease, background-color .2s ease;
}
.rv-zoom svg { width: 15px; height: 15px; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .rv-pz__board[data-zoom]:hover .rv-zoom { background: var(--terra-2); transform: scale(1.06); }
}
.rv-promo { display: flex; flex-direction: column; }
.rv-promo__pair { position: relative; display: flex; justify-content: center; margin: clamp(4px, 1cqh, 10px) 0 clamp(12px, 2.6cqh, 20px); }
.rv-promo__pair .rv-pz__board { width: min(40cqw, 22cqh); }
/* las dos tablas de la promo siempre redondas e iguales (sin estirarse con la altura de la fila) */
.rv-promo__pair { align-items: flex-start; }
.rv-promo__pair .rv-pz__board { flex: 0 0 auto; }
@supports (aspect-ratio: 1) { .rv-promo__pair .rv-pz__board { height: auto; aspect-ratio: 1; } }
.rv-promo__pair .rv-pz__board + .rv-pz__board { margin-left: -6%; margin-top: 6%; }
.rv-promo__pair > .rv-pz__price { right: 8%; bottom: 0; }
.rv-extras { margin-top: clamp(12px, 3cqh, 24px); padding: clamp(10px, 2.4cqh, 18px); border-radius: 12px; background: #fff; }
.rv-extras ul { list-style: none; margin: 6px 0 0; padding: 0; }
.rv-extras li { cursor: default; font-size: clamp(13px, 3.6cqw, 16px); font-weight: 600; }
.rv-extras li b { font: 800 clamp(13px, 3.8cqw, 17px) var(--display); color: rgb(122, 44, 39); }
/* Extras de la revista: nombre ···· precio (+) */
.rv-extras ul li { align-items: center; gap: 10px; }
.rv-extras .rv-idx__dots { transform: none; }
.rv-ex-add { width: 32px; height: 32px; }
.rv-ex-add svg { width: 16px; height: 16px; }
.rv-extras li.is-agotado > span:first-child { opacity: .6; text-decoration: line-through; }
.rv-extras p { margin-top: 4px; font-size: clamp(11px, 3cqw, 13px); color: var(--ink-soft); }

/* Contratapa */
.rv-page--back { align-items: center; justify-content: center; text-align: center; }
.rv-back__logo { width: clamp(72px, 24cqw, 120px); height: auto; margin-bottom: clamp(14px, 4cqh, 30px); }
.rv-back__title { font: 800 clamp(40px, 17cqw, 92px) var(--display); line-height: .88; text-transform: uppercase; letter-spacing: -.02em; }
.rv-back__text { max-width: 30ch; margin: clamp(12px, 3cqh, 22px) auto 0; font-size: clamp(14px, 4cqw, 18px); line-height: 1.4; color: rgba(255, 255, 255, .78); }
.rv-back__cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: clamp(18px, 4cqh, 30px);
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terra-2), var(--terra));
  color: rgb(32, 25, 21);
  font: 800 clamp(13px, 3.8cqw, 16px) var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(157, 57, 51, 0.4);
  cursor: pointer;
  animation: toastCue 1.6s cubic-bezier(.2, .8, .2, 1) 1s infinite;
}
.rv-back__cta svg { width: 20px; height: 20px; }
.rv-back__link { margin-top: 14px; padding: 8px; border: 0; background: none; color: rgba(255, 255, 255, .7); font: 600 14px "Barlow", var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rv-back__info { margin-top: auto; padding-top: 16px; font-size: clamp(11px, 3cqw, 13px); line-height: 1.5; color: rgba(255, 255, 255, .5); }
/* Redes al pie de la contratapa: TikTok y Facebook */
.rv-back__soc { width: min(100%, 340px); margin-top: clamp(14px, 3cqh, 22px); padding-top: clamp(12px, 2.6cqh, 18px); border-top: 1px solid rgba(255, 255, 255, .14); }
.rv-back__soc-title { margin: 0 0 10px; font: 600 clamp(10px, 2.8cqw, 12px) "Barlow", var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.rv-back__soc-btns { display: flex; justify-content: center; gap: 10px; }
.rv-back__soc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1 1 0; min-width: 0; min-height: 42px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: 700 clamp(13px, 3.6cqw, 15px) "Barlow", var(--sans);
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.rv-back__soc-btn svg { flex-shrink: 0; width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .rv-back__soc-btn:hover { border-color: #fff; background: #fff; color: rgb(32, 25, 21); transform: translateY(-2px); }
}
.rv-back__soc-btn:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
/* Crédito del desarrollador (como en el footer) */
.rv-back__credit { margin: clamp(10px, 2.2cqh, 16px) 0 0; font: 600 clamp(9.5px, 2.6cqw, 11px) "Barlow", var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.rv-back__credit a { display: inline-block; padding: 6px 2px; font-weight: 700; color: rgb(239, 74, 54); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
@media (hover: hover) and (pointer: fine) {
  .rv-back__credit a:hover { color: rgb(255, 102, 82); border-bottom-color: currentColor; }
}
.rv-back__credit a:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
@container (max-height: 580px) { .rv-back__credit { margin-top: 6px; } .rv-back__credit a { padding: 4px 2px; } }
/* Contratapa en hojas bajas (notebooks con escala de Windows, ventanas chicas): todo se achica según el alto de la hoja
   para que TikTok y Facebook entren enteros abajo y el logo no se corte arriba */
.rv-page--back { justify-content: flex-start; }
.rv-back__title { font-size: clamp(26px, min(17cqw, 12cqh), 92px); }
.rv-back__soc-title { text-wrap: balance; }
@container (max-height: 580px) {
  .rv-back__logo { width: clamp(56px, 18cqw, 88px); margin-bottom: 2cqh; }
  .rv-back__title { font-size: clamp(26px, min(15cqw, 10.5cqh), 64px); }
  .rv-back__text { margin-top: 2cqh; font-size: clamp(12.5px, 3.6cqw, 15px); }
  .rv-back__cta { margin-top: 3cqh; padding: 11px 22px; }
  .rv-back__link { margin-top: 1cqh; padding: 6px; }
  .rv-back__info { display: none; }
  .rv-back__soc { margin-top: auto; padding-top: 10px; }
  .rv-back__soc-title { margin-bottom: 8px; letter-spacing: .14em; }
  .rv-back__soc-btn { min-height: 38px; padding: 0 12px; }
}
@container (max-height: 440px) {
  .rv-back__logo { display: none; }
  .rv-back__text { max-width: 34ch; }
  .rv-back__cta { padding: 9px 20px; }
  .rv-back__soc-btn { min-height: 34px; }
}

/* Barra de abajo */
.rv__bar {
  flex: 0 0 var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 max(12px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(12px, env(safe-area-inset-left));
  color: #fff;
}
.rv__bar-l, .rv__bar-c { display: flex; align-items: center; gap: 6px; }
.rv__pill, .rv__ico, .rv__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font: 700 14px "Barlow", var(--sans);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.rv__ico { width: 44px; padding: 0; }
/* la X lleva la palabra "Cerrar" para que nadie dude */
.rv__ico[data-rv="close"] { width: auto; padding: 0 16px 0 12px; }
.rv__pill svg, .rv__ico svg { width: 18px; height: 18px; flex-shrink: 0; }
.rv__count { white-space: nowrap; min-width: 112px; background: #fff; border-color: #fff; color: var(--ink); cursor: default; font-variant-numeric: tabular-nums; }
.rv__pill:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .rv__pill:not(:disabled):hover, .rv__ico:hover { background: rgba(224, 160, 112, .18); border-color: rgba(224, 160, 112, .6); }
}
.rv__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px 0 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terra-2), var(--terra));
  color: rgb(32, 25, 21);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(157, 57, 51, 0.35);
}
.rv__cart-i { position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(32, 25, 21); color: var(--terra-2); }
.rv__cart-i svg { width: 24px; height: 24px; }
.rv__cart-n { position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: rgb(214, 191, 167); color: rgb(32, 25, 21); font: 800 11px/18px var(--display); text-align: center; }
.rv__cart:not(.has-items) .rv__cart-n { display: none; }
.rv__cart-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.rv__cart-l { font-size: 12px; font-weight: 600; }
.rv__cart-t { font: 800 16px var(--display); }
.rv__cart.is-bump { animation: cartBump .55s cubic-bezier(.34, 1.56, .64, 1); }
@media (max-width: 760px) {
  .rv { --bar: 70px; }
  /* "categorías" siempre con su texto (solo el ícono no se entiende) */
  .rv__pill[data-rv="index"] { padding: 0 14px 0 11px; }
  .rv__pill[data-rv="prev"] { padding: 0 14px 0 8px; gap: 2px; }
  .rv__pill[data-rv="next"] { padding: 0 8px 0 14px; gap: 2px; }
  .rv__count { min-width: 0; padding: 0 12px; font-size: 13px; }
  .rv__cart-txt .rv__cart-l { display: none; }
  .rv__cart { padding-right: 12px; }
}
/* Barra en un renglón angosta (celular acostado, tablets chicas): más apretada y el carrito solo con su ícono,
   así "categorías", Anterior y Siguiente siguen con su texto sin salirse de la pantalla */
@media (max-width: 700px) and (orientation: landscape), (min-width: 600px) and (max-width: 700px) {
  .rv__bar, .rv__bar-l, .rv__bar-c { gap: 5px; }
  .rv__pill, .rv__ico, .rv__count { font-size: 13px; }
  .rv__ico[data-rv="close"] { padding: 0 11px 0 8px; }
  .rv__pill[data-rv="index"] { padding: 0 11px 0 8px; }
  .rv__pill[data-rv="prev"] { padding: 0 10px 0 5px; }
  .rv__pill[data-rv="next"] { padding: 0 5px 0 10px; }
  .rv__count { padding: 0 10px; }
  .rv__cart-txt { display: none; }
  .rv__cart { padding: 0 4px; }
}
/* Celular: barra en dos renglones, chica y con todo escrito.
   Arriba, pegado a la página: ‹ Anterior · Pág. 3 de 15 · Siguiente ›
   Abajo: ✕ Cerrar · Índice · Tu pedido */
@media (max-width: 599px) and (orientation: portrait) {
  .rv { --bar: 104px; }
  .rv__bar {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "c c c" "l . cart";
    align-content: center;
    row-gap: 8px;
    column-gap: 8px;
    padding-top: 6px;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
  .rv__bar-c { grid-area: c; display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; width: 100%; max-width: 380px; justify-self: center; }
  .rv__bar-l { grid-area: l; gap: 6px; }
  .rv__cart { grid-area: cart; justify-self: end; }
  .rv__pill, .rv__ico, .rv__count { height: 36px; font-size: 13px; }
  .rv__pill svg, .rv__ico svg { width: 16px; height: 16px; }
  .rv__ico[data-rv="close"] { padding: 0 13px 0 10px; }
  .rv__pill[data-rv="index"] { width: auto; padding: 0 13px 0 11px; }
  .rv__pill[data-rv="index"] span { display: inline; }
  .rv__pill[data-rv="prev"], .rv__pill[data-rv="next"] { width: 100%; height: 38px; gap: 3px; font-size: 14px; }
  .rv__pill[data-rv="prev"] { padding: 0 12px 0 8px; }
  .rv__pill[data-rv="next"] { padding: 0 8px 0 12px; }
  .rv__count { height: 38px; min-width: 0; padding: 0 12px; font-size: 13px; }
  .rv__cart { height: 40px; gap: 8px; padding: 0 14px 0 4px; }
  .rv__cart-i { width: 32px; height: 32px; }
  .rv__cart-i svg { width: 18px; height: 18px; }
  .rv__cart-txt { display: flex; }
  .rv__cart-txt .rv__cart-l { display: block; font-size: 11px; }
  .rv__cart-t { font-size: 14px; }
}
/* Celular: en el índice los "Ver" ocupan todo el alto de su fila (no tocan la de abajo), más anchos y con letra más grande */
@media (max-width: 599px) and (orientation: portrait) {
  .rv-idx__go { height: calc(100% - 2px); min-width: clamp(64px, 23cqw, 96px); font-size: clamp(13px, min(4.8cqw, calc(42cqh / var(--n, 15))), 19px); }
  .rv-idx__go svg { width: 1.2em; height: 1.2em; }
}
/* Celulares angostos (iPhone SE, Galaxy chicos): mismo orden, un poco más apretado */
@media (max-width: 359px) and (orientation: portrait) {
  .rv__bar { column-gap: 6px; padding-left: max(6px, env(safe-area-inset-left)); padding-right: max(6px, env(safe-area-inset-right)); }
  .rv__bar-c { gap: 4px; }
  .rv__pill[data-rv="prev"] { padding: 0 8px 0 4px; font-size: 13px; }
  .rv__pill[data-rv="next"] { padding: 0 4px 0 8px; font-size: 13px; }
  .rv__count { padding: 0 9px; font-size: 12px; }
  .rv__ico[data-rv="close"] { padding: 0 10px 0 8px; }
  .rv__pill[data-rv="index"] { padding: 0 10px 0 8px; }
  .rv__cart { padding-right: 10px; }
}
/* Celular acostado muy bajo (iPhone SE): el índice deja el encabezado para que entren todas las pizzas */
@media (max-height: 340px) and (orientation: landscape) {
  .rv-page--index .rv-page__head { display: none; }
  .rv-page--index .rv-idx-tip { margin-top: 0; }
  .rv-idx__go { min-width: 44px; }
}
/* Celular acostado: la página se puede desplazar si no entra */
@media (max-height: 500px) and (orientation: landscape) {
  .rv-page { overflow-y: auto; }
  /* bebidas: filas de alto natural (la hoja se desplaza) en vez de achicar las fotos a nada */
  .rv-page--bebidas .rv-beb__grid { flex: none; grid-template-rows: none; }
  .rv-page--bebidas .rv-beb__pic { flex: none; height: 120px; }
}
/* Redes: Instagram y TikTok, una página cada una (en doble página quedan enfrentadas) con el celular animado de la sección Redes.
   El celular se arma a 300 × 611 px como en Redes y el JS lo achica (--s) para que entre en la hoja */
.rv-soc__intro { padding-top: clamp(10px, 3.2cqh, 26px); }
.rv-soc__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 clamp(10px, 2.6cqw, 12px) "Barlow", var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rv-soc__kicker::after { content: ""; flex: 1; height: 1px; background: rgba(30, 23, 19, 0.18); }
.rv-soc__title { margin: clamp(6px, 1.6cqh, 12px) 0 0; }
.rv-soc__handle { margin: clamp(2px, .8cqh, 6px) 0 0; font: 700 clamp(17px, 5.4cqw, 26px) "Lobster Two", cursive; color: rgb(122, 44, 39); }
.rv-soc__stage { position: relative; flex: 1 1 auto; min-height: 0; margin: clamp(4px, 1.4cqh, 12px) 0; }
/* círculo de papel y anillo punteado que gira lento detrás del celular */
.rv-soc__stage::before, .rv-soc__stage::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
}
.rv-soc__stage::before { width: calc(480px * var(--s, .6)); height: calc(480px * var(--s, .6)); margin: calc(-240px * var(--s, .6)) 0 0 calc(-240px * var(--s, .6)); background: rgba(30, 23, 19, 0.05); }
.rv-soc__stage::after {
  width: calc(540px * var(--s, .6)); height: calc(540px * var(--s, .6));
  margin: calc(-270px * var(--s, .6)) 0 0 calc(-270px * var(--s, .6));
  border: 1.5px dashed rgba(122, 44, 39, 0.45);
  animation: rvSocSpin 60s linear infinite;
}
@keyframes rvSocSpin { to { transform: rotate(360deg); } }
.rv-soc__phone {
  position: absolute;
  z-index: 1;
  top: 50%; left: 50%;
  width: 300px;
  margin: -305.5px 0 0 -150px;
  transform: scale(var(--s, .6));
}
.rv-soc__phone .phone { width: 300px; box-shadow: 0 0 0 2px #3a3a3e, 0 34px 60px rgba(40, 22, 10, .38); -webkit-user-drag: none; }
.rv-soc__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-top: clamp(8px, 2cqh, 14px);
  border-top: 1px solid rgba(30, 23, 19, 0.14);
}
.rv-soc__stats { display: flex; gap: clamp(14px, 4cqw, 24px); margin: 0; padding: 0; list-style: none; font-size: clamp(10px, 2.6cqw, 12px); line-height: 1.2; color: var(--ink-soft); }
.rv-soc__stats b { display: block; font: 800 clamp(16px, 4.8cqw, 22px) var(--display); color: var(--ink); }
.rv-soc__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: clamp(42px, 6.4cqh, 50px);
  margin-left: auto;
  padding: 0 clamp(16px, 4.4cqw, 22px);
  border-radius: 999px;
  background: var(--ink);
  color: rgb(214, 191, 167);
  font: 700 clamp(13px, 3.5cqw, 15px) "Barlow", var(--sans);
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  -webkit-user-drag: none;
  transition: transform .2s, background-color .2s;
}
.rv-soc__cta svg { flex-shrink: 0; width: 18px; height: 18px; }
.rv-soc__cta .rv-soc__arrow { width: 14px; height: 14px; transition: transform .2s; }
.rv-soc__cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .rv-soc__cta:hover { background: rgb(52, 42, 35); }
  .rv-soc__cta:hover .rv-soc__arrow { transform: translate(2px, -2px); }
}
/* En celulares el botón queda en su propio renglón: ocupa todo el ancho */
@media (max-width: 480px) { .rv-soc__cta { flex: 1 1 100%; } }

/* Celular de Instagram: el ciclo dura 12 s (Seguir, intro con mordiscos y notificación) */
.rv-page--ig .phone.is-playing .phone__status { animation: soc-status-ig 12s step-end both; }
@keyframes soc-status-ig { 0% { color: #000; } 16.7% { color: #fff; } 51.7%, 100% { color: #000; } }
/* Celular de TikTok: TikTok en pantalla desde el principio, y su animación un poco después que la de Instagram */
.rv-page--tt .phone__status { color: #fff; }
.rv-page--tt .tt { transform: none; }
.rv-page--tt .phone.is-playing .phone__status, .rv-page--tt .phone.is-playing .tt { animation: none; }
.rv-page--tt .phone.is-playing .tt-follow::after { animation-delay: 2.55s; }
.rv-page--tt .phone.is-playing .tt-follow, .rv-page--tt .phone.is-playing .tt-follow__a { animation-delay: 2.8s; }
.rv-page--tt .phone.is-playing .tt-follow__b { animation-delay: 2.85s; }
.rv-page--tt .phone.is-playing .tt-pop { animation-delay: 3s; }
.rv-page--tt .phone.is-playing .tt-slice { animation-delay: calc(3.1s + var(--i) * .07s); }
.rv-page--tt .phone.is-playing .tt-badge { animation-delay: 3.85s; }
.rv-page--tt .phone.is-playing .tt-pizza { animation-delay: 4.75s; }
.rv-page--tt .phone.is-playing .tt-notif { animation-delay: 5.5s; }
.rv-page--tt .rv-soc__phone.is-playing .yum { animation-delay: calc(var(--d) - 1.2s); }

/* Celular de Facebook: perfil de la página, Seguir → horno de leña a +400 °C → notificación → reacciones en vivo (12 s) */
.fb-bar { display: flex; align-items: center; gap: 10px; padding: 6px 12px 8px; }
.fb-bar strong { flex: 1; font-size: 14px; }
.fb-bar svg { width: 18px; height: 18px; }
.fb-cover { height: 98px; overflow: hidden; background: #ddd; }
.fb-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 45%; }
.fb-id { position: relative; margin-top: -44px; padding: 0 12px; text-align: center; }
.fb-avatar { display: block; width: 84px; height: 84px; margin: 0 auto; overflow: hidden; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2.5px #3b82f6; background: #000; }
.fb-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.fb-name { display: block; margin-top: 5px; font-size: 16px; font-weight: 700; }
.fb-count { margin: 2px 0 0; color: #65676b; font-size: 10.5px; }
.fb-count b { color: #050505; }
.fb-num { display: inline-block; height: 1.35em; overflow: hidden; line-height: 1.35em; vertical-align: bottom; }
.fb-num i { display: block; font-style: normal; }
.fb-num span { display: block; }
.fb-bio { margin: 5px 0 0; font-size: 11px; }
.fb-cat { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 0; font-size: 9.5px; font-weight: 700; }
.fb-cat svg { width: 10px; height: 10px; }
.fb-btns { display: flex; gap: 6px; padding: 9px 10px 0; font-size: 11.5px; font-weight: 700; }
.fb-btns > span { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; overflow: hidden; border-radius: 7px; }
.fb-btns svg { width: 13px; height: 13px; }
.fb-wa { background: #0866ff; color: #fff; }
.fb-follow { background: #e4e6eb; color: #050505; }
.fb-follow__a, .fb-follow__b { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.fb-follow__b { background: #ebf5ff; color: #0866ff; opacity: 0; }
.fb-follow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(8, 102, 255, .35); opacity: 0; }
.fb-tabs { display: flex; justify-content: space-around; margin-top: 8px; border-bottom: 1px solid #e4e6eb; color: #65676b; font-size: 11px; font-weight: 600; }
.fb-tabs span { padding: 7px 2px; }
.fb-tabs .is-on { color: #0866ff; box-shadow: inset 0 -2px #0866ff; }
.fb-det { padding: 8px 12px 0; }
.fb-det b { font-size: 12px; }
.fb-det p { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; font-size: 10.5px; font-weight: 600; line-height: 1.3; }
.fb-det svg { flex-shrink: 0; width: 14px; height: 14px; }
.fb-post { margin-top: 10px; padding: 8px 12px 0; border-top: 6px solid #e4e6eb; }
.fb-post__head { display: flex; align-items: center; gap: 7px; }
.fb-post__head small { display: block; color: #65676b; font-size: 9.5px; }
.fb-post__av { flex-shrink: 0; width: 26px; height: 26px; overflow: hidden; border-radius: 50%; }
.fb-post__av img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.fb-post p { margin: 6px 0 0; font-size: 10.5px; }
.fb-post > picture img { display: block; width: calc(100% + 24px); max-width: none; height: auto; margin: 6px -12px 0; }
.fb-notif__app { background: #0866ff; }

/* Reacciones en vivo */
.fb-live { position: absolute; z-index: 5; right: 12px; bottom: 26px; width: 40px; height: 300px; pointer-events: none; }
.fb-r { position: absolute; bottom: 0; left: 6px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 22px; line-height: 1; opacity: 0; }
.fb-r svg { width: 15px; height: 15px; }
.fb-r--like { background: linear-gradient(#18a0fb, #0866ff); box-shadow: 0 3px 8px rgba(8, 102, 255, .35); }
.fb-r--love { background: linear-gradient(#ff6680, #e61e4d); box-shadow: 0 3px 8px rgba(230, 30, 77, .35); }

/* Horno de leña */
.fb-oven {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 80% at 50% 42%, #2c1810 0%, #0d0705 75%);
  opacity: 0;
  pointer-events: none;
}
/* recortado abajo: la pala entra y sale por el borde, sin tapar la temperatura */
.fb-oven__svg { width: 96%; margin-top: 10px; overflow: hidden; }
.fb-oven__glow { opacity: .75; }
.fb-flame, .fb-oven__glow, .fb-ember, .fb-steam path { transform-box: fill-box; transform-origin: 50% 100%; }
.fb-ember { fill: #ffc266; opacity: 0; }
.fb-peel { transform-box: view-box; transform-origin: 0 0; transform: translate(0, 150px); }
.fb-pz--baked { opacity: 0; }
.fb-steam path { opacity: 0; }
.fb-temp { margin: 8px 0 0; color: #fff; font: 800 38px/1 var(--display); letter-spacing: -.01em; text-align: center; font-variant-numeric: tabular-nums; }
.fb-temp small { display: block; margin-top: 7px; color: #f3b36b; font: 700 10px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .26em; text-transform: uppercase; }
@property --fbt { syntax: "<integer>"; inherits: false; initial-value: 400; }
.fb-temp__n { --fbt: 400; counter-reset: fbt var(--fbt); }
.fb-temp__n::before { content: counter(fbt); }

.rv-page--fb .phone.is-playing .phone__status { animation: soc-status-ig 12s step-end both; }
/* --fbo: cuándo arranca Facebook (0 en la revista; en el celular de Redes, después de TikTok) */
.phone.is-playing .fb-cover img { animation: fb-kb 12s linear calc(var(--fbo, 0s)) both; }
.phone.is-playing .fb-follow::after { animation: tap .5s ease-out calc(var(--fbo, 0s) + 1.1s) both; }
.phone.is-playing .fb-follow__a { animation: fade-out .2s ease calc(var(--fbo, 0s) + 1.35s) both; }
.phone.is-playing .fb-follow__b { animation: fb-follow-in .35s cubic-bezier(.2, 1.4, .4, 1) calc(var(--fbo, 0s) + 1.35s) both; }
.phone.is-playing .fb-num i { animation: fb-roll .45s cubic-bezier(.3, 1.4, .5, 1) calc(var(--fbo, 0s) + 1.5s) both; }
.phone.is-playing .fb-oven { animation: fb-oven 4.3s ease calc(var(--fbo, 0s) + 1.95s) both; }
.phone.is-playing .fb-flame { animation: fb-flick .45s ease-in-out calc(var(--f) * -.15s) infinite alternate; }
.phone.is-playing .fb-oven__glow { animation: fb-glow 1.6s ease-in-out calc(var(--fbo, 0s) + 2.9s) both; }
.phone.is-playing .fb-ember { animation: fb-ember 1.5s ease-out calc(var(--fbo, 0s) + 2s + var(--e) * .21s) infinite; }
.phone.is-playing .fb-peel { animation: fb-peel 3.6s calc(var(--fbo, 0s) + 2.15s) both; }
.phone.is-playing .fb-pz--baked { animation: fade-in 1.1s ease calc(var(--fbo, 0s) + 3.1s) both; }
.phone.is-playing .fb-temp__n { animation: fb-temp 1.9s cubic-bezier(.2, .7, .3, 1) calc(var(--fbo, 0s) + 2.3s) both; }
.phone.is-playing .fb-steam path { animation: fb-steam 1.5s ease-out calc(var(--fbo, 0s) + 4.85s + var(--w) * .18s) both; }
.phone.is-playing .fb-r { animation: fb-float 2.4s cubic-bezier(.25, .6, .35, 1) calc(var(--fbo, 0s) + 6.8s + var(--r) * .2s) both; }
.phone.is-playing .fb-notif { animation-delay: calc(var(--fbo, 0s) + 6.5s); }

/* Celular de Redes: tercera pantalla, Facebook entra deslizando cuando termina TikTok */
.fbs {
  --fbo: 21.3s;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 4;
  overflow: hidden;
  padding-top: 36px;
  background: rgb(29, 23, 19);
  color: #000;
  transform: translateX(100%);
}
.phone.is-playing .fbs { animation: tt-in .7s cubic-bezier(.7, 0, .2, 1) 20.6s both; }
/* emojis de afuera: una tercera tanda con reacciones, junto con la notificación de Facebook */
.phone-wrap.is-playing .yum--fbw { animation-delay: calc(var(--d) + 21.3s); }

@keyframes fb-kb { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes fb-follow-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes fb-roll { to { transform: translateY(-50%); } }
@keyframes fb-oven { 0% { opacity: 0; } 7%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fb-flick { from { transform: scale(.88, .8) skewX(-3deg); opacity: .8; } to { transform: scale(1.06, 1.12) skewX(3deg); opacity: 1; } }
@keyframes fb-glow { 0% { opacity: .75; transform: scale(1); } 45% { opacity: 1; transform: scale(1.12); } 100% { opacity: .85; transform: scale(1.04); } }
@keyframes fb-ember { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -46px); } }
/* la pala entra la pizza al horno, se hornea adentro y sale dorada para adelante */
@keyframes fb-peel {
  0% { transform: translate(0, 150px) scale(1.05); animation-timing-function: cubic-bezier(.25, .8, .3, 1); }
  20% { transform: translate(0, 18px) scale(.64); }
  58% { transform: translate(0, 18px) scale(.64); animation-timing-function: cubic-bezier(.5, 0, .2, 1); }
  80%, 100% { transform: translate(0, 40px) scale(1.15); }
}
@keyframes fb-temp { from { --fbt: 0; } to { --fbt: 400; } }
@keyframes fb-steam { 0% { opacity: 0; transform: translateY(6px) scaleY(.7); } 35% { opacity: .85; } 100% { opacity: 0; transform: translateY(-20px) scaleY(1.1); } }
@keyframes fb-float {
  0% { opacity: 0; transform: translate(0, 0) scale(.3); }
  12% { opacity: 1; transform: translate(calc(var(--x) * .3), -30px) scale(1.1); }
  35% { transform: translate(calc(var(--x) * -.4), -95px) scale(1); }
  65% { transform: translate(var(--x), -170px) scale(.95); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--x) * -.5), -260px) scale(.85); }
}

/* Celular acostado (poca altura): texto a la izquierda y el celular a la derecha */
@media (max-height: 500px) and (orientation: landscape) {
  .rv-page--soc { display: grid; grid-template-columns: 1fr 40%; grid-template-rows: auto auto 1fr auto auto; column-gap: 24px; }
  .rv-page--soc .rv-page__head { grid-column: 1 / -1; }
  .rv-soc__intro { grid-column: 1; grid-row: 2; }
  .rv-soc__title { font-size: clamp(20px, 10cqh, 32px); }
  .rv-soc__stage { grid-column: 2; grid-row: 2 / 6; margin: 6px 0 0; }
  .rv-soc__meta { grid-column: 1; grid-row: 4; }
  .rv-page--soc .rv-page__foot { grid-column: 1; grid-row: 5; }
}
.lite .rv-soc__phone .phone { box-shadow: 0 0 0 2px #3a3a3e, 0 12px 24px rgba(40, 22, 10, .3); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv.is-open .rv-view, .rv-back__cta, .rv-idx-tip__ico svg, .rv-cb__plate.is-ready { transition: none; animation: none; }
  .rv-swipe__hand, .rv-swipe__trail { animation: none; }
  .rv-swipe__trail { transform: none; }
  .rv-swipe__hand { transform: translateX(-60%); }
  .rv-soc__stage::after { animation: none; }
}
/* Gama baja: revista sin sombras grandes, textura ni animaciones de entrada (las pizzas sí giran en todos los equipos:
   es solo rotar una capa, no cuesta nada) */
.lite .rv-page { box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.lite .rv-page::before { display: none; }
.lite .rv-pz__board { box-shadow: 0 8px 16px rgba(37, 29, 24, 0.3); }
.lite .rv-cover__pizza .rv-roll { box-shadow: none; }
.lite .rv.is-open .rv-view { animation: none; }
.lite .rv__cart { box-shadow: none; }
/* Con la revista abierta y tapando todo, la página de atrás no se dibuja */
html.rv-covered main, html.rv-covered .footer, html.rv-covered .header { visibility: hidden; }

/* Botón del hero (en la primera foto, "Ver carta revista" abre la revista) */
.hero__ctas { display: flex; align-items: center; justify-content: center; margin-top: clamp(1.5rem, 3vw, 2.25rem); pointer-events: none; }
.hero__ctas .hero__cta { margin-top: 0; white-space: nowrap; }
/* "Acá se pide": flechitas a los costados del botón que apuntan hacia él y abajo "Pedí tu pizza acá".
   Solo cuando el botón abre la carta (Ver carta revista) */
.hero__ctas { position: relative; flex-wrap: wrap; gap: 0 clamp(8px, 1.6vw, 16px); }
.hero__point { display: inline-flex; align-items: center; gap: 1px; opacity: 0; transition: opacity .35s ease; }
.hero__point i { display: block; width: clamp(9px, 1.1vw, 12px); height: clamp(9px, 1.1vw, 12px); border-top: 3px solid #fff6e8; border-right: 3px solid #fff6e8; border-radius: 2px; transform: rotate(45deg); filter: drop-shadow(0 0 6px rgba(253, 91, 64, .9)); opacity: .15; }
.hero__point--r { flex-direction: row-reverse; }
.hero__point--r i { transform: rotate(-135deg); }
.hero__hint { display: inline-flex; align-items: center; gap: 6px; flex-basis: 100%; justify-content: center; margin-top: 12px; color: #fff6e8; font-weight: 700; font-size: clamp(.82rem, 1.6vw, .95rem); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-4px); transition: opacity .35s ease, transform .35s ease; }
.hero__hint svg { width: 18px; height: 18px; flex-shrink: 0; color: rgb(253, 122, 94); filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .5)); }
.hero__ctas.is-rv .hero__point { opacity: 1; }
.hero__ctas.is-rv .hero__hint { opacity: 1; transform: none; }
/* las tres flechitas se encienden en cascada hacia el botón, sin parar */
.hero__ctas.is-rv .hero__point i { animation: heroPoint 1.3s ease-in-out infinite; }
.hero__ctas.is-rv .hero__point i:nth-child(2) { animation-delay: .18s; }
.hero__ctas.is-rv .hero__point i:nth-child(3) { animation-delay: .36s; }
.hero__ctas.is-rv .hero__hint svg { animation: heroHint 1.3s ease-in-out infinite; }
@keyframes heroPoint { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
@keyframes heroHint { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-8deg); } }
/* celular: no entran las flechas a los costados; el ícono de abajo rebota hacia el botón */
@media (max-width: 600px) {
  .hero__point { display: none; }
  .hero__hint { margin-top: 10px; }
  .hero__ctas.is-rv .hero__hint svg { animation: heroHintUp 1.1s ease-in-out infinite; }
}
@keyframes heroHintUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (orientation: landscape) and (max-height: 500px) { .hero__hint { margin-top: 6px; } }
@media (prefers-reduced-motion: reduce) {
  .hero__ctas.is-rv .hero__point i { animation: none; opacity: .8; }
  .hero__ctas.is-rv .hero__hint svg { animation: none; }
}
@media (max-width: 1099px) { .hero__ctas { margin-top: .9rem; } }

/* Revista: tamaños que dependen del alto y del ancho de la página, así todo entra en cualquier pantalla */
.rv-title { font-size: clamp(22px, min(11cqw, 7cqh), 58px); }
.rv-page--index .rv-title { margin: clamp(6px, 1.6cqh, 16px) 0 clamp(6px, 1.4cqh, 12px); font-size: clamp(20px, min(9cqw, 5.4cqh), 46px); }
/* páginas muy bajas (iPhone SE): sin el título grande, así las filas y los "Ver" quedan cómodos (arriba ya dice "Índice") */
/* hasta 800px de alto el título también se va: con todas las pizzas la lista entra sin desplazar y el número queda abajo, alineado con la otra hoja */
@container (max-height: 800px) { .rv-page--index .rv-title { display: none; } .rv-page--index .rv-idx-tip { margin-top: 8px; } }
.rv-extras li { padding: clamp(3px, .95cqh, 10px) 0; }
@container (max-height: 1150px) { .rv-how { display: none; } }
.rv-pz__name { font-size: clamp(20px, min(9cqw, 5.6cqh), 46px); }
.rv-pz__desc { font-size: clamp(12px, min(3.8cqw, 2.3cqh), 17px); }
/* páginas de pizza: los ingredientes más grandes y marcados, para leerlos de un vistazo */
/* la foto ocupa todo el alto que sobra (centrada en él) y el nombre, los ingredientes y el "Agregar" van juntos abajo:
   así no queda un hueco vacío entre el texto y el botón en ninguna pantalla */
.rv-page--pizza .rv-pz { flex: 1 1 auto; padding: clamp(10px, 2.4cqh, 22px) 0 clamp(14px, 3cqh, 28px); }
.rv-page--pizza .rv-pz__board { flex-shrink: 0; width: min(78cqw, 45cqh); }
/* los ingredientes reservan 3 renglones: así la foto y el nombre quedan a la misma altura en las dos hojas aunque una descripción sea más corta */
.rv-page--pizza .rv-pz__desc { min-height: 4.35em; }
.rv-page--pizza .rv-pz__buy { margin-top: 0; padding-top: clamp(14px, 2.8cqh, 26px); }
.rv-page--pizza .rv-page__foot { margin-top: 0; }
/* 2026-11-20: foto, nombre, ingredientes y botón van juntos y centrados en el alto de la hoja (el espacio que sobra se reparte
   arriba y abajo por igual), así nada queda caído abajo ni pegado arriba en ningún celular, tablet ni compu */
.rv-page--pizza .rv-pz { flex: 0 1 auto; margin-top: auto; }
.rv-page--pizza .rv-pz__buy { margin-bottom: auto; }
.rv-page--pizza .rv-pz__board { width: min(86cqw, 47cqh); }
/* sin ingredientes (hamburguesa, lomito, sándwich…) no se reserva el espacio vacío entre el nombre y el botón */
.rv-page--pizza .rv-pz__desc:empty { display: none; }
.rv-page--pizza .rv-pz__desc { max-width: 40ch; font-size: clamp(15px, min(5.2cqw, 2.8cqh), 22px); font-weight: 500; line-height: 1.45; }
.rv-promo__pair .rv-pz__board { width: min(34cqw, 17cqh); }
.rv-promo__pair { margin-bottom: clamp(8px, 1.6cqh, 16px); }
.rv-promo .rv-pz__name { font-size: clamp(18px, min(7.5cqw, 4.4cqh), 38px); }
.rv-promo .rv-pz__desc { margin-top: 2px; }
.rv-promo .rv-pz__buy { margin-top: clamp(8px, 1.6cqh, 14px); }
.rv-promo .rv-add { min-height: clamp(40px, 6cqh, 50px); }
.rv-extras { margin-top: clamp(8px, 2cqh, 20px); padding: clamp(8px, 1.8cqh, 16px) clamp(10px, 3cqw, 16px); }
.rv-extras li { font-size: clamp(12px, min(3.6cqw, 2.2cqh), 16px); }
@container (max-height: 700px) { .rv-extras p { display: none; } }
.rv-back__title { font-size: clamp(34px, min(17cqw, 11cqh), 92px); }
.rv-back__logo { width: clamp(60px, min(24cqw, 12cqh), 120px); margin-bottom: clamp(10px, 3cqh, 30px); }
.rv-cover__title { font-size: clamp(44px, min(25cqw, 15cqh), 132px); }
/* la pizza de la tapa se achica en páginas bajas y la frase siempre se lee sobre ella */
.rv-cover__pizza { width: min(96cqw, 58cqh); }
.rv-cover__sub { letter-spacing: .2em; text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 2px 14px rgba(0, 0, 0, .8); }
.rv-cover__top span { text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }

/* Celular acostado: páginas horizontales (foto a un lado, datos al otro) */
@media (max-height: 500px) and (orientation: landscape) {
  .rv { --bar: 62px; }
  .rv-view { padding-top: 8px; }
  .rv-page { width: min(calc(100vw - 20px), calc(var(--ph) * 2.2)); padding: 12px 22px 10px; }
  .rv__pill, .rv__ico, .rv__count { height: 40px; }
  .rv__cart { height: 44px; }
  /* pizza */
  .rv-page--pizza { display: grid; grid-template-columns: 44% 1fr; grid-template-rows: auto 1fr auto auto auto 1fr; column-gap: 24px; }
  .rv-page--pizza .rv-page__head { grid-column: 1 / -1; }
  .rv-page--pizza .rv-pz { grid-column: 1; grid-row: 2 / 7; margin: 0; padding: 8px 0 0; }
  .rv-page--pizza .rv-pz__board { width: min(38cqw, 72cqh); }
  /* nombre, ingredientes y botón centrados en el alto, al lado de la foto (el número de página abajo) */
  .rv-page--pizza .rv-pz__name { grid-column: 2; grid-row: 3; align-self: end; font-size: clamp(20px, 9cqh, 34px); }
  .rv-page--pizza .rv-pz__desc { grid-column: 2; grid-row: 4; font-size: clamp(13.5px, 5.2cqh, 17px); min-height: 0; }
  .rv-page--pizza .rv-pz__buy { grid-column: 2; grid-row: 5; margin: 10px 0 0; padding-top: 0; }
  .rv-page--pizza .rv-add { min-height: 40px; }
  .rv-page--pizza .rv-page__foot { grid-column: 2; grid-row: 6; align-self: end; }
  .rv-page--combo { display: grid; grid-template-columns: 46% 1fr; grid-template-rows: auto 1fr auto auto; column-gap: 20px; }
  .rv-page--combo .rv-page__head { grid-column: 1 / -1; }
  .rv-page--combo .rv-cb__top { grid-column: 1; grid-row: 2; align-self: center; margin-top: 4px; }
  .rv-page--combo .rv-cb__plate { --pl: min(19cqw, 46cqh); }
  .rv-page--combo .rv-pz__name { font-size: clamp(18px, 8cqh, 28px); }
  .rv-page--combo .rv-cb__status { font-size: 13px; }
  .rv-page--combo .rv-cb__buy { grid-column: 1; grid-row: 3; }
  .rv-page--combo .rv-add { min-height: 40px; }
  .rv-page--combo .rv-cb__list { grid-column: 2; grid-row: 2 / 5; margin-top: 6px; }
  .rv-page--combo .rv-cb__row { min-height: 40px; }
  .rv-page--combo .rv-cb__btn { height: 32px; min-width: 88px; font-size: 14px; }
  .rv-page--combo .rv-page__foot { grid-column: 1; grid-row: 4; }
  /* índice en dos columnas */
  /* acostado no entra todo: el título se va (arriba ya dice "Índice") y queda el aviso de tocar */
  .rv-page--index .rv-title { display: none; }
  .rv-page--index .rv-idx-tip { margin-top: 8px; }
  .rv-idx { display: block; flex: none; columns: 2; column-gap: 10px; }
  .rv-idx li { display: block; max-height: none; margin-bottom: 3px; break-inside: avoid; }
  .rv-idx .rv-idx__row { height: auto; padding-top: 2px; padding-bottom: 2px; }
  .rv-idx .rv-idx__name { font-size: clamp(11px, 4.4cqh, 14px); }
  .rv-idx .rv-idx__price { font-size: clamp(10px, 4cqh, 13px); }
  .rv-idx .rv-idx__thumb { width: clamp(18px, 7cqh, 26px); height: auto; }
  .rv-idx__go { height: clamp(18px, 6.4cqh, 24px); font-size: 11px; }
  .rv-idx-tip { margin-bottom: 6px; padding-top: 4px; padding-bottom: 4px; font-size: 12px; }
  .rv-idx-tip__ico { width: 24px; }
  /* promos: promo a la izquierda, extras a la derecha */
  .rv-page--promo { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 24px; }
  .rv-page--promo .rv-page__head, .rv-page--promo .rv-page__foot { grid-column: 1 / -1; }
  .rv-page--promo .rv-title { grid-column: 1; margin: 8px 0 4px; font-size: clamp(18px, 9cqh, 30px); }
  .rv-page--promo .rv-title br { display: none; }
  .rv-promo { grid-column: 1; grid-row: 3; }
  .rv-promo__pair { display: none; }
  .rv-promo .rv-pz__name { font-size: clamp(16px, 7cqh, 24px); }
  .rv-extras { grid-column: 2; grid-row: 2 / 4; align-self: start; margin-top: 8px; }
  /* tapa: texto a la izquierda, pizza a la derecha */
  .rv-cover__pizza { top: 6%; right: -6%; width: 50cqw; }
  .rv-cover__sticker { top: auto; bottom: 10%; right: 5%; width: clamp(88px, 32cqh, 112px); font-size: clamp(15px, 6cqh, 22px); }
  .rv-cover__title { font-size: clamp(38px, 22cqh, 70px); max-width: 55%; }
  .rv-cover__sub, .rv-cover__text { max-width: 52%; }
  .rv-cover__text { display: none; }
  .rv-cover__foot { flex-direction: row; flex-wrap: wrap; align-items: center; max-width: 60%; margin-top: 8px; padding-top: 8px; }
  .rv-cover__top img { width: 56px; }
  .rv-cover__hint { flex-direction: row; align-items: center; gap: 10px; max-width: 55%; margin-top: 4px; }
  .rv-swipe { width: 76px; height: 38px; }
  .rv-swipe__hand { width: 28px; top: 8%; }
  .rv-cover__hint-txt b { font-size: 14px; }
  .rv-cover__hint-txt small { display: none; }
  /* contratapa */
  .rv-back__logo { display: none; }
  .rv-back__title br { display: none; }
  .rv-back__title { font-size: clamp(28px, 16cqh, 52px); }
  .rv-back__text { margin-top: 8px; }
  .rv-back__cta { margin-top: 12px; padding: 11px 22px; }
  .rv-back__link { margin-top: 4px; }
  .rv-back__info { display: none; }
  .rv-back__soc { margin-top: 10px; padding-top: 8px; }
  .rv-back__soc-title { margin-bottom: 6px; }
  .rv-back__soc-btn { min-height: 34px; }
}

/* =========================================================
   PALETA TOSTADO MASA MADRE: la pared real del local de fondo
   (secciones de la página con media/pared-tile en mosaico; hojas de la revista con media/revista-pared-1 y -2)
   ========================================================= */
.social {
  --bg: rgb(216, 194, 172);
  --bg-alt: rgb(206, 180, 153);
  --ink: rgb(29, 23, 19);
  --ink-soft: rgb(103, 86, 75);
  --red: rgb(217, 56, 41);
  --wa: #25d366;
  --white: rgb(214, 191, 167);
  --line: rgba(29, 23, 19, 0.12);
  --panel: rgba(29, 23, 19, 0.92);
  --header-h: 88px;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1240px;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.step {
  --bg: rgb(216, 194, 172);
  --bg-alt: rgb(206, 180, 153);
  --ink: rgb(29, 23, 19);
  --ink-soft: rgb(103, 86, 75);
  --red: rgb(217, 56, 41);
  --wa: #25d366;
  --white: rgb(214, 191, 167);
  --line: rgba(29, 23, 19, 0.12);
  --panel: rgba(29, 23, 19, 0.92);
  --header-h: 88px;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1240px;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
html { background-color: #D6BFA7; }
/* Carrito y mapa de entrega abiertos: la barra de abajo del celular (flechitas de Android) toma este color, así queda blanca como la ventana */
html:has(.cart-picker.is-open) { background-color: #fff; }
@media (max-width: 599px) { html:has(.cart.is-open) { background-color: #fff; } }
.section--dark, .order.section, .menu-banner, .menu, .gal, .footer, .social, .loc-card { background-color: #D6BFA7; background-image: url(media/pared-tile.jpg); background-image: image-set(url(media/pared-tile.webp) type('image/webp'), url(media/pared-tile.jpg) type('image/jpeg')); background-size: clamp(700px, 75vw, 1400px) auto; background-repeat: repeat; }
.fluid::before { background: none; }
/* cada sección sigue la pared de la de arriba (--tex-y lo calcula index.html), así no se ve un corte donde se juntan */
.section--dark, .order.section, .menu-banner, .menu, .gal, .footer, .social, .loc-card { background-position: 0 var(--tex-y, 0px); }
/* pared clara: el botón "Pedir" va como el "Agregar" de la revista y las descripciones un poco más fuertes */
.pizza-card__btn, .pizza-card__btn:hover { background: linear-gradient(180deg, rgba(29, 23, 19, 0.86) 0%, #1D1713 100%) padding-box, var(--btn-edge) border-box; color: #D6BFA7; }
.pizza-card__btn svg, .pizza-card__btn:hover svg { color: #D93829; }
.pizza-card__desc { color: rgba(29, 23, 19, 0.78); }
.rv-page:not(.rv-page--cover):not(.rv-page--back) { background-color: #D6BFA7; background-image: url(media/revista-pared-1.jpg); background-image: image-set(url(media/revista-pared-1.webp) type('image/webp'), url(media/revista-pared-1.jpg) type('image/jpeg')); background-size: cover; background-position: center; background-repeat: no-repeat; }
.rv-view > .rv-page:not(.rv-page--cover):not(.rv-page--back):nth-child(2) { background-image: url(media/revista-pared-2.jpg); background-image: image-set(url(media/revista-pared-2.webp) type('image/webp'), url(media/revista-pared-2.jpg) type('image/jpeg')); }
/* la pared tiene manchas oscuras: los textos chicos de las hojas van un poco más fuertes */
.rv-page:not(.rv-page--cover):not(.rv-page--back) :is(.rv-pz__desc, .rv-idx__price, .rv-soc__stats li, .rv-soc__kicker) { color: rgba(29, 23, 19, .8); }
.rv-page.rv-page--pizza:not(.rv-page--cover):not(.rv-page--back) .rv-pz__desc { color: rgb(38, 29, 23); text-shadow: 0 1px 0 rgba(255, 245, 230, 0.35); }

/* =========================================================
   GALERÍA: polaroids sobre la pared. Sin JS es una grilla común; con JS (.gal--live) la sección queda fija
   mientras se baja: las fotos arrancan apiladas debajo del título y se reparten en la grilla con el scroll
   ========================================================= */
.gal { position: relative; color: rgb(29, 23, 19); }
.gal__stage { position: relative; padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(64px, 8vw, 110px); }
.gal__head { display: block; max-width: 640px; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; line-height: 1.1; }
.gal__script { display: block; font-family: "Lobster Two", Georgia, serif; font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); color: rgb(175, 52, 43); }
.gal__caps { display: block; margin-top: .1em; font-family: "Barlow", var(--sans); font-weight: 600; font-size: clamp(1.9rem, 1.1rem + 3vw, 3.6rem); letter-spacing: .05em; text-transform: uppercase; }
.gal__sub { display: block; margin: 14px auto 0; max-width: 38ch; font-family: var(--sans); font-weight: 400; font-size: clamp(.95rem, .9rem + .25vw, 1.08rem); line-height: 1.55; letter-spacing: 0; text-transform: none; color: rgba(29, 23, 19, 0.7); }
.gal__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
  width: min(1180px, 100%);
  margin: 0 auto;
}
/* la polaroid: papel cálido, foto cuadrada y el epígrafe escrito abajo */
.gal__card {
  position: relative;
  margin: 0;
  padding: 6.5% 6.5% 0;
  border-radius: var(--frame-r);
  background: linear-gradient(180deg, rgb(253, 251, 246) 0%, rgb(244, 238, 227) 100%);
  box-shadow: 0 1px 1px rgba(60, 35, 20, 0.12), 0 14px 30px -10px rgba(60, 35, 20, 0.45), 0 30px 60px -30px rgba(60, 35, 20, 0.5);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.gal__photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--frame-r-in); isolation: isolate; background: rgb(42, 34, 28); }
.gal__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* viñeta suave y borde fino, como la foto revelada */
.gal__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 40px rgba(30, 15, 5, 0.28); pointer-events: none; }
.gal__card figcaption {
  padding: 7% 4% 9%;
  overflow: hidden;
  font-family: "Lobster Two", Georgia, serif;
  font-weight: 700;
  font-size: clamp(.95rem, .6rem + .9vw, 1.4rem);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgb(52, 38, 30);
}
.gal__card:nth-child(3n+2) figcaption { color: rgb(160, 46, 38); }

/* Con el script andando: escenario fijo del alto de la pantalla, título arriba y la grilla debajo del encabezado */
.gal--live .gal__stage { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden; }
.gal--live .gal__head { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + clamp(24px, 6vh, 72px)); z-index: 2; margin: 0 auto; padding: 0 var(--gutter); will-change: transform, opacity; }
.gal--live .gal__grid { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + clamp(16px, 3vh, 32px)); width: min(1180px, 100% - 2 * var(--gutter)); will-change: transform; }
.gal--live .gal__card { will-change: transform; }

@media (max-width: 1024px) {
  .gal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .gal__card { padding: 6% 6% 0; }
  .gal__card figcaption { font-size: clamp(.82rem, 3.6vw, 1rem); }
}
html.gal-sticky, html.gal-sticky body { overflow-x: clip; }

.gal__head h2 { line-height: inherit; }
/* Paginación de la galería (solo con más de 8 fotos): arriba y abajo de la grilla */
.gal__card[hidden] { display: none; }
.gal__pager { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gal__pg {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(175, 52, 43, .45); background: rgba(253, 248, 240, .88); color: rgb(160, 46, 38);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; box-shadow: 0 6px 16px -10px rgba(60, 35, 20, .5);
}
.gal__pg svg { width: 18px; height: 18px; }
.gal__pg--next svg { transform: scaleX(-1); }
.gal__pg[aria-current="page"] { background: rgb(175, 52, 43); border-color: rgb(175, 52, 43); color: rgb(253, 248, 240); }
.gal__pg:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .gal__pg:not(:disabled):not([aria-current]):hover { background: rgba(175, 52, 43, .12); } }

/* =========================================================
   FOTOS DE LOS CLIENTES: debajo de la galería, sobre la misma pared. Las aprobadas en una tira que se desliza y
   la tarjeta para subir (solo desde la mesa). La ventana para subir usa la del pop-up (.np-pop) con lo suyo (.gf-)
   ========================================================= */
.gfan { width: min(820px, 100vw - 2 * var(--gutter)); margin: clamp(14px, 2.4vh, 26px) 0 0 50%; transform: translateX(-50%); color: rgb(29, 23, 19); text-align: left; line-height: 1.5; }
.gfan[hidden] { display: none; }
/* Galería sin fotos aprobadas todavía: una sola polaroid que invita a subir */
.gal__vacia { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 12%; background: rgb(244, 236, 224); color: rgb(175, 52, 43); font-family: "Lobster Two", Georgia, serif; font-weight: 700; font-size: clamp(1rem, .8rem + .8vw, 1.4rem); text-align: center; }
.gal__vacia svg { width: 42%; height: auto; }
.gal__card--vacia .gal__photo::after { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
/* tarjeta para subir */
.gfan__card {
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); max-width: 860px; margin: 0 auto; padding: clamp(18px, 3vw, 30px);
  border-radius: var(--frame-r); background: rgba(253, 248, 240, .82); box-shadow: 0 14px 34px -14px rgba(60, 35, 20, .45); border: 1.5px dashed rgba(175, 52, 43, .45);
}
.gfan__ico { flex-shrink: 0; display: grid; place-items: center; width: clamp(52px, 7vw, 68px); height: clamp(52px, 7vw, 68px); border-radius: 50%; background: rgb(175, 52, 43); color: rgb(253, 248, 240); }
.gfan__ico svg { width: 55%; height: 55%; }
.gfan__txt { flex: 1; min-width: 0; }
.gfan__title { font-family: "Barlow", var(--sans); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; }
.gfan__sub { margin-top: 6px; font-size: clamp(.9rem, .86rem + .2vw, 1rem); line-height: 1.5; color: rgba(29, 23, 19, .75); }
.gfan__btn {
  flex-shrink: 0; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%); color: rgb(245, 230, 214); box-shadow: 0 8px 22px rgba(157, 57, 51, .3);
  font: inherit; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .gfan__btn:hover { filter: brightness(1.08); } }
/* compacta en el celular y en pantallas bajas: así la pila de polaroids sigue teniendo lugar abajo */
@media (max-width: 700px) {
  .gfan__card { flex-wrap: wrap; gap: 10px 12px; padding: 14px; }
  .gfan__ico { width: 42px; height: 42px; align-self: flex-start; }
  .gfan__title { font-size: clamp(.95rem, .85rem + .5vw, 1.1rem); }
  .gfan__sub { margin-top: 3px; font-size: .84rem; line-height: 1.4; }
  .gfan__btn { width: 100%; min-height: 46px; }
}
@media (max-height: 640px) {
  .gfan__card { padding: 10px 14px; gap: 12px; }
  .gfan__ico { width: 40px; height: 40px; }
  .gfan__sub { display: none; }
  .gfan__btn { min-height: 44px; }
}

/* ventana para subir la foto */
.gf-pop__card { width: min(480px, 100%); }
.gf-pop .np-pop__title { padding-right: 40px; }
.gf-warn { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(175, 52, 43, .12); color: rgb(120, 34, 28); line-height: 1.45; font-size: .95rem; }
.gf-rules { margin-top: 14px; padding: 4px 16px 12px; border-radius: 16px; background: rgba(253, 248, 240, .6); font-size: .9rem; line-height: 1.45; }
.gf-rules__h { margin-top: 12px; font-weight: 700; color: rgb(29, 23, 19); }
.gf-rules__h--no { color: rgb(160, 46, 38); }
.gf-rules ul { margin: 4px 0 0; padding-left: 1.2em; color: rgba(29, 23, 19, .82); }
.gf-rules li + li { margin-top: 2px; }
.gf-form { margin-top: 16px; }
.gf-pick { position: relative; display: block; cursor: pointer; }
.gf-pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.gf-pick__ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 130px; padding: 14px;
  border: 2px dashed rgba(175, 52, 43, .5); border-radius: 16px; background: rgba(253, 248, 240, .55);
  font-weight: 700; color: rgb(160, 46, 38); text-align: center;
}
.gf-pick__ph img { display: block; max-width: 100%; max-height: 220px; border-radius: 10px; object-fit: contain; }
.gf-pick__chg { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.gf-pick input:focus-visible + .gf-pick__ph { outline: 3px solid rgb(175, 52, 43); outline-offset: 2px; }
.gf-f { display: block; margin-top: 12px; }
.gf-f span { display: block; margin-bottom: 4px; font-weight: 700; font-size: .9rem; }
.gf-f small { font-weight: 400; color: rgba(29, 23, 19, .6); }
.gf-f input {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid rgba(29, 23, 19, .25); border-radius: 12px; background: rgb(253, 248, 240);
  font: inherit; font-size: 16px; color: rgb(29, 23, 19);
}
.gf-f input:focus { outline: none; border-color: rgb(175, 52, 43); box-shadow: 0 0 0 3px rgba(175, 52, 43, .18); }
.gf-ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .9rem; line-height: 1.4; cursor: pointer; }
.gf-ok input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: rgb(175, 52, 43); }
.gf-err { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgb(175, 52, 43); color: rgb(253, 248, 240); font-weight: 600; font-size: .9rem; line-height: 1.4; }
.gf-err[hidden] { display: none; }
.gf-pop [data-gf-send]:disabled { opacity: .7; cursor: default; }

/* =========================================================
   PANEL CONECTADO: promos del local, pedido registrado y pop-ups
   ========================================================= */
/* Promo del local (solo texto: se anuncia en la carta) */
.promo--info { position: relative; background: rgb(29, 23, 19); color: rgb(214, 191, 167); border-color: transparent; }
.promo--info p { color: rgba(214, 191, 167, 0.75); }
.promo__badge {
  display: inline-block;
  margin-bottom: .8rem;
  padding: .3em .75em;
  border-radius: 999px;
  background: rgb(217, 56, 41);
  color: rgb(245, 230, 214);
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
}
.promo__where { margin-top: 1rem; color: rgba(214, 191, 167, 0.55); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* Botón de pedir mientras se registra el pedido */
.cart__checkout.is-loading { opacity: .7; pointer-events: none; }
.cart__checkout.is-loading svg { animation: npPulse .9s ease-in-out infinite alternate; }
@keyframes npPulse { to { transform: scale(.82); opacity: .6; } }
.cart__hint.is-error { padding: 9px 12px; border: 1px solid rgba(200, 30, 20, 0.28); border-radius: 10px; background: rgba(255, 255, 255, 0.72); color: rgb(176, 22, 14); font-size: .92rem; font-weight: 700; line-height: 1.45; }

/* Pedido recién registrado */
.cart-done { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 40px 10px; text-align: center; }
.cart-done[hidden] { display: none; }
/* con el seguimiento del pedido arriba: el botón va pegado debajo, sin el hueco blanco */
.mesa-track:not([hidden]) ~ .cart-done { flex: 999 0 auto; min-height: 0; justify-content: flex-start; padding: 2px 10px 24px; }
.cart-done__ico { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50%; background: rgba(37, 211, 102, 0.16); color: rgb(22, 140, 70); }
.cart-done__ico svg { width: 36px; height: 36px; }
.cart-done__title { font-weight: 600; font-size: 1.15rem; }
.cart-done__title b { color: rgb(217, 56, 41); letter-spacing: .04em; }
.cart-done__text { max-width: 28ch; margin-top: 6px; color: rgba(29, 23, 19, 0.65); font-size: .95rem; line-height: 1.5; }
.cart-done__wa {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 20px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; background: var(--wa); color: rgb(12, 50, 28);
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.cart-done .cart__browse { margin-top: 14px; }

/* Pop-up del panel */
.np-pop {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(15, 11, 8, 0.55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .3s ease;
}
.np-pop.is-open { opacity: 1; }
.np-pop__card {
  position: relative;
  display: flex; flex-direction: column;
  width: min(420px, 100%); max-height: 100%;
  overflow: auto; overscroll-behavior: contain;
  border-radius: var(--frame-r);
  background: rgb(214, 191, 167);
  color: rgb(29, 23, 19);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(24px) scale(.96);
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.2);
}
.np-pop.is-open .np-pop__card { transform: none; }
.np-pop__x {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(29, 23, 19, 0.72); color: rgb(214, 191, 167); cursor: pointer;
}
.np-pop__x svg { width: 18px; height: 18px; }
.np-pop__img { aspect-ratio: 4 / 3; overflow: hidden; background: rgb(42, 34, 28); flex-shrink: 0; }
.np-pop__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np-pop__body { padding: 22px 22px 20px; }
.np-pop__tag { display: inline-block; color: rgb(217, 56, 41); font-family: "Lobster Two", Georgia, serif; font-size: 1.15rem; }
.np-pop__title { margin-top: 4px; font-family: "Barlow", var(--sans); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem); line-height: 1.15; letter-spacing: .03em; text-transform: uppercase; }
.np-pop__text { margin-top: 8px; color: rgba(29, 23, 19, 0.75); line-height: 1.5; }
.np-pop__acts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.np-pop__add, .np-pop__later {
  min-height: 50px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.np-pop__add { border: 0; background: linear-gradient(90deg, rgb(229, 71, 50) 0%, rgb(157, 57, 51) 100%); color: rgb(245, 230, 214); box-shadow: 0 8px 22px rgba(157, 57, 51, 0.3); }
.np-pop__later { border: 1.5px solid rgba(29, 23, 19, 0.25); background: transparent; color: rgb(29, 23, 19); }
@media (hover: hover) and (pointer: fine) {
  .np-pop__add:hover { filter: brightness(1.08); }
  .np-pop__later:hover { border-color: rgb(29, 23, 19); }
  .np-pop__x:hover { background: rgb(29, 23, 19); }
}
@media (max-height: 560px) { .np-pop__img { aspect-ratio: 16 / 7; } }
@media (prefers-reduced-motion: reduce) { .np-pop, .np-pop__card { transition: none; } }

/* =========================================================
   MESA DEL LOCAL (QR /menu?mesa=N): pastilla fija y seguimiento del pedido
   ========================================================= */
.mesa-tag {
  position: fixed;
  top: calc(env(safe-area-inset-top) + var(--header-h) + 6px);
  left: 50%;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(229, 71, 50, 0.55);
  border-radius: 999px;
  background: rgba(11, 9, 8, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 600 13px/1.2 "Barlow", var(--sans);
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
  cursor: pointer;
}
.mesa-tag[hidden] { display: none; }
.mesa-tag__ico { display: flex; flex-shrink: 0; width: 16px; height: 16px; color: rgb(229, 71, 50); }
.mesa-tag__ico svg { width: 100%; height: 100%; }
.mesa-tag__txt { padding-right: 4px; }
.mesa-tag__txt b { font-weight: 800; }
.mesa-tag__st { padding: 3px 9px; border-radius: 999px; background: rgba(214, 191, 167, 0.18); color: rgb(233, 214, 192); font-weight: 700; font-size: 12px; }
.mesa-tag__st[hidden] { display: none; }
.mesa-tag__st.is-served { background: rgb(37, 99, 235); color: #fff; }
.np-nuevo .mesa-tag__st.is-pending { background: rgb(229, 71, 50); color: #fff; }
.np-nuevo .mesa-tag__st.is-prep { background: rgb(245, 176, 66); color: rgb(29, 23, 19); }
.mesa-tag__st.is-prep { background: rgb(229, 71, 50); color: #fff; animation: mesaGlow 1.6s ease-in-out infinite alternate; }
.mesa-tag__st.is-kitchen { background: rgb(227, 164, 111); color: rgb(29, 23, 19); }
.np-nuevo .mesa-tag__st.is-kitchen { background: rgb(245, 176, 66); }
.mesa-tag__st.is-ready { background: rgb(37, 160, 90); color: #fff; animation: mesaGlowOk 1.6s ease-in-out infinite alternate; }
@keyframes mesaGlowOk { to { box-shadow: 0 0 0 4px rgba(37, 160, 90, 0.3); } }
@keyframes mesaGlow { to { box-shadow: 0 0 0 4px rgba(229, 71, 50, 0.25); } }
@media (max-width: 359px) { .mesa-tag__pre { display: none; } }
@media (min-width: 1024px) { .mesa-tag { font-size: 14px; padding: 8px 10px 8px 14px; } }

.cart-place--mesa .cart-place__link { padding: 0; border: 0; background: transparent; font-family: inherit; text-align: right; cursor: pointer; }
.cart-place--mesa .cart-place__link { max-width: 9em; white-space: normal; line-height: 1.25; }

/* Seguimiento del pedido en la mesa: tarjeta oscura tipo ticket (estado en grande, barra de avance, 4 pasos) y abajo
   el papel con lo que pidió. Oscura a propósito: sobre el carrito beige es lo primero que se ve después de pedir */
.mesa-track { margin: 2px 0 18px; }
.mesa-track[hidden] { display: none; }
.mesa-track__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mesa-track__title { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 1.35rem; line-height: 1; letter-spacing: -.005em; text-transform: uppercase; color: rgb(29, 23, 19); }
.mesa-track__sub { margin-top: 4px; color: rgba(29, 23, 19, .62); font-size: .8rem; line-height: 1.2; }
.mesa-track__mesa { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; background: rgb(29, 23, 19); color: rgb(244, 232, 216); font-family: var(--display); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.mesa-track__list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mesa-track .cart__browse { display: table; margin: 16px auto 2px; }
.mesa-track .cart__browse[hidden] { display: none; }
.cart__foot[hidden] { display: none; }

.mt-o { --mt-c: rgb(227, 164, 111); --mt-glow: rgba(227, 164, 111, .35); position: relative; border-radius: 22px; filter: drop-shadow(0 18px 22px rgba(29, 23, 19, .28)); }
/* semáforo (igual que caja, cocina y mozo): recibido rojo · cocina/horno ámbar · listo verde · en tu mesa azul */
.np-nuevo .mt-o.is-pending { --mt-c: rgb(240, 96, 66); --mt-glow: rgba(240, 96, 66, .4); }
.np-nuevo .mt-o.is-kitchen, .np-nuevo .mt-o.is-prep { --mt-c: rgb(245, 176, 66); --mt-glow: rgba(245, 176, 66, .4); }
.mt-o.is-served { --mt-c: rgb(96, 165, 250); --mt-glow: rgba(96, 165, 250, .4); }
.mt-o.is-ready, .mt-o.is-done { --mt-c: rgb(84, 201, 128); --mt-glow: rgba(84, 201, 128, .4); }
.mt-o.is-cancel { --mt-c: rgba(244, 232, 216, .55); --mt-glow: transparent; }
.mt-o.is-new { animation: mtIn .7s cubic-bezier(.2, .9, .25, 1.12) both; }
@keyframes mtIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* parte oscura */
.mt-o__card { position: relative; overflow: hidden; padding: 16px 18px 16px; border-radius: 22px 22px 0 0; background: radial-gradient(120% 70% at 100% 0%, rgba(255, 255, 255, .07), transparent 60%), rgb(29, 23, 19); color: rgb(244, 232, 216); }
.mt-o__card::before { content: ""; position: absolute; top: -40px; left: -30px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, var(--mt-glow), transparent); opacity: .55; pointer-events: none; }
.mt-o__top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mt-live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 9px; border-radius: 999px; background: rgba(240, 96, 66, .16); color: rgb(255, 150, 125); font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.mt-live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: rgb(240, 96, 66); }
.mt-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgb(240, 96, 66); opacity: 0; animation: mtPing 1.6s ease-out infinite; }
@keyframes mtPing { 0% { opacity: .8; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.6); } }
.mt-live.is-off { background: rgba(244, 232, 216, .1); color: rgba(244, 232, 216, .7); }
.mt-o__ref { color: rgba(244, 232, 216, .6); font-size: .78rem; white-space: nowrap; }
.mt-o__ref b { color: rgb(244, 232, 216); font-family: var(--display); font-weight: 800; letter-spacing: .06em; }

.mt-o__hero { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.mt-o__ico { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 18px; background: var(--mt-c); color: rgb(29, 23, 19); box-shadow: 0 10px 24px -10px var(--mt-glow); }
.mt-o__ico svg { width: 28px; height: 28px; }
.mt-o.is-prep .mt-o__ico svg { animation: mtFlame 1.1s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.mt-o.is-ready .mt-o__ico { animation: mtBell 2.6s ease-in-out infinite; }
@keyframes mtFlame { to { transform: scale(1.1, .9); } }
@keyframes mtBell { 0%, 72%, 100% { transform: none; } 76% { transform: rotate(-8deg); } 80% { transform: rotate(7deg); } 84% { transform: rotate(-4deg); } 88% { transform: rotate(2deg); } }
.mt-o__kicker { color: var(--mt-c); font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.mt-o__title { margin-top: 2px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: clamp(1.55rem, 1.3rem + 1.2vw, 1.85rem); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.mt-o__msg { margin-top: 5px; color: rgba(244, 232, 216, .72); font-size: .88rem; line-height: 1.35; }

/* barra de avance en 4 tramos: el tramo actual tiene un brillo que corre */
.mt-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; margin-top: 18px; }
.mt-bar span { position: relative; height: 6px; overflow: hidden; border-radius: 6px; background: rgba(244, 232, 216, .14); }
.mt-bar span.is-done { background: var(--mt-c); }
.mt-bar span.is-now { background: color-mix(in srgb, var(--mt-c) 45%, rgba(244, 232, 216, .14)); }
@supports not (background: color-mix(in srgb, red 10%, transparent)) { .mt-bar span.is-now { background: rgba(244, 232, 216, .3); } }
.mt-bar span.is-now::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; border-radius: 6px; background: linear-gradient(90deg, transparent, var(--mt-c), transparent); animation: mtRun 1.5s ease-in-out infinite; }
@keyframes mtRun { from { transform: translateX(-100%); } to { transform: translateX(170%); } }

/* pasos */
.mt-tl { position: relative; margin: 16px 0 0; padding: 0; list-style: none; }
.mt-tl li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 4px 0; }
.mt-tl li + li::before { content: ""; position: absolute; left: 13px; bottom: calc(50% + 14px); height: calc(100% - 28px); border-left: 2px dotted rgba(244, 232, 216, .2); }
.mt-tl li.is-done + li::before, .mt-tl li.is-done + li.is-now::before { border-left: 2px solid var(--mt-c); }
.mt-tl__dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(244, 232, 216, .22); color: rgba(244, 232, 216, .4); }
.mt-tl__dot svg { width: 14px; height: 14px; }
.mt-tl li.is-done .mt-tl__dot { border-color: var(--mt-c); background: var(--mt-c); color: rgb(29, 23, 19); }
.mt-tl li.is-now .mt-tl__dot { border-color: var(--mt-c); background: rgb(29, 23, 19); color: var(--mt-c); box-shadow: 0 0 0 4px var(--mt-glow); animation: mtNow 1.4s ease-in-out infinite alternate; }
@keyframes mtNow { to { box-shadow: 0 0 0 8px transparent; } }
.mt-tl__txt { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.2; }
.mt-tl__txt b { color: rgba(244, 232, 216, .45); font-weight: 600; font-size: .92rem; }
.mt-tl__txt small { margin-top: 2px; color: rgba(244, 232, 216, .55); font-size: .76rem; }
.mt-tl li.is-done .mt-tl__txt b { color: rgba(244, 232, 216, .85); }
.mt-tl li.is-now .mt-tl__txt b { color: rgb(244, 232, 216); font-weight: 700; }
.mt-tl__now { flex-shrink: 0; padding: 3px 9px; border-radius: 999px; background: var(--mt-c); color: rgb(29, 23, 19); font-weight: 800; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }

.mt-o__hint { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: rgba(244, 232, 216, .07); color: rgba(244, 232, 216, .8); font-size: .8rem; line-height: 1.3; }
.mt-o__hint svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--mt-c); }

/* corte de ticket y papel con lo que pidió */
.mt-o__cut { position: relative; height: 18px; background: radial-gradient(circle at 0 50%, transparent 9px, rgb(250, 243, 234) 9.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, rgb(250, 243, 234) 9.5px) right / 51% 100% no-repeat; }
.mt-o__cut::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgb(29, 23, 19); }
.mt-o__cut::after { content: ""; position: absolute; top: 50%; left: 16px; right: 16px; border-top: 2px dashed rgba(29, 23, 19, .16); }
.mt-o__paper { padding: 2px 18px 16px; border-radius: 0 0 22px 22px; background: rgb(250, 243, 234); color: rgb(29, 23, 19); }
.mt-o__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: rgba(29, 23, 19, .55); font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.mt-o__time { font-weight: 500; font-size: .78rem; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.mt-o__items { margin: 6px 0 0; padding: 0; list-style: none; }
.mt-o__items li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-weight: 600; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.mt-o__items li + li { border-top: 1px solid rgba(29, 23, 19, .07); }
.mt-o__q { flex-shrink: 0; min-width: 2.1em; color: rgb(217, 56, 41); font-family: var(--display); font-weight: 800; }
.mt-o.is-cancel .mt-o__items li { color: rgba(29, 23, 19, .45); text-decoration: line-through; }
@media (max-width: 359px) {
  .mt-o__card { padding: 14px 14px; }
  .mt-o__paper { padding-left: 14px; padding-right: 14px; }
  .mt-o__ico { width: 48px; height: 48px; border-radius: 15px; }
  .mt-o__hero { gap: 11px; }
  .mesa-track__title { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .mesa-tag__st.is-prep, .mesa-tag__st.is-ready, .mt-o.is-new, .mt-o__ico, .mt-o__ico svg, .mt-live i::after, .mt-bar span.is-now::after, .mt-tl li.is-now .mt-tl__dot { animation: none; } }

/* Desde el QR de una mesa: en la tapa de la revista se ve la mesa */
.rv-chip--mesa { border-color: rgba(229, 71, 50, .7); background: rgb(229, 71, 50); color: #fff; font-weight: 700; }
.rv-chip--mesa svg { color: #fff; }
.rv-chip[hidden] { display: none; }
.rv-chip--mesa { white-space: normal; line-height: 1.25; }

/* Aviso del pedido de mesa: arriba al centro, sobre la página, la revista y el carrito */
.mesa-aviso {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 12px);
  left: 50%;
  z-index: 1100;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-left: 4px solid rgb(229, 71, 50);
  border-radius: 14px;
  background: rgba(11, 9, 8, 0.94);
  color: #fff;
  font: 600 15px/1.35 "Barlow", var(--sans);
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity .3s, transform .3s;
  cursor: pointer;
}
.mesa-aviso[hidden] { display: none; }
.mesa-aviso.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .mesa-aviso { transition: none; } }

/* Pedido listo: tarjeta abajo con una escena arriba: entra el brazo del mozo (manga negra, puño y servilleta)
   con la bandeja y la pizza; frena con inercia, la pizza se acomoda y queda flotando con vapor */
/* Pedido de mesa listo: tapa toda la pantalla (fondo rojo como la ilustración), el mozo entra con la pizza y
   después se va sola con un fundido. Tocando en cualquier lado se cierra antes */
.mt-llega {
  --llega-ms: 9000ms;
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vh, 24px);
  padding: calc(env(safe-area-inset-top) + 56px) calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 40px) calc(env(safe-area-inset-left) + 16px);
  overflow: hidden;
  background: radial-gradient(120% 85% at 60% 38%, #d64a30 0%, #b3301e 45%, #5a160c 100%);
  color: rgb(255, 236, 220);
  font-family: "Barlow", var(--sans);
  text-align: center;
  cursor: pointer;
  touch-action: none;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity .45s ease;
}
.mt-llega[hidden] { display: none; }
.mt-llega.is-on { opacity: 1; }
.mt-llega.is-off { opacity: 0; transition: opacity .5s ease; }
/* la ilustración, lo más grande posible sin tapar el texto, con los bordes fundidos con el fondo */
.mt-llega__art {
  position: relative;
  flex: none;
  width: min(100vw, 960px, calc((100vh - 300px) * 480 / 290));
  width: min(100vw, 960px, calc((100dvh - 300px) * 480 / 290));
  min-width: min(100vw, 260px);
  aspect-ratio: 480 / 290;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
  transform: scale(.92);
  transition: transform .9s cubic-bezier(.18, 1.1, .3, 1);
}
.mt-llega.is-on .mt-llega__art { transform: none; }
.mt-llega__svg { display: block; width: 100%; height: 100%; }
.mt-llega__svg * { transform-box: view-box; }
/* el brazo entra desde la izquierda y frena con un pequeño rebote */
.mt-mz__brazo { transform: translateX(-120%); }
.mt-llega.is-on .mt-mz__brazo { animation: mzEntra 1.5s cubic-bezier(.2, .85, .25, 1) .35s both; }
@keyframes mzEntra {
  0% { transform: translateX(-120%); }
  72% { transform: translateX(2.5%); }
  100% { transform: translateX(0); }
}
/* pasos mientras camina; al llegar, flota apenas (respira) */
.mt-mz__paso { transform-origin: 200px 180px; }
.mt-llega.is-on .mt-mz__paso { animation: mzPaso .5s ease-in-out .35s 2, mzFlota 3.2s ease-in-out 1.85s infinite; }
@keyframes mzPaso { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-.6deg); } }
@keyframes mzFlota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
/* la pizza va un poco atrasada sobre la bandeja (inercia) y se acomoda al frenar */
.mt-mz__bandeja { transform-origin: 286px 145px; }
.mt-llega.is-on .mt-mz__bandeja { animation: mzBandeja 1.9s cubic-bezier(.3, .7, .3, 1) .35s both; }
@keyframes mzBandeja {
  0% { transform: translateX(-9px); }
  55% { transform: translateX(-6px); }
  72% { transform: translateX(5px) rotate(.6deg); }
  86% { transform: translateX(-1.5px); }
  100% { transform: translateX(0); }
}
.mt-mz__vapor path { stroke-dasharray: 30 120; stroke-dashoffset: 30; opacity: 0; }
.mt-llega.is-on .mt-mz__vapor path { animation: mzVapor 2.4s cubic-bezier(.35, .1, .4, 1) 1.6s infinite; }
.mt-llega.is-on .mt-mz__vapor path:nth-child(2) { animation-delay: 2.4s; }
.mt-llega.is-on .mt-mz__vapor path:nth-child(3) { animation-delay: 3.2s; }
@keyframes mzVapor { 0% { stroke-dashoffset: 30; opacity: 0; stroke-width: 4; } 30% { opacity: .85; } 100% { stroke-dashoffset: -90; opacity: 0; stroke-width: 9; } }
.mt-mz__luz { opacity: 0; }
.mt-llega.is-on .mt-mz__luz { animation: mzLuz .9s ease-out 1.3s both; }
@keyframes mzLuz { from { opacity: 0; } to { opacity: 1; } }
.mt-mz__chispas path { opacity: 0; transform-origin: center; transform-box: fill-box; }
.mt-llega.is-on .mt-mz__chispas path { animation: mzChispa 2.8s ease-in-out 1.7s infinite; }
.mt-llega.is-on .mt-mz__chispas path:nth-child(2) { animation-delay: 2.1s; }
.mt-llega.is-on .mt-mz__chispas path:nth-child(3) { animation-delay: 2.5s; }
@keyframes mzChispa { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 25% { opacity: 1; transform: scale(1) rotate(45deg); } 55% { opacity: 0; transform: scale(.4) rotate(90deg); } }
.mt-llega__body { max-width: 560px; transform: translateY(18px); opacity: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1) .25s, opacity .5s ease .25s; }
.mt-llega.is-on .mt-llega__body { transform: none; opacity: 1; }
.mt-llega__kicker { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: clamp(12px, 3.4vw, 14px); letter-spacing: .03em; }
.mt-llega__title { margin: 10px 0 6px; font: 800 clamp(28px, 8vw, 48px)/1.05 var(--display); color: #fff; text-shadow: 0 2px 18px rgba(60, 10, 4, .35); }
.mt-llega__text { margin: 0; font-size: clamp(15px, 4.2vw, 19px); line-height: 1.35; color: rgba(255, 236, 220, .88); text-wrap: balance; }
.mt-llega__camino { display: inline-flex; align-items: flex-end; gap: 3px; margin-top: 12px; color: rgb(255, 217, 184); font-weight: 600; font-size: clamp(12px, 3.4vw, 14px); letter-spacing: .08em; text-transform: uppercase; }
.mt-llega__camino i { width: 4px; height: 4px; margin-bottom: 3px; border-radius: 50%; background: currentColor; animation: mtLlegaPunto 1.2s ease-in-out infinite; }
.mt-llega__camino i:first-of-type { margin-left: 3px; }
.mt-llega__camino i:nth-of-type(2) { animation-delay: .15s; }
.mt-llega__camino i:nth-of-type(3) { animation-delay: .3s; }
@keyframes mtLlegaPunto { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.mt-llega__x { position: absolute; z-index: 2; top: calc(env(safe-area-inset-top) + 12px); right: calc(env(safe-area-inset-right) + 12px); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(29, 23, 19, .35); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; transition: background .2s, color .2s; }
.mt-llega__x:hover { background: rgba(29, 23, 19, .6); }
.mt-llega__x svg { width: 18px; height: 18px; }
/* barrita de abajo: cuánto falta para que el aviso se vaya solo */
.mt-llega__bar { position: absolute; left: 0; right: 0; bottom: 0; height: calc(env(safe-area-inset-bottom) + 4px); background: rgba(255, 255, 255, .85); transform-origin: left; transform: scaleX(0); }
.mt-llega.is-on .mt-llega__bar { animation: mtLlegaBarra var(--llega-ms) linear forwards; }
@keyframes mtLlegaBarra { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* tablets en vertical: la ilustración ocupa toda la pantalla de lado a lado (el brazo entra desde afuera) y el texto crece */
@media (orientation: portrait) and (min-width: 600px) {
  .mt-llega { gap: clamp(16px, 3vh, 40px); padding-bottom: calc(env(safe-area-inset-bottom) + 56px); }
  .mt-llega__art {
    width: min(135vw, calc((100vh - 380px) * 480 / 290));
    width: min(135vw, calc((100dvh - 380px) * 480 / 290));
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  }
  .mt-llega__body { max-width: 680px; }
  .mt-llega__kicker { padding: 5px 14px; font-size: 16px; }
  .mt-llega__title { margin: 14px 0 10px; font-size: clamp(44px, 7vw, 64px); }
  .mt-llega__text { font-size: clamp(20px, 2.8vw, 26px); }
  .mt-llega__camino { margin-top: 18px; font-size: 16px; }
  .mt-llega__camino i { width: 5px; height: 5px; }
  .mt-llega__x { top: calc(env(safe-area-inset-top) + 20px); right: calc(env(safe-area-inset-right) + 20px); width: 56px; height: 56px; }
  .mt-llega__x svg { width: 22px; height: 22px; }
  .mt-llega__bar { height: calc(env(safe-area-inset-bottom) + 6px); }
}
/* celulares acostados: menos alto para que entre entera */
@media (orientation: landscape) and (max-height: 500px) { .mt-llega { flex-direction: row; gap: 20px; padding-top: calc(env(safe-area-inset-top) + 16px); padding-bottom: calc(env(safe-area-inset-bottom) + 16px); } .mt-llega__art { width: min(55vw, calc((100vh - 40px) * 480 / 290)); width: min(55vw, calc((100dvh - 40px) * 480 / 290)); min-width: 0; } .mt-llega__body { max-width: 40vw; } .mt-llega__title { font-size: clamp(22px, 4vw, 32px); } }
@media (prefers-reduced-motion: reduce) {
  .mt-llega, .mt-llega.is-off, .mt-llega__art, .mt-llega__body { transition: opacity .3s; transform: none; }
  .mt-llega.is-off { opacity: 0; }
  .mt-llega__body { opacity: 1; }
  .mt-llega.is-on { opacity: 1; }
  .mt-mz__brazo, .mt-mz__luz, .mt-mz__chispas path { transform: none; opacity: 1; }
  .mt-llega.is-on [class^="mt-mz__"], .mt-llega.is-on [class^="mt-mz__"] path, .mt-llega__camino i { animation: none; }
  .mt-mz__chispas { display: none; }
  .mt-mz__vapor path { stroke-dasharray: none; opacity: .5; }
}

/* Tablets en vertical: la carta revista y el carrito ocupan toda la pantalla.
   La página de la revista va de borde a borde (el contenido se acomoda solo: usa unidades del contenedor) y el
   carrito deja de ser un panel lateral; su contenido queda centrado con un ancho cómodo para leer */
@media (orientation: portrait) and (min-width: 600px) {
  .rv { --ph: calc(100vh - var(--bar)); }
  @supports (height: 100dvh) { .rv { --ph: calc(100dvh - var(--bar)); } }
  .rv:not(.rv--spread) .rv-view { padding: 0; }
  .rv:not(.rv--spread) .rv-page { width: 100vw; height: var(--ph); --rv-r: clamp(18px, 2.6vw, 26px); box-shadow: none; }

  .cart__panel { width: 100%; box-shadow: none; }
  .cart__head, .cart__body, .cart__foot { padding-left: max(32px, calc((100% - 720px) / 2)); padding-right: max(32px, calc((100% - 720px) / 2)); }
}

/* Redes que el dueño dejó vacías en Ajustes: no se muestran */
[data-np-href][hidden] { display: none !important; }

/* Aviso del carrito: cambiaron los precios desde que el cliente armó el pedido */
.cart-alert { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 40px 14px 14px; border: 2px solid rgb(200, 38, 26); border-radius: 14px; background: rgb(255, 238, 235); color: rgb(160, 24, 14); box-shadow: 0 6px 18px rgba(200, 38, 26, 0.18); animation: cartAlertIn .45s cubic-bezier(.2, .8, .2, 1); }
.cart-alert[hidden] { display: none; }
/* Con el aviso abierto el pie no se come la lista: la lista guarda un mínimo y, si la pantalla es muy baja, el pie se desplaza solo */
.cart__body { min-height: 110px; }
.cart__foot { flex-shrink: 0; max-height: 72vh; max-height: 72dvh; overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 500px) and (orientation: landscape) { .cart__body { min-height: 70px; } }
.cart-alert__ico { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: rgb(200, 38, 26); color: #fff; }
.cart-alert__body { min-width: 0; }
.cart-alert__title { margin: 2px 0 6px; font-size: 1rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.cart-alert__list { margin: 0 0 8px; padding: 0; list-style: none; font-size: .9rem; line-height: 1.45; }
.cart-alert__list li { overflow-wrap: anywhere; }
.cart-alert__list s { opacity: .75; }
.cart-alert__list strong { font-weight: 800; }
.cart-alert__foot { margin: 0; font-size: .84rem; font-weight: 600; line-height: 1.4; }
.cart-alert__x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.cart-alert__x:hover, .cart-alert__x:focus-visible { background: rgba(200, 38, 26, 0.12); }
.cart-alert__x svg { width: 16px; height: 16px; }
@keyframes cartAlertIn { 0% { opacity: 0; transform: translateY(8px) scale(.97); } 60% { transform: translateY(0) scale(1.02); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cart-alert { animation: none; } }
@media (max-width: 380px) { .cart-alert { gap: 9px; padding: 12px 36px 12px 11px; } .cart-alert__ico { width: 26px; height: 26px; } .cart-alert__title { font-size: .9rem; } }

/* Producto agotado: se ve en la carta con su cartel arriba de la foto, la foto apagada y el botón sin efecto */
.agotado-badge { position: absolute; top: 12px; left: 50%; z-index: 3; transform: translateX(-50%) rotate(-3deg); padding: 7px 18px; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 999px; background: rgb(200, 38, 26); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .14em; line-height: 1; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); pointer-events: none; }
.pizza-card.is-agotado .pizza-card__img img { filter: grayscale(.9) brightness(.8); }
.pizza-card.is-agotado .pizza-card__price { opacity: .55; text-decoration: line-through; }
.js-pedir.is-agotado, .rv-add.is-agotado, .pzv__order.is-agotado { opacity: .5; filter: grayscale(1); box-shadow: none; pointer-events: none; }
.js-pedir.is-agotado:hover, .rv-add.is-agotado:hover, .pzv__order.is-agotado:hover { transform: none; }
.promo.is-agotado { position: relative; }
.promo.is-agotado .agotado-badge { top: 14px; right: 14px; left: auto; transform: rotate(3deg); }
.promo.is-agotado h4, .promo.is-agotado .promo__price { opacity: .6; }
.extras-list li.is-agotado > span { opacity: .6; }
.extras-list li.is-agotado > span:first-child { text-decoration: line-through; }
.agotado-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgb(200, 38, 26); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; text-decoration: none; }
.rv-pz__board .agotado-badge { top: 8%; font-size: .9rem; }
@media (max-width: 480px) { .agotado-badge { top: 9px; padding: 6px 13px; font-size: .72rem; letter-spacing: .1em; } }

/* Textos chicos del carrito más oscuros y nítidos: el fondo beige les quitaba contraste */
.cart-label span, .cart-help, .cart-item__unit, .cart-place__sub, .cart__hint, .cart__ship, .cart-picker__sub, .cart-loc__clear,
.cart-map.is-off .cart-map__tag::after, .cart__empty-text, .cart-done__text { color: rgba(29, 23, 19, 0.82); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.cart-help, .cart__ship, .cart-place__sub, .cart-item__unit { font-weight: 500; }
.cart-input::placeholder { color: rgba(29, 23, 19, 0.55); }


/* Instalar en iPhone/iPad: cartelito abajo que se abre en la guía, con flecha al botón de Safari */
.ios-inst {
  position: fixed; z-index: 990;
  left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  bottom: calc(max(10px, env(safe-area-inset-bottom)) + 34px);
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none; opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.ios-inst.is-in { opacity: 1; transform: none; }
.ios-inst__box {
  position: relative; width: 100%; max-width: 400px; pointer-events: auto;
  padding: 16px 16px 14px; border-radius: 20px;
  background: rgb(245, 236, 224); color: rgb(29, 23, 19);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  font-family: var(--sans); font-size: 15px; line-height: 1.4;
  max-height: calc(100dvh - 120px); overflow-y: auto;
}
.ios-inst__x {
  position: absolute; top: 6px; right: 6px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: none; color: rgba(29, 23, 19, 0.6);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.ios-inst__head { display: flex; align-items: center; gap: 12px; padding-right: 32px; }
.ios-inst__head img { flex: none; width: 44px; height: 44px; border-radius: 11px; }
.ios-inst__head b { display: block; font-family: var(--display); font-size: 17px; line-height: 1.2; }
.ios-inst__head span { display: block; font-size: 14px; color: rgba(29, 23, 19, 0.7); }
.ios-inst__ver {
  display: none; width: 100%; margin-top: 12px; padding: 12px; border: 0; border-radius: 12px;
  background: var(--red); color: #fff; font: 700 16px/1 var(--sans); cursor: pointer;
}
.ios-inst__pasos { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: p; }
.ios-inst__pasos li { position: relative; padding: 0 0 10px 34px; counter-increment: p; }
.ios-inst__pasos li:last-child { padding-bottom: 0; }
.ios-inst__pasos li::before {
  content: counter(p); position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff;
  font: 700 13px/24px var(--sans); text-align: center;
}
.ios-inst__pasos small { color: rgba(29, 23, 19, 0.65); font-size: 13px; }
.ios-inst__k {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: -5px;
  padding: 2px 7px; border-radius: 8px; background: rgba(29, 23, 19, 0.08); color: rgb(0, 122, 255); white-space: nowrap;
}
.ios-inst__k svg { width: 17px; height: 17px; }
.ios-inst__k span { color: rgb(29, 23, 19); font-size: 14px; }
.ios-inst.is-cartel .ios-inst__ver { display: block; }
.ios-inst.is-cartel .ios-inst__pasos, .ios-inst.is-cartel .ios-inst__flecha { display: none; }
/* flecha que rebota hacia el botón: al centro (Safari viejo), a la derecha (Safari 26: ⋯), arriba a la derecha (iPad) */
.ios-inst__flecha {
  width: 0; height: 0; margin-top: 6px;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 18px solid rgb(245, 236, 224);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
  animation: iosInstBote 1s ease-in-out infinite;
}
.ios-inst.is-derecha { align-items: flex-end; }
.ios-inst.is-derecha .ios-inst__flecha { margin-right: 6px; }
@keyframes iosInstBote { 50% { transform: translateY(8px); } }
.ios-inst.is-ipad {
  top: calc(max(10px, env(safe-area-inset-top)) + 4px); bottom: auto; left: auto;
  width: min(400px, calc(100% - 24px)); align-items: flex-end; flex-direction: column-reverse;
}
.ios-inst.is-ipad .ios-inst__flecha { margin: 0 70px 6px 0; transform: rotate(180deg); animation-name: iosInstBoteArriba; }
@keyframes iosInstBoteArriba { 0%, 100% { transform: rotate(180deg); } 50% { transform: rotate(180deg) translateY(8px); } }
/* iPhone acostado: poco alto, la guía se achica para no taparlo todo */
@media (max-height: 500px) {
  .ios-inst { bottom: calc(env(safe-area-inset-bottom) + 26px); }
  .ios-inst__box { max-height: calc(100dvh - 60px); padding: 10px 14px; font-size: 14px; }
  .ios-inst__pasos { margin-top: 8px; }
  .ios-inst__pasos li { padding-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .ios-inst__flecha { animation: none; } }

/* Deslizar hacia abajo para actualizar dentro de la carta revista */
.rv-ptr {
  position: absolute; top: calc(env(safe-area-inset-top) + 8px); left: 50%; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgb(214, 191, 167); color: rgb(157, 57, 51);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  opacity: 0; transform: translate(-50%, -56px);
  pointer-events: none; will-change: transform;
}
.rv-ptr svg { width: 22px; height: 22px; }
.rv-ptr.is-back { transition: transform .25s ease, opacity .25s ease; }
.rv-ptr.is-ready { background: rgb(229, 71, 50); color: #fff; }
.rv-ptr.is-loading svg { animation: rvPtrSpin .7s linear infinite; }
@keyframes rvPtrSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rv-ptr.is-loading svg { animation-duration: 2s; } }

/* Cartel animado antes de abrir WhatsApp (transferencia en la mesa y en la página) */
.np-ok {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(18, 12, 9, .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: "Barlow", var(--sans);
  -webkit-tap-highlight-color: transparent;
}
.np-ok[hidden] { display: none; }
.np-ok__card {
  position: relative; overflow: hidden;
  width: min(380px, 100%); max-height: 100%; overflow-y: auto;
  padding: clamp(24px, 6vw, 34px) clamp(20px, 6vw, 32px) clamp(26px, 6vw, 34px);
  border-radius: var(--frame-r);
  background: rgb(240, 228, 214);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .5);
  color: rgb(30, 23, 19); text-align: center;
}
.np-ok__ico { display: flex; justify-content: center; margin-bottom: 14px; }
.np-ok__ico svg { width: clamp(58px, 16vw, 72px); height: auto; }
.np-ok__ring { stroke: rgb(229, 71, 50); stroke-dasharray: 176; stroke-dashoffset: 0; }
.np-ok__check { stroke: rgb(157, 57, 51); stroke-dasharray: 40; stroke-dashoffset: 0; }
.np-ok__kicker { color: rgb(157, 57, 51); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.np-ok__title { margin-top: 8px; font-size: clamp(1.15rem, 4.6vw, 1.4rem); font-weight: 700; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.np-ok__smile { display: inline-block; color: rgb(229, 71, 50); white-space: nowrap; }
.np-ok__title b { color: rgb(157, 57, 51); }
.np-ok__sub { margin-top: 8px; color: rgba(30, 23, 19, .72); font-size: clamp(.9rem, 3.6vw, 1rem); line-height: 1.4; text-wrap: balance; }
.np-ok__sub[hidden], .np-ok__wa[hidden] { display: none; }
/* botón para mandar el comprobante: lo toca el cliente y WhatsApp se abre directo */
.np-ok__btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 18px; min-height: 54px; padding: 10px 20px; border-radius: 999px; background: rgb(22, 140, 70); color: #fff; font-weight: 700; font-size: clamp(1rem, 4.2vw, 1.08rem); line-height: 1.2; text-decoration: none; box-shadow: 0 8px 20px rgba(22, 140, 70, .3); -webkit-tap-highlight-color: transparent; }
.np-ok__btn.is-in { animation: npOkBtnIn .45s cubic-bezier(.2, 1.35, .4, 1) both, npOkBtnPulse 1.8s .6s ease-in-out infinite; }
.np-ok__btn:active { transform: scale(.97); }
@keyframes npOkBtnIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes npOkBtnPulse { 0%, 100% { box-shadow: 0 8px 20px rgba(22, 140, 70, .3), 0 0 0 0 rgba(22, 140, 70, .45); } 60% { box-shadow: 0 8px 20px rgba(22, 140, 70, .3), 0 0 0 12px rgba(22, 140, 70, 0); } }
.np-ok__btn[hidden] { display: none; }
.np-ok__btn svg { flex: none; width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .np-ok__btn:hover { background: rgb(18, 120, 60); } }
.np-ok__btn:focus-visible { outline: 3px solid rgb(229, 71, 50); outline-offset: 3px; }
.np-ok__wa { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; color: rgb(22, 140, 70); font-size: .9rem; font-weight: 600; }
.np-ok__wa svg { flex: none; width: 18px; height: 18px; }
.np-ok__later { display: block; min-height: 44px; margin: 8px auto 0; padding: 8px 18px; border: 0; border-radius: 999px; background: none; color: rgba(30, 23, 19, .66); font: inherit; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.np-ok__later[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .np-ok__later:hover { color: rgb(30, 23, 19); } }
.np-ok__later:focus-visible { outline: 3px solid rgb(229, 71, 50); outline-offset: 2px; }
/* sin GSAP: la misma entrada con CSS */
.np-ok.is-on { animation: npOkFade .25s ease-out both; }
.np-ok.is-on .np-ok__card { animation: npOkIn .55s cubic-bezier(.2, 1.35, .4, 1) both; }
.np-ok.is-on .np-ok__ring { animation: npOkDraw .5s .2s ease-out both; }
.np-ok.is-on .np-ok__check { animation: npOkCheck .35s .55s ease-out both; }
.np-ok.is-off { animation: npOkFade .3s ease-in reverse both; }
@keyframes npOkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes npOkIn { from { opacity: 0; transform: translateY(28px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes npOkDraw { from { stroke-dashoffset: 176; } to { stroke-dashoffset: 0; } }
@keyframes npOkCheck { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .np-ok.is-on .np-ok__card, .np-ok.is-on .np-ok__ring, .np-ok.is-on .np-ok__check { animation-duration: .01s; animation-delay: 0s; }
  .np-ok__btn.is-in { animation: none; }
}
@media (max-height: 420px) {
  .np-ok__ico { margin-bottom: 8px; }
  .np-ok__ico svg { width: 48px; }
  .np-ok__wa { margin-top: 8px; }
  .np-ok__sub { margin-top: 4px; }
  .np-ok__btn { margin-top: 10px; min-height: 42px; }
}

/* Horario: el texto de Ajustes puede traer varios renglones (uno por horario) */
[data-np="hours"], [data-np="bioHours"] { white-space: pre-line; }

/* ===== Visor de fotos del local: pantalla completa oscura =====
   Contador arriba a la izquierda, cerrar arriba a la derecha, la foto entera al centro y abajo las flechas con el
   texto de la foto en el medio. Los controles van fijos a la pantalla, así quedan en el mismo lugar en cualquier foto */
.pzv.is-local { padding: 0; }
.pzv.is-local .pzv__backdrop { background: rgba(9, 7, 6, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pzv.is-local .pzv__dialog { position: static; display: block; width: 100%; height: 100%; max-height: none; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; }
.pzv.is-local .pzv__stage {
  position: fixed;
  top: calc(84px + env(safe-area-inset-top));
  bottom: calc(100px + env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.pzv.is-local .pzv__img {
  width: auto;
  height: auto;
  max-width: min(100%, 1280px);
  max-height: 100%;
  object-fit: contain;
  border-radius: clamp(10px, 1.4vw, 18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.pzv.is-local .pzv__info { padding: 0; }
.pzv.is-local .pzv__name, .pzv.is-local .pzv__row { display: none; }
.pzv.is-local .pzv__count {
  position: fixed;
  top: calc(26px + env(safe-area-inset-top));
  left: max(20px, env(safe-area-inset-left));
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem);
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .78);
  font-variant-numeric: tabular-nums;
}
.pzv.is-local .pzv__desc {
  position: fixed;
  left: 84px;
  right: 84px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-weight: 500;
  font-size: clamp(.92rem, .85rem + .25vw, 1.05rem);
  line-height: 1.35;
  text-align: center;
  /* es solo texto: en PC queda a lo ancho entre las flechas y no tiene que tapar sus clics */
  pointer-events: none;
}
.pzv.is-local .pzv__close, .pzv.is-local .pzv__nav {
  position: fixed;
  z-index: 5;
  width: 52px;
  height: 52px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pzv.is-local .pzv__close { top: calc(16px + env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
.pzv.is-local .pzv__nav { top: auto; bottom: calc(24px + env(safe-area-inset-bottom)); }
.pzv.is-local .pzv__nav--prev { left: max(16px, env(safe-area-inset-left)); }
.pzv.is-local .pzv__nav--next { right: max(16px, env(safe-area-inset-right)); }
.pzv.is-local .pzv__close:active, .pzv.is-local .pzv__nav:active { background: rgba(255, 255, 255, .22); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .pzv.is-local .pzv__close:hover, .pzv.is-local .pzv__nav:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .18); color: #fff; }
}
/* PC y tablet: más aire alrededor, y la barra de abajo alineada con el ancho de la foto */
@media (min-width: 900px) {
  .pzv.is-local .pzv__stage { top: calc(96px + env(safe-area-inset-top)); bottom: 118px; left: 40px; right: 40px; }
  .pzv.is-local .pzv__count { top: 32px; left: max(32px, calc(50% - 640px)); }
  .pzv.is-local .pzv__close { top: 24px; right: max(32px, calc(50% - 640px)); }
  .pzv.is-local .pzv__nav { bottom: 34px; }
  .pzv.is-local .pzv__nav--prev { left: max(32px, calc(50% - 640px)); }
  .pzv.is-local .pzv__nav--next { right: max(32px, calc(50% - 640px)); }
  .pzv.is-local .pzv__desc { bottom: 34px; }
}
/* Celular acostado: controles más juntos para que la foto tenga todo el alto posible */
@media (orientation: landscape) and (max-height: 500px) {
  .pzv.is-local .pzv__stage { top: calc(12px + env(safe-area-inset-top)); bottom: calc(12px + env(safe-area-inset-bottom)); left: 84px; right: 84px; }
  .pzv.is-local .pzv__count { top: 16px; left: max(16px, env(safe-area-inset-left)); font-size: 1.1rem; }
  .pzv.is-local .pzv__close { top: 12px; }
  .pzv.is-local .pzv__nav { top: 50%; bottom: auto; margin-top: -26px; }
  .pzv.is-local .pzv__desc { display: none; }
}

/* Pizzas abiertas desde la carta revista: el mismo visor oscuro, con nombre, texto, precio y "Agregar" abajo.
   El botón queda entre las dos flechas */
.pzv.is-pz .pzv__stage { bottom: calc(232px + env(safe-area-inset-bottom)); }
.pzv.is-pz .pzv__info {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  pointer-events: none; /* ocupa todo el ancho: sin esto tapa las flechas */
}
.pzv.is-pz .pzv__order { pointer-events: auto; }
.pzv.is-local.is-pz .pzv__name { display: block; margin: 0; color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; }
.pzv.is-local.is-pz .pzv__desc {
  position: static;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, .72);
}
.pzv.is-local.is-pz .pzv__row { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; margin: 4px 0 0; }
.pzv.is-pz .pzv__price { border-color: rgba(255, 255, 255, .35); color: #fff; }
.pzv.is-pz .pzv__order { min-height: 52px; max-width: calc(100% - 128px); padding-left: 18px; padding-right: 18px; white-space: nowrap; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
/* Celulares angostos (320–380): el texto del botón más chico para que entre entre las flechas */
@media (max-width: 380px) {
  .pzv.is-pz .pzv__order { padding-left: 10px; padding-right: 10px; font-size: .74rem; letter-spacing: .04em; }
}
@media (min-width: 900px) {
  .pzv.is-pz .pzv__stage { bottom: 250px; }
  .pzv.is-pz .pzv__info { bottom: 34px; }
}
/* Celular acostado: nombre, precio y botón en una sola línea abajo */
@media (orientation: landscape) and (max-height: 500px) {
  .pzv.is-pz .pzv__stage { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .pzv.is-pz .pzv__info { bottom: calc(12px + env(safe-area-inset-bottom)); left: 84px; right: 84px; flex-direction: row; justify-content: center; gap: 16px; }
  .pzv.is-local.is-pz .pzv__desc { display: none; }
  .pzv.is-local.is-pz .pzv__name { font-size: 1.2rem; }
  .pzv.is-local.is-pz .pzv__row { flex-direction: row; width: auto; margin: 0; }
  .pzv.is-pz .pzv__order { max-width: none; }
}

/* ===== Galería: "¡Tu mejor momento!" =====
   Un solo renglón que ocupa todo el ancho en cualquier pantalla (sale del título angosto de la Galería): el tamaño de
   letra sale del ancho disponible (--k = cuántas veces el tamaño de letra mide la frase), con tope en el ancho máximo */
.gal__momento {
  --k: 11.7;
  --w: min(100vw - 2 * var(--gutter), var(--max) - 2 * var(--gutter));
  position: relative;
  left: 50%;
  display: block;
  width: var(--w);
  margin: .3em 0 0 calc(var(--w) / -2);
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 100%;
  font-variation-settings: "wdth" 100;
  font-size: calc(var(--w) / var(--k));
  line-height: .95;
  letter-spacing: -.02em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgb(175, 52, 43);
  text-shadow: 0 .045em 0 rgba(29, 23, 19, .9);
}

/* Bebidas en la carta: foto chica a la izquierda de cada una */
.extras-list__img { flex-shrink: 0; width: 48px; height: 48px; margin: -4px 0; border-radius: 10px; object-fit: cover; box-shadow: 0 2px 8px rgba(29, 23, 19, .14); }
.promo--bebidas .extras-list li { gap: .8rem; }
@media (max-width: 360px) { .extras-list__img { width: 40px; height: 40px; } .promo--bebidas .extras-list li { gap: .6rem; } }
/* La tarjeta es angosta en todos los tamaños: el precio va debajo del nombre para que el nombre no quede apretado */
.promo--bebidas .extras-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: .8rem; row-gap: .3rem; }
.promo--bebidas .extras-list__img { grid-row: 1 / 3; margin: 0; }
.promo--bebidas .extras-list li > span:not(.promo__price) { grid-column: 2; align-self: end; line-height: 1.25; overflow-wrap: anywhere; }
.promo--bebidas .extras-list li > .promo__price { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; }
.promo--bebidas .extra-add { grid-column: 3; grid-row: 1 / 3; }
@media (max-width: 360px) { .promo--bebidas .extras-list li { column-gap: .6rem; } }
/* Bebidas a lo ancho: la tarjeta ocupa toda la fila de la grilla y las bebidas se reparten en columnas (sin hueco vacío al costado) */
.promo--bebidas { grid-column: 1 / -1; }
.promo--bebidas .extras-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); column-gap: 1.75rem; }
.promo--bebidas .extras-list li { align-items: center; }

/* Revista: página de bebidas (foto, precio, nombre y "Agregar"), dos por fila */
/* si en una pantalla muy baja las fotos no entran a buen tamaño, la hoja se desplaza */
.rv-page--bebidas { display: flex; flex-direction: column; overflow-y: auto; }
.rv-beb__sub { margin-top: clamp(4px, 1cqh, 10px); font-size: clamp(13px, 3.8cqw, 17px); color: var(--ink-soft); }
.rv-beb__grid { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 2), minmax(0, 1fr)); flex: 1 1 auto; gap: clamp(10px, 3.4cqw, 22px); margin: clamp(10px, 2.6cqh, 24px) 0 0; padding: 0; list-style: none; }
.rv-beb__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(8px, 2.6cqw, 18px); }
/* ancho de cada columna (cqw = ancho interior de la hoja, ya sin sus márgenes) */
.rv-beb__grid { --cw: calc((100cqw - clamp(10px, 3.4cqw, 22px)) / 2); }
.rv-beb__grid--3 { --cw: calc((100cqw - 2 * clamp(8px, 2.6cqw, 18px)) / 3); }
.rv-beb { display: flex; flex-direction: column; align-items: stretch; min-width: 0; min-height: 0; }
/* todas las fotos en un recuadro igual (3:4), alineadas, y la foto se ve completa: lo que sobra se rellena con la misma foto desenfocada */
.rv-beb__pic { flex: 1 1 0; min-height: 56px; max-height: var(--cw, none); width: 100%; container-type: size; display: grid; place-items: start center; }
/* en cada fila van alineadas foto con foto, nombre con nombre y botón con botón (aunque un nombre ocupe más renglones) */
@supports (grid-template-rows: subgrid) {
  /* la fila de la foto nunca es más alta que el ancho de la columna (--cw): foto, nombre y botón quedan juntos,
     y lo que sobra de la hoja se reparte arriba y abajo del bloque (align-content: center) */
  .rv-beb__grid { grid-template-rows: repeat(var(--rows, 2), minmax(44px, var(--cw, 1fr)) auto auto auto); row-gap: 0; align-content: center; }
  .rv-beb { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .rv-beb__pic { place-items: center; }
  /* "En tu pedido" ocupa siempre su renglón (invisible si no hay nada): las filas no saltan al agregar,
     y el espacio entre filas va debajo de él */
  .rv-beb .rv-pz__in[hidden] { display: inline-flex; visibility: hidden; }
  .rv-beb .rv-pz__in { margin-bottom: clamp(8px, 2.6cqw, 18px); }
}
/* el recuadro toma la forma de cada foto (--ar = ancho/alto, lo pone el JS al cargarla): la foto se ve completa,
   sin bordes borrosos ni recortes, lo más grande que entra en su lugar y centrada. Sin foto: cuadrado de color */
.rv-beb__ph { position: relative; width: min(100cqw, calc(100cqh * var(--ar, 1))); aspect-ratio: var(--ar, 1); }
.rv-beb__frame { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: #ead9b6; box-shadow: 0 10px 24px rgba(55, 30, 10, .22); }
.rv-beb__frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.rv-beb__frame .rv-beb__blur { display: none; }
.rv-beb__pic .agotado-badge { position: absolute; top: 8px; left: 8px; }
.rv-pz__price.rv-beb__price { right: -4%; bottom: 8%; font-size: clamp(12px, 10cqmin, 22px); letter-spacing: .02em; white-space: nowrap; }
/* nombre siempre completo y legible: bloque común (sin -webkit-box/line-clamp, que en la grilla calculaba mal el alto
   y el botón tapaba el 2.º renglón), renglones con aire, letras sin apretar y sin cortar palabras al medio */
.rv-beb__name { display: block; margin: clamp(8px, 1.8cqh, 14px) 0 clamp(10px, 1.8cqh, 16px); font: 800 clamp(14px, min(4.6cqw, 2.8cqh), 24px) var(--display); line-height: 1.18; text-transform: uppercase; letter-spacing: .02em; text-align: center; overflow: visible; overflow-wrap: break-word; word-break: normal; hyphens: none; text-wrap: balance; align-self: start; }
/* con overflow: hidden la grilla podía achicar el nombre a un renglón en pantallas bajas (Chrome en Android, con sus barras):
   el nombre siempre se ve completo y lo que se achica es la foto */
.rv-beb__name { min-height: min-content; flex-shrink: 0; }
.rv-beb__add { margin-top: auto; min-height: clamp(40px, 6cqh, 50px); font-size: clamp(13px, 3.8cqw, 16px); }
.rv-beb__grid--3 .rv-beb__name { font-size: clamp(11px, min(3.2cqw, 2.2cqh), 17px); }
.rv-beb__grid--3 .rv-beb__add { font-size: clamp(12px, 3.2cqw, 15px); gap: 4px; padding-left: 6px; padding-right: 6px; }
.rv-beb__add:disabled { background: rgba(29, 23, 19, .18); color: var(--ink-soft); cursor: not-allowed; }
.rv-beb .rv-pz__in { justify-self: center; align-self: start; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; margin: 8px auto 0; padding: 3px 10px; border-radius: 999px; background: rgba(98, 32, 29, .1); font-size: 12px; line-height: 1.3; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-beb.is-agotado .rv-beb__frame { filter: grayscale(.7); opacity: .7; }
.rv-idx__thumb--beb { background: rgb(240, 214, 160); }
@container (max-height: 560px) {
  .rv-beb__sub { display: none; }
  .rv-beb__grid--3 .rv-beb__pic { min-height: 44px; }
  .rv-beb__grid--3 .rv-beb__name { margin: 6px 0 8px; }
  .rv-beb__grid--3 .rv-beb__add { min-height: 36px; }
}

/* ==== Modo mozo (/?mozo=n): solo la carta, con la barra de la mesa arriba ==== */
.en-mozo #inicio, .en-mozo #como-pedir, .en-mozo #ubicacion, .en-mozo #nosotros, .en-mozo #historia, .en-mozo #galeria,
.en-mozo #redes, .en-mozo #contacto, .en-mozo #mesaTag, .en-mozo #mesaTrack, .en-mozo .mozo-oculto, .en-mozo .loader { display: none !important; }
.mozo-bar {
  position: fixed;
  top: calc(env(safe-area-inset-top) + var(--header-h) + 6px);
  left: 50%;
  z-index: 46;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(640px, calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  padding: 6px;
  border: 1px solid rgba(229, 71, 50, 0.55);
  border-radius: 999px;
  background: rgba(11, 9, 8, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 600 14px/1.2 "Barlow", var(--sans);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}
.mozo-bar[hidden] { display: none; }
.mozo-bar__back, .mozo-bar__cart {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font: 700 14px/1 "Barlow", var(--sans);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mozo-bar__back { padding-left: 8px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.mozo-bar__back svg { width: 18px; height: 18px; }
.mozo-bar__cart { background: rgb(229, 71, 50); color: #fff; }
.mozo-bar__cart b { min-width: 22px; padding: 3px 6px; border-radius: 999px; background: #fff; color: rgb(157, 57, 51); text-align: center; }
.mozo-bar__mesa { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.mozo-bar__mesa span { display: block; color: rgba(255, 255, 255, 0.6); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.mozo-bar__mesa b { font-size: 16px; font-weight: 800; }
@media (max-width: 359px) { .mozo-bar__cart { padding: 0 10px; font-size: 0; gap: 0; } .mozo-bar__cart b { font-size: 14px; } .mozo-bar__back { padding-right: 10px; } }
.en-mozo main { padding-top: calc(env(safe-area-inset-top) + var(--header-h) + 64px); }

/* ==== Pedido de mesa enviado: ventanita centrada de 7 s (.mesa-ok) ==== */
.mesa-ok {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(18, 12, 9, .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: "Barlow", var(--sans);
  opacity: 0; transition: opacity .3s ease;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.mesa-ok[hidden] { display: none; }
.mesa-ok.is-on { opacity: 1; }
.mesa-ok__card {
  position: relative; overflow: hidden;
  width: min(340px, 100%); max-height: 100%; overflow-y: auto;
  padding: clamp(22px, 6vw, 30px) clamp(20px, 6vw, 28px) clamp(26px, 6vw, 32px);
  border-radius: var(--frame-r, 20px);
  background: rgb(240, 228, 214); color: rgb(30, 23, 19);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .5);
  text-align: center;
  transform: translateY(14px) scale(.96); transition: transform .35s cubic-bezier(.2, 1.3, .4, 1);
}
.mesa-ok.is-on .mesa-ok__card { transform: none; }
.mesa-ok__ico { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgb(22, 140, 70); color: #fff; box-shadow: 0 8px 20px rgba(22, 140, 70, .3); }
.mesa-ok__ico svg { width: 28px; height: 28px; }
.mesa-ok__kicker { margin-top: 12px; color: rgb(157, 57, 51); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mesa-ok__title { margin-top: 4px; font-size: clamp(1.2rem, 5vw, 1.45rem); font-weight: 700; line-height: 1.2; }
.mesa-ok__txt { margin-top: 8px; color: rgba(30, 23, 19, .78); font-size: clamp(.95rem, 3.8vw, 1.02rem); line-height: 1.35; text-wrap: balance; }
.mesa-ok__txt[hidden] { display: none; }
.mesa-ok__thanks { margin-top: 12px; color: rgb(229, 71, 50); font-weight: 700; font-size: 1rem; }
.mesa-ok__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(30, 23, 19, .1); }
.mesa-ok__bar i { display: block; height: 100%; width: 100%; background: rgb(229, 71, 50); transform-origin: left; transform: scaleX(1); }
.mesa-ok.is-on .mesa-ok__bar i { animation: mesaOkBar var(--ok-ms, 7s) linear forwards; }
@keyframes mesaOkBar { to { transform: scaleX(0); } }
@media (max-height: 440px) {
  .mesa-ok__card { padding: 14px 20px 18px; }
  .mesa-ok__ico { width: 40px; height: 40px; }
  .mesa-ok__ico svg { width: 22px; height: 22px; }
  .mesa-ok__kicker { margin-top: 6px; }
  .mesa-ok__thanks { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .mesa-ok, .mesa-ok__card { transition: none; } }
.mesa-ok__bank[hidden] { display: none; }
.mesa-ok__bank { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(30, 23, 19, .12); }
.mesa-ok__bank .mesa-ok__txt { margin-top: 0; font-size: clamp(.88rem, 3.6vw, .96rem); }
.mesa-ok__btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 12px; min-height: 50px; padding: 10px 20px; border-radius: 999px; background: rgb(22, 140, 70); color: #fff; font-weight: 700; font-size: clamp(1rem, 4.2vw, 1.06rem); line-height: 1.2; text-decoration: none; box-shadow: 0 8px 20px rgba(22, 140, 70, .3); -webkit-tap-highlight-color: transparent; }
.mesa-ok__btn svg { flex: none; width: 22px; height: 22px; }
.mesa-ok__btn:active { transform: scale(.97); }
.mesa-ok__btn:focus-visible { outline: 3px solid rgb(229, 71, 50); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .mesa-ok__btn:hover { background: rgb(18, 120, 60); } }
@media (max-height: 440px) {
  .mesa-ok__bank { margin-top: 8px; padding-top: 8px; }
  .mesa-ok__btn { min-height: 44px; margin-top: 8px; }
}

/* Seguimiento de mesa: fila discreta para mandar el comprobante (solo con transferencia) */
.mt-o__pay { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(29, 23, 19, .18); }
.mt-o__pay p { flex: 1 1 140px; min-width: 0; margin: 0; font-size: .92rem; font-weight: 600; line-height: 1.25; }
.mt-o__pay small { display: block; margin-top: 2px; color: rgba(29, 23, 19, .6); font-size: .8rem; font-weight: 500; }
.mt-o__wa { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 1.5px solid rgba(22, 140, 70, .45); border-radius: 999px; background: rgba(22, 140, 70, .08); color: rgb(17, 115, 57); font-size: .88rem; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background .2s, border-color .2s; }
.mt-o__wa svg { flex: none; width: 18px; height: 18px; }
.mt-o__wa:active { transform: scale(.97); }
.mt-o__wa:focus-visible { outline: 3px solid rgb(229, 71, 50); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .mt-o__wa:hover { background: rgba(22, 140, 70, .16); border-color: rgb(22, 140, 70); } }
/* Retiro: «Sumar algo más» (vuelve a la carta y lo que elija se suma a ese pedido) */
.mt-o__wa.mt-o__sumar { border-color: rgba(229, 71, 50, .5); background: rgba(229, 71, 50, .08); color: rgb(176, 42, 24); }
@media (hover: hover) and (pointer: fine) { .mt-o__wa.mt-o__sumar:hover { background: rgba(229, 71, 50, .16); border-color: rgb(229, 71, 50); } }
.mt-o__agr { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: rgba(245, 158, 11, .14); color: rgb(120, 53, 15); font-size: .86rem; line-height: 1.4; }
.cart-suma { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 10px; padding: 10px 12px; border: 1.5px solid rgba(245, 158, 11, .7); border-radius: 12px; background: rgb(255, 251, 235); color: rgb(120, 53, 15); }
.cart-suma[hidden], .suma-oculto { display: none !important; }
.cart-suma p { flex: 1 1 200px; margin: 0; font-size: .88rem; line-height: 1.4; }
.cart-suma button { flex: none; min-height: 40px; padding: 6px 4px; border: 0; background: none; color: rgb(120, 53, 15); font: inherit; font-size: .82rem; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ==== Seguimiento de mesa compacto: entra el pedido entero en la pantalla ==== */
/* sin carrito, solo seguimiento: fuera "Nostra Pizza / Tu pedido"; la X queda flotando arriba a la derecha */
.cart.en-seguir .cart__head { position: absolute; top: 0; right: 0; z-index: 3; padding: calc(12px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 0 0; border: 0; pointer-events: none; }
.cart.en-seguir .cart__head > div { display: none; }
.cart.en-seguir .cart__close { pointer-events: auto; width: 38px; height: 38px; margin: 0; background: #fff; box-shadow: 0 4px 14px rgba(29, 23, 19, .14); }
.cart.en-seguir .cart__body { padding-top: calc(14px + env(safe-area-inset-top)); }
.cart.en-seguir .mesa-track__head { align-items: center; min-height: 38px; padding-right: 48px; }
.mesa-track__head { margin-bottom: 10px; }
.mesa-track__list { gap: 14px; }
.mesa-track .cart__browse { margin-top: 12px; }
/* tarjeta: la barra repetía la línea de pasos; menos aire y textos de pasos ya hechos ocultos */
.mesa-track .mt-bar { display: none; }
.mt-o__card { padding: 14px 16px; }
.mt-o__hero { gap: 12px; margin-top: 12px; }
.mt-o__ico { width: 48px; height: 48px; border-radius: 15px; }
.mt-o__ico svg { width: 24px; height: 24px; }
.mt-o__title { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem); }
.mt-o__msg { margin-top: 3px; font-size: .84rem; line-height: 1.3; }
.mt-tl { margin-top: 12px; }
.mt-tl li { min-height: 34px; padding: 2px 0; }
.mt-tl li.is-done .mt-tl__txt small { display: none; }
.mt-o__paper { padding: 2px 16px 14px; }
.mt-o__items { margin-top: 4px; }
.mt-o__items li { padding: 4px 0; font-size: .93rem; }
.mt-o__pay { margin-top: 10px; padding-top: 10px; }
@media (max-width: 359px) {
  .mt-o__card { padding: 12px 13px; }
  .mt-o__paper { padding-left: 13px; padding-right: 13px; }
  .mt-o__ico { width: 42px; height: 42px; border-radius: 13px; }
  .mt-o__title { font-size: 1.18rem; }
  .cart.en-seguir .cart__body { padding-left: 12px; padding-right: 12px; }
}
/* celular acostado: X más chica y todo más pegado */
@media (max-height: 500px) and (orientation: landscape) {
  .cart.en-seguir .cart__head { padding-top: calc(8px + env(safe-area-inset-top)); }
  .cart.en-seguir .cart__body { padding-top: calc(10px + env(safe-area-inset-top)); }
  .mt-o__hero { margin-top: 8px; }
  .mt-tl { margin-top: 8px; }
  .mt-tl li { min-height: 30px; }
}
/* ajuste fino para que entre en un celular de ~670 px de alto */
.cart.en-seguir .cart__body { padding-top: calc(12px + env(safe-area-inset-top)); }
.cart.en-seguir .mesa-track { margin-bottom: 0; }
.cart.en-seguir .mesa-track__title { font-size: 1.12rem; white-space: nowrap; }
.cart.en-seguir .mesa-track__head > div { min-width: 0; }
.cart.en-seguir .mesa-track__mesa { padding: 5px 10px; font-size: .64rem; letter-spacing: .12em; }
.mt-o__card { padding-top: 12px; padding-bottom: 12px; }
.mt-o__hero { margin-top: 10px; }
.mt-o__pay { flex-wrap: nowrap; }
.mt-o__pay p { flex: 1 1 auto; font-size: .86rem; color: rgba(29, 23, 19, .72); }
@media (max-width: 359px) {
  .cart.en-seguir .mesa-track__title { font-size: .98rem; }
  .mt-o__wa { padding: 8px 11px; font-size: .82rem; }
}

/* ==== Seguimiento de mesa a pantalla completa ====
   Con un solo pedido, la tarjeta se estira hasta abajo (sin hueco blanco): los pasos se reparten el alto y los tamaños
   crecen con la pantalla. Tope de alto para que en tablet/PC no quede estirada; ahí queda centrada */
.cart.en-seguir .cart__body { display: flex; flex-direction: column; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.cart.en-seguir .mesa-track { flex: 1 0 auto; display: flex; flex-direction: column; }
.cart.en-seguir .mesa-track__list { flex: 1 0 auto; justify-content: center; }
.cart.en-seguir .mt-o:only-child { flex: 1 0 auto; display: flex; flex-direction: column; max-height: 860px; }
.cart.en-seguir .mt-o:only-child .mt-o__card { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(10px, 2vh, 22px); }
.cart.en-seguir .mt-o:only-child .mt-o__hero { margin-top: 0; gap: clamp(12px, 2vh, 18px); }
.cart.en-seguir .mt-o:only-child .mt-tl { flex: 1 0 auto; display: flex; flex-direction: column; max-height: 300px; margin-top: 0; }
.cart.en-seguir .mt-o:only-child .mt-tl li { flex: 1 1 0; min-height: clamp(34px, 5.6vh, 52px); }
.cart.en-seguir .mt-o:only-child .mt-o__ico { width: clamp(46px, 7vh, 64px); height: clamp(46px, 7vh, 64px); border-radius: clamp(14px, 2vh, 20px); }
.cart.en-seguir .mt-o:only-child .mt-o__ico svg { width: clamp(22px, 3.4vh, 30px); height: clamp(22px, 3.4vh, 30px); }
.cart.en-seguir .mt-o:only-child .mt-o__title { font-size: clamp(1.15rem, min(3.4vh, 6.2vw), 1.9rem); }
.cart.en-seguir .mt-o:only-child .mt-o__msg { font-size: clamp(.84rem, 1.9vh, .98rem); }
.cart.en-seguir .mt-o:only-child .mt-tl__txt b { font-size: clamp(.92rem, 2.1vh, 1.06rem); }
.cart.en-seguir .mt-o:only-child .mt-tl__txt small { font-size: clamp(.76rem, 1.7vh, .86rem); }
.cart.en-seguir .mt-o:only-child .mt-o__paper { padding-top: clamp(2px, 1vh, 8px); padding-bottom: clamp(14px, 2.2vh, 20px); }
.cart.en-seguir .mt-o:only-child .mt-o__items li { padding: clamp(4px, .9vh, 8px) 0; font-size: clamp(.93rem, 2vh, 1.04rem); }
.cart.en-seguir .mesa-track .cart__browse { margin-top: clamp(12px, 2vh, 20px); }
/* el carrito del celular acostado ya es bajo: ahí no se estira nada */
@media (max-height: 500px) and (orientation: landscape) {
  .cart.en-seguir .mt-o:only-child .mt-o__card { gap: 8px; }
}
/* tablets y pantallas altas: todo un poco más grande para que no quede vacía */
@media (min-width: 600px) and (min-height: 880px) {
  .cart.en-seguir .mt-o:only-child { max-height: 900px; }
  .cart.en-seguir .mt-o:only-child .mt-o__card { padding: 20px 24px; }
  .cart.en-seguir .mt-o:only-child .mt-o__paper { padding-left: 24px; padding-right: 24px; }
  .cart.en-seguir .mt-o:only-child .mt-tl { max-height: 440px; }
  .cart.en-seguir .mt-o:only-child .mt-tl li { min-height: 64px; gap: 16px; }
  .cart.en-seguir .mt-o:only-child .mt-tl__dot { width: 36px; height: 36px; }
  .cart.en-seguir .mt-o:only-child .mt-tl__dot svg { width: 18px; height: 18px; }
  .cart.en-seguir .mt-o:only-child .mt-tl li + li::before { left: 17px; bottom: calc(50% + 18px); height: calc(100% - 36px); }
  .cart.en-seguir .mt-o:only-child .mt-tl__txt b { font-size: 1.2rem; }
  .cart.en-seguir .mt-o:only-child .mt-tl__txt small { font-size: .95rem; }
  .cart.en-seguir .mt-o:only-child .mt-tl__now { padding: 5px 12px; font-size: .74rem; }
  .cart.en-seguir .mt-o:only-child .mt-o__ico { width: 76px; height: 76px; border-radius: 22px; }
  .cart.en-seguir .mt-o:only-child .mt-o__ico svg { width: 36px; height: 36px; }
  .cart.en-seguir .mt-o:only-child .mt-o__kicker { font-size: .8rem; }
  .cart.en-seguir .mt-o:only-child .mt-o__title { font-size: clamp(1.9rem, 4.2vw, 2.4rem); }
  .cart.en-seguir .mt-o:only-child .mt-o__msg { font-size: 1.08rem; }
  .cart.en-seguir .mt-live, .cart.en-seguir .mt-o__ref { font-size: .9rem; }
  .cart.en-seguir .mt-o:only-child .mt-o__meta { font-size: .78rem; }
  .cart.en-seguir .mt-o:only-child .mt-o__time { font-size: .9rem; }
  .cart.en-seguir .mt-o:only-child .mt-o__items li { font-size: 1.12rem; padding: 9px 0; }
  .cart.en-seguir .mt-o__pay p { font-size: 1rem; }
  .cart.en-seguir .mt-o__wa { min-height: 48px; padding: 10px 20px; font-size: 1rem; }
  .cart.en-seguir .mesa-track__title { font-size: 1.5rem; }
  .cart.en-seguir .mesa-track__sub { font-size: .95rem; }
  .cart.en-seguir .mesa-track__mesa { padding: 7px 14px; font-size: .78rem; }
}
/* panel lateral de PC/notebook (420 px de ancho): el título vuelve al tamaño del celular */
@media (min-width: 600px) and (orientation: landscape) {
  .cart.en-seguir .mt-o:only-child .mt-o__title { font-size: clamp(1.3rem, 2.6vh, 1.75rem); }
  .cart.en-seguir .mt-o:only-child .mt-o__card, .cart.en-seguir .mt-o:only-child .mt-o__paper { padding-left: 18px; padding-right: 18px; }
}


/* ==== Elegir local (Nostra Sarmiento / Nostra Patricias) ==== */
.suc-lock, .suc-lock body { overflow: hidden; }
/* después de cambiar de local la página vuelve sin la intro */
.sin-intro .loader { display: none !important; }
/* sin intro (al cambiar de local y en el modo mozo) el hero ya sale nítido: sin la espera de la apertura
   (si no, la foto y el título quedaban desenfocados unos segundos, o más si el navegador frenaba la animación) */
.sin-intro .hero__slides, .sin-intro .hero__content > *,
.en-mozo .hero__slides, .en-mozo .hero__content > * { animation: none !important; }
.suc-dlg {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1400;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.suc-dlg[hidden] { display: none; }
.suc-dlg__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(12, 9, 7, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: sucFade .25s ease; }
.suc-dlg__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px 22px 22px;
  border-radius: 22px;
  background: #fff;
  color: rgb(29, 23, 19);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  animation: sucIn .32s cubic-bezier(.22, .8, .24, 1);
}
.suc-dlg__x {
  position: absolute; top: 14px; right: 14px;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(29, 23, 19, 0.07); color: rgb(29, 23, 19);
  cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
}
.suc-dlg__x svg { width: 20px; height: 20px; }
.suc-dlg__t { padding-right: 48px; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.55rem); line-height: 1.15; letter-spacing: -.01em; }
.suc-dlg__s { margin-top: 8px; color: rgba(29, 23, 19, 0.64); font-size: .92rem; line-height: 1.45; }
.suc-dlg__s b { color: rgb(29, 23, 19); }
.suc-dlg__list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.suc-opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 72px; padding: 15px 16px;
  border: 1.5px solid rgba(29, 23, 19, 0.16); border-radius: 16px;
  background: #fff; color: inherit; font: inherit; text-align: left;
  cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.suc-opt.is-here { border-color: rgba(29, 23, 19, 0.08); background: rgba(29, 23, 19, 0.045); }
.suc-opt.is-busy { opacity: .6; pointer-events: none; }
.suc-opt:focus-visible, .suc-dlg__x:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 2px; }
.suc-opt__ico { display: flex; flex: none; width: 24px; height: 24px; color: rgb(217, 56, 41); }
.suc-opt__ico svg { width: 100%; height: 100%; }
.suc-opt__txt { flex: 1 1 auto; min-width: 0; }
.suc-opt__n { display: block; font-weight: 800; font-size: 1.04rem; line-height: 1.25; }
.suc-opt__a { display: block; margin-top: 3px; color: rgba(29, 23, 19, 0.6); font-size: .88rem; line-height: 1.3; }
.suc-opt__note { display: block; margin-top: 4px; color: rgb(170, 70, 40); font-size: .78rem; font-weight: 600; }
.suc-opt__tag { flex: none; padding: 6px 11px; border-radius: 999px; background: rgb(29, 23, 19); color: #fff; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.suc-opt__go { flex: none; width: 20px; height: 20px; color: rgba(29, 23, 19, 0.45); }
@media (hover: hover) and (pointer: fine) {
  .suc-opt:not(.is-here):hover { border-color: rgb(29, 23, 19); box-shadow: 0 10px 22px -16px rgba(29, 23, 19, 0.6); transform: translateY(-1px); }
}
@media (max-width: 360px) {
  .suc-dlg__box { padding: 22px 16px 16px; }
  .suc-opt { gap: 11px; padding: 13px 12px; }
}
/* bienvenida: al entrar desde el celular sin local elegido, con la estética de la página */
.suc-dlg__logo { display: none; }
.suc-dlg.is-bienv .suc-dlg__box { padding-top: 22px; background: rgb(246, 238, 226); border-top: 5px solid var(--red, rgb(217, 56, 41)); }
.suc-dlg.is-bienv .suc-dlg__logo { display: block; width: 64px; height: 64px; margin: 0 0 14px; border-radius: 50%; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.6); }
.suc-dlg.is-bienv .suc-dlg__t { font-size: clamp(1.45rem, 1.3rem + .8vw, 1.75rem); }
.suc-dlg.is-bienv .suc-opt { background: #fff; border-color: rgba(29, 23, 19, 0.14); box-shadow: 0 6px 16px -14px rgba(29, 23, 19, 0.7); }
.suc-dlg.is-bienv .suc-dlg__x { background: rgba(29, 23, 19, 0.08); }
@media (max-height: 520px) {
  .suc-dlg.is-bienv .suc-dlg__logo { width: 44px; height: 44px; margin-bottom: 8px; }
  .suc-dlg__box { padding-top: 18px; padding-bottom: 16px; }
  .suc-dlg__list { margin-top: 12px; gap: 8px; }
  .suc-opt { min-height: 60px; padding-top: 11px; padding-bottom: 11px; }
}
@keyframes sucFade { from { opacity: 0; } }
@keyframes sucIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .suc-dlg__bg, .suc-dlg__box { animation: none; } }

/* Modo mozo: lo que ya pidió la mesa */
.mozo-prev { margin: 4px 0 12px; padding: 8px 12px; border-radius: 12px; background: rgba(29, 23, 19, .05); list-style: none; font-size: .92rem; line-height: 1.35; }
.mozo-prev:empty { display: none; }
.mozo-prev li { padding: 3px 0; overflow-wrap: anywhere; }
.mozo-prev b { display: inline-block; min-width: 26px; }
.mozo-bar.has-prev { flex-wrap: wrap; row-gap: 2px; border-radius: 26px; }
.mozo-bar__prev { order: 3; flex: 1 0 100%; min-width: 0; margin: 0; padding: 3px 12px 5px; color: rgba(255, 255, 255, .88); font-size: 13px; font-weight: 500; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.mozo-bar__prev[hidden] { display: none; }
.mozo-bar__prev span { color: rgb(255, 160, 140); font-weight: 700; }

/* Mesa (QR): solo se elige cómo pagar; se paga en la caja al irse (sin comprobante) */
.cart-pay-mesa { display: none; }
.en-mesa:not(.en-mozo) .cart-pay-mesa { display: block; margin-top: 10px; color: rgba(29, 23, 19, .62); }
.mt-o__pay--caja p b { color: #b3261e; }

/* Seguimiento de mesa: «Pedir la cuenta» (cuando el pedido ya está listo) y el tilde de cuenta pedida */
.mt-o__pay.mt-o__pay--caja { flex-wrap: wrap; }
.mt-cuenta { flex: 1 1 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 52px; margin: 0; padding: 12px 18px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #e0463a, #b3261e); color: #fff; font: inherit; font-size: 1rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(179, 38, 30, .85); -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .12s ease, opacity .2s ease; }
.mt-cuenta svg { flex: none; width: 21px; height: 21px; }
.mt-cuenta:active { transform: scale(.98); }
.mt-cuenta:disabled { opacity: .7; cursor: default; }
.mt-cuenta:focus-visible { outline: 3px solid rgb(229, 71, 50); outline-offset: 3px; }
.mt-cuenta-err { flex: 1 1 100%; margin: 0; color: #b3261e; font-size: .85rem; font-weight: 600; text-align: center; }
.mt-o__pay .mt-cuenta-ok { flex: 1 1 100%; display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1.5px solid rgba(22, 140, 70, .35); border-radius: 16px; background: rgba(22, 140, 70, .09); color: rgb(17, 101, 52); font-weight: 600; animation: mtCuentaIn .35s ease-out; }
.mt-cuenta-ok__ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(22, 140, 70); color: #fff; }
.mt-cuenta-ok__ico svg { width: 22px; height: 22px; }
.mt-o__pay--caja .mt-cuenta-ok b { display: block; color: rgb(17, 101, 52); font-size: 1rem; font-weight: 800; }
.mt-o__pay .mt-cuenta-ok small { margin-top: 1px; color: rgba(17, 101, 52, .85); font-size: .88rem; font-weight: 500; }
@keyframes mtCuentaIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mt-o__pay .mt-cuenta-ok { animation: none; } }
@media (max-width: 360px) { .mt-cuenta { min-height: 50px; padding: 11px 12px; font-size: .92rem; } }

/* «Pedir la cuenta»: cuándo tocarlo (debajo del botón) */
.mt-cuenta-tip { display: block; flex: 1 1 100%; margin-top: 6px; text-align: center; font-size: .78rem; line-height: 1.3; color: rgba(29, 23, 19, .62); }

/* Seguimiento del retiro: lo que el cliente agregó después, con su propio estado (Recibido · En la cocina · ¡Listo!) */
.mt-agr { display: grid; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(29, 23, 19, .18); }
.mt-agr__k { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(29, 23, 19, .6); }
.mt-agr__b { padding: 8px 12px; border-radius: 12px; border-left: 4px solid #e0a020; background: #fff7e6; }
.mt-agr__b.is-pending { border-left-color: #c81e1e; background: #fff1f1; }
.mt-agr__b.is-ready { border-left-color: #1f9d55; background: #eaf8ef; }
.mt-agr__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px; font-size: .8rem; color: rgba(29, 23, 19, .65); }
.mt-agr__h em { padding: 3px 9px; border-radius: 999px; background: #e0a020; color: #fff; font-style: normal; font-weight: 800; font-size: .72rem; }
.is-pending .mt-agr__h em { background: #c81e1e; }
.is-ready .mt-agr__h em { background: #1f9d55; }
.mt-agr__b ul { margin: 0; padding: 0; list-style: none; font-weight: 600; font-size: .93rem; }
.mt-agr__b li { padding: 2px 0; overflow-wrap: anywhere; }
/* Modo mozo: aviso al enviar el pedido (qué decirle al cliente: QR/NFC para seguir, sumar y pedir la cuenta) */
.mozo-aviso { position: fixed; z-index: 2147483000; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100vw - 32px), 460px); box-sizing: border-box; padding: 16px 18px; border-radius: 16px; background: #1d1713; color: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); font: 500 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.mozo-aviso[hidden] { display: none; }
.mozo-aviso b { display: block; margin-bottom: 4px; color: #ffcf7a; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.mozo-aviso button { display: block; width: 100%; min-height: 44px; margin-top: 12px; border: 0; border-radius: 999px; background: #fff; color: #1d1713; font: 700 15px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; }

/* ==== SUMAR ALGO MÁS (retiro): lo nuevo dentro del ticket, globito de aclaraciones, extras con casilla, botón y total ==== */
.cart.en-suma .cart__list, .cart.en-suma #cartUp, .cart.en-suma #cartEx, .cart.en-suma #cartForm, .cart.en-suma #cartDone,
.cart.en-suma #cartEmpty, .cart.en-suma .mesa-track__head, .cart.en-suma #mesaTrackMore, .cart.en-suma .cart__total-row,
.cart.en-suma #cartShip, .cart.en-suma #cartSuma { display: none !important; }
.cart.en-suma .mesa-track { margin: 0 0 10px; }
.mt-o.is-sumando { filter: drop-shadow(0 10px 16px rgba(29, 23, 19, .16)); }
.mt-o.is-sumando .mt-o__card, .mt-o.is-sumando .mt-o__cut, .mt-o.is-sumando .mt-agr, .mt-o.is-sumando .mt-o__pay, .mt-o.is-sumando .mt-o__agr { display: none; }
.mt-o.is-sumando .mt-o__paper { padding-top: 12px; border-radius: 18px; }
.mt-new__k { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed rgba(29, 23, 19, .2); color: rgb(217, 56, 41); font-weight: 800; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.mt-o__items.mt-new { margin-top: 2px; }
.mt-o__items.mt-new li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 4px 0; animation: mtNew .35s ease-out; }
.mt-new__n { min-width: 0; }
.mt-new__p { color: rgba(29, 23, 19, .7); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.mt-new__c { display: inline-flex; gap: 6px; }
.mt-new__c button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1.5px solid rgba(217, 56, 41, .35); border-radius: 50%; background: #fff; color: rgb(217, 56, 41); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mt-new__c button:active { transform: scale(.92); }
.mt-new__c button:focus-visible { outline: 2px solid rgb(217, 56, 41); outline-offset: 2px; }
.mt-new__c svg { width: 16px; height: 16px; }
@keyframes mtNew { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.sm-box[hidden], .sm-ex[hidden], .sm-ck[hidden], .sm-tot[hidden] { display: none !important; }
.sm-box { display: flex; flex-direction: column; gap: 8px; margin: 0 0 6px; }
/* el globito: un cuadro redondeado con su piquito arriba, apuntando al ticket */
.sm-nota { position: relative; display: block; margin-top: 6px; padding: 8px 12px 6px; border: 1.5px solid rgba(29, 23, 19, .14); border-radius: 18px; background: #fff; box-shadow: 0 4px 12px rgba(29, 23, 19, .06); }
.sm-nota::before { content: ""; position: absolute; top: -7px; left: 26px; width: 12px; height: 12px; border-top: 1.5px solid rgba(29, 23, 19, .14); border-left: 1.5px solid rgba(29, 23, 19, .14); background: #fff; transform: rotate(45deg); }
.sm-nota:focus-within { border-color: rgba(217, 56, 41, .55); }
.sm-nota:focus-within::before { border-color: rgba(217, 56, 41, .55); }
.sm-nota__t { display: block; color: rgba(29, 23, 19, .7); font-weight: 700; font-size: .78rem; }
.sm-nota__t small { font-weight: 500; color: rgba(29, 23, 19, .5); font-size: .74rem; }
.sm-nota__in { display: block; width: 100%; min-height: 38px; margin: 2px 0 0; padding: 2px 0; border: 0; outline: 0; resize: none; background: transparent; color: rgb(29, 23, 19); font: inherit; font-size: 16px; line-height: 1.35; }
.sm-ex { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sm-ck { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 46px; padding: 6px 10px; border: 1.5px solid rgba(29, 23, 19, .14); border-radius: 14px; background: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sm-ck input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sm-ck__b { flex: none; position: relative; width: 22px; height: 22px; border: 2px solid rgba(29, 23, 19, .35); border-radius: 6px; background: #fff; transition: background .15s, border-color .15s; }
.sm-ck__b::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
.sm-ck input:checked + .sm-ck__b { border-color: rgb(217, 56, 41); background: rgb(217, 56, 41); }
.sm-ck input:checked + .sm-ck__b::after { transform: rotate(45deg) scale(1); }
.sm-ck input:focus-visible + .sm-ck__b { outline: 2px solid rgb(217, 56, 41); outline-offset: 2px; }
.sm-ck:has(input:checked) { border-color: rgba(217, 56, 41, .5); background: rgb(255, 245, 243); }
.sm-ck__t { display: flex; flex-direction: column; min-width: 0; }
.sm-ck__n { font-weight: 700; font-size: .92rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-ck__p { color: rgba(29, 23, 19, .6); font-size: .78rem; font-weight: 700; line-height: 1.2; }

/* abajo: el botón y debajo el total de lo que sumó */
.cart.en-suma .cart__foot { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding-top: 10px; }
.cart.en-suma .cart__checkout { margin: 0; }
.sm-tot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 2px 0; }
.sm-tot span { color: rgba(29, 23, 19, .65); font-size: .88rem; font-weight: 600; }
.sm-tot b { font-family: var(--display); font-size: 1.2rem; font-weight: 800; color: rgb(29, 23, 19); white-space: nowrap; }
.cart.en-suma .cart__hint:empty { display: none; }
@media (max-width: 360px) {
  .mt-o__items.mt-new li { gap: 6px; }
  .mt-new__c button { width: 32px; height: 32px; }
  .sm-ck { gap: 8px; padding: 5px 8px; min-height: 42px; }
  .sm-ck__n { font-size: .86rem; }
}
/* celulares bajitos (iPhone SE y parecidos): todo más apretado para que entre sin bajar */
@media (max-height: 700px) {
  .mt-o.is-sumando .mt-o__paper { padding-top: 8px; padding-bottom: 10px; }
  .mt-o.is-sumando .mt-o__items li { padding: 2px 0; }
  .mt-new__k { margin-top: 6px; padding-top: 6px; }
  .mt-new__c button { width: 32px; height: 32px; }
  .sm-nota { margin-top: 4px; padding: 6px 12px 4px; }
  .sm-nota__in { min-height: 24px; }
  .sm-ck { min-height: 42px; }
  .cart.en-suma .cart__foot { padding-top: 8px; gap: 4px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .sm-nota__in { min-height: 34px; }
  .sm-ck { min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .mt-o__items.mt-new li { animation: none; } }
.mt-new__k.mt-new__k--ya { color: rgba(29, 23, 19, .55); }

/* Mesa: una vuelta que es solo bebidas o tragos no muestra estado (la lleva el mozo): queda solo el ticket */
.mt-o.is-beb .mt-o__card, .mt-o.is-beb .mt-o__cut { display: none; }
.mt-o.is-beb .mt-o__paper { padding-top: 12px; border-radius: 18px; }

/* ==== SEGUIMIENTO DEL RETIRO: DATOS PARA TRANSFERIR Y «ENVIAR COMPROBANTE» (2026-11-19) ==== */
.mt-bank { margin-top: 12px; padding: 14px; border: 1px solid rgba(217, 56, 41, .22); border-radius: 14px; background: rgba(229, 71, 50, .05); }
.mt-bank__k { margin: 0 0 10px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgb(176, 42, 24); }
.mt-bank__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid rgba(29, 23, 19, .1); border-radius: 10px; background: #fff; }
.mt-bank__row + .mt-bank__row { margin-top: 8px; }
.mt-bank__row > div { min-width: 0; }
.mt-bank__row span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgb(217, 56, 41); }
.mt-bank__row b { display: block; margin-top: 2px; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; color: rgb(29, 23, 19); }
.mt-bank__copy { flex: none; min-height: 36px; padding: 6px 12px; border: 1px solid rgba(29, 23, 19, .18); border-radius: 999px; background: #fff; color: rgb(29, 23, 19); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.mt-bank__copy.is-done { border-color: rgb(22, 140, 70); color: rgb(22, 140, 70); }
.mt-bank__copy:focus-visible, .mt-bank__wa:focus-visible { outline: 3px solid rgb(229, 71, 50); outline-offset: 2px; }
.mt-bank__help { margin: 10px 0 0; font-size: .85rem; line-height: 1.35; color: rgba(29, 23, 19, .72); }
.mt-bank__wa { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 10px; padding: 10px 16px; border-radius: 12px; background: #1fa855; color: #fff; font-weight: 800; font-size: .98rem; text-decoration: none; }
.mt-bank__wa svg { flex: none; width: 20px; height: 20px; }
.mt-bank__wa:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .mt-bank__wa:hover { background: #178f47; } .mt-bank__copy:hover { border-color: rgb(29, 23, 19); } }
@media (max-width: 340px) { .mt-bank { padding: 12px; } .mt-bank__row { flex-wrap: wrap; } .mt-bank__copy { width: 100%; } }

.mesa-ok__btn[hidden], #cartBank .cart-bank__title[hidden] { display: none; }

/* ==== CARTA PARA MIRAR (mesa sin pedidos por QR, 2026-11-19): sin botones de pedir ni carrito; la pastilla dice «Pedile al mozo» */
html.mesa-info .js-pedir, html.mesa-info .js-extra, html.mesa-info .cart-btn, html.mesa-info .rv__cart, html.mesa-info .rv-back__cta,
html.mesa-info [data-add], html.mesa-info .pzv__order, html.mesa-info .cart-up, html.mesa-info .cart-ex { display: none !important; }
.mesa-tag__st.is-info { background: rgb(29, 23, 19); color: #fff; }

/* ==== LISTAS CON DESCRIPCIÓN (2026-11-19, ej. Hamburguesas y sándwiches de Nostra Patricias) ==== */
/* en la carta: el nombre y debajo los ingredientes */
.promo--carta .extras-list li > span:first-child { display: flex; flex-direction: column; gap: 3px; overflow-wrap: anywhere; }
.extras-list__desc { display: block; font-size: .85em; font-weight: 500; line-height: 1.35; color: rgba(29, 23, 19, .68); }
.extras-list li.is-agotado .extras-list__desc { text-decoration: none; }
/* en la revista: una hoja por lista, cada producto con nombre ····· precio, los ingredientes y «Agregar» */
.rv-page--lista { display: flex; flex-direction: column; overflow-y: auto; }
.rv-lst__sub { margin-top: 4px; font-size: clamp(12px, 3.4cqw, 15px); color: var(--ink-soft); }
.rv-lst { display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; gap: clamp(10px, 2.2cqh, 20px); margin: clamp(10px, 2.4cqh, 22px) 0 0; padding: 0; list-style: none; }
.rv-lst__it { padding: clamp(10px, 2cqh, 16px) clamp(12px, 3.4cqw, 18px); border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(55, 30, 10, .1); }
.rv-lst__top { display: flex; align-items: baseline; gap: 8px; }
.rv-lst__name { min-width: 0; font: 800 clamp(15px, min(4.6cqw, 2.8cqh), 22px) var(--display); line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: break-word; }
.rv-lst__top .rv-idx__dots { transform: none; }
.rv-lst__price { flex-shrink: 0; font: 800 clamp(14px, 4.2cqw, 20px) var(--display); color: rgb(122, 44, 39); white-space: nowrap; }
.rv-lst__desc { margin-top: 4px; font-size: clamp(12px, min(3.6cqw, 2.2cqh), 15px); line-height: 1.4; color: var(--ink-soft); }
.rv-lst__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: clamp(6px, 1.4cqh, 12px); }
.rv-lst__add { min-height: 40px; font-size: clamp(13px, 3.6cqw, 15px); }
.rv-lst__add:disabled { background: rgba(29, 23, 19, .18); color: var(--ink-soft); cursor: not-allowed; }
.rv-lst__it.is-agotado .rv-lst__name { opacity: .6; text-decoration: line-through; }
.rv-lst .rv-pz__in { padding: 3px 10px; border-radius: 999px; background: rgba(98, 32, 29, .1); font-size: 12px; }
@container (max-height: 560px) { .rv-lst__sub { display: none; } .rv-lst__add { min-height: 34px; } }
/* carta para mirar (mesa): sin botón, la hoja queda solo con nombre, precio e ingredientes */
html.mesa-info .rv-lst__buy { display: none; }

/* ==== REVISTA: BEBIDAS Y TRAGOS SE TOCAN (2026-11-20) ====
   La foto de cada bebida/trago abre el visor oscuro (como las pizzas) con nombre, qué lleva, precio y «Agregar».
   Lupa redonda arriba a la derecha (el cartel de Agotado va a la izquierda) */
.rv-beb__ph[data-zoom-beb] { cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.rv-beb__ph[data-zoom-beb]:focus-visible { outline: 3px solid var(--terra-2); outline-offset: 3px; border-radius: 16px; }
.rv-beb__ph[data-zoom-beb]:active .rv-beb__frame { transform: scale(.97); }
.rv-beb__frame { transition: transform .15s ease; }
.rv-beb__zoom {
  position: absolute; top: 6px; right: 6px; z-index: 3;
  display: grid; place-items: center;
  width: clamp(24px, 20cqmin, 32px); height: clamp(24px, 20cqmin, 32px); border-radius: 50%;
  background: rgba(30, 23, 19, .78); color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
  pointer-events: none;
  transition: transform .2s ease, background-color .2s ease;
}
.rv-beb__zoom svg { width: 58%; height: 58%; }
@media (hover: hover) and (pointer: fine) {
  .rv-beb__ph[data-zoom-beb]:hover .rv-beb__zoom { background: var(--terra-2); transform: scale(1.08); }
}
/* sin foto cargada: el logo de Nostra chico y suave en el recuadro (antes quedaba vacío) */
.rv-beb__frame img.rv-beb__logo { inset: 22%; width: 56%; height: 56%; object-fit: contain; opacity: .5; }
.rv-beb__tip { display: block; margin-top: 2px; font-weight: 700; color: var(--terra-2); font-size: .88em; }
/* visor: "qué lleva" con hasta 3 renglones; sin texto, no ocupa lugar */
.pzv .pzv__desc[hidden] { display: none !important; }
.pzv.is-local.is-beb .pzv__desc { -webkit-line-clamp: 3; }
.pzv.is-solo .pzv__nav { display: none !important; }
/* bebida/trago sin foto: el logo centrado, no estirado */
.pzv.is-noimg .pzv__img { object-fit: contain; padding: 12%; box-sizing: border-box; opacity: .85; }
.pzv.is-local.is-noimg .pzv__img { width: min(56vw, 260px); height: auto; padding: 0; box-shadow: none; border-radius: 0; }
.pzv.is-local.is-beb .pzv__desc { font-size: clamp(.98rem, .9rem + .3vw, 1.1rem); line-height: 1.4; color: rgba(255, 255, 255, .85); }
.pzv.is-local.is-trago .pzv__desc::before { content: "Lleva: "; font-weight: 700; color: #f2b54c; }
/* celular acostado: en bebidas y tragos sí va «qué lleva», en un renglón debajo de nombre y precio */
@media (orientation: landscape) and (max-height: 500px) {
  .pzv.is-pz.is-beb .pzv__stage { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .pzv.is-pz.is-beb .pzv__info { flex-wrap: wrap; row-gap: 4px; column-gap: 16px; }
  .pzv.is-local.is-beb .pzv__desc { display: -webkit-box; -webkit-line-clamp: 1; order: 3; flex-basis: 100%; max-width: none; font-size: .92rem; }
}
