/* Don Robertto — página pública.
   Colores del logo: bordó de la banda, verde del anillo, crema del fondo.
   Fraunces para títulos (tiene el aire de cartel de pizzería de barrio) y
   Archivo para el texto y los controles (se lee bien chico y en el celular). */

@font-face { font-family: "Fraunces"; src: url("../fuentes/Fraunces-variable-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fuentes/Fraunces-variable-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fuentes/Archivo-variable-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --harina: #f7f0e3;
  --harina-profunda: #eee2cc;
  --papel: #fffbf4;
  --bordo: #74291f;
  --bordo-oscuro: #4a1912;
  --bordo-claro: #9a3b2c;
  --tomate: #c4462c;
  --verde: #3d6943;
  --verde-claro: #e2ebdc;
  --corteza: #c98a47;
  --dorado: #e6bd73;
  --tinta: #2a1c15;
  --tinta-suave: #6e5b4e;
  --linea: rgba(42, 28, 21, .13);
  --linea-fuerte: rgba(42, 28, 21, .22);
  --sombra-chica: 0 1px 2px rgba(42, 28, 21, .06), 0 4px 14px -6px rgba(42, 28, 21, .18);
  --sombra: 0 2px 4px rgba(42, 28, 21, .05), 0 18px 40px -16px rgba(74, 25, 18, .32);
  --radio: 20px;
  --radio-chico: 12px;
  --fuente-titulos: "Fraunces", Georgia, "Times New Roman", serif;
  --fuente-texto: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --curva: cubic-bezier(.2, .75, .2, 1);
  --curva-rebote: cubic-bezier(.34, 1.56, .64, 1);
  --alto-del-encabezado: 76px;
  --margen: clamp(16px, 4vw, 40px);
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .2 0 0 0 0 .13 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-del-encabezado) + 64px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--harina) var(--grano);
  color: var(--tinta);
  font: 400 16px/1.6 var(--fuente-texto);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.esta-bloqueado { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--corteza); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--dorado); color: var(--bordo-oscuro); }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icono-whatsapp, .whatsapp-flotante svg { fill: currentColor; stroke: none; }

.contenedor { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--margen); }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--bordo); color: var(--papel); text-decoration: none; transition: top .2s; }
.saltar:focus { top: 12px; }

/* ---------- Tipografía común ---------- */
.volanta {
  margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bordo);
}
.volanta::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55; }
.seccion-titulo {
  margin: 0;
  font: 700 clamp(34px, 4.6vw, 58px)/1.02 var(--fuente-titulos);
  letter-spacing: -.022em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.seccion-titulo em, .portada-titulo em, .cierre h2 em { font-style: italic; font-weight: 500; color: var(--bordo); }
.seccion-bajada { margin: 18px 0 0; max-width: 560px; font-size: 18px; color: var(--tinta-suave); text-wrap: pretty; }
.seccion-bajada a { color: var(--bordo); font-weight: 600; text-underline-offset: 3px; }
.seccion-encabezado { margin-bottom: 44px; }
.seccion-encabezado.es-centrado { text-align: center; }
.seccion-encabezado.es-centrado .seccion-bajada { margin-left: auto; margin-right: auto; }
.seccion { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

/* ---------- Botones ---------- */
.boton {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: .005em; text-decoration: none;
  transition: transform .25s var(--curva), box-shadow .25s var(--curva), background-color .25s, color .25s;
}
.boton svg { width: 20px; height: 20px; transition: transform .3s var(--curva); }
.boton:hover svg:last-child { transform: translateX(3px); }
.boton:active { transform: scale(.97); }
.boton-principal { background: var(--bordo); color: var(--papel); box-shadow: 0 10px 24px -10px rgba(116, 41, 31, .7), inset 0 -2px 0 rgba(0, 0, 0, .15); }
.boton-principal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bordo-oscuro); transform: translateY(101%); transition: transform .35s var(--curva); }
.boton-principal:hover::after { transform: none; }
.boton-principal:hover { box-shadow: 0 14px 30px -12px rgba(74, 25, 18, .8); }
.boton-contorno { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea-fuerte); }
.boton-contorno:hover { background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.boton-contorno .icono-whatsapp { color: #1f9d55; width: 22px; height: 22px; }
.boton-claro { background: var(--papel); color: var(--bordo); box-shadow: inset 0 0 0 1.5px var(--linea); }
.boton-claro:hover { box-shadow: inset 0 0 0 1.5px var(--bordo); }
.boton-crema { background: var(--papel); color: var(--bordo); }
.boton-crema:hover { background: #fff; }
.boton-contorno-crema { color: var(--papel); box-shadow: inset 0 0 0 1.5px rgba(255, 251, 244, .5); }
.boton-contorno-crema:hover { box-shadow: inset 0 0 0 1.5px var(--papel); background: rgba(255, 255, 255, .06); }
.boton[disabled], .boton.esta-cargando { opacity: .7; pointer-events: none; }
.enlace-flecha { display: inline-flex; align-items: center; gap: 6px; color: var(--bordo); font-weight: 600; text-decoration: none; }
.enlace-flecha::after { content: "→"; transition: transform .25s var(--curva); }
.enlace-flecha:hover::after { transform: translateX(4px); }

/* ---------- Aviso y franja ---------- */
.aviso { background: var(--dorado); color: var(--bordo-oscuro); text-align: center; font-weight: 600; font-size: 14.5px; padding: 10px var(--margen); }
.aviso p { margin: 0; }
.aviso:has(#aviso-texto:empty) { display: none; }
.franja-del-corte {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px var(--margen);
  background: var(--bordo-oscuro); color: #f3dcc0;
  font-size: 13.5px; letter-spacing: .01em; text-align: center;
}
.franja-del-corte p { margin: 0; }
.franja-del-corte strong { color: var(--papel); font-weight: 600; }
.franja-del-corte svg { width: 16px; height: 16px; flex: none; color: var(--dorado); }

/* ---------- Encabezado ---------- */
.encabezado {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 240, 227, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.encabezado.tiene-scroll { border-color: var(--linea); box-shadow: 0 6px 20px -16px rgba(42, 28, 21, .5); }
.encabezado-interior { height: var(--alto-del-encabezado); display: flex; align-items: center; gap: 28px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marca-emblema { width: 52px; height: 52px; transition: transform .6s var(--curva-rebote); }
.marca:hover .marca-emblema { transform: rotate(-10deg) scale(1.04); }
.marca-texto { display: flex; flex-direction: column; line-height: 1.05; }
.marca-nombre { font: 700 22px/1 var(--fuente-titulos); letter-spacing: -.01em; color: var(--bordo); }
.marca-bajada { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-suave); }
.navegacion { display: flex; gap: 26px; }
.navegacion a { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--tinta-suave); padding: 6px 0; transition: color .2s; }
.navegacion a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--bordo); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--curva); }
.navegacion a:hover, .navegacion a.esta-activo { color: var(--tinta); }
.navegacion a:hover::after, .navegacion a.esta-activo::after { transform: scaleX(1); transform-origin: left; }
.encabezado-acciones { display: flex; align-items: center; gap: 10px; }
.boton-mis-pedidos {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px;
  border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--linea);
  font-size: 14.5px; font-weight: 600; transition: box-shadow .2s, background .2s;
}
.boton-mis-pedidos:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); background: var(--papel); }
.boton-mis-pedidos svg { width: 19px; height: 19px; }
.boton-carrito {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 16px;
  border: 0; border-radius: 999px; background: var(--bordo); color: var(--papel);
  font-size: 15px; font-weight: 600;
  box-shadow: 0 8px 18px -10px rgba(116, 41, 31, .8);
  transition: transform .2s var(--curva), background .2s;
}
.boton-carrito:hover { background: var(--bordo-oscuro); }
.boton-carrito svg { width: 20px; height: 20px; }
.boton-carrito.rebota { animation: rebote .55s var(--curva-rebote); }
.contador {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--dorado); color: var(--bordo-oscuro); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
}
@keyframes rebote { 0% { transform: scale(1); } 35% { transform: scale(1.12) rotate(-3deg); } 65% { transform: scale(.96); } 100% { transform: scale(1); } }

/* ---------- Portada ---------- */
.portada { padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.portada-interior { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.portada-titulo {
  margin: 0;
  font: 700 clamp(46px, 6.6vw, 92px)/.96 var(--fuente-titulos);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.portada-titulo em { display: inline; }
.portada-bajada { margin: 26px 0 0; max-width: 540px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--tinta-suave); text-wrap: pretty; }
.portada-acciones { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.portada-datos { margin: 44px 0 0; padding: 26px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--linea); }
.portada-datos li { display: flex; flex-direction: column; gap: 2px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--linea); }
.portada-datos li:last-child { border: 0; margin: 0; padding: 0; }
.portada-datos strong { font: 650 20px/1.1 var(--fuente-titulos); color: var(--tinta); white-space: nowrap; }
.portada-datos span { font-size: 13.5px; color: var(--tinta-suave); }
.estrella { color: var(--corteza); display: inline; }

.portada-visual { position: relative; padding: 18px 18px 40px 46px; }
.arco {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden;
  box-shadow: var(--sombra);
  transform: rotate(1.2deg);
}
.arco img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--curva); }
.portada-visual.es-visible .arco img { transform: scale(1); }
.portada-visual::before {
  content: ""; position: absolute; inset: 4px 4px 26px 32px; border-radius: 999px 999px 30px 30px;
  border: 1.5px solid var(--bordo); opacity: .35; transform: rotate(-2.5deg);
}
.sello {
  position: absolute; left: 0; top: 46%; width: 148px; height: 148px; border-radius: 50%;
  background: var(--papel); box-shadow: var(--sombra-chica);
  display: grid; place-items: center;
}
.sello-giro { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 26s linear infinite; }
.sello-giro text { fill: var(--bordo); stroke: none; font: 600 13.2px var(--fuente-texto); letter-spacing: .19em; }
.sello-centro { width: 62px; height: 62px; }
@keyframes girar { to { transform: rotate(360deg); } }
.tarjeta-flotante {
  position: absolute; right: -6px; bottom: 6px; margin: 0;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  background: var(--papel); border-radius: 18px; box-shadow: var(--sombra);
  animation: flotar 6s ease-in-out infinite;
}
.tarjeta-flotante img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.tarjeta-flotante figcaption { font-size: 14px; line-height: 1.3; color: var(--tinta-suave); max-width: 150px; }
.tarjeta-flotante strong { display: block; color: var(--tinta); font: 650 17px/1.2 var(--fuente-titulos); }
@keyframes flotar { 50% { transform: translateY(-8px); } }

/* ---------- Cinta ---------- */
.cinta { background: var(--bordo); color: var(--papel); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -20px; box-shadow: 0 12px 30px -18px rgba(74, 25, 18, .8); position: relative; z-index: 2; }
.cinta-pista { display: flex; width: max-content; gap: 28px; align-items: center; animation: desplazar 46s linear infinite; }
.cinta span { font: italic 500 clamp(22px, 2.4vw, 30px)/1 var(--fuente-titulos); white-space: nowrap; }
.cinta i { font-style: normal; color: var(--dorado); font-size: 16px; }
@keyframes desplazar { to { transform: translateX(-50%); } }

/* ---------- Catálogo ---------- */
.catalogo { padding-top: clamp(80px, 10vw, 120px); }
.barra-del-catalogo {
  position: sticky; top: var(--alto-del-encabezado); z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 calc(var(--margen) * -1) 40px; padding: 12px var(--margen);
  background: transparent;
  transition: box-shadow .3s, background-color .3s;
}
.barra-del-catalogo.esta-pegada { background: rgba(247, 240, 227, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); }
.solapas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.solapas::-webkit-scrollbar { display: none; }
.solapa {
  flex: none; height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea);
  font-size: 15px; font-weight: 600; color: var(--tinta-suave);
  transition: background .25s, color .25s, box-shadow .25s, transform .2s;
}
.solapa:hover { color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea-fuerte); }
.solapa[aria-selected="true"] { background: var(--tinta); color: var(--papel); box-shadow: none; }
.solapa:active { transform: scale(.96); }
.resumen-del-catalogo {
  flex: none; display: inline-flex; align-items: center; gap: 14px; height: 44px; padding: 0 8px 0 18px;
  border: 0; border-radius: 999px; background: var(--verde-claro); color: var(--verde);
  font-size: 14.5px; font-weight: 600;
  animation: entrar-de-costado .4s var(--curva);
}
.resumen-ver { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--verde); color: #fff; }
.resumen-ver svg { width: 16px; height: 16px; }
@keyframes entrar-de-costado { from { opacity: 0; transform: translateX(12px); } }

.categoria + .categoria { margin-top: 72px; }
.categoria.esta-oculta { display: none; }
.categoria-encabezado { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px 20px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1.5px solid var(--linea); }
.categoria-titulo { margin: 0; font: 700 clamp(28px, 3vw, 38px)/1 var(--fuente-titulos); letter-spacing: -.02em; color: var(--bordo); }
.categoria-bajada { margin: 0; color: var(--tinta-suave); font-size: 15.5px; }
.categoria-cuenta { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }

.grilla-de-productos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.producto {
  position: relative; display: flex; flex-direction: column;
  background: var(--papel); border-radius: var(--radio); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--linea);
  transition: transform .4s var(--curva), box-shadow .4s var(--curva);
}
.producto:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra); }
.producto.esta-en-el-pedido { box-shadow: inset 0 0 0 2px var(--bordo), 0 14px 30px -18px rgba(116, 41, 31, .6); }
.producto-foto { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--harina-profunda); }
.producto-foto picture { height: 100%; }
.producto-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--curva); }
.producto:hover .producto-foto img { transform: scale(1.06); }
.producto-sin-foto { width: 100%; height: 100%; display: grid; place-items: center; }
.producto-sin-foto img { width: 45%; height: auto; opacity: .85; }
.producto-etiqueta {
  position: absolute; left: 12px; top: 12px;
  padding: 6px 11px; border-radius: 999px;
  background: var(--dorado); color: var(--bordo-oscuro);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 4px 12px -4px rgba(74, 25, 18, .5);
}
.producto-sin-stock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42, 28, 21, .55); color: var(--papel); font: 600 italic 22px var(--fuente-titulos); }
.producto.esta-agotado .producto-foto img { filter: grayscale(1) contrast(.9); }
.producto-en-pedido {
  position: absolute; right: 12px; top: 12px;
  min-width: 42px; height: 34px; padding: 0 12px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--bordo); color: var(--papel); font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 14px -6px rgba(74, 25, 18, .8);
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--curva-rebote);
}
.producto.esta-en-el-pedido .producto-en-pedido { opacity: 1; transform: none; }
.producto-cuerpo { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 18px; }
.producto-presentacion { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--verde); }
.producto-nombre { margin: 0; font: 650 22px/1.12 var(--fuente-titulos); letter-spacing: -.012em; }
.producto-descripcion { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--tinta-suave); }
.producto-pie { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.producto-precio { margin: 0; display: flex; flex-direction: column; gap: 1px; }
.producto-importe { font: 700 22px/1.1 var(--fuente-titulos); color: var(--bordo); font-variant-numeric: tabular-nums; }
.producto-unidad { font-size: 12.5px; color: var(--tinta-suave); }
.producto-precio.es-a-confirmar .producto-importe { font: 600 15px/1.2 var(--fuente-texto); color: var(--tinta); }
.producto-precio.es-a-confirmar { padding-left: 12px; border-left: 2.5px solid var(--dorado); }
.producto-accion { height: 48px; }

.boton-agregar {
  width: 100%; height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; background: var(--harina); color: var(--bordo);
  box-shadow: inset 0 0 0 1.5px rgba(116, 41, 31, .35);
  font-size: 15.5px; font-weight: 650;
  transition: background .22s, color .22s, box-shadow .22s, transform .15s;
}
.boton-agregar svg { width: 18px; height: 18px; stroke-width: 2.4; transition: transform .35s var(--curva); }
.boton-agregar:hover { background: var(--bordo); color: var(--papel); box-shadow: none; }
.boton-agregar:hover svg { transform: rotate(90deg); }
.boton-agregar:active { transform: scale(.97); }
.boton-agregar[disabled] { background: transparent; color: var(--tinta-suave); box-shadow: inset 0 0 0 1.5px var(--linea); cursor: not-allowed; }

.selector-de-cantidad {
  height: 48px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  border-radius: 14px; background: var(--bordo); color: var(--papel);
  animation: abrir-selector .35s var(--curva);
  box-shadow: 0 10px 20px -12px rgba(116, 41, 31, .9);
}
@keyframes abrir-selector { from { opacity: .4; transform: scaleX(.85); } }
.selector-de-cantidad button {
  height: 48px; border: 0; background: transparent; color: inherit; display: grid; place-items: center; border-radius: 14px;
  transition: background .15s, transform .12s;
}
.selector-de-cantidad button:hover { background: rgba(255, 255, 255, .1); }
.selector-de-cantidad button:active { transform: scale(.88); }
.selector-de-cantidad svg { width: 20px; height: 20px; stroke-width: 2.4; }
.selector-de-cantidad input {
  width: 100%; min-width: 0; height: 40px; border: 0; background: transparent; text-align: center;
  font: 700 19px/1 var(--fuente-texto); font-variant-numeric: tabular-nums; color: inherit; border-radius: 8px;
  -moz-appearance: textfield; appearance: textfield;
}
.selector-de-cantidad input::-webkit-outer-spin-button, .selector-de-cantidad input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.selector-de-cantidad input:focus { outline: none; background: rgba(255, 255, 255, .14); }
.selector-de-cantidad input.cambio { animation: latir .3s var(--curva); }
@keyframes latir { 40% { transform: scale(1.22); } }

.repetir {
  margin-top: 56px; padding: 22px 26px; border-radius: var(--radio);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea);
  background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(230, 189, 115, .12) 14px 28px);
}
.repetir-titulo { margin: 0; font: 650 22px/1.2 var(--fuente-titulos); }
.repetir-detalle { margin: 4px 0 0; color: var(--tinta-suave); font-size: 15px; }
.repetir .boton svg { width: 18px; height: 18px; }

/* ---------- Para tu comercio ---------- */
.comercios { background: var(--papel); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.comercios-interior { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.comercios-fotos { position: relative; padding: 0 0 40px 0; }
.comercios-foto-grande img { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--sombra); transform: rotate(-2.5deg); }
.comercios-foto-chica { position: absolute; right: 0; bottom: 20px; width: 52%; }
.comercios-foto-chica img { aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 8px solid var(--papel); box-shadow: var(--sombra); transform: rotate(3deg); }
.comercios-nota {
  position: relative; margin: 26px 0 0 6%; max-width: 44%;
  font: italic 500 17px/1.35 var(--fuente-titulos); color: var(--bordo);
}
.comercios-nota::before { content: "↑"; display: block; font-style: normal; font-size: 22px; margin-bottom: 2px; transform: rotate(-20deg); width: max-content; }
.ventajas { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 32px; }
.ventaja { display: flex; flex-direction: column; gap: 14px; }
.ventaja svg { width: 52px; height: 52px; padding: 11px; border-radius: 16px; background: var(--harina); color: var(--bordo); stroke-width: 1.6; }
.ventaja h3 { margin: 0; font: 650 21px/1.2 var(--fuente-titulos); }
.ventaja p { margin: 6px 0 0; color: var(--tinta-suave); font-size: 15.5px; }

/* ---------- Del paquete al horno ---------- */
.terminadas { background: #24170f var(--grano); color: var(--harina); overflow: hidden; }
.terminadas .volanta { color: var(--dorado); }
.terminadas .seccion-titulo em { color: var(--dorado); }
.terminadas .seccion-bajada { color: rgba(247, 240, 227, .72); }
.mosaico {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 250px 250px;
  grid-template-areas: "a b b c" "a d e e";
}
.mosaico-pieza { position: relative; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #3a2618; cursor: zoom-in; }
.mosaico-pieza:nth-child(1) { grid-area: a; }
.mosaico-pieza:nth-child(2) { grid-area: b; }
.mosaico-pieza:nth-child(3) { grid-area: c; }
.mosaico-pieza:nth-child(4) { grid-area: d; }
.mosaico-pieza:nth-child(5) { grid-area: e; }
.mosaico-pieza picture, .mosaico-pieza img { width: 100%; height: 100%; }
.mosaico-pieza img { object-fit: cover; transition: transform 1s var(--curva), filter .6s; filter: saturate(1.02); }
.mosaico-pieza:hover img { transform: scale(1.07); filter: saturate(1.15); }
.mosaico-pieza::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 12, 8, .65), transparent 45%); pointer-events: none; }
.mosaico-leyenda {
  position: absolute; left: 18px; bottom: 16px; z-index: 1;
  font: italic 500 22px/1 var(--fuente-titulos); color: var(--papel);
  transition: transform .4s var(--curva);
}
.mosaico-pieza:hover .mosaico-leyenda { transform: translateX(4px); }

/* ---------- Cómo pedir ---------- */
.pasos { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: paso; position: relative; }
.pasos::before { content: ""; position: absolute; left: 16%; right: 16%; top: 40px; border-top: 2px dashed rgba(116, 41, 31, .3); }
.paso { position: relative; text-align: center; padding: 0 12px; }
.paso-numero {
  position: relative; display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--bordo), 0 0 0 10px var(--harina);
  font: 700 italic 38px/1 var(--fuente-titulos); color: var(--bordo);
  transition: transform .5s var(--curva-rebote), background .3s, color .3s;
}
.paso:hover .paso-numero { transform: translateY(-4px) rotate(-6deg); background: var(--bordo); color: var(--papel); }
.paso h3 { margin: 0; font: 650 23px/1.2 var(--fuente-titulos); }
.paso p { margin: 10px auto 0; max-width: 300px; color: var(--tinta-suave); }
.como-pedir-accion { margin: 52px 0 0; text-align: center; }

/* ---------- La casa ---------- */
.nosotros { background: var(--harina-profunda) var(--grano); }
.nosotros-interior { display: grid; grid-template-columns: .8fr 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.nosotros-grabado {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; padding: 14%;
  background: var(--papel); box-shadow: inset 0 0 0 2px var(--bordo), inset 0 0 0 10px var(--papel), inset 0 0 0 11.5px rgba(61, 105, 67, .7), var(--sombra);
}
.nosotros-grabado img { width: 100%; }
.nosotros-texto p { color: var(--tinta-suave); font-size: 17.5px; }
.nosotros-texto .seccion-titulo { margin-bottom: 18px; }
.lema { margin: 26px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--verde); }
.lema p { margin: 0; font: italic 500 clamp(24px, 2.4vw, 30px)/1.2 var(--fuente-titulos); color: var(--verde); }
.lema footer { margin-top: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-suave); }
.nosotros-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nosotros-fotos img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; box-shadow: var(--sombra-chica); }
.nosotros-fotos picture:last-child { margin-top: 44px; }

/* ---------- Entregas ---------- */
.entregas-grilla { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.entregas-tarjetas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.entrega-tarjeta {
  position: relative; padding: 30px 28px; border-radius: var(--radio);
  background: var(--papel); box-shadow: inset 0 0 0 1px var(--linea);
  transition: transform .4s var(--curva), box-shadow .4s;
}
.entrega-tarjeta:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra); }
.entrega-tarjeta h3 { margin: 18px 0 10px; font: 650 25px/1.15 var(--fuente-titulos); }
.entrega-tarjeta p { margin: 0 0 10px; color: var(--tinta-suave); font-size: 15.5px; }
.entrega-tarjeta .entrega-dato { color: var(--tinta); font-weight: 600; font-size: 16px; }
.entrega-icono { width: 56px; height: 56px; padding: 12px; border-radius: 16px; background: var(--harina); color: var(--bordo); stroke-width: 1.7; }
.entrega-insignia { position: absolute; right: 18px; top: 18px; padding: 5px 11px; border-radius: 999px; background: var(--verde-claro); color: var(--verde); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.mapa { position: relative; border-radius: var(--radio); overflow: hidden; min-height: 300px; background: var(--harina-profunda); box-shadow: inset 0 0 0 1px var(--linea); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-cubierta { position: absolute; inset: 0; padding: 0; border: 0; background: none; display: block; text-align: left; }
.mapa-cubierta picture, .mapa-cubierta img { width: 100%; height: 100%; object-fit: cover; }
.mapa-cubierta img { filter: blur(1.5px) saturate(.8) brightness(.62); transform: scale(1.05); transition: filter .5s, transform .8s var(--curva); }
.mapa-cubierta:hover img { filter: blur(0) saturate(.95) brightness(.55); transform: scale(1.1); }
.mapa-boton {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--papel); color: var(--bordo); font-weight: 650; box-shadow: var(--sombra); white-space: nowrap;
  transition: transform .3s var(--curva);
}
.mapa-cubierta:hover .mapa-boton { transform: translate(-50%, -54%); }
.mapa-boton svg { width: 20px; height: 20px; }
.mapa-direccion { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--papel); font-weight: 600; font-size: 14.5px; }

/* ---------- Preguntas ---------- */
.preguntas-interior { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.preguntas .seccion-encabezado { position: sticky; top: calc(var(--alto-del-encabezado) + 32px); }
.preguntas-lista { border-top: 1.5px solid var(--linea); }
.pregunta { border-bottom: 1.5px solid var(--linea); }
.pregunta summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font: 600 clamp(19px, 1.8vw, 22px)/1.3 var(--fuente-titulos); transition: color .2s;
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary:hover { color: var(--bordo); }
.pregunta summary svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea); transition: transform .4s var(--curva), background .3s, color .3s; }
.pregunta[open] summary svg { transform: rotate(180deg); background: var(--bordo); color: var(--papel); box-shadow: none; }
.pregunta p { margin: 0; padding: 0 56px 26px 4px; color: var(--tinta-suave); font-size: 16.5px; animation: aparecer-respuesta .4s var(--curva); }
@keyframes aparecer-respuesta { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Cierre y pie ---------- */
.cierre { background: var(--bordo) var(--grano); color: var(--papel); padding: clamp(72px, 9vw, 112px) 0; text-align: center; position: relative; overflow: hidden; }
.cierre::before { content: ""; position: absolute; left: 50%; top: 100%; width: 1100px; height: 1100px; border-radius: 50%; transform: translate(-50%, -32%); border: 1.5px solid rgba(230, 189, 115, .3); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 130px rgba(255, 255, 255, .02); }
.cierre-interior { position: relative; display: flex; flex-direction: column; align-items: center; }
.cierre-emblema { width: 132px; height: 132px; margin-bottom: 26px; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35)); }
.cierre h2 { margin: 0; font: 700 clamp(36px, 5vw, 64px)/1.02 var(--fuente-titulos); letter-spacing: -.025em; text-wrap: balance; }
.cierre h2 em { color: var(--dorado); }
.cierre-acciones { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pie { background: #1d130d; color: rgba(247, 240, 227, .7); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; }
.pie-interior { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pie-marca { display: flex; align-items: center; gap: 14px; }
.pie-marca p { margin: 0; }
.pie-nombre { font: 650 19px var(--fuente-titulos); color: var(--harina); }
.pie-datos { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.pie-datos a { text-decoration: none; transition: color .2s; }
.pie-datos a:hover { color: var(--dorado); }
.pie-legal { width: 100%; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* ---------- Flotantes ---------- */
.whatsapp-flotante {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 45;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #1f9d55; color: #fff; box-shadow: 0 12px 28px -10px rgba(16, 94, 50, .8);
  transition: transform .35s var(--curva-rebote), bottom .35s var(--curva);
}
.whatsapp-flotante svg { width: 30px; height: 30px; }
.whatsapp-flotante:hover { transform: scale(1.08) rotate(-6deg); }
.whatsapp-flotante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f9d55; animation: onda 2.6s ease-out infinite; }
@keyframes onda { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.barra-del-pedido {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 46;
  display: none; align-items: center; gap: 14px; height: 64px; padding: 0 20px 0 10px;
  border: 0; border-radius: 18px; background: var(--bordo); color: var(--papel); text-align: left;
  box-shadow: 0 18px 36px -14px rgba(74, 25, 18, .9);
  animation: subir .45s var(--curva);
}
.barra-del-pedido-cuenta { min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.barra-del-pedido-texto { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.barra-del-pedido-texto strong { font-size: 16px; }
.barra-del-pedido-texto span { font-size: 13px; opacity: .8; }
.barra-del-pedido svg { width: 22px; height: 22px; }
@keyframes subir { from { transform: translateY(120%); } }
.aviso-flotante {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 90;
  max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 14px;
  background: var(--tinta); color: var(--papel); font-size: 15px; font-weight: 500;
  box-shadow: var(--sombra); pointer-events: none;
  opacity: 0; transform: translate(-50%, 16px); transition: opacity .3s, transform .35s var(--curva);
}
.aviso-flotante.esta-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Cajón del pedido ---------- */
.velo { position: fixed; inset: 0; z-index: 60; background: rgba(29, 19, 13, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.velo.esta-abierto { opacity: 1; }
.cajon {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(500px, 100%); display: flex; flex-direction: column;
  background: var(--harina) var(--grano); box-shadow: -30px 0 60px -30px rgba(29, 19, 13, .6);
  transform: translateX(104%); transition: transform .5s var(--curva);
}
.cajon.esta-abierto { transform: none; }
.cajon-encabezado { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 20px 20px; background: var(--papel); border-bottom: 1px solid var(--linea); }
.cajon-titulos { flex: 1; min-width: 0; }
.cajon-paso { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--verde); }
.cajon-titulo { margin: 2px 0 0; font: 700 26px/1.1 var(--fuente-titulos); letter-spacing: -.015em; }
.cajon-atras, .cajon-cerrar { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--harina); display: grid; place-items: center; transition: background .2s, transform .2s; }
.cajon-atras:hover, .cajon-cerrar:hover { background: var(--harina-profunda); }
.cajon-cerrar:hover svg { transform: rotate(90deg); }
.cajon-cerrar svg, .cajon-atras svg { width: 22px; height: 22px; transition: transform .3s var(--curva); }
.progreso { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.progreso span { display: block; height: 100%; width: 25%; background: var(--bordo); border-radius: 0 3px 3px 0; transition: width .5s var(--curva); }
.cajon-cuerpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px 28px; }
.cajon-cuerpo > * { animation: entrar-paso .45s var(--curva) both; }
.cajon-cuerpo.va-atras > * { animation-name: entrar-paso-atras; }
@keyframes entrar-paso { from { opacity: 0; transform: translateX(24px); } }
@keyframes entrar-paso-atras { from { opacity: 0; transform: translateX(-24px); } }
.cajon-pie { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--papel); border-top: 1px solid var(--linea); display: flex; flex-direction: column; gap: 10px; }
.cajon-pie:empty { display: none; }
.cajon-pie .boton { width: 100%; }
.pie-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--tinta-suave); }
.pie-total strong { font: 700 22px var(--fuente-titulos); color: var(--tinta); font-variant-numeric: tabular-nums; }
.pie-aclaracion { margin: 0; text-align: center; font-size: 13px; color: var(--tinta-suave); }

/* La nota de pedido: un papel de talonario con el borde troquelado. */
.nota-de-pedido {
  position: relative; background: var(--papel); border-radius: 4px 4px 16px 16px; padding: 22px 18px 8px;
  box-shadow: 0 1px 0 var(--linea), 0 10px 24px -16px rgba(42, 28, 21, .5);
  --diente: 7px;
  -webkit-mask: radial-gradient(circle var(--diente) at 50% 0, transparent 98%, #000) 50% 0 / calc(var(--diente) * 2.6) 100% repeat-x;
  mask: radial-gradient(circle var(--diente) at 50% 0, transparent 98%, #000) 50% 0 / calc(var(--diente) * 2.6) 100% repeat-x;
}
.nota-encabezado { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1.5px dashed var(--linea-fuerte); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-suave); }
.renglones { margin: 0; padding: 0; list-style: none; }
.renglon { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--linea); animation: entrar-renglon .35s var(--curva) both; }
.renglon:last-child { border-bottom: 0; }
.renglon.se-va { animation: salir-renglon .3s var(--curva) forwards; }
@keyframes entrar-renglon { from { opacity: 0; transform: translateY(6px); } }
@keyframes salir-renglon { to { opacity: 0; transform: translateX(30px); height: 0; padding: 0; } }
.renglon img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.renglon-nombre { margin: 0; font: 650 17px/1.2 var(--fuente-titulos); }
.renglon-detalle { margin: 3px 0 0; font-size: 13px; color: var(--tinta-suave); }
.renglon-detalle strong { color: var(--bordo); font-weight: 650; }
.renglon .selector-de-cantidad { height: 40px; grid-template-columns: 38px 46px 38px; border-radius: 12px; animation: none; box-shadow: none; }
.renglon .selector-de-cantidad button { height: 40px; border-radius: 12px; }
.renglon .selector-de-cantidad input { font-size: 16px; height: 34px; }
.renglon .selector-de-cantidad svg { width: 17px; height: 17px; }
.pedido-vacio { text-align: center; padding: 40px 12px; }
.pedido-vacio img { width: 120px; margin: 0 auto 18px; opacity: .95; }
.pedido-vacio h3 { margin: 0; font: 650 24px var(--fuente-titulos); }
.pedido-vacio p { margin: 8px 0 22px; color: var(--tinta-suave); }
.seguir-agregando { margin: 14px 0 0; display: flex; justify-content: center; }
.seguir-agregando button { border: 0; background: none; color: var(--bordo); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; padding: 8px; }
.seguir-agregando svg { width: 18px; height: 18px; }

/* Formularios del cajón */
.bloque { margin-top: 22px; }
.bloque:first-child { margin-top: 0; }
.bloque-titulo { margin: 0 0 12px; font: 650 19px/1.2 var(--fuente-titulos); }
.bloque-ayuda { margin: -6px 0 12px; font-size: 14px; color: var(--tinta-suave); }
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo label { font-size: 14px; font-weight: 600; }
.campo label span { font-weight: 400; color: var(--tinta-suave); }
.campo input, .campo textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 0; border-radius: 14px;
  background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea-fuerte);
  font-size: 16.5px; transition: box-shadow .2s, background .2s;
}
.campo textarea { min-height: 86px; resize: vertical; line-height: 1.45; }
.campo input:hover, .campo textarea:hover { box-shadow: inset 0 0 0 1.5px var(--tinta-suave); }
.campo input:focus, .campo textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--bordo), 0 0 0 4px rgba(116, 41, 31, .12); background: #fff; }
.campo.tiene-error input { box-shadow: inset 0 0 0 2px var(--tomate); animation: sacudir .4s; }
.campo-error { font-size: 13.5px; color: var(--tomate); font-weight: 600; }
@keyframes sacudir { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.dos-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.recordar { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--tinta-suave); cursor: pointer; margin-top: 4px; }
.recordar input { width: 20px; height: 20px; accent-color: var(--bordo); }
/* Validador de la dirección de envío */
.validador { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.boton-validar {
  display: inline-flex; align-items: center; gap: 7px; height: 52px; padding: 0 18px; border: 0; border-radius: 14px;
  background: var(--bordo); color: var(--papel); font-weight: 650; font-size: 15.5px; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.boton-validar:hover { background: var(--bordo-oscuro); }
.boton-validar:active { transform: scale(.96); }
.boton-validar svg { width: 19px; height: 19px; }
.boton-validar.esta-cargando { opacity: .75; pointer-events: none; }
.boton-validar.esta-cargando svg { animation: latir .8s ease-in-out infinite; }
.direccion-mensaje { margin: 2px 0 0; font-size: 13.5px; color: var(--tinta-suave); }
.direccion-aviso { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdf0d8; color: #8a5304; font-size: 14px; font-weight: 500; }
.opciones-de-direccion { display: grid; gap: 8px; margin-top: 10px; }
.opcion-de-direccion {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 14px; text-align: left;
  background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea); transition: box-shadow .2s, transform .15s;
  animation: entrar-renglon .3s var(--curva) both;
}
.opcion-de-direccion:hover { box-shadow: inset 0 0 0 2px var(--bordo); }
.opcion-de-direccion:active { transform: scale(.98); }
.opcion-de-direccion svg { flex: none; width: 20px; height: 20px; color: var(--bordo); }
.opcion-de-direccion strong { display: block; font-size: 15.5px; }
.opcion-de-direccion small { display: block; font-size: 13px; color: var(--tinta-suave); }
.direccion-validada {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--verde-claro); box-shadow: inset 0 0 0 1.5px rgba(61, 105, 67, .35);
  animation: entrar-renglon .35s var(--curva);
}
.direccion-validada-icono { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: #fff; animation: estampar .5s var(--curva-rebote); }
.direccion-validada-icono svg { width: 18px; height: 18px; stroke-width: 3; }
.direccion-validada div { flex: 1; min-width: 0; }
.direccion-validada p { margin: 0; font-size: 13.5px; color: var(--tinta-suave); }
.direccion-validada .direccion-validada-calle { font-size: 16.5px; font-weight: 650; color: var(--tinta); }
.direccion-validada button { flex: none; border: 0; background: none; color: var(--bordo); font-weight: 650; padding: 8px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ficha-guardada { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea); }
.ficha-guardada-inicial { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bordo); color: var(--papel); font: 700 21px var(--fuente-titulos); }
.ficha-guardada-datos { flex: 1; min-width: 0; }
.ficha-guardada-datos p { margin: 0; font-size: 14px; color: var(--tinta-suave); overflow-wrap: anywhere; }
.ficha-guardada-datos .ficha-guardada-nombre { font: 650 18px var(--fuente-titulos); color: var(--tinta); }
.ficha-guardada button { border: 0; background: none; color: var(--bordo); font-weight: 650; padding: 8px; }

.opciones { display: grid; gap: 10px; }
.opciones.son-dos { grid-template-columns: 1fr 1fr; }
.opciones.son-dos .opcion-caja { padding-bottom: 44px; }
.opcion { position: relative; display: block; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion-caja {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: 16px;
  background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea);
  transition: box-shadow .2s, background .2s, transform .15s;
}
.opcion:hover .opcion-caja { box-shadow: inset 0 0 0 1.5px var(--tinta-suave); }
.opcion input:checked + .opcion-caja { box-shadow: inset 0 0 0 2px var(--bordo); background: #fff; }
.opcion input:focus-visible + .opcion-caja { outline: 3px solid var(--corteza); outline-offset: 2px; }
.opcion:active .opcion-caja { transform: scale(.98); }
.opcion-caja svg { width: 28px; height: 28px; color: var(--bordo); margin-bottom: 6px; }
.opcion-titulo { font-weight: 650; font-size: 16px; }
.opcion-detalle { font-size: 13px; color: var(--tinta-suave); line-height: 1.4; }
.opcion-insignia { position: absolute; right: 10px; top: 10px; padding: 3px 8px; border-radius: 999px; background: var(--verde-claro); color: var(--verde); font-size: 11px; font-weight: 700; }
.opcion-marca { position: absolute; right: 12px; bottom: 12px; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--linea-fuerte); display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
.opcion-marca svg { width: 14px; height: 14px; margin: 0; color: #fff; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--curva-rebote); }
.opcion input:checked + .opcion-caja .opcion-marca { background: var(--bordo); box-shadow: none; }
.opcion input:checked + .opcion-caja .opcion-marca svg { opacity: 1; transform: none; }
.opciones.son-filas .opcion-caja { flex-direction: row; align-items: center; gap: 14px; padding-right: 48px; }
.opciones.son-filas .opcion-caja svg:first-child { margin: 0; flex: none; }
.opciones.son-filas .opcion-marca { top: 50%; bottom: auto; transform: translateY(-50%); }

.fechas { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 6px; scroll-snap-type: x mandatory; }
.fechas::-webkit-scrollbar { display: none; }
.fecha { flex: none; scroll-snap-align: start; }
.fecha input { position: absolute; opacity: 0; pointer-events: none; }
.fecha-caja {
  width: 76px; height: 90px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea); cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
}
.fecha-caja:hover { box-shadow: inset 0 0 0 1.5px var(--tinta-suave); }
.fecha-dia { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }
.fecha-numero { font: 700 28px/1 var(--fuente-titulos); }
.fecha-mes { font-size: 12px; color: var(--tinta-suave); }
.fecha input:checked + .fecha-caja { background: var(--bordo); color: var(--papel); box-shadow: 0 10px 20px -12px rgba(116, 41, 31, .9); }
.fecha input:checked + .fecha-caja span { color: inherit; }
.fecha input:focus-visible + .fecha-caja { outline: 3px solid var(--corteza); outline-offset: 2px; }
.fecha:active .fecha-caja { transform: scale(.95); }
.fecha-elegida { margin: 10px 0 0; font-size: 14px; color: var(--verde); font-weight: 600; min-height: 22px; }

.datos-de-cuenta { margin-top: 12px; padding: 16px; border-radius: 16px; background: var(--verde-claro); color: var(--tinta); animation: entrar-renglon .35s var(--curva); }
.datos-de-cuenta p { margin: 0 0 8px; font-size: 14px; }
.dato-copiable { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; margin-top: 8px; border-radius: 12px; background: #fff; }
.dato-copiable span { font-size: 12px; color: var(--tinta-suave); display: block; }
.dato-copiable strong { font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dato-copiable button { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--verde); color: #fff; font-size: 13.5px; font-weight: 650; transition: background .2s; }
.dato-copiable button.copiado { background: var(--bordo); }

.resumen { display: grid; gap: 12px; }
.resumen-fila { display: flex; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--linea); }
.resumen-fila svg { flex: none; width: 24px; height: 24px; color: var(--bordo); margin-top: 2px; }
.resumen-fila div { flex: 1; min-width: 0; }
.resumen-fila p { margin: 0; font-size: 14px; color: var(--tinta-suave); overflow-wrap: anywhere; }
.resumen-fila .resumen-titulo { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-suave); margin-bottom: 2px; }
.resumen-fila .resumen-valor { font-size: 16px; font-weight: 600; color: var(--tinta); }
.resumen-fila button { flex: none; align-self: center; border: 0; background: none; color: var(--bordo); font-weight: 650; font-size: 14px; padding: 6px; }
.error-de-envio { margin-top: 16px; padding: 16px; border-radius: 16px; background: #fbe6df; color: #7d2716; font-size: 15px; animation: entrar-renglon .35s var(--curva); }
.error-de-envio p { margin: 0 0 10px; }
.error-de-envio a { color: inherit; font-weight: 700; }

/* Pedido recibido */
.listo { text-align: center; padding: 18px 4px; }
.sello-de-recibido {
  width: 150px; height: 150px; margin: 6px auto 22px; border-radius: 50%; position: relative;
  display: grid; place-items: center; background: var(--verde); color: #fff;
  animation: estampar .7s var(--curva-rebote) both;
  box-shadow: 0 0 0 8px var(--verde-claro), 0 22px 40px -20px rgba(61, 105, 67, .9);
}
.sello-de-recibido svg { width: 66px; height: 66px; stroke-width: 2.6; stroke-dasharray: 40; stroke-dashoffset: 40; animation: trazar .5s .45s var(--curva) forwards; }
@keyframes estampar { from { transform: scale(1.6) rotate(-14deg); opacity: 0; } }
@keyframes trazar { to { stroke-dashoffset: 0; } }
.listo-numero { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--verde); }
.listo h3 { margin: 6px 0 10px; font: 700 30px/1.1 var(--fuente-titulos); letter-spacing: -.015em; }
.listo > p { margin: 0 auto 22px; max-width: 360px; color: var(--tinta-suave); }
.listo .boton { width: 100%; margin-bottom: 10px; }
.boton-whatsapp { background: #1f9d55; color: #fff; box-shadow: 0 12px 24px -12px rgba(16, 94, 50, .9); }
.boton-whatsapp:hover { background: #18834a; }
.boton-whatsapp svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.listo-pasos { margin: 22px 0 6px; padding: 18px; border-radius: 16px; background: var(--papel); text-align: left; list-style: none; box-shadow: inset 0 0 0 1px var(--linea); }
.listo-pasos li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--tinta-suave); }
.listo-pasos li + li { margin-top: 12px; }
.listo-pasos b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--harina-profunda); color: var(--bordo); font-size: 13px; }

/* Mis pedidos */
.mis-pedidos { display: grid; gap: 12px; }
.mi-pedido { display: block; padding: 16px; border-radius: 16px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--linea); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.mi-pedido:hover { box-shadow: inset 0 0 0 1.5px var(--bordo); transform: translateY(-2px); }
.mi-pedido-cabeza { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mi-pedido-numero { font: 650 19px var(--fuente-titulos); }
.mi-pedido p { margin: 6px 0 0; font-size: 14px; color: var(--tinta-suave); }
.estado { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--harina-profunda); color: var(--tinta-suave); white-space: nowrap; }
.estado::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.estado.es-nuevo { background: #fdf0d8; color: #9a5d06; }
.estado.es-confirmado { background: #e5edf8; color: #2b5a99; }
.estado.es-listo { background: var(--verde-claro); color: var(--verde); }
.estado.es-entregado { background: #ece6df; color: #5b4a3e; }
.estado.es-cancelado { background: #f6e0db; color: #9b3021; }

/* Visor */
.visor { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(18, 11, 7, .94); padding: 60px 70px; animation: aparecer .3s; }
.visor figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.visor img { max-height: calc(100vh - 150px); width: auto; border-radius: 14px; animation: acercar .45s var(--curva); }
.visor figcaption { color: var(--harina); font: italic 500 20px var(--fuente-titulos); }
.visor-cerrar, .visor-flecha { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .2s; }
.visor-cerrar:hover, .visor-flecha:hover { background: rgba(255, 255, 255, .2); }
.visor-cerrar { right: 18px; top: 18px; }
.visor-flecha { top: 50%; transform: translateY(-50%); }
.visor-flecha.es-anterior { left: 14px; }
.visor-flecha.es-siguiente { right: 14px; }
.visor svg { width: 24px; height: 24px; }
@keyframes aparecer { from { opacity: 0; } }
@keyframes acercar { from { opacity: 0; transform: scale(.94); } }

/* Aparición al hacer scroll */
.con-movimiento .aparece { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--curva), transform .8s var(--curva); transition-delay: var(--demora, 0s); }
.con-movimiento .aparece.es-visible { opacity: 1; transform: none; }

/* ---------- Adaptación ---------- */
@media (max-width: 1100px) {
  .grilla-de-productos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .navegacion { gap: 18px; }
  .nosotros-interior { grid-template-columns: 1fr 1.2fr; }
  .nosotros-fotos { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .entregas-grilla { grid-template-columns: 1fr; }
  .mapa { min-height: 260px; }
}
@media (max-width: 920px) {
  :root { --alto-del-encabezado: 66px; }
  .navegacion { display: none; }
  .marca-emblema { width: 44px; height: 44px; }
  .marca-nombre { font-size: 20px; }
  .portada-interior { grid-template-columns: 1fr; }
  .portada-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .comercios-interior { grid-template-columns: 1fr; }
  .comercios-fotos { max-width: 520px; }
  .mosaico { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; grid-template-areas: "a b" "a c" "d e"; }
  .preguntas-interior { grid-template-columns: 1fr; }
  .preguntas .seccion-encabezado { position: static; margin-bottom: 20px; }
  .pasos { grid-template-columns: 1fr; gap: 36px; }
  .pasos::before { left: 40px; right: auto; top: 40px; bottom: 40px; border-top: 0; border-left: 2px dashed rgba(116, 41, 31, .3); }
  .paso { text-align: left; display: grid; grid-template-columns: 80px 1fr; gap: 4px 22px; padding: 0; }
  .paso-numero { grid-row: span 2; margin: 0; }
  .paso h3 { align-self: end; }
  .paso p { margin: 4px 0 0; max-width: none; }
}
@media (max-width: 720px) {
  .grilla-de-productos { grid-template-columns: 1fr; gap: 14px; }
  .producto { flex-direction: row; border-radius: 18px; }
  .producto:hover { transform: none; }
  .producto-foto { width: 124px; flex: none; aspect-ratio: auto; }
  .producto-foto picture, .producto-foto > .producto-sin-foto { position: absolute; inset: 0; }
  .producto-etiqueta { left: 8px; top: 8px; padding: 4px 8px; font-size: 9.5px; }
  .producto-en-pedido { right: auto; left: 8px; top: auto; bottom: 8px; height: 28px; min-width: 36px; font-size: 13px; }
  .producto-sin-stock { font-size: 15px; text-align: center; padding: 8px; }
  .producto-cuerpo { padding: 14px 14px 14px 16px; min-width: 0; }
  .producto-presentacion { font-size: 11px; margin-bottom: 4px; }
  .producto-nombre { font-size: 19px; }
  .producto-descripcion { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .producto-pie { padding-top: 12px; gap: 10px; }
  .producto-precio.es-a-confirmar { display: none; }
  .producto-accion, .boton-agregar, .selector-de-cantidad, .selector-de-cantidad button { height: 44px; }
  .selector-de-cantidad { grid-template-columns: 44px 1fr 44px; }
  .categoria-encabezado { grid-template-columns: 1fr auto; }
  .categoria-bajada { grid-column: 1 / -1; grid-row: 2; }
  .barra-del-catalogo { margin-bottom: 28px; }
  .resumen-del-catalogo { display: none; }
  .ventajas { grid-template-columns: 1fr; gap: 24px; }
  .ventaja { flex-direction: row; gap: 16px; }
  .ventaja svg { flex: none; }
  .entregas-tarjetas { grid-template-columns: 1fr; }
  .portada-datos { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .portada-datos li:nth-child(2) { border: 0; margin: 0; }
  .portada-datos li:last-child { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--linea); flex-direction: row; align-items: baseline; gap: 8px; }
  .portada-acciones .boton { width: 100%; }
  .portada-visual { padding: 12px 8px 36px 28px; }
  .sello { width: 112px; height: 112px; left: -6px; }
  .sello-giro text { font-size: 14.5px; }
  .sello-centro { width: 46px; height: 46px; }
  .tarjeta-flotante { right: 0; bottom: 0; padding: 8px 14px 8px 8px; }
  .tarjeta-flotante img { width: 52px; height: 52px; }
  .boton-carrito-texto { display: none; }
  .boton-carrito { padding: 0 14px; }
  .boton-mis-pedidos span { display: none; }
  .boton-mis-pedidos { width: 46px; padding: 0; justify-content: center; }
  .barra-del-pedido { display: flex; }
  .barra-del-pedido[hidden] { display: none !important; }
  body.hay-pedido .whatsapp-flotante { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .cajon { top: auto; height: min(94dvh, 100%); width: 100%; border-radius: 22px 22px 0 0; transform: translateY(104%); overflow: hidden; }
  .cajon-encabezado { padding-top: 22px; }
  .cajon-encabezado::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; border-radius: 4px; background: var(--linea-fuerte); transform: translateX(-50%); }
  .dos-campos { grid-template-columns: 1fr; }
  .visor { padding: 60px 12px; }
  .visor-flecha { top: auto; bottom: 18px; transform: none; }
  .nosotros-interior { grid-template-columns: 1fr; }
  .nosotros-grabado { max-width: 260px; margin: 0 auto; }
  .comercios-nota { font-size: 15px; max-width: 46%; margin-left: 2%; }
  .pregunta p { padding-right: 8px; }
  .cinta { padding: 14px 0; }
}
@media (max-width: 380px) {
  .portada-titulo { font-size: 42px; }
  .producto-foto { width: 104px; }
  .marca-bajada { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .cinta-pista, .sello-giro { animation: none !important; }
}
@media print {
  .encabezado, .franja-del-corte, .whatsapp-flotante, .barra-del-pedido, .cajon, .velo { display: none !important; }
}

[data-direccion-envio] > .bloque { margin-top: 22px; }
