/* Mientras el motor arma la página no se ve la versión en texto que está para Google.
   Si el motor fallara, a los 4 segundos se muestra igual. */
#local:not(.sa-armado) { visibility: hidden; animation: sa-mostrar 0s 4s forwards; }
@keyframes sa-mostrar { to { visibility: visible; } }
/* =====================================================================
   SANTA AUTOMATIZA · ESTILOS DEL LOCAL ONLINE
   ---------------------------------------------------------------------
   Es el mismo archivo para todos los locales. Se parece a las apps de
   delivery que la gente ya usa: portada, buscador, pestañas, productos
   con foto a la derecha y el pedido siempre a mano abajo.
   Lo único que cambia de un local a otro es el color de marca, el logo
   y la portada (salen de "diseno" en locales/<nombre>.js).

   Los tamaños de letra están en rem a propósito: así funciona el botón
   "Letra grande" y se respeta el tamaño de letra del celular.
   ===================================================================== */
:root {
    --marca: #d9380b; --sobre-marca: #fff; --marca-osc: #b32e09; --tinte: #fdf1ec; --tinte-2: #f9dccf;
    --fondo: #f3f3f6; --sup: #fff; --texto: #1c1c21; --suave: #5d5d66; --linea: #e5e5ea; --borde-campo: #a9a9b4;
    --ok: #0e7a3d; --ok-f: #e3f4ea; --alerta: #8a4a00; --alerta-f: #fdf0db; --mal: #b3261e;
    --f-texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --f-titulos: var(--f-texto); --tit-peso: 800; --tit-caja: none; --tit-esp: -0.015em;
    --portada: var(--marca);
    --cinta-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.letra-grande { font-size: 118.75%; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 400 1rem/1.45 var(--f-texto); -webkit-font-smoothing: antialiased; }
body.con-barra { padding-bottom: 92px; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--texto); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h2 { font-weight: 800; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.015em; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; }
.dib { width: 100%; height: 100%; display: block; }

#local { max-width: 780px; margin: 0 auto; background: var(--sup); min-height: 100vh; min-height: 100dvh; }
@media (min-width: 800px) { #local { box-shadow: 0 0 0 1px var(--linea); } }

/* ---------- Cinta de demo ---------- */
.cinta { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px 6px 16px; background: #10142e; color: #fff; font-size: 13px; line-height: 1.3; }
.cinta-txt { flex: 1; min-width: 0; }
.cinta-sub { display: block; font-size: 12px; opacity: .82; }
.cinta-cta { flex: none; background: #ffc83d; color: #10142e; font-weight: 700; font-size: 14px; text-decoration: none; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
#local:has(.cinta) { --cinta-h: 48px; }

/* ---------- Cabecera del local ---------- */
.cab { padding-bottom: 16px; }
.cab-portada { position: relative; height: 136px; background: var(--portada); overflow: hidden; }
.cab-portada > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.platos { position: absolute; right: -10px; bottom: -26px; display: flex; }
.plato { width: 100px; height: 100px; margin-left: -16px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.plato:nth-child(even) { transform: translateY(-30px); }
.plato .dib { width: 72%; height: 72%; }
.plato img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cab-letra { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: #fff; color: #1c1c21; font-weight: 700; font-size: .875rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.cab-letra b { font-size: 1.0625rem; }
.cab-letra[aria-pressed="true"] { background: #1c1c21; color: #fff; }
.cab-info { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 0 16px; margin-top: -32px; }
.logo { width: 84px; height: 84px; flex: none; border-radius: 20px; background: var(--marca); color: var(--sobre-marca); border: 4px solid var(--sup); object-fit: cover; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.logo-txt { display: grid; place-items: center; font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em; }
.cab-nombre { min-width: 0; padding-top: 42px; }
.cab-nombre h1 { font-family: var(--f-titulos); font-weight: var(--tit-peso); text-transform: var(--tit-caja); letter-spacing: var(--tit-esp); font-size: 1.625rem; line-height: 1.12; text-wrap: balance; }
.cab-marca { margin-bottom: 2px; font-size: .875rem; font-weight: 700; color: var(--marca-osc); }
.cab-marca + h1 { font-size: 1.3125rem; }
.cab-lema { margin-top: 4px; color: var(--suave); font-size: .9375rem; line-height: 1.35; }
.estado { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; width: calc(100% - 32px); margin: 16px 16px 0; padding: 4px 0; text-align: left; font-size: .9375rem; }
.estado-punto { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.estado.abierto strong { color: var(--ok); }
.estado.cerrado .estado-punto { background: var(--mal); }
.estado.cerrado strong { color: var(--mal); }
.estado > span:nth-of-type(2) { color: var(--suave); }
.estado-mas { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-weight: 700; color: var(--marca-osc); }
.estado-mas .ico { width: 18px; height: 18px; }
.datos-rapidos { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 4px 16px 0; color: var(--suave); font-size: .9375rem; }
.datos-rapidos span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.datos-rapidos .ico { width: 18px; height: 18px; color: var(--texto); }
.datos-rapidos i { font-style: normal; }
.datos-rapidos:empty { display: none; }
.info-hoja { gap: 12px; padding: 12px 12px 20px; background: var(--fondo); }
.info-hoja > .caja { flex: none; }
.hoja-caja .flota { width: max-content; max-width: calc(100% - 40px); }
.sim { margin: 4px 16px 0; padding: 6px 0; font-size: .8125rem; font-weight: 600; color: var(--suave); text-decoration: underline; text-underline-offset: 3px; }

/* Delivery o retiro, y a dónde va */
.entrega { display: grid; gap: 10px; }
.cab .entrega { margin: 14px 16px 0; }
.modo { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--fondo); }
.modo label { position: relative; cursor: pointer; }
.modo input { position: absolute; opacity: 0; }
.modo span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 6px 8px; border-radius: 11px; font-weight: 700; font-size: .9375rem; text-align: center; line-height: 1.15; color: var(--suave); }
.modo input:checked + span { background: var(--sup); color: var(--texto); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.modo input:focus-visible + span { outline: 3px solid var(--texto); outline-offset: 1px; }
.entrega-fila { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--linea); background: var(--sup); text-align: left; }
button.entrega-fila.falta { border-color: var(--marca); background: var(--tinte); }
.entrega-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tinte); color: var(--marca-osc); font-size: 1.125rem; }
.falta .entrega-ico { background: var(--marca); color: var(--sobre-marca); }
.entrega-txt { flex: 1; min-width: 0; display: grid; gap: 1px; font-size: .875rem; color: var(--suave); line-height: 1.35; }
.entrega-txt strong { font-size: 1rem; color: var(--texto); line-height: 1.25; }
.entrega-accion { flex: none; font-weight: 700; font-size: .875rem; color: var(--marca-osc); }

/* ---------- Buscador ---------- */
.buscar { padding: 4px 16px 14px; }
.cab > .buscar { padding-bottom: 0; }
.buscar-caja { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--fondo); border: 1.5px solid transparent; color: var(--suave); }
.buscar-caja:focus-within { border-color: var(--texto); background: var(--sup); }
.buscar-caja input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; outline: none; font-size: 1rem; color: var(--texto); }
.buscar-caja input::placeholder { color: var(--suave); opacity: 1; }
.buscar-caja input::-webkit-search-cancel-button { display: none; }
.buscar-x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--texto); }
.sin-result { padding: 36px 16px 12px; text-align: center; color: var(--suave); }
.sin-result strong { display: block; color: var(--texto); font-size: 1.0625rem; margin-bottom: 4px; }

/* ---------- Promos ---------- */
.franja { border-top: 8px solid var(--fondo); padding: 18px 0 16px; }
.franja > h2 { padding: 0 16px; }
.fila-x { display: flex; gap: 12px; overflow-x: auto; padding: 12px 16px 4px; scroll-padding-inline: 16px; scroll-snap-type: x proximity; scrollbar-width: none; }
.fila-x::-webkit-scrollbar { display: none; }
.promo { flex: none; width: min(78%, 280px); scroll-snap-align: start; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--tinte); border: 1px solid var(--tinte-2); text-align: left; }
.promo-ico { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--marca); color: var(--sobre-marca); font-size: 1.0625rem; }
.promo-txt { min-width: 0; display: grid; gap: 2px; }
.promo strong { font-size: 1rem; line-height: 1.25; }
.promo-det { font-size: .875rem; line-height: 1.35; color: var(--suave); }
.promo-pie { justify-self: start; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--sup); font-size: .75rem; font-weight: 700; color: var(--marca-osc); }
.promo.otra { background: var(--sup); border-color: var(--linea); }
.promo.otra .promo-ico { background: var(--fondo); color: var(--suave); }
.promo.otra .promo-pie { background: var(--fondo); color: var(--suave); }

/* ---------- Club de clientes: tarjeta de sellos e invitación ---------- */
.club { border-top: 8px solid var(--fondo); padding: 16px; display: grid; gap: 10px; }
.club-caja { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 16px; border: 1.5px dashed var(--marca); background: var(--sup); }
.club-txt { display: grid; gap: 3px; min-width: 0; }
.club-txt strong { font-size: 1rem; line-height: 1.25; }
.club-txt span { font-size: .875rem; line-height: 1.35; color: var(--suave); }
.club-amigo { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--tinte); border: 1px solid var(--tinte-2); font-size: .9375rem; line-height: 1.35; }
.club-amigo .ico { flex: none; color: var(--marca-osc); margin-top: 1px; }
.sellos { display: grid; grid-template-columns: repeat(5, 18px); gap: 6px; flex: none; }
.sellos i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--borde-campo); }
.sellos i.on { background: var(--marca); border-color: var(--marca); box-shadow: inset 0 0 0 3px var(--sup); }
.club-enviado { display: grid; gap: 10px; justify-items: start; margin-top: 12px; padding: 14px; border-radius: 16px; border: 1.5px dashed var(--marca); }
.club-enviado p { margin: 0; line-height: 1.4; }
.club-enviado .btn { width: 100%; }

/* ---------- Los más pedidos ---------- */
.tarjeta { position: relative; flex: none; width: 156px; scroll-snap-align: start; }
.tarjeta-abrir { display: grid; gap: 4px; width: 100%; text-align: left; }
.tarjeta-img { display: grid; place-items: center; width: 156px; height: 156px; margin-bottom: 6px; border-radius: 16px; background: var(--tinte); overflow: hidden; }
.tarjeta-img img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta-img .dib { width: 78%; height: 78%; }
.tarjeta-nom { font-weight: 600; font-size: .9375rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tarjeta-precio { font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.tarjeta-precio small { font-weight: 500; font-size: .8125rem; color: var(--suave); }
.tarjeta .prod-acc { top: 106px; right: 8px; bottom: auto; }

/* ---------- Pestañas de categorías ---------- */
.cats { position: sticky; top: var(--cinta-h); z-index: 20; display: flex; gap: 22px; overflow-x: auto; padding: 0 16px; background: var(--sup); border-top: 8px solid var(--fondo); border-bottom: 1px solid var(--linea); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 15px 0 12px; border-bottom: 3px solid transparent; text-decoration: none; font-size: .9375rem; font-weight: 600; color: var(--suave); white-space: nowrap; }
.cats a.activa { color: var(--texto); border-bottom-color: var(--marca); }

/* ---------- Carta ---------- */
.carta { padding: 0 16px 8px; }
.cat { padding-top: 24px; scroll-margin-top: calc(var(--cinta-h) + 54px); }
.cat-nota { margin-top: 4px; color: var(--suave); font-size: .9375rem; }
.prods { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 4px; }
.prod { position: relative; border-bottom: 1px solid var(--linea); }
.prod:last-child { border-bottom: 0; }
.prod-abrir { display: flex; gap: 14px; align-items: stretch; width: 100%; min-height: 112px; padding: 16px 0; text-align: left; }
.prod-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prod-etq { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--tinte); color: var(--marca-osc); }
.prod-nom { font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.prod-desc { color: var(--suave); font-size: .9375rem; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-precio { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.prod-precio small { font-weight: 500; font-size: .8125rem; color: var(--suave); }
.quedan { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--alerta); background: var(--alerta-f); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.prod-img { flex: none; width: 116px; height: 116px; border-radius: 16px; background: var(--tinte); display: grid; place-items: center; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img .dib { width: 80%; height: 80%; }
.prod-acc { position: absolute; right: 8px; bottom: 24px; }
.prod:not(:has(.prod-img)) .prod-abrir { padding-right: 60px; min-height: 0; }
.prod:not(:has(.prod-img)) .prod-acc { right: 0; bottom: 50%; transform: translateY(50%); }
.mas { width: 44px; height: 44px; border-radius: 50%; background: var(--sup); color: var(--marca-osc); display: grid; place-items: center; font-size: 1.125rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 0 1px rgba(0, 0, 0, .04); }
.mas .ico { stroke-width: 2.6; }
.mas.con { background: var(--marca); color: var(--sobre-marca); font-weight: 700; font-size: 1rem; }
.prod.agotado .prod-abrir, .tarjeta.agotado .tarjeta-abrir { opacity: .5; cursor: default; }
.sin-stock { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--texto); color: var(--sup); }
.cont { display: inline-flex; align-items: center; background: var(--sup); border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 0 1px rgba(0, 0, 0, .04); }
.cont button { width: 44px; height: 44px; display: grid; place-items: center; font-size: 1rem; border-radius: 50%; color: var(--marca-osc); }
.cont button .ico { stroke-width: 2.6; }
.cont button:disabled { color: var(--borde-campo); cursor: default; }
.cont b { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.cont.plano { box-shadow: none; border: 1.5px solid var(--linea); }
.cont.grande button { width: 50px; height: 54px; }

/* ---------- Información del local ---------- */
.pie { margin-top: 20px; padding: 24px 16px 32px; background: var(--fondo); display: grid; gap: 12px; scroll-margin-top: calc(var(--cinta-h) + 54px); }
.pie > h2 { margin-bottom: 2px; }
.caja { background: var(--sup); border-radius: 16px; padding: 16px; min-width: 0; }
.caja h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.caja h3:not(:first-child) { margin-top: 18px; }
/* Información del local: lo más consultado arriba (si está abierto), después envío, pagos y dirección */
.info-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tinte); color: var(--marca-osc); }
.info-ico .ico { width: 22px; height: 22px; }
.info-ico.chico { width: 36px; height: 36px; }
.info-ico.chico .ico { width: 18px; height: 18px; }
.info-estado { display: flex; align-items: center; gap: 12px; }
.info-estado p { display: grid; gap: 1px; }
.info-estado strong { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.01em; }
.info-estado span { color: var(--suave); font-size: .9375rem; }
.info-estado.abierto .info-ico { background: var(--ok-f); color: var(--ok); }
.info-estado.abierto strong { color: var(--ok); }
.info-estado.cerrado .info-ico { background: var(--fondo); color: var(--suave); }
.info-semana { margin-top: 14px; border-top: 1px solid var(--linea); }
.info-semana summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-top: 10px; cursor: pointer; list-style: none; font-weight: 700; color: var(--marca-osc); }
.info-semana summary::-webkit-details-marker { display: none; }
.info-semana summary .ico { width: 20px; height: 20px; transform: rotate(90deg); transition: transform .15s ease; }
.info-semana[open] summary .ico { transform: rotate(-90deg); }
.horas { margin: 6px 0 0; padding: 0; font-size: .9375rem; }
.horas div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; }
.horas dt { text-transform: capitalize; }
.horas dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.horas .cerrado { color: var(--suave); }
.horas .hoy { background: var(--tinte); font-weight: 700; color: var(--texto); }
.info-sub { margin-top: -4px; color: var(--suave); font-size: .9375rem; }
.info-sub span { white-space: nowrap; }
.info-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.info-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--fondo); font-size: .8125rem; font-weight: 600; }
.info-chips .ico { width: 15px; height: 15px; }
.info-chips .ok { background: var(--ok-f); color: var(--ok); }
.zonas { margin: 6px 0 0; padding: 0; list-style: none; }
.zonas li { border-bottom: 1px solid var(--linea); }
.zonas li:last-child { border-bottom: 0; }
.zona { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 0; color: inherit; text-decoration: none; }
.zona-nom { flex: 1; min-width: 0; font-weight: 600; }
.zona strong { font-variant-numeric: tabular-nums; }
.zona strong.gratis { color: var(--ok); }
.zona > .ico { width: 18px; height: 18px; color: var(--suave); flex: none; }
.info-pagos { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.info-pagos li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--fondo); font-weight: 600; font-size: .9375rem; }
.info-pagos li > .ico { width: 18px; height: 18px; color: var(--marca-osc); }
.info-pagos em { padding: 2px 8px; border-radius: 999px; background: var(--ok-f); color: var(--ok); font-style: normal; font-weight: 700; font-size: .75rem; white-space: nowrap; }
.pie-dir { display: flex; gap: 10px; font-size: 1rem; font-weight: 600; }
.pie-dir > .ico { flex: none; width: 22px; height: 22px; color: var(--marca-osc); margin-top: 1px; }
.pie-dir small { display: block; margin-top: 2px; font-size: .875rem; font-weight: 400; color: var(--suave); }
.info-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; margin-top: 12px; }
.info-btns .btn { width: 100%; padding-inline: 8px; gap: 6px; }
.info-btns .ico { width: 1.2em; height: 1.2em; }
.info-ig { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: var(--suave); font-size: .9375rem; text-decoration: none; }
.info-ig b { color: var(--texto); font-weight: 600; }
.info-ig .ico { width: 18px; height: 18px; color: var(--marca-osc); flex: none; }
.pie-firma { font-size: .8125rem; color: var(--suave); display: grid; gap: 4px; padding-top: 6px; }
@media (min-width: 720px) {
    .prods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
    .prod:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
    .cab-portada { height: 180px; }
    .plato { width: 136px; height: 136px; }
    .cab-nombre h1 { font-size: 2rem; }
    .cab-marca + h1 { font-size: 1.5rem; }
    .pie { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    /* Delivery (la tarjeta más larga) a la derecha; horario, pagos y dirección apilados a la izquierda */
    .pie:has(.caja-envio) .caja-envio { grid-column: 2; grid-row: 2 / span 3; }
    .pie:has(.caja-envio) .caja-hora, .pie:has(.caja-envio) .caja-pago, .pie:has(.caja-envio) .caja-dir { grid-column: 1; }
    .pie > h2, .pie-firma { grid-column: 1 / -1; }
}

/* ---------- Botones ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; text-align: center; line-height: 1.2; }
.btn:has(> span + span) { justify-content: space-between; }
.btn-marca { background: var(--marca); color: var(--sobre-marca); }
.btn-marca:disabled, .btn-marca[aria-disabled="true"] { background: var(--linea); color: var(--suave); font-weight: 600; font-size: 1rem; }
.btn-marca:disabled { cursor: default; }
.btn-wa { background: #0f7f43; color: #fff; }
.btn-wa .ico { width: 1.45em; height: 1.45em; }
.btn-mp { background: #0079c2; color: #fff; }
.btn-linea { border: 1.5px solid var(--texto); background: var(--sup); }
.btn.chico { width: auto; min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.enlace { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; color: var(--marca-osc); padding: 10px 0; text-decoration: none; }

/* ---------- Barra del pedido y aviso ---------- */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--sup); box-shadow: 0 -1px 0 var(--linea), 0 -8px 24px rgba(0, 0, 0, .08); }
.barra-btn { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; min-height: 58px; padding: 10px 18px 10px 12px; border-radius: 14px; background: var(--marca); color: var(--sobre-marca); font-weight: 700; font-size: 1.0625rem; }
.barra-n { min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .22); font-variant-numeric: tabular-nums; }
.barra-txt { flex: 1; text-align: left; }
.barra-total { font-variant-numeric: tabular-nums; }
.flota { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 45; transform: translateX(-50%); max-width: calc(100% - 32px); display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #1c1c21; color: #fff; font-weight: 600; font-size: .9375rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.flota .ico { color: #6fe3a0; }

/* ---------- Hojas (producto, pedido, datos) ---------- */
.hoja { border: 0; padding: 0; margin: 0; background: transparent; color: inherit; width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
.hoja[open] { display: flex; align-items: flex-end; justify-content: center; }
/* iPhone: el teclado tapa el fondo sin achicar la página; --kb (motor.js) sube la hoja por encima del teclado */
.hoja[open] { box-sizing: border-box; padding-bottom: var(--kb, 0px); }
.hoja::backdrop { background: rgba(12, 12, 20, .58); }
.hoja-caja { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: 94vh; max-height: 94dvh; background: var(--sup); border-radius: 22px 22px 0 0; overflow: hidden; animation: sube .2s ease-out; }
@keyframes sube { from { transform: translateY(24px); opacity: .5; } }
.hoja-cab { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--linea); background: var(--sup); }
.hoja-tit { flex: 1; min-width: 0; }
.hoja-tit h2 { font-size: 1.1875rem; text-wrap: balance; }
.hoja-paso { font-size: .8125rem; font-weight: 600; color: var(--suave); }
.hoja-cab [data-atras] { margin-left: -8px; }
.hoja-x { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1.125rem; background: var(--fondo); }
.hoja-cuerpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 22px; display: flex; flex-direction: column; gap: 16px; }
.hoja-cuerpo.gris { background: var(--fondo); padding: 12px 12px 20px; gap: 12px; }
.hoja-cuerpo.vacio { align-items: center; text-align: center; padding-block: 44px; color: var(--suave); }
.hoja-cuerpo.vacio .btn { max-width: 260px; }
.hoja-pie { padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linea); background: var(--sup); }
.hoja-pie.apilado { display: grid; gap: 10px; }
.hoja-pie.pd-pie { display: flex; gap: 12px; align-items: stretch; }
.hoja-pie-nota { margin-top: 8px; text-align: center; font-size: .8125rem; color: var(--suave); }
@media (min-width: 700px) {
    .hoja[open] { align-items: center; }
    .hoja-caja { border-radius: 22px; max-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) { .hoja-caja { animation: none; } html { scroll-behavior: auto; } }

/* Producto */
.hoja[data-vista="producto"] .hoja-cuerpo { padding-top: 0; }
.pd-img { margin: 0 -18px; height: 220px; flex: none; background: var(--tinte); display: grid; place-items: center; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-img { position: relative; overflow: hidden; grid-template: 100% / 100%; } /* la foto no se sale de su lugar */
/* Con foto: cuadrada y entera, como en la carta. En pantallas anchas o bajas se achica y los costados
   se rellenan con la misma foto desenfocada, así nunca se corta el producto. */
.pd-img:has(img) { height: auto; aspect-ratio: 1 / 1; max-height: min(420px, 55vh); background: #111; }
.pd-img:has(img)::before { content: ""; position: absolute; inset: -30px; background: var(--foto) center / cover no-repeat; filter: blur(22px) brightness(.85); }
.pd-img:has(img) img { position: relative; object-fit: contain; }
.pd-img .dib { width: auto; height: 84%; }
.pd-img[hidden] + .pd-info { padding-top: 16px; }
.pd-info p { color: var(--suave); font-size: 1rem; }
.pd-info .pd-desde:first-child { margin-top: 0; }
.pd-info .pd-desde { margin-top: 6px; color: var(--texto); font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.pd-grupos { display: grid; gap: 8px; }
.pd-grupos:empty { display: none; }
.grupo { min-width: 0; scroll-margin-top: 0; }
/* El título de cada grupo queda fijo arriba mientras se recorren sus opciones (así siempre se ve cuántas faltan) */
.g-cab { position: sticky; top: 0; z-index: 1; background: var(--sup); padding: 6px 0; }
.g-cab-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--fondo); border-radius: 12px; }
.g-tit { display: grid; gap: 1px; min-width: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.g-tit small { font-weight: 500; font-size: .875rem; color: var(--suave); }
.g-tag { flex: none; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 700; font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: var(--sup); color: var(--suave); white-space: nowrap; }
.g-tag.obligatorio { background: #1c1c21; color: #fff; }
.g-tag.listo { background: var(--ok-f); color: var(--ok); }
.grupo.pedir .g-cab-in { box-shadow: inset 0 0 0 2px var(--mal); }
.grupo.pedir .g-tag.obligatorio { background: var(--mal); }
.grupo-ayuda { margin: 8px 4px 0; font-size: .875rem; color: var(--suave); }
.op { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 4px; border-bottom: 1px solid var(--linea); cursor: pointer; }
.op:last-child { border-bottom: 0; }
.op input { position: absolute; opacity: 0; pointer-events: none; }
.marca-op { width: 26px; height: 26px; flex: none; border-radius: 8px; border: 2px solid var(--borde-campo); display: grid; place-items: center; color: transparent; font-size: .875rem; background: var(--sup); }
.marca-op .ico { stroke-width: 3; }
input[type="radio"] + .marca-op { border-radius: 50%; }
input:checked + .marca-op { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }
input:focus-visible + .marca-op { outline: 3px solid var(--texto); outline-offset: 2px; }
.op input:disabled:not(:checked) ~ * { opacity: .4; }
.op.no { cursor: default; }
.op.no .op-nom { opacity: .5; text-decoration: line-through; }
.punto { width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .14); }
.op-nom { flex: 1; min-width: 0; font-size: 1rem; line-height: 1.3; }
.op-nom small { font-size: .8125rem; color: var(--suave); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.op-precio { font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--suave); white-space: nowrap; }
.pd-pie .btn { flex: 1; }

/* Campos */
.campo { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.campo > span, .campo > legend { font-weight: 600; font-size: .9375rem; padding: 0; }
.campo > legend { margin-bottom: 8px; }
.campo em { font-style: normal; font-weight: 400; color: var(--suave); }
.campo input[type="text"], .campo input[type="tel"] { width: 100%; min-height: 54px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--borde-campo); background: var(--sup); font-size: 1rem; }
.campo input[type="text"]:focus, .campo input[type="tel"]:focus { outline: 3px solid var(--tinte-2); border-color: var(--marca); }
.campo select { width: 100%; min-height: 54px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--borde-campo); background: var(--sup); color: inherit; font: inherit; font-size: 1rem; }
.campo select:focus { outline: 3px solid var(--tinte-2); border-color: var(--marca); }
.campo input::placeholder { color: #8b8b95; opacity: 1; }
.campo small { display: none; color: var(--mal); font-size: .875rem; font-weight: 600; }
.campo.error small { display: block; }
.campo.error input[type="text"] { border-color: var(--mal); }

/* Pedido */
.hoja-cuerpo.gris .caja { display: grid; gap: 12px; }
.hoja-cuerpo.gris .caja h3 { margin: 0; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.items li:first-child { padding-top: 0; }
.items li:last-child { border-bottom: 0; padding-bottom: 0; }
.item-txt { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: .875rem; color: var(--suave); line-height: 1.35; }
.item-txt strong { color: var(--texto); font-size: 1rem; font-weight: 600; }
.item-txt b { color: var(--texto); font-size: 1rem; font-variant-numeric: tabular-nums; margin-top: 2px; }
.item-nota { font-style: italic; }
.tot { margin: 0; display: grid; gap: 8px; font-size: 1rem; }
.tot div { display: flex; justify-content: space-between; gap: 16px; }
.tot dt { color: var(--suave); }
.tot dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tot .menos dt, .tot .menos dd { color: var(--ok); font-weight: 600; }
.tot .total { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--linea); font-weight: 800; font-size: 1.1875rem; }
.tot .total dt { color: var(--texto); }
.aviso { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: .9375rem; line-height: 1.38; }
.aviso .ico { margin-top: 1px; }
.aviso-min, .aviso-cerrado { background: var(--alerta-f); color: #5a3000; }
.aviso-promo { background: var(--ok-f); color: #0a5229; font-weight: 600; }
.pagos { gap: 8px; }
.pago { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1.5px solid var(--linea); border-radius: 12px; cursor: pointer; background: var(--sup); }
.pago input { position: absolute; opacity: 0; }
.pago > .ico { font-size: 1.375rem; color: var(--suave); }
.pago.on { border-color: var(--marca); background: var(--tinte); }
.pago.on > .ico { color: var(--marca-osc); }
.pago-txt { flex: 1; min-width: 0; display: grid; font-size: .875rem; color: var(--suave); line-height: 1.3; }
.pago-txt strong { font-size: 1rem; color: var(--texto); }
.pago-txt em { font-style: normal; font-weight: 700; color: var(--ok); }
.pagos.error .pago { border-color: var(--mal); }

/* Enviado */
.enviado { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 12px 6px; }
.enviado p { font-size: 1.0625rem; }
.enviado-ico { width: 64px; height: 64px; border-radius: 50%; background: #0f7f43; color: #fff; display: grid; place-items: center; font-size: 2rem; }
.pagar { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--sup); border: 1.5px solid var(--linea); font-size: 1rem; }
.pagar-nota { color: var(--suave); font-size: .875rem; }
.alias { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.alias code { flex: 1; min-width: 0; padding: 11px 12px; border-radius: 10px; background: var(--fondo); font: 700 1.0625rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.demo-explica { font-size: .9375rem; color: var(--suave); }
.chat { padding: 16px 12px 16px 44px; border-radius: 16px; background: #e9e1d6; background-image: radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1.4px); background-size: 14px 14px; }
.globo { position: relative; background: #d9fdd3; color: #111b21; padding: 9px 12px 20px; border-radius: 12px 0 12px 12px; font: 400 .9375rem/1.42 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0, 0, 0, .14); }
.globo-hora { position: absolute; right: 10px; bottom: 4px; font-size: .6875rem; color: #667781; }

/* Zonas */
.zona-op { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 4px; border-bottom: 1px solid var(--linea); text-align: left; font-size: 1.0625rem; }
.zona-op:last-child { border-bottom: 0; }
.zona-op span:nth-child(2) { flex: 1; min-width: 0; font-weight: 600; }
.zona-op strong { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--suave); }
.zona-op .marca-op { border-radius: 50%; }
.zona-op.on .marca-op { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }

/* Título de familia dentro de una lista larga de opciones (ej: Chocolates, Cremas, Al agua) */
.g-sec { margin: 14px 0 2px; padding-top: 12px; border-top: 1px solid var(--linea); font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--marca-osc); }
.g-sec:first-of-type { margin-top: 4px; border-top: 0; padding-top: 0; }

/* Varias sucursales: cada zona o sucursal con su detalle debajo del nombre */
.zona-op small { display: block; margin-top: 1px; font-size: .875rem; font-weight: 400; line-height: 1.3; color: var(--suave); }
.zona-op .suc-est { font-weight: 600; }
.zona-op .suc-est.abierto { color: var(--ok); }
.zona-op .suc-est.cerrado { color: var(--mal); }
.caja-suc > h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.caja-suc .suc-dir { margin-top: 12px; }
.suc-nota { color: var(--suave); font-size: .9375rem; }
.caja-suc .suc-nota { margin-top: 12px; }
.caja > h3 + .suc-nota { margin: -4px 0 12px; }
.suc-destino { display: flex; gap: 8px; align-items: flex-start; }
.suc-destino .ico { flex: none; margin-top: 2px; color: var(--marca-osc); }

/* Mientras se busca en la carta, se esconde lo que no es resultado */
.buscando .franja, .buscando .cats, .buscando .cat-nota { display: none; }

/* La demo dentro del celular de la página de Santa Automatiza */
html.marco { scrollbar-width: none; }
html.marco::-webkit-scrollbar { display: none; }

/* ---------- Modo simple (L.simple): para quien nunca pidió online ---------- */
html.simple { --suave: #4a4a52; }
html.simple .tarjeta-nom, html.simple .prod-desc, html.simple .cab-lema, html.simple .datos-rapidos { color: #3a3a42; }
html.simple .mas { width: 52px; height: 52px; }
html.simple .modo span { min-height: 52px; font-size: 1rem; }
html.simple .datos-rapidos { display: none; }
html.simple .btn { min-height: 54px; }
html.simple .g-tag { font-size: .875rem; padding: 6px 12px; }
html.simple .sim { font-size: .9375rem; }

.pasos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 8px 12px; background: var(--sup); border-bottom: 1px solid var(--linea); }
.pasos li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .8125rem; font-weight: 600; line-height: 1.15; color: var(--suave); opacity: .75; }
.pasos li b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sup); box-shadow: inset 0 0 0 2px var(--linea); font-size: .9375rem; color: var(--texto); }
.pasos li.actual { opacity: 1; color: var(--texto); font-weight: 800; }
.pasos li.actual b { background: var(--marca); color: var(--sobre-marca); box-shadow: none; }
.pasos li.hecho { opacity: 1; }
.pasos li.hecho b { background: var(--ok-f); color: var(--ok); box-shadow: none; }

.aviso-wa { margin: 0 0 10px; padding: 12px 14px; border-radius: 12px; background: var(--ok-f); color: #1c1c21; font-size: 1rem; line-height: 1.4; }

.ayuda { display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 32px); margin: 10px 16px 0; min-height: 48px; padding: 6px 14px; border-radius: 12px; background: #fff; color: #1c1c21; font-weight: 800; font-size: 1rem; box-shadow: inset 0 0 0 2px var(--marca); }
.ayuda-txt { font-size: 1.125rem; line-height: 1.4; margin-bottom: 16px; }
.ayuda-tel { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; text-decoration: none; }

/* Demo armada para un local: la franja con el color del local */
.cinta.cinta-para { background: var(--marca); color: var(--sobre-marca); }
.cinta.cinta-para .cinta-sub { color: inherit; opacity: .85; }

/* Delivery: las localidades a la vista, un toque y listo */
.localidades { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--tinte); border: 1.5px solid var(--marca); }
.localidades-tit { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.0625rem; }
.localidades-tit .ico { color: var(--marca-osc); flex: none; }
.localidades-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.localidades-lista button { min-height: 48px; padding: 10px 12px; border-radius: 12px; background: var(--sup); border: 1.5px solid var(--linea); font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: left; }
.localidades-lista button:hover { border-color: var(--marca); }
.localidades-lista button:active { background: var(--marca); color: var(--sobre-marca); border-color: var(--marca); }
.localidades-lista small { display: block; margin-top: 2px; font-weight: 500; font-size: .8125rem; color: var(--suave); }
.localidades-pie { margin: 0; font-size: .875rem; color: var(--suave); }

/* Sucursales en el pie: una lista corta que se despliega */
.caja-sucs > h3 { margin-bottom: 4px; }
.caja-sucs > .suc-nota { margin-bottom: 6px; }
.suc-fila { border-top: 1px solid var(--linea); }
.suc-fila summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; }
.suc-fila summary::-webkit-details-marker { display: none; }
.suc-fila summary > .ico { flex: none; color: var(--suave); transition: transform .2s; }
.suc-fila[open] summary > .ico { transform: rotate(90deg); }
.suc-punto { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--borde-campo); }
.suc-punto.abierto { background: var(--ok); }
.suc-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.suc-txt strong { font-size: 1.0625rem; }
.suc-txt small { font-size: .875rem; color: var(--suave); line-height: 1.3; }
.suc-mas { display: grid; gap: 12px; padding: 0 0 16px 22px; }
.caja-sucs .info-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* Demo armada para un local: la franja no queda fija (no tapa las categorías) */
.cinta.cinta-para { position: relative; }
#local:has(.cinta-para) { --cinta-h: 0px; }

/* ---------- Compu: la tienda a lo ancho, no un celular estirado ---------- */
@media (min-width: 960px) {
    #local { max-width: none; box-shadow: none; --lado: max(32px, calc((100vw - 1280px) / 2)); }
    .cinta { padding-left: var(--lado); padding-right: var(--lado); }
    body { background: var(--fondo); }
    /* Cabecera: portada ancha; a la izquierda el local, a la derecha cómo lo recibís */
    .cab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); column-gap: 36px; padding: 0 var(--lado) 28px; align-items: start; }
    .cab > * { grid-column: 1; }
    .cab-portada { grid-column: 1 / -1; grid-row: 1; height: 300px; margin: 0 calc(-1 * var(--lado)); }
    .cab-info { padding: 0; margin-top: -44px; }
    .logo { width: 112px; height: 112px; border-radius: 26px; }
    .cab-nombre { padding-top: 56px; }
    .cab-nombre h1 { font-size: 2.375rem; }
    .cab-lema { font-size: 1.0625rem; }
    .estado, .datos-rapidos, .sim, .cab .pasos { margin-left: 0; margin-right: 0; width: auto; }
    .sim { justify-self: start; }
    .cab .entrega { grid-column: 2; grid-row: 2 / span 8; position: relative; margin: 24px 0 0; padding: 20px; border-radius: 20px; background: var(--sup); box-shadow: 0 0 0 1px var(--linea), 0 10px 30px rgba(0, 0, 0, .06); }
    .localidades-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .localidades-lista button { min-height: 40px; padding: 7px 10px; font-size: .875rem; }
    .cab .ayuda, .cab .buscar { width: auto; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
    .cab .ayuda { margin-top: 20px; }
    .franja > h2, .franja .fila-x, .club { padding-left: var(--lado); padding-right: var(--lado); }
    .cats { padding: 0 var(--lado); gap: 28px; }
    .carta { padding: 0 var(--lado) 16px; }
    .cat { padding-top: 32px; }
    .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
    .prod:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--linea); }
    .prod:nth-last-child(-n+3):nth-child(3n+1), .prod:nth-last-child(-n+2):nth-child(3n+2) { border-bottom: 0; }
    .prod-abrir:hover .prod-nom { color: var(--marca-osc); }
    .pie { padding: 32px var(--lado); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
    .pie .caja-sucs { grid-column: 1 / span 2; grid-row: 2 / span 3; }
    /* El pedido: una tarjeta flotante abajo a la derecha, no una barra de lado a lado */
    body.con-barra { padding-bottom: 0; }
    .barra { left: auto; right: 28px; bottom: 28px; width: 400px; padding: 10px; border-radius: 20px; box-shadow: 0 0 0 1px var(--linea), 0 14px 40px rgba(0, 0, 0, .18); }
    .flota { bottom: 110px; }
}
/* Pedido desde la playa */
.playa-sw{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:4px 0 14px;border:1.5px solid #e2d9c6;border-radius:14px;background:#fffaf0;cursor:pointer}
.playa-sw input{position:absolute;opacity:0;pointer-events:none}
.playa-sw.on{border-color:#e9a93a;background:#fff3d6}
.playa-ico{font-size:26px;line-height:1}
.playa-txt{flex:1;display:flex;flex-direction:column}.playa-txt small{opacity:.7}
.playa-tg{width:42px;height:24px;border-radius:12px;background:#d8d2c4;position:relative;transition:.2s}
.playa-tg::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px #0003}
.playa-sw.on .playa-tg{background:#e9a93a}.playa-sw.on .playa-tg::after{left:21px}
.playa-gps{width:100%;margin:-4px 0 14px;justify-content:center}.playa-gps.on{border-color:#2e9e5b;color:#2e7d4a}

/* ---------- Una categoría por vez + pestañas con los colores de la marca ---------- */
.por-cat:not(.buscando) .cat:not(.cat-act) { display: none; }
:is(.por-cat, .cab-compacta) .cats { gap: 8px; padding: 10px 16px; border-top-width: 0; border-bottom: 1px solid var(--linea); }
:is(.por-cat, .cab-compacta) .cats a { padding: 9px 16px; border: 1.5px solid var(--tinte-2); border-radius: 999px; background: var(--sup); color: var(--marca); font-weight: 700; }
:is(.por-cat, .cab-compacta) .cats a.activa { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }
:is(.por-cat, .cab-compacta) .cat { padding-top: 18px; }
:is(.por-cat, .cab-compacta) .cat h2 { color: var(--marca); }
.cat-sig { display: flex; align-items: center; gap: 8px; width: 100%; margin: 14px 0 6px; padding: 16px 18px; border-radius: 14px; background: var(--tinte); color: var(--marca); text-align: left; font-size: .9375rem; }
.cat-sig strong { flex: 1; font-size: 1rem; }
.cat-sig i { font-style: normal; font-weight: 800; font-size: 1.25rem; }
.por-cat.buscando .cat-sig { display: none; }

/* ---------- Bloques de arriba más compactos (menos scroll antes de la carta) ---------- */
:is(.por-cat, .cab-compacta) .franja { padding: 12px 0 8px; border-top-width: 6px; }
:is(.por-cat, .cab-compacta) .franja > h2 { font-size: 1.0625rem; }
:is(.por-cat, .cab-compacta) .fila-x { padding-top: 8px; }
:is(.por-cat, .cab-compacta) .promo { width: min(84%, 260px); padding: 10px 12px; align-items: center; background: var(--tinte); border-color: var(--tinte-2); }
:is(.por-cat, .cab-compacta) .promo-det { display: none; }
:is(.por-cat, .cab-compacta) .promo-pie { margin-top: 3px; }
:is(.por-cat, .cab-compacta) .promo-ico { width: 34px; height: 34px; }
:is(.por-cat, .cab-compacta) .club { padding: 10px 16px 12px; border-top-width: 6px; }
:is(.por-cat, .cab-compacta) .club-txt span { display: none; }
:is(.por-cat, .cab-compacta) .club-caja { padding: 10px 14px; }
:is(.por-cat, .cab-compacta) .tarjeta, :is(.por-cat, .cab-compacta) .tarjeta-img { width: 118px; }
:is(.por-cat, .cab-compacta) .tarjeta-img { height: 104px; }
:is(.por-cat, .cab-compacta) .tarjeta .prod-acc { top: 62px; right: 6px; }
:is(.por-cat, .cab-compacta) .tarjeta-nom { font-size: .875rem; }

/* ---------- Botones y detalles con los colores de la marca (L.coloresMarca) ---------- */
.marca-full .modo input:checked + span { background: var(--marca); color: var(--sobre-marca); box-shadow: none; }
.marca-full .btn-wa { background: var(--marca); color: var(--sobre-marca); }
.marca-full .g-tag.obligatorio { background: var(--marca); color: var(--sobre-marca); }
.marca-full .g-tag.listo { background: var(--tinte); color: var(--marca); }
.marca-full .grupo:not(.pedir) .g-cab-in { background: var(--tinte); }
.marca-full .aviso-wa { background: var(--tinte); border-left: 4px solid var(--sobre-marca); color: var(--texto); }
.marca-full .playa-sw { border-color: var(--tinte-2); background: var(--tinte); }
.marca-full .playa-sw.on { border-color: var(--sobre-marca); background: color-mix(in srgb, var(--sobre-marca) 35%, #fff); }
.marca-full .playa-sw.on .playa-tg { background: var(--marca); }
.marca-full .playa-gps.on { border-color: var(--marca); color: var(--marca); }
.marca-full .cats a:focus-visible, .marca-full .cat-sig:focus-visible { outline: 3px solid var(--sobre-marca); outline-offset: 2px; }
.marca-full input:focus, .marca-full select:focus { border-color: var(--marca); }

/* ---------- Compu: mejor distribución (sin huecos en blanco), con L.cartaPorCategoria ---------- */
.cab-extra { margin-top: 16px; }
.cab-extra > * { min-width: 0; }   /* con 2 o más promos, la tira no ensancha la cabecera en el celular */
.cab:has(.cab-extra > :not([hidden])) { padding-bottom: 0; }
.cab-extra:not(:has(> :not([hidden]))) { display: none; }
@media (min-width: 960px) {
    .cab:has(.cab-extra > :not([hidden])) { padding-bottom: 28px; }
    .cab .entrega { grid-row: 2 / span 12; }
    /* Promos y club al lado, debajo del buscador: llenan la columna izquierda */
    .cab-extra { grid-column: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 18px; align-items: stretch; }
    .cab-extra > .franja, .cab-extra > .club, :is(.por-cat, .cab-compacta) .cab-extra > .club, :is(.por-cat, .cab-compacta) .cab-extra > .franja { border: 0; padding: 0; }
    .cab-extra .franja > h2 { display: none; }
    .cab-extra .fila-x, :is(.por-cat, .cab-compacta) .cab-extra .fila-x { display: grid; gap: 8px; padding: 0; overflow: visible; height: 100%; }
    .cab-extra .promo, :is(.por-cat, .cab-compacta) .cab-extra .promo { width: 100%; height: 100%; min-height: 72px; padding: 12px 14px; }
    .cab-extra .promo-det { display: block; }
    .cab-extra .club { align-content: stretch; }
    .cab-extra .club-caja, :is(.por-cat, .cab-compacta) .cab-extra .club-caja { height: 100%; padding: 12px 14px; }
    :is(.por-cat, .cab-compacta) .cab-extra .club-txt span { display: block; }
    /* Los más pedidos: tarjetas que ocupan todo el ancho */
    :is(.por-cat, .cab-compacta) .franja { padding: 22px 0 18px; }
    :is(.por-cat, .cab-compacta) .franja .fila-x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; overflow: visible; padding-top: 12px; }
    :is(.por-cat, .cab-compacta) .tarjeta { width: auto; }
    :is(.por-cat, .cab-compacta) .tarjeta-img { width: 100%; height: 170px; }
    :is(.por-cat, .cab-compacta) .tarjeta-img .dib { width: 62%; height: 62%; }
    :is(.por-cat, .cab-compacta) .tarjeta .prod-acc { top: 120px; right: 10px; }
    :is(.por-cat, .cab-compacta) .tarjeta-nom { font-size: 1rem; }
    :is(.por-cat, .cab-compacta) .tarjeta-abrir:hover .tarjeta-img { box-shadow: inset 0 0 0 2px var(--tinte-2); }
    /* Categorías alineadas con el resto */
    :is(.por-cat, .cab-compacta) .cats { padding: 12px var(--lado); gap: 10px; }
    /* Sucursales en dos columnas: la info del local queda pareja */
    :is(.por-cat, .cab-compacta) .caja-sucs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
    :is(.por-cat, .cab-compacta) .caja-sucs > h3, :is(.por-cat, .cab-compacta) .caja-sucs > .suc-nota { grid-column: 1 / -1; }
    :is(.por-cat, .cab-compacta) .pie .caja-sucs { grid-row: 2 / span 4; }
}

/* ---------- Cabecera compacta (L.cabCompacta): redes y contacto en íconos, localidad en un campo, botón de demo en la franja ---------- */
.cab-iconos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ci { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; background: var(--tinte); color: var(--marca); border: 1.5px solid var(--tinte-2); font-size: .875rem; font-weight: 700; text-decoration: none; }
.ci .ico { width: 20px; height: 20px; flex: none; }
.ci:hover { border-color: var(--marca); }
.ci:active { background: var(--marca); color: var(--sobre-marca); }
.ci:focus-visible { outline: 3px solid var(--marca); outline-offset: 2px; }
.cinta .sim-cinta { flex: none; margin: 0; min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: inherit; font-size: .8125rem; font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.localidades-sel .loc-campo { display: grid; gap: 8px; }
.localidades-sel select { width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--marca); background: var(--sup); color: var(--texto); font: inherit; font-size: 1rem; font-weight: 600; }
.localidades-sel select:focus-visible { outline: 3px solid var(--tinte-2); }
.loc-boton { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--marca); background: var(--sup); color: var(--texto); font: inherit; font-size: 1rem; font-weight: 600; text-align: left; cursor: pointer; }
.loc-boton svg { flex: none; width: 22px; height: 22px; color: var(--marca); }
.loc-boton:focus-visible { outline: 3px solid var(--tinte-2); }
.cab-compacta .estado { min-height: 44px; }
.cinta.cinta-para { flex-wrap: wrap; }
.cinta.cinta-para .cinta-txt { flex: 1 1 100%; }
.cinta.cinta-para .sim-cinta { margin: 2px 0 4px; }
@media (min-width: 700px) {
    .cinta.cinta-para { flex-wrap: nowrap; }
    .cinta.cinta-para .cinta-txt { flex: 1; }
}

/* ---------- Carta seguida con aire entre secciones (L.cabCompacta) ---------- */
.cab-compacta .cab-extra { display: grid; gap: 4px; }
.cab-compacta .cab-extra > * { min-width: 0; }   /* con 2 o más promos la fila se desliza adentro y no estira la página */
.cab-compacta .club-txt span { display: block; }
.cab-compacta .club-caja { border: 1.5px solid var(--tinte-2); background: var(--tinte); }
.cab-compacta .cats { margin-top: 0; box-shadow: 0 6px 12px -10px rgba(0, 0, 0, .25); }
.cab-compacta .cat { padding-top: 28px; padding-bottom: 8px; scroll-margin-top: calc(var(--cinta-h) + 64px); }
.cab-compacta .cat + .cat { margin: 16px -16px 0; padding-left: 16px; padding-right: 16px; border-top: 8px solid var(--fondo); }
.cab-compacta .cat h2 { font-size: 1.375rem; color: var(--marca); }
.cab-compacta .cat-nota { margin-top: 6px; }
@media (min-width: 960px) {
    .cab-compacta .cat + .cat { margin-left: calc(-1 * var(--lado, 16px)); margin-right: calc(-1 * var(--lado, 16px)); padding-left: var(--lado, 16px); padding-right: var(--lado, 16px); }
}

.cab-compacta .fila-x:has(> .promo:only-child) .promo { width: 100%; }

/* ---------- Detalles: zonas de toque y portada en compu (L.cabCompacta) ---------- */
.cab-compacta .pie-firma a { display: inline-flex; align-items: center; min-height: 44px; }
.cab-compacta .cab-letra { min-height: 44px; }
.cab-compacta .cats a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 960px) {
    .cab-compacta .cab-extra > .franja, .cab-compacta .cab-extra > .club { padding: 0; margin: 0; border: 0; }
    .cab-compacta .cab-extra .fila-x { padding: 0; }
}


/* Complementá tu pedido (carrusel en el carrito; productos con complemento: true) */
.comp-lista { list-style: none; display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.comp-lista::-webkit-scrollbar { display: none; }
.comp-lista li { position: relative; flex: none; width: 132px; display: grid; gap: 2px; align-content: start; scroll-snap-align: start; }
.comp-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: var(--tinte); overflow: hidden; margin-bottom: 4px; }
.comp-img img { width: 100%; height: 100%; object-fit: cover; }
.comp-img .dib { width: 80%; height: 80%; }
.comp-nom { font-size: .875rem; line-height: 1.25; font-weight: 600; min-height: 2.5em; }
.comp-lista li > b { font-size: .9375rem; }
.comp-lista .mas { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; }
html.simple .comp-lista .mas { width: 48px; height: 48px; }

/* Modo simple: "Agregar otra cosa" en el carrito, bien visible pero secundario */
html.simple .btn-otro { width: 100%; background: var(--sup); color: var(--marca-osc); border: 1.5px solid var(--marca); gap: 8px; }

/* ---------- Efectos (wow) y ayudas para personas mayores ---------- */
/* El producto vuela hasta "Ver mi pedido" */
.vuelo { position: fixed; z-index: 90; pointer-events: none; border-radius: 16px; overflow: hidden; background: var(--tinte); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.vuelo img { width: 100%; height: 100%; object-fit: cover; }
.vuelo .dib { width: 80%; height: 80%; }
/* El pote "rebota" cuando se suma un gusto */
.pd-img.rebote .dib, .pd-img.rebote img { animation: rebote .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes rebote { 0% { transform: scale(1); } 35% { transform: scale(1.12) translateY(-6px); } 100% { transform: scale(1); } }
/* El botón "Listo" late cuando ya eligió todo */
.btn.pulso { animation: pulso 1.4s ease-in-out infinite; }
@keyframes pulso { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--marca) 55%, transparent); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--marca) 0%, transparent); transform: scale(1.03); } }
/* Lluvia de bochas al terminar el pedido */
.festejo { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.festejo i { position: absolute; top: 0; border-radius: 50%; box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .12); }
/* La carta aparece suave al bajar */
.revela { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.revela.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn.pulso, .pd-img.rebote .dib, .pd-img.rebote img { animation: none; } .revela { opacity: 1; transform: none; transition: none; } }

/* Familias plegables (listas largas de gustos) */
details.fam { border: 1.5px solid var(--linea); border-radius: 14px; margin-top: 10px; background: var(--sup); scroll-margin-top: 90px; }
details.fam[open] { border-color: var(--marca); }
details.fam > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; cursor: pointer; }
details.fam > summary::-webkit-details-marker { display: none; }
.fam-nom { flex: 1; font-weight: 700; font-size: 1.0625rem; }
.fam-n { font-size: .875rem; color: var(--suave); white-space: nowrap; }
.fam-n.con { color: var(--marca-osc); font-weight: 700; background: var(--tinte); padding: 4px 10px; border-radius: 999px; }
details.fam > summary .ico { flex: none; transition: transform .2s; }
details.fam[open] > summary .ico { transform: rotate(90deg); }
details.fam > .op { margin: 0 12px; }
details.fam > .op:last-child { margin-bottom: 8px; }
.g-elegidos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 6px; }
.g-elegidos > span { font-weight: 700; font-size: .9375rem; }
.g-elegidos button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 999px; background: var(--marca); color: var(--sobre-marca); font-weight: 600; font-size: .9375rem; }
.g-elegidos button .ico { width: 16px; height: 16px; }

.flota-btn { margin-left: 6px; padding: 6px 12px; min-height: 36px; border-radius: 999px; background: #fff; color: #1c1c21; font-weight: 700; font-size: .875rem; }

/* Demo con horario real: link para probar igual con la tienda cerrada */
.link-sim { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Modo simple: la descripción del gusto se lee entera (no queda cortada con "…") */
html.simple .op-nom small { display: block; -webkit-line-clamp: unset; overflow: visible; }
/* Celulares chicos: "Letra grande" un poco más compacto para no tapar el logo de la portada */
@media (max-width: 400px) { .cab-letra { top: 10px; left: 10px; gap: 5px; padding: 5px 11px; font-size: .8125rem; } .cab-letra b { font-size: 1rem; } }
.cinta-prueba { display: block; margin-top: 4px; font-weight: 700; }

/* ---------- Toque más suave (sin el recuadro azul de las páginas viejas) ---------- */
html { -webkit-tap-highlight-color: transparent; }
a, button, label, summary, select, input, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn, .prod, .ci, .zona-op, .op, .loc-boton, .cab-letra, .cats a, button { transition: transform .12s ease, filter .12s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:active, .zona-op:active, .loc-boton:active, .cab-letra:active, .cats a:active, .ci:active { transform: scale(.97); }
.prod:active, .op:active { transform: scale(.985); }
@media (hover: hover) { .btn:hover { filter: brightness(1.06); } }
/* El foco se ve solo con teclado (no al tocar) */
:focus:not(:focus-visible) { outline: none; }
.hoja-cuerpo, .cats { -webkit-overflow-scrolling: touch; }
.cats { scroll-behavior: smooth; } /* .hoja-cuerpo NO: al redibujar "Tu pedido" o una ficha volvía arriba y bajaba en animación (el salto del video) */
@media (prefers-reduced-motion: reduce) { .btn, .prod, .ci, .zona-op, .op, button { transition: none; } .btn:active, .prod:active, .op:active { transform: none; } }

/* ---------- Filas que se deslizan, en la compu: flechas a los costados ---------- */
:is(.fila-x, .cats, .comp-lista, .v2-cats-home) > .flecha-x { display: none; }
@media (hover: hover) and (pointer: fine) {
    .fila-x, .cats, .comp-lista, .v2-cats-home { cursor: grab; }
    .arrastrando { cursor: grabbing; scroll-snap-type: none !important; user-select: none; }
    .arrastrando * { pointer-events: none; }
    :is(.fila-x, .cats, .comp-lista, .v2-cats-home) > .flecha-x { position: sticky; scroll-snap-align: none; top: auto; z-index: 3; flex: none; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0 0 3px; list-style: none; border-radius: 50%; background: var(--sup, #fff); color: var(--texto, #111); border: 1px solid var(--linea, #ddd); box-shadow: 0 4px 14px rgba(0,0,0,.18); font: 700 26px/1 system-ui, sans-serif; cursor: pointer; transition: transform .12s ease, box-shadow .15s ease; }
    :is(.fila-x, .cats, .comp-lista, .v2-cats-home) > .flecha-x:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,.24); }
    :is(.fila-x, .cats, .comp-lista, .v2-cats-home) > .flecha-x.izq { left: 4px; margin-right: -40px; }
    :is(.fila-x, .cats, .comp-lista, .v2-cats-home) > .flecha-x.der { right: 4px; margin-left: -40px; }
    :is(.fila-x, .cats, .comp-lista, .v2-cats-home) > .flecha-x[hidden] { display: none; }
}

/* ---------- Compu: fotos enteras y ficha de producto en dos columnas ---------- */
@media (min-width: 960px) {
    /* Los más pedidos: la foto se ve en 4:3 centrada (antes se cortaba arriba y no se veía la comida) */
    :is(.por-cat, .cab-compacta) .franja .tarjeta { container-type: inline-size; }
    :is(.por-cat, .cab-compacta) .franja .tarjeta-img { height: auto; aspect-ratio: 4 / 3; }
    :is(.por-cat, .cab-compacta) .franja .tarjeta-img img { object-position: 50% 55%; transition: transform .35s ease; }
    :is(.por-cat, .cab-compacta) .franja .tarjeta .prod-acc { top: calc(75cqw - 64px); right: 12px; }
    :is(.por-cat, .cab-compacta) .franja .tarjeta-abrir:hover .tarjeta-img img { transform: scale(1.04); }
    :is(.por-cat, .cab-compacta) .franja .tarjeta-nom { font-size: 1.0625rem; margin-top: 4px; }

    /* Info del local: con un solo local, las tres columnas llenas (antes la tercera quedaba vacía) */
    .pie:has(.caja-envio):not(:has(.caja-sucs)) .caja-hora { grid-column: 1; grid-row: 2; }
    .pie:has(.caja-envio):not(:has(.caja-sucs)) .caja-pago { grid-column: 1; grid-row: 3; }
    .pie:has(.caja-envio):not(:has(.caja-sucs)) .caja-envio { grid-column: 2; grid-row: 2 / span 2; }
    .pie:has(.caja-envio):not(:has(.caja-sucs)) .caja-dir { grid-column: 3; grid-row: 2 / span 2; }

    /* Ficha del producto: foto grande y entera a la izquierda, opciones a la derecha (como las apps de delivery en compu) */
    .hoja[data-vista="producto"]:has(.pd-img:not([hidden])) .hoja-caja { max-width: 940px; }
    .hoja[data-vista="producto"] .hoja-cuerpo:has(> .pd-img:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: min-content; column-gap: 28px; row-gap: 16px; align-content: start; padding: 20px 22px 24px; }
    .hoja[data-vista="producto"] .hoja-cuerpo:has(> .pd-img:not([hidden])) > * { grid-column: 2; }
    .hoja[data-vista="producto"] .hoja-cuerpo > .pd-img:not([hidden]) { grid-column: 1; grid-row: 1 / span 30; align-self: start; justify-self: center; position: sticky; top: 0; margin: 0; width: min(100%, calc(88vh - 200px)); width: min(100%, calc(88dvh - 200px)); height: auto; aspect-ratio: 1 / 1; max-height: none; border-radius: 18px; background: var(--tinte); }
    .hoja[data-vista="producto"] .hoja-cuerpo > .pd-img:has(img)::before { display: none; }
    .hoja[data-vista="producto"] .hoja-cuerpo > .pd-img:has(img) img { object-fit: cover; }
    .hoja[data-vista="producto"] .pd-info p:first-child { font-size: 1.0625rem; line-height: 1.5; }
}

/* ---------- Fotos de producto sobre fondo blanco (p.fotoBlanca: bebidas tipo catálogo) ---------- */
:is(.prod-img, .tarjeta-img, .comp-img, .plato):has(img.packshot) { background: #fff; box-shadow: inset 0 0 0 1px var(--linea); }
img.packshot { object-fit: contain !important; padding: 4%; }
.pd-img:has(img.packshot) { background: #fff !important; }
.pd-img:has(img.packshot)::before { display: none; }
.pd-img img.packshot { padding: 8%; }
/* En la carta, el producto se corre un poco arriba a la izquierda para que el botón + no lo tape */
:is(.prod-img, .tarjeta-img) img.packshot { padding: 3% 13% 13% 3%; }

/* Aviso del panel en demos que no lo abren (L.panelAviso) */
.panel-aviso-lista { list-style: none; display: grid; gap: 10px; margin: 4px 0 8px; padding: 0; }
.panel-aviso-lista li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.4; }
.panel-aviso-lista .ico { flex: none; width: 22px; height: 22px; color: var(--marca); margin-top: 1px; }


/* ---------- Tienda online (L.tiendaPorPaginas): celular, tablet y PC ---------- */
#local.tienda { --t-tinta: #14213D; --t-suave: #4A5670; --t-linea: #E4E8EF; --t-fondo2: #F5F7FA; --t-img: #F1F4F8; --t-ok: #17703C; --t-acento: #C2410C;
    max-width: none; min-height: 100vh; background: #fff; color: var(--t-tinta); font-family: Inter, system-ui, sans-serif; box-shadow: none; }
body.con-tienda, body.con-tienda.con-barra { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); background: #fff; }
#local.tienda .barra, #local.tienda .cats, #local.tienda .cat-sig { display: none !important; }
#local.tienda .t-cont { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 16px; box-sizing: border-box; }
#local.tienda .ico { width: 1.25em; height: 1.25em; flex: none; }
#local.tienda a, #local.tienda button { -webkit-tap-highlight-color: transparent; }

/* Barra superior y cabecera */
#local.tienda .t-top { background: var(--t-tinta); color: #fff; font-size: .8125rem; }
#local.tienda .t-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
#local.tienda .t-top-txt { margin: 0; display: flex; gap: 28px; min-width: 0; }
#local.tienda .t-top-txt span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 600; }
#local.tienda .t-top-txt em { font-style: normal; font-weight: 400; opacity: .75; }
#local.tienda .t-top-txt .ico { color: #F5C26B; width: 1.1em; height: 1.1em; }
#local.tienda .t-top-mas { display: none !important; }
#local.tienda .t-letra { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-size: .8125rem; font-weight: 600; }
#local.tienda .t-letra b { font-size: 1rem; }
#local.tienda .t-letra[aria-pressed="true"] { background: #fff; color: var(--t-tinta); }
#local.tienda .t-cab { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--t-linea); }
#local.tienda .t-cab-in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "marca acc" "buscar buscar"; align-items: center; gap: 10px 12px; padding-block: 10px 12px; }
#local.tienda .t-marca { grid-area: marca; display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--t-tinta); text-decoration: none; }
#local.tienda .t-marca img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--t-linea); }
#local.tienda .t-marca strong { display: block; font-family: var(--f-titulos); font-size: 1.1875rem; line-height: 1.1; color: var(--marca); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#local.tienda .t-marca small { display: block; font-size: .75rem; color: var(--t-suave); }
#local.tienda .t-buscar { grid-area: buscar; position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 16px; border-radius: 12px; background: var(--t-fondo2); border: 1.5px solid transparent; transition: border-color .15s, background .15s; }
#local.tienda .t-buscar:focus-within { background: #fff; border-color: var(--marca); }
#local.tienda .t-buscar .ico { color: var(--t-suave); }
#local.tienda .t-buscar input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 400 1rem Inter, sans-serif; color: var(--t-tinta); outline: 0; }
#local.tienda .t-buscar input::-webkit-search-cancel-button { display: none; }
#local.tienda .t-acc { grid-area: acc; display: flex; align-items: center; gap: 6px; }
#local.tienda .t-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--t-tinta); font-weight: 600; font-size: .9375rem; transition: background .15s; }
#local.tienda .t-btn:hover { background: var(--t-fondo2); }
#local.tienda .t-carro { padding: 0 10px; }
#local.tienda .carro-ico { position: relative; display: inline-flex; }
#local.tienda .carro-ico .ico { width: 26px; height: 26px; }
#local.tienda .carro-n { position: absolute; top: -6px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px; box-sizing: border-box; border-radius: 10px; background: var(--t-acento); color: #fff; font: 700 11px/19px Inter, sans-serif; text-align: center; }
#local.tienda .carro-n[hidden] { display: none; }
#local.tienda .t-solo-pc { display: none; }
#local.tienda .t-nav { display: none; }

/* Portada */
#local.tienda .t-hero { background: linear-gradient(135deg, #EAF0F8 0%, #F6F2EA 100%); overflow: hidden; }
#local.tienda .t-hero-in { display: grid; gap: 8px; padding-block: 28px 8px; }
#local.tienda .t-eb { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t-acento); }
#local.tienda .t-hero h2 { margin: 10px 0 10px; font-family: var(--f-titulos); font-size: clamp(2rem, 7.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em; color: var(--t-tinta); }
#local.tienda .t-hero p { margin: 0; max-width: 34em; font-size: 1.0625rem; line-height: 1.5; color: var(--t-suave); }
#local.tienda .t-hero-bt { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
#local.tienda .t-b1, #local.tienda .t-b2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
#local.tienda .t-b1 { background: var(--marca); color: var(--sobre-marca); box-shadow: 0 8px 20px -8px rgba(20,33,61,.55); }
#local.tienda .t-b1:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(20,33,61,.6); }
#local.tienda .t-b2 { background: #fff; color: var(--marca); border: 1.5px solid var(--t-linea); }
#local.tienda .t-b2:hover { border-color: var(--marca); }
#local.tienda .t-b1-inv { background: #fff; color: var(--marca); box-shadow: none; flex: none; }
#local.tienda .t-b1:active, #local.tienda .t-b2:active { transform: scale(.98); }
#local.tienda .t-hero-vis { position: relative; height: 230px; }
#local.tienda .t-hero-vis.con-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
#local.tienda .hv-circ { position: absolute; left: 50%; top: 52%; width: 250px; height: 250px; margin: -125px 0 0 -125px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.4) 60%, rgba(255,255,255,0) 72%); }
#local.tienda .hv-a, #local.tienda .hv-b { position: absolute; display: block; }
#local.tienda .hv-a { left: 50%; top: 50%; width: 270px; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 18px rgba(20,33,61,.18)); }
#local.tienda .hv-b { left: 6%; bottom: 4%; width: 120px; filter: drop-shadow(0 10px 12px rgba(20,33,61,.2)); animation: flota 6s ease-in-out infinite; }
#local.tienda .hv-a svg, #local.tienda .hv-b svg, #local.tienda .hv-a img, #local.tienda .hv-b img { width: 100%; height: auto; display: block; }
@keyframes flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

#local.tienda .t-gar { border-bottom: 1px solid var(--t-linea); }
#local.tienda .t-gar-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-block: 18px; }
#local.tienda .t-gar-it { display: flex; align-items: center; gap: 10px; }
#local.tienda .t-gar-it > .ico { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 50%; background: var(--tinte); color: var(--marca); }
#local.tienda .t-gar-it strong { display: block; font-size: .875rem; line-height: 1.25; }
#local.tienda .t-gar-it small { display: block; font-size: .75rem; color: var(--t-suave); }

#local.tienda .t-sec { padding-block: 32px 4px; }
#local.tienda .t-tit { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
#local.tienda .t-tit h2, #local.tienda .t-asist-txt h2, #local.tienda .t-cat-cab h2 { margin: 0; font: 800 clamp(1.375rem, 4.6vw, 2rem)/1.15 Inter, sans-serif; letter-spacing: -.02em; color: var(--t-tinta); }
#local.tienda .t-tit a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .9375rem; color: var(--marca); text-decoration: none; white-space: nowrap; }

/* Categorías: lista en celular, tarjetas en PC */
#local.tienda .t-cats { display: grid; gap: 10px; }
#local.tienda .t-cat { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border: 1px solid var(--t-linea); border-radius: 16px; background: #fff; color: var(--t-tinta); text-decoration: none; transition: border-color .15s, box-shadow .2s, transform .2s; }
#local.tienda .t-cat:hover { border-color: #C9D2E0; box-shadow: 0 10px 28px -14px rgba(20,33,61,.35); }
#local.tienda .t-cat-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--t-img); overflow: hidden; }
#local.tienda .t-cat-img svg, #local.tienda .t-cat-img img { width: 86%; height: 86%; object-fit: contain; display: block; }
#local.tienda .t-cat-img img { width: 100%; height: 100%; object-fit: cover; }
#local.tienda .t-cat-txt strong { display: block; font-size: 1rem; line-height: 1.25; }
#local.tienda .t-cat-txt small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--t-suave); }
#local.tienda .t-cat > .ico { color: var(--t-suave); }

/* Grilla de productos */
#local.tienda .prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
#local.tienda .prod { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0; border: 1px solid var(--t-linea); border-radius: 16px; background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; content-visibility: auto; contain-intrinsic-size: auto 380px; }
#local.tienda .prod:last-child { border-bottom: 1px solid var(--t-linea); }
#local.tienda .prod.fuera { display: none; }
#local.tienda .prod-abrir { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; min-height: 0; padding: 0; text-align: left; background: none; }
#local.tienda .prod-img { order: -1; position: relative; display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 1; margin: 0; border-radius: 0; background: var(--t-img); overflow: hidden; }
#local.tienda .prod-img svg { width: 82%; height: 82%; transition: transform .35s ease; }
#local.tienda .prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
#local.tienda .prod-txt { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 8px; }
#local.tienda .prod-etq { position: absolute; top: 10px; left: 10px; z-index: 1; margin: 0; padding: 4px 8px; border-radius: 6px; background: var(--t-acento); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
#local.tienda .prod-marca { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-suave); }
#local.tienda .prod-nom { font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--t-tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#local.tienda .prod-desc { display: none; }
#local.tienda .prod-precio { margin-top: 6px; font-size: 1.1875rem; font-weight: 800; color: var(--t-tinta); letter-spacing: -.01em; }
#local.tienda .prod-precio small { display: block; font-size: .6875rem; font-weight: 600; color: var(--t-suave); letter-spacing: 0; text-transform: uppercase; }
#local.tienda .prod-cuotas { font-size: .8125rem; color: var(--t-suave); }
#local.tienda .prod-envio { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: .8125rem; font-weight: 600; color: var(--t-ok); }
#local.tienda .prod-envio .ico { width: 1.05em; height: 1.05em; }
#local.tienda .prod-acc, #local.tienda .prod .prod-acc { position: static; inset: auto; transform: none; padding: 0 12px 12px; }
#local.tienda .mas-txt { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--marca); background: #fff; color: var(--marca); font-weight: 700; font-size: .875rem; box-shadow: none; transition: background .15s, color .15s; }
#local.tienda .mas-txt .ico { width: 1.1em; height: 1.1em; }
#local.tienda .mas-txt:hover, #local.tienda .mas-txt.con { background: var(--marca); color: var(--sobre-marca); }
#local.tienda .prod-acc .cont { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; border-radius: 10px; background: var(--marca); color: var(--sobre-marca); }
#local.tienda .prod-acc .cont button { width: 44px; height: 44px; color: inherit; background: none; }
#local.tienda .prod.agotado { opacity: .6; }
@media (hover: hover) {
    #local.tienda .prod:hover { border-color: #C9D2E0; box-shadow: 0 16px 36px -18px rgba(20,33,61,.38); transform: translateY(-3px); }
    #local.tienda .prod:hover .prod-img svg, #local.tienda .prod:hover .prod-img img { transform: scale(1.05); }
}

/* Asistente para elegir */
#local.tienda .t-asist-in { display: grid; gap: 18px; padding: 22px 16px; border-radius: 20px; background: var(--t-tinta); color: #fff; }
#local.tienda .t-asist-txt .t-eb { color: #F5C26B; }
#local.tienda .t-asist-txt h2 { margin: 8px 0 8px; color: #fff; }
#local.tienda .t-asist-txt p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.5; }
#local.tienda .asist { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: #fff; color: var(--t-tinta); }
#local.tienda .asist h3 { margin: 0 0 4px; font: 800 1.25rem/1.2 Inter, sans-serif; color: var(--t-tinta); }
#local.tienda .asist-n { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t-acento); }
#local.tienda .paso { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--t-linea); background: #fff; color: var(--t-tinta); font-weight: 600; text-align: left; transition: border-color .15s, background .15s; }
#local.tienda .paso:hover { border-color: var(--marca); background: var(--tinte); }
#local.tienda .paso i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tinte); color: var(--marca); font-style: normal; font-size: .8125rem; font-weight: 800; display: grid; place-items: center; }
#local.tienda .asist-ver, #local.tienda .asist-otra { min-height: 48px; border-radius: 12px; font-weight: 700; }
#local.tienda .asist-ver { background: var(--marca); color: var(--sobre-marca); }
#local.tienda .asist-otra { background: transparent; color: var(--marca); }

/* Medidas y marcas */
#local.tienda .t-medidas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#local.tienda .t-med { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px 12px; border: 1.5px solid var(--t-linea); border-radius: 14px; background: #fff; color: var(--t-tinta); transition: border-color .15s, background .15s, transform .15s; }
#local.tienda .t-med:hover { border-color: var(--marca); background: var(--tinte); }
#local.tienda .t-med:active, #local.tienda .t-mar:active, #local.tienda .t-cat:active { transform: scale(.98); }
#local.tienda .med-ico { width: 40px; height: 44px; margin-bottom: 4px; fill: var(--tinte); stroke: var(--marca); stroke-width: 1.8; }
#local.tienda .med-ico .med-alm { fill: #fff; stroke-width: 1.2; }
#local.tienda .t-med strong { font-size: .9375rem; }
#local.tienda .t-med small { font-size: .75rem; color: var(--t-suave); }
#local.tienda .t-marcas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#local.tienda .t-mar { display: grid; place-items: center; min-height: 76px; padding: 10px; border: 1px solid var(--t-linea); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .2s; }
#local.tienda .t-mar strong { font-family: var(--f-titulos); font-size: 1.375rem; color: var(--t-tinta); letter-spacing: -.01em; }
#local.tienda .t-mar:hover { border-color: #C9D2E0; box-shadow: 0 10px 24px -14px rgba(20,33,61,.35); }

#local.tienda .t-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; border-radius: 20px; background: var(--marca); color: var(--sobre-marca); }
#local.tienda .t-banner h2 { margin: 0 0 6px; font: 800 1.375rem/1.2 Inter, sans-serif; color: inherit; }
#local.tienda .t-banner p { margin: 0; opacity: .85; line-height: 1.5; }

/* Página de categoría */
#local.tienda .carta { padding-block: 8px 24px; background: #fff; }
#local.tienda .cat { padding: 0; margin: 0; border: 0; background: none; }
#local.tienda .t-migas { display: flex; align-items: center; gap: 4px; padding-top: 14px; font-size: .8125rem; color: var(--t-suave); }
#local.tienda .t-migas a { color: var(--marca); font-weight: 600; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
#local.tienda .t-migas .ico { width: 1em; height: 1em; }
#local.tienda .t-cat-cab { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 4px; }
#local.tienda .cat-nota { margin: 6px 0 0; color: var(--t-suave); line-height: 1.45; }
#local.tienda .t-filtros { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
#local.tienda .t-sel { display: flex; flex-direction: column; gap: 4px; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t-suave); }
#local.tienda .t-sel select { appearance: none; -webkit-appearance: none; width: 100%; height: 44px; padding: 0 30px 0 12px; border: 1.5px solid var(--t-linea); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5670' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 14px no-repeat; font: 600 .875rem Inter, sans-serif; color: var(--t-tinta); text-transform: none; letter-spacing: 0; }
#local.tienda .t-sel select:focus { outline: 0; border-color: var(--marca); }
#local.tienda .t-cuenta { margin: 14px 0 12px; font-size: .8125rem; color: var(--t-suave); }
#local.tienda .t-vacio { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 16px; text-align: center; color: var(--t-suave); }
#local.tienda .t-vacio[hidden] { display: none; }
#local.tienda .t-vacio button { min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--marca); color: var(--sobre-marca); font-weight: 700; }
#local.tienda.vista-home:not(.buscando) .carta { display: none; }
#local.tienda.vista-cat .t-home, #local.tienda.buscando .t-home { display: none; }
#local.tienda.buscando .t-filtros, #local.tienda.buscando .t-migas, #local.tienda.buscando .t-cuenta, #local.tienda.buscando .cat-nota { display: none; }
#local.tienda.buscando .cat { margin-bottom: 24px; }
#local.tienda.buscando .t-cat-cab h2 { font-size: 1.25rem; margin-top: 16px; }

/* Pie */
#local.tienda .t-pie { margin-top: 48px; background: var(--t-tinta); color: rgba(255,255,255,.8); font-size: .9375rem; }
#local.tienda .t-pie-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 36px 24px; }
#local.tienda .t-pie-marca { grid-column: 1 / -1; }
#local.tienda .t-pie-marca strong { font-family: var(--f-titulos); font-size: 1.5rem; color: #fff; }
#local.tienda .t-pie-marca p { margin: 8px 0 14px; max-width: 30em; line-height: 1.5; }
#local.tienda .t-pie h3 { margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
#local.tienda .t-pie-col a, #local.tienda .t-pie-col p { display: block; margin: 0 0 8px; color: inherit; text-decoration: none; line-height: 1.4; }
#local.tienda .t-pie-col a:hover { color: #fff; }
#local.tienda .t-pie-col p b { display: block; color: #fff; font-weight: 600; }
#local.tienda .t-pie-link { padding: 0; min-height: 32px; color: #F5C26B; font-weight: 700; background: none; }
#local.tienda .t-pie .cab-iconos { justify-content: flex-start; margin: 0; }
#local.tienda .t-pie .cab-iconos a, #local.tienda .t-pie .cab-iconos button { background: rgba(255,255,255,.1); color: #fff; border-color: transparent; }
#local.tienda .t-pie-firma { padding-block: 16px 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; }
#local.tienda .t-pie-firma .pie-firma { margin: 0; color: rgba(255,255,255,.65); text-align: left; }
#local.tienda .t-pie-firma a { color: #fff; }

/* Pestañas abajo (celular) */
#local.tienda .t-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom, 0px); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--t-linea); box-shadow: 0 -6px 20px rgba(20,33,61,.06); }
#local.tienda .t-tabs > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 62px; background: none; color: var(--t-suave); font-size: .6875rem; font-weight: 600; text-decoration: none; }
#local.tienda .t-tabs .ico, #local.tienda .t-tabs .carro-ico .ico { width: 24px; height: 24px; }
#local.tienda .t-tabs .act { color: var(--marca); }

/* Tablet */
@media (min-width: 640px) {
    #local.tienda .t-cont { padding-inline: 24px; }
    #local.tienda .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    #local.tienda .t-gar-in { grid-template-columns: repeat(4, 1fr); }
    #local.tienda .t-cats { grid-template-columns: repeat(2, 1fr); }
    #local.tienda .t-medidas { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    #local.tienda .t-marcas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    #local.tienda .t-top-mas { display: inline-flex !important; }
    #local.tienda .t-top-txt span:nth-child(n+3) { display: none !important; }
    #local.tienda .t-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; }
    #local.tienda .t-cat-cab { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
    #local.tienda .t-filtros { grid-template-columns: repeat(3, 170px); }
    #local.tienda .prod-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8125rem; color: var(--t-suave); line-height: 1.4; }
    #local.tienda .t-pie-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    #local.tienda .t-pie-marca { grid-column: auto; }
}
/* PC */
@media (min-width: 1000px) {
    body.con-tienda, body.con-tienda.con-barra { padding-bottom: 0; }
    #local.tienda .t-cont { padding-inline: 32px; }
    #local.tienda .t-tabs { display: none; }
    #local.tienda .t-solo-pc { display: inline-flex; }
    #local.tienda .t-top-txt span:nth-child(n+3) { display: inline-flex !important; }
    #local.tienda .t-cab-in { grid-template-columns: auto minmax(280px, 560px) auto; grid-template-areas: "marca buscar acc"; justify-content: space-between; gap: 32px; padding-block: 14px; }
    #local.tienda .t-marca img { width: 52px; height: 52px; }
    #local.tienda .t-marca strong { font-size: 1.375rem; }
    #local.tienda .t-carro { gap: 12px; padding: 0 16px 0 12px; border: 1.5px solid var(--t-linea); }
    #local.tienda .carro-total { font-weight: 700; }
    #local.tienda .t-nav { display: block; border-top: 1px solid var(--t-linea); }
    #local.tienda .t-nav-in { display: flex; justify-content: center; gap: 4px; }
    #local.tienda .t-nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; color: var(--t-tinta); font-weight: 600; font-size: .9375rem; text-decoration: none; }
    #local.tienda .t-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--marca); transform: scaleX(0); transition: transform .2s; }
    #local.tienda .t-nav a:hover::after, #local.tienda .t-nav a[aria-current]::after { transform: scaleX(1); }
    #local.tienda .t-nav a[aria-current] { color: var(--marca); }
    #local.tienda .t-hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: 460px; padding-block: 40px; }
    #local.tienda .t-hero-vis { height: 400px; }
    #local.tienda .hv-circ { width: 440px; height: 440px; margin: -220px 0 0 -220px; }
    #local.tienda .hv-a { width: 470px; }
    #local.tienda .hv-b { width: 190px; left: 2%; bottom: 6%; }
    #local.tienda .t-gar-in { padding-block: 22px; }
    #local.tienda .t-sec { padding-top: 56px; }
    #local.tienda .t-tit { margin-bottom: 22px; }
    #local.tienda .prods { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    #local.tienda .prod-txt { padding: 16px 16px 10px; }
    #local.tienda .prod-acc, #local.tienda .prod .prod-acc { padding: 0 16px 16px; }
    #local.tienda .prod-nom { font-size: 1rem; }
    #local.tienda .prod-precio { font-size: 1.375rem; }
    #local.tienda .t-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    #local.tienda .t-cat { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 0; padding: 0; overflow: hidden; }
    #local.tienda .t-cat-img { aspect-ratio: 4 / 3; border-radius: 0; }
    #local.tienda .t-cat-txt { padding: 14px 16px 16px; }
    #local.tienda .t-cat > .ico { display: none; }
    #local.tienda .t-cat:hover { transform: translateY(-3px); }
    #local.tienda .t-cat:hover .t-cat-img svg { transform: scale(1.05); }
    #local.tienda .t-cat-img svg { transition: transform .35s ease; }
    #local.tienda .t-asist-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 48px; }
    #local.tienda .t-asist-txt h2 { font-size: 2.25rem; }
    #local.tienda .t-mar { min-height: 96px; }
    #local.tienda .t-banner { padding: 36px 48px; }
    #local.tienda .t-banner h2 { font-size: 1.75rem; }
    #local.tienda .t-pie-in { padding-block: 56px 32px; }
}
@media (min-width: 1280px) { #local.tienda .prods.t-vitrina { gap: 24px; } }
@media (prefers-reduced-motion: reduce) {
    #local.tienda .hv-b { animation: none; }
    #local.tienda .prod, #local.tienda .t-cat, #local.tienda .prod-img svg, #local.tienda .prod-img img { transition: none; }
}
#local.tienda .t-letra { flex: none; white-space: nowrap; }
#local.tienda .t-top-txt { overflow: hidden; }
#local.tienda .t-top-txt span:first-child { overflow: hidden; text-overflow: ellipsis; }
#local.tienda .t-marca > span { min-width: 0; }
@media (max-width: 639px) {
    #local.tienda .t-letra span { display: none; }
    #local.tienda .t-cab-in { padding-block: 8px 10px; gap: 8px 10px; }
    #local.tienda .t-marca img { width: 38px; height: 38px; }
    #local.tienda .t-marca strong { font-size: 1.0625rem; }
    #local.tienda .t-marca small { display: none; }
    #local.tienda .t-buscar { height: 44px; }
    #local.tienda .t-hero-in { padding-top: 24px; }
    #local.tienda .t-hero-bt { flex-wrap: nowrap; }
    #local.tienda .t-hero-bt > * { flex: 1 1 0; padding: 0 12px; font-size: .9375rem; }
    #local.tienda .t-hero-vis { height: 200px; }
    #local.tienda .hv-a { width: 230px; }
    #local.tienda .hv-b { width: 96px; }
}
@media (min-width: 1000px) {
    #local.tienda .t-cab-in { grid-template-columns: minmax(0, auto) minmax(260px, 560px) auto; }
    #local.tienda .t-marca { max-width: 340px; }
}
body.con-tienda .flota { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1000px) { body.con-tienda .flota { bottom: 28px; } }

/* ---------- Tienda: identidad (tinta, acento, papel y papel-2 desde "diseno") ---------- */
#local.tienda { --t-tinta: var(--tinta, #14213D); --t-acento: var(--acento, #C2410C); --t-papel: var(--papel, #FFFFFF); --t-fondo2: var(--papel-2, #F5F7FA); --t-img: var(--papel-2, #F1F4F8);
    --t-linea: color-mix(in srgb, var(--t-tinta) 12%, var(--t-papel)); --t-suave: color-mix(in srgb, var(--t-tinta) 72%, var(--t-papel)); background: var(--t-papel); }
body.con-tienda { background: var(--papel, #fff); }
#local.tienda .t-cab { background: color-mix(in srgb, var(--t-papel) 94%, transparent); }
#local.tienda .t-buscar { background: #fff; border-color: var(--t-linea); }
#local.tienda .t-tit h2, #local.tienda .t-asist-txt h2, #local.tienda .t-cat-cab h2, #local.tienda .t-banner h2 { font-family: var(--f-titulos); font-weight: 600; letter-spacing: -.015em; font-variation-settings: "opsz" 96; }
#local.tienda h2 em, #local.tienda .t-hero h2 em { font-style: italic; font-weight: 500; color: var(--t-acento); }
#local.tienda .t-asist-txt h2 em, #local.tienda .t-banner h2 em { color: #F2B48A; }
#local.tienda .t-tit { flex-wrap: wrap; }
#local.tienda .t-tit p { flex-basis: 100%; margin: 4px 0 0; color: var(--t-suave); }
#local.tienda .t-marca strong { color: var(--t-tinta); font-weight: 600; }

/* Hero: amanecer en la Costa */
#local.tienda .t-hero { background: var(--t-papel); }
#local.tienda .t-hero h2 { font-weight: 600; font-variation-settings: "opsz" 144; letter-spacing: -.025em; }
#local.tienda .t-eb { color: var(--t-acento); }
#local.tienda .t-hero-vis { border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #F7E7D6 0%, #F3EDE4 52%, #E4ECEE 100%); isolation: isolate; }
#local.tienda .hv-sol { position: absolute; left: 50%; top: 18%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, #F7C49A 0%, #EE9B6B 55%, rgba(238,155,107,0) 72%); opacity: .85; z-index: -1; }
#local.tienda .hv-mar { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; z-index: -1; background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.35) 0 1.5px, transparent 1.5px 14px),
    linear-gradient(180deg, #A9C3CF 0%, #7FA2B4 100%); }
#local.tienda .hv-mar::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: rgba(255,255,255,.7); }
#local.tienda .hv-a { top: 62%; filter: drop-shadow(0 22px 20px rgba(20,35,63,.28)); }
#local.tienda .hv-b { bottom: 6%; left: 7%; }
#local.tienda .t-sello { position: absolute; top: 14px; right: 14px; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: var(--t-tinta); color: #fff; box-shadow: 0 10px 24px -10px rgba(20,35,63,.6); }
#local.tienda .t-sello svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 24s linear infinite; }
#local.tienda .t-sello text { font: 700 9.6px Inter, sans-serif; letter-spacing: .2em; fill: #fff; }
#local.tienda .t-sello b { font-family: var(--f-titulos); font-style: italic; font-weight: 600; font-size: .9375rem; line-height: 1.05; text-align: center; color: #F2B48A; max-width: 56px; }
@keyframes gira { to { transform: rotate(360deg); } }

/* Garantías y botones */
#local.tienda .t-gar { background: #fff; border-block: 1px solid var(--t-linea); }
#local.tienda .t-gar-it > .ico { background: color-mix(in srgb, var(--t-acento) 12%, #fff); color: var(--t-acento); }
#local.tienda .t-b1 { background: var(--t-tinta); color: #fff; }
#local.tienda .t-b2 { background: transparent; border-color: color-mix(in srgb, var(--t-tinta) 30%, transparent); color: var(--t-tinta); }
#local.tienda .t-b1-inv { background: #fff; color: var(--t-tinta); }

/* Categorías y tarjetas */
#local.tienda .t-cat, #local.tienda .prod, #local.tienda .t-med, #local.tienda .t-mar { background: #fff; border-color: var(--t-linea); }
#local.tienda .t-cat-img, #local.tienda .prod-img { background: var(--t-img); }
#local.tienda .prod-etq { background: var(--t-tinta); }
#local.tienda .prod-ficha { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
#local.tienda .prod-ficha i { font-style: normal; font-size: .6875rem; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: var(--t-fondo2); color: var(--t-tinta); white-space: nowrap; }
#local.tienda .prod-precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
#local.tienda .prod-precio small { flex-basis: 100%; }
#local.tienda .prod-off { font-style: normal; font-size: .6875rem; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: color-mix(in srgb, var(--t-acento) 13%, #fff); color: var(--t-acento); letter-spacing: .01em; transform: translateY(-2px); }
#local.tienda .prod-cuotas { font-size: .75rem; }
#local.tienda .mas-txt { border-color: var(--t-tinta); color: var(--t-tinta); }
#local.tienda .mas-txt:hover, #local.tienda .mas-txt.con, #local.tienda .prod-acc .cont { background: var(--t-tinta); color: #fff; }
#local.tienda .med-ico { fill: color-mix(in srgb, var(--t-acento) 10%, #fff); stroke: var(--t-tinta); }
#local.tienda .t-med:hover, #local.tienda .paso:hover { background: var(--t-fondo2); border-color: var(--t-tinta); }
#local.tienda .t-mar-fija { display: grid; place-items: center; min-height: 76px; border: 1px solid var(--t-linea); border-radius: 14px; }
#local.tienda .t-mar-fija:hover { box-shadow: none; }
#local.tienda .t-mar strong { font-weight: 600; font-style: italic; }

/* Asistente y banner con el azul noche */
#local.tienda .t-asist-in { background: var(--t-tinta); position: relative; overflow: hidden; }
#local.tienda .t-asist-in::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(238,155,107,.35), rgba(238,155,107,0) 70%); pointer-events: none; }
#local.tienda .t-asist-txt .t-eb { color: #F2B48A; }
#local.tienda .asist { position: relative; z-index: 1; }
#local.tienda .paso i { background: color-mix(in srgb, var(--t-acento) 12%, #fff); color: var(--t-acento); }
#local.tienda .asist-ver { background: var(--t-tinta); }
#local.tienda .t-banner { background: linear-gradient(180deg, transparent 62%, rgba(127,162,180,.35) 62%, rgba(127,162,180,.35) 63%, transparent 63%), var(--t-tinta); position: relative; overflow: hidden; }
#local.tienda .t-banner::before { content: ""; position: absolute; right: 12%; top: 50%; width: 180px; height: 180px; margin-top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(238,155,107,.45), rgba(238,155,107,0) 70%); pointer-events: none; }
#local.tienda .t-banner > * { position: relative; }
#local.tienda .t-pie, #local.tienda .t-top { background: var(--t-tinta); }
#local.tienda .t-top-txt .ico, #local.tienda .t-pie-link { color: #F2B48A; }
#local.tienda .carro-n { background: var(--t-acento); }
#local.tienda .t-nav a::after { background: var(--t-acento); }
#local.tienda .t-nav a[aria-current] { color: var(--t-tinta); }
#local.tienda .t-tabs .act { color: var(--t-acento); }
#local.tienda .t-tit a { color: var(--t-acento); }
#local.tienda .t-migas a { color: var(--t-acento); }
#local.tienda .t-vacio button { background: var(--t-tinta); }
@media (min-width: 1000px) {
    #local.tienda .t-sello { width: 128px; height: 128px; top: 22px; right: 22px; }
    #local.tienda .t-sello text { font-size: 9.2px; }
    #local.tienda .t-sello b { font-size: 1.125rem; max-width: 70px; }
    #local.tienda .t-hero-vis { height: 440px; }
}
@media (prefers-reduced-motion: reduce) { #local.tienda .t-sello svg { animation: none; } }
#local.tienda .t-sello text { font-size: 8.4px; letter-spacing: 0; }
#local.tienda .t-nav a { white-space: nowrap; padding-inline: 12px; }
#local.tienda .t-nav-in { flex-wrap: wrap; }
@media (min-width: 1000px) {
    #local.tienda .t-marca { max-width: 420px; }
    #local.tienda .t-cab-in { gap: 24px; }
    #local.tienda .t-top-txt span:first-child { flex: none; overflow: visible; }
}
@media (max-width: 639px) {
    #local.tienda .t-hero-bt .ico { display: none; }
    #local.tienda .t-hero-bt > * { min-height: 50px; padding: 0 8px; font-size: .9375rem; }
    #local.tienda .t-hero h2 { font-size: 2.25rem; }
    #local.tienda .t-hero p { font-size: 1rem; }
    #local.tienda .t-hero-vis { height: 230px; }
    #local.tienda .t-sello { width: 92px; height: 92px; top: 10px; right: 10px; }
    #local.tienda .t-sello b { font-size: .8125rem; }
}
/* Fotos de producto sobre fondo blanco (Google o Gemini): el blanco se funde con la arena */
#local.tienda .prod-img img.packshot, #local.tienda .t-cat-img img { object-fit: contain; padding: 8%; box-sizing: border-box; mix-blend-mode: multiply; }

/* ===== Tarjeta de tienda alineada (tarjetaTienda) ===== */
#local.tienda .tc { contain-intrinsic-size: auto 460px; }
#local.tienda .tc-link { flex: 1; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
#local.tienda .tc-link:focus-visible { outline: 3px solid var(--marca); outline-offset: -3px; border-radius: 16px; }
#local.tienda .tc-img { order: 0; }
#local.tienda .tc-off { position: absolute; top: 10px; right: 10px; z-index: 1; padding: 4px 7px; border-radius: 6px; background: var(--t-ok); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .02em; }
#local.tienda .tc-body { flex: 1; display: flex; flex-direction: column; padding: 12px 12px 10px; }
#local.tienda .tc-marca { display: block; min-height: 1.25em; font-size: .6875rem; line-height: 1.25em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-suave); }
#local.tienda .tc-nom { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; margin-top: 2px; font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--t-tinta); }
#local.tienda .tc-ficha { display: block; min-height: 1.35em; margin-top: 4px; font-size: .75rem; line-height: 1.35; color: var(--t-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#local.tienda .tc-precios { display: flex; flex-direction: column; margin-top: auto; padding-top: 10px; }
#local.tienda .tc-lista { min-height: 1.3em; font-size: .8125rem; line-height: 1.3; color: var(--t-suave); }
#local.tienda .tc-precio { font-size: 1.3125rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--t-tinta); white-space: nowrap; }
#local.tienda .tc-medio { font-size: .75rem; line-height: 1.35; color: var(--t-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#local.tienda .tc-cuota { display: flex; flex-direction: column; margin-top: 8px; font-size: .8125rem; line-height: 1.3; color: var(--t-ok); white-space: nowrap; }
#local.tienda .tc-cuota b { font-weight: 700; }
#local.tienda .tc-cuota2 { font-size: .75rem; line-height: 1.35; color: var(--t-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#local.tienda .tc-envio { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: .75rem; font-weight: 600; color: var(--t-ok); }
#local.tienda .tc-envio .ico { width: 1.05em; height: 1.05em; flex: none; }
@media (min-width: 900px) {
    #local.tienda .tc-body { padding: 16px 16px 12px; }
    #local.tienda .tc-nom { font-size: 1rem; }
    #local.tienda .tc-precio { font-size: 1.5rem; }
}

/* ===== Página de producto ===== */
#local.tienda.vista-pdp:not(.buscando) .carta, #local.tienda.vista-pdp .t-home, #local.tienda.buscando .t-pdp { display: none; }
#local.tienda .t-pdp { padding-bottom: 40px; color: var(--t-tinta); }
#local.tienda .pdp-grid { display: grid; gap: 20px; margin-top: 8px; }
#local.tienda .pdp-foto { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: var(--t-img); overflow: hidden; }
#local.tienda .pdp-foto img { width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; mix-blend-mode: multiply; }
#local.tienda .pdp-foto svg { width: 80%; height: 80%; }
#local.tienda .pdp-mini { display: flex; gap: 10px; margin-top: 10px; }
#local.tienda .pdp-mini button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--t-img); overflow: hidden; cursor: pointer; }
#local.tienda .pdp-mini button.act { border-color: var(--marca); }
#local.tienda .pdp-mini img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
#local.tienda .pdp-ilus { margin: 8px 0 0; font-size: .75rem; color: var(--t-suave); }
#local.tienda .pdp-marca { margin: 0 0 4px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--t-acento); }
#local.tienda .pdp-tit { margin: 0; font: 600 clamp(1.5rem, 5vw, 2.125rem)/1.15 var(--f-titulos, Inter, sans-serif); letter-spacing: -.015em; color: var(--t-tinta); }
#local.tienda .pdp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
#local.tienda .pdp-chips li { padding: 5px 10px; border-radius: 999px; background: var(--t-fondo2); font-size: .8125rem; font-weight: 600; color: var(--t-suave); }
#local.tienda .pdp-precio { margin-top: 18px; }
#local.tienda .pdp-precio p { margin: 0; }
#local.tienda .pdp-lista { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--t-suave); }
#local.tienda .pdp-off { padding: 3px 8px; border-radius: 6px; background: var(--t-ok); color: #fff; font-size: .8125rem; font-weight: 800; }
#local.tienda .pdp-final { font-size: clamp(2rem, 8vw, 2.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
#local.tienda .pdp-medio { margin-top: 2px !important; font-size: .875rem; color: var(--t-suave); }
#local.tienda .pdp-cuotas { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--t-linea); border-radius: 14px; background: var(--t-fondo2); }
#local.tienda .pdp-cuota { display: flex; align-items: center; gap: 8px; margin: 0; padding-left: 30px; font-size: .9375rem; color: var(--t-suave); }
#local.tienda .pdp-cuota.top { padding-left: 0; font-size: 1.0625rem; color: var(--t-ok); }
#local.tienda .pdp-cuota.top .ico { width: 22px; height: 22px; flex: none; }
#local.tienda .pdp-cuota + .pdp-cuota { margin-top: 4px; }
#local.tienda .pdp-cuota-nota { margin: 8px 0 0; font-size: .75rem; color: var(--t-suave); }
#local.tienda .pdp-grupos { margin-top: 18px; }
#local.tienda .pdp-grupos .grupo { margin: 0 0 14px; padding: 0; border: 0; background: none; }
#local.tienda .pdp-grupos .g-cab { position: static; padding: 0 0 8px; background: none; box-shadow: none; }
#local.tienda .pdp-grupos .g-tit { font-size: 1rem; font-weight: 700; }
#local.tienda .pdp-grupos .g-tit small, #local.tienda .pdp-grupos .g-tag { display: none; }
#local.tienda .pdp-grupos .grupo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#local.tienda .pdp-grupos .grupo > .g-cab, #local.tienda .pdp-grupos .grupo > .grupo-ayuda, #local.tienda .pdp-grupos .grupo > .g-sec, #local.tienda .pdp-grupos .grupo > details, #local.tienda .pdp-grupos .grupo > .g-elegidos { grid-column: 1 / -1; }
#local.tienda .pdp-grupos .op { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 58px; margin: 0; padding: 10px 12px; border: 1.5px solid var(--t-linea); border-radius: 12px; background: #fff; cursor: pointer; }
#local.tienda .pdp-grupos .op.on { border-color: var(--marca); box-shadow: 0 0 0 1px var(--marca) inset; background: var(--t-fondo2); }
#local.tienda .pdp-grupos .op input, #local.tienda .pdp-grupos .op .marca-op { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
#local.tienda .pdp-grupos .op:has(input:focus-visible) { outline: 3px solid var(--marca); outline-offset: 2px; }
#local.tienda .pdp-grupos .op-nom { font-size: .875rem; font-weight: 600; line-height: 1.25; color: var(--t-tinta); }
#local.tienda .pdp-grupos .op-precio { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--t-suave); }
#local.tienda .pdp-grupos .op.no { opacity: .5; }
#local.tienda .t-pdp .pd-nota { display: block; margin: 4px 0 0; }
#local.tienda .pdp-comprar { display: flex; gap: 10px; margin-top: 16px; }
#local.tienda .pdp-comprar .cont { flex: none; }
#local.tienda .pdp-ok { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: 12px; font-size: 1.0625rem; font-weight: 700; }
#local.tienda .pdp-ok .ico, #local.tienda .pdp-barra .btn .ico { width: 20px; height: 20px; }
#local.tienda .pdp-wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin-top: 10px; border: 1.5px solid #1F9D55; border-radius: 12px; color: #17703C; font-weight: 700; text-decoration: none; }
#local.tienda .pdp-wa .ico { width: 22px; height: 22px; }
#local.tienda .pdp-benef { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--t-linea); list-style: none; }
#local.tienda .pdp-benef li { display: flex; gap: 10px; align-items: flex-start; }
#local.tienda .pdp-benef .ico { width: 22px; height: 22px; flex: none; color: var(--t-acento); }
#local.tienda .pdp-benef strong { display: block; font-size: .875rem; }
#local.tienda .pdp-benef small { display: block; font-size: .75rem; color: var(--t-suave); line-height: 1.3; }
#local.tienda .pdp-como { margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--t-fondo2); }
#local.tienda .pdp-como h2 { margin: 0 0 8px; font-size: 1rem; }
#local.tienda .pdp-como ol { margin: 0; padding-left: 20px; font-size: .875rem; line-height: 1.5; color: var(--t-suave); }
#local.tienda .pdp-como b { color: var(--t-tinta); }
#local.tienda .pdp-secs { display: grid; gap: 14px; margin-top: 32px; }
#local.tienda .pdp-sec { padding: 20px; border: 1px solid var(--t-linea); border-radius: 16px; background: #fff; }
#local.tienda .pdp-sec h2 { margin: 0 0 12px; font: 600 1.25rem/1.2 var(--f-titulos, Inter, sans-serif); }
#local.tienda .pdp-sec p { margin: 0; line-height: 1.6; color: var(--t-suave); }
#local.tienda .pdp-tabla { width: 100%; border-collapse: collapse; font-size: .875rem; }
#local.tienda .pdp-tabla th, #local.tienda .pdp-tabla td { padding: 10px 8px; border-bottom: 1px solid var(--t-linea); text-align: left; vertical-align: top; }
#local.tienda .pdp-tabla tr:last-child > * { border-bottom: 0; }
#local.tienda .pdp-tabla th[scope=row] { width: 44%; font-weight: 600; color: var(--t-suave); }
#local.tienda .pdp-precios th[scope=row] { width: auto; color: var(--t-tinta); }
#local.tienda .pdp-precios thead th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--t-suave); }
#local.tienda .pdp-precios td { white-space: nowrap; }
#local.tienda .pdp-precios small { display: block; font-size: .75rem; color: var(--t-ok); }
#local.tienda .pdp-pagos { display: grid; gap: 12px; }
#local.tienda .pdp-pagos div { display: flex; flex-direction: column; gap: 2px; font-size: .875rem; }
#local.tienda .pdp-pagos span { color: var(--t-suave); }
#local.tienda .pdp-rel { margin-top: 36px; }
#local.tienda .pdp-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.97); border-top: 1px solid var(--t-linea); box-shadow: 0 -6px 20px rgba(20,33,61,.08); }
#local.tienda .pdp-barra-p { flex: 1; display: flex; flex-direction: column; min-width: 0; }
#local.tienda .pdp-barra-p b { font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
#local.tienda .pdp-barra-p small { font-size: .75rem; color: var(--t-ok); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#local.tienda .pdp-barra .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 700; }
#local.tienda.vista-pdp .t-tabs { display: none; }
#local.tienda.vista-pdp .t-pdp { padding-bottom: 100px; }
@media (min-width: 900px) {
    #local.tienda .pdp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 16px; }
    #local.tienda .pdp-gal { position: sticky; top: 140px; }
    #local.tienda .pdp-grupos .grupo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #local.tienda .pdp-secs { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
    #local.tienda .pdp-sec-ancha { grid-column: 1 / -1; }
    #local.tienda .pdp-pagos { grid-template-columns: repeat(3, 1fr); }
    #local.tienda .pdp-barra { display: none; }
    #local.tienda.vista-pdp .t-pdp { padding-bottom: 56px; }
}
#local.tienda .pdp-grupos .op { position: relative; }
#local.tienda .pdp-grupos .g-cab-in { padding: 0; background: none; border: 0; }
#local.tienda .pdp-barra .btn { width: auto; flex: none; }
/* Fotos de escena (no recortadas sobre blanco): llenan el cuadro */
#local.tienda .pdp-foto img:not(.packshot), #local.tienda .pdp-mini img:not(.packshot) { object-fit: cover; padding: 0; mix-blend-mode: normal; }

/* ==============================================================
   ESTILO COMERCIAL (L.estiloTienda: "comercial")
   Tienda de colchones / hogar: fondo blanco, un azul fuerte de marca,
   promos en amarillo, letra gruesa, portada tipo banner.
   ===================================================================== */
#local.tienda.t-comercial { --t-promo: #FFC629; --t-promo-tinta: #14233F; --t-azul: var(--marca); --t-cuota: color-mix(in srgb, var(--marca) 9%, #fff); --t-r: 14px; }
#local.tienda.t-comercial h2 em, #local.tienda.t-comercial .t-hero h2 em { font-style: normal; font-weight: inherit; color: inherit; }
#local.tienda.t-comercial .t-tit h2, #local.tienda.t-comercial .t-asist-txt h2, #local.tienda.t-comercial .t-cat-cab h2, #local.tienda.t-comercial .t-banner h2, #local.tienda.t-comercial .pdp-tit, #local.tienda.t-comercial .pdp-sec h2 {
    font-family: var(--f-titulos); font-weight: 800; letter-spacing: -.025em; font-variation-settings: normal; }
#local.tienda.t-comercial .t-tit h2 { font-size: clamp(1.5rem, 5vw, 2.125rem); }

/* Barra superior y cabecera */
#local.tienda.t-comercial .t-top { background: var(--t-azul); }
#local.tienda.t-comercial .t-top-txt .ico { color: var(--t-promo); }
#local.tienda.t-comercial .t-cab { background: #fff; box-shadow: 0 1px 0 var(--t-linea); }
#local.tienda.t-comercial .t-marca strong { font-family: var(--f-titulos); font-weight: 800; letter-spacing: -.02em; }
#local.tienda.t-comercial .t-buscar { border-radius: 999px; background: var(--t-fondo2); border-color: transparent; }
#local.tienda.t-comercial .t-buscar:focus-within { background: #fff; border-color: var(--t-azul); }
#local.tienda.t-comercial .t-nav a { font-weight: 700; color: var(--t-tinta); }
#local.tienda.t-comercial .t-nav a[aria-current]::after { background: var(--t-promo); height: 4px; }
#local.tienda.t-comercial .t-btn.t-carro { background: var(--t-azul); color: #fff; border-color: var(--t-azul); }
#local.tienda.t-comercial .carro-n { background: var(--t-promo); color: var(--t-promo-tinta); }

/* Portada tipo banner: foto de fondo, texto blanco, promos en chips */
#local.tienda.t-comercial .t-hero { position: relative; background: var(--t-azul); color: #fff; isolation: isolate; }
#local.tienda.t-comercial .t-hero-in { position: static; display: block; min-height: 0; padding-block: 34px 30px; }
#local.tienda.t-comercial .t-hero-vis { position: absolute; inset: 0; height: auto; z-index: -1; }
#local.tienda.t-comercial .t-hero-vis.con-foto img { border-radius: 0; }
#local.tienda.t-comercial .t-hero-vis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--t-azul) 92%, transparent) 0%, color-mix(in srgb, var(--t-azul) 78%, transparent) 55%, color-mix(in srgb, var(--t-azul) 55%, transparent) 100%); }
#local.tienda.t-comercial .t-hero-txt { position: relative; max-width: 620px; }
#local.tienda.t-comercial .t-eb { color: var(--t-promo); }
#local.tienda.t-comercial .t-hero h2 { margin: 10px 0 12px; font-family: var(--f-titulos); font-weight: 900; font-size: clamp(2.25rem, 9vw, 4.25rem); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; color: #fff; }
#local.tienda.t-comercial .t-hero h2 em { color: var(--t-promo); }
#local.tienda.t-comercial .t-hero p { color: rgba(255,255,255,.88); font-size: 1rem; }
#local.tienda.t-comercial .t-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
#local.tienda.t-comercial .t-hero-chips li { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: .875rem; font-weight: 600; color: #fff; backdrop-filter: blur(4px); }
#local.tienda.t-comercial .t-hero-chips em { font-style: normal; font-weight: 800; color: var(--t-promo); }
#local.tienda.t-comercial .t-hero-bt { margin-top: 22px; }
#local.tienda.t-comercial .t-hero .t-b1 { background: var(--t-promo); color: var(--t-promo-tinta); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
#local.tienda.t-comercial .t-hero .t-b2 { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
#local.tienda.t-comercial .t-sello { top: auto; bottom: 16px; right: 16px; width: 104px; height: 104px; background: var(--t-promo); color: var(--t-promo-tinta); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
#local.tienda.t-comercial .t-sello b { color: var(--t-promo-tinta); font-weight: 900; }
#local.tienda.t-comercial .t-sello text { fill: var(--t-promo-tinta); }
@media (max-width: 899px) { #local.tienda.t-comercial .t-sello { display: none; } }
@media (min-width: 900px) {
    #local.tienda.t-comercial .t-hero-in { min-height: 480px; display: flex; align-items: center; padding-block: 56px; }
    #local.tienda.t-comercial .t-hero-vis::after { background: linear-gradient(90deg, color-mix(in srgb, var(--t-azul) 96%, transparent) 0%, color-mix(in srgb, var(--t-azul) 80%, transparent) 42%, color-mix(in srgb, var(--t-azul) 10%, transparent) 75%); }
    #local.tienda.t-comercial .t-sello { right: max(24px, calc((100vw - 1240px) / 2)); bottom: 40px; width: 132px; height: 132px; }
    #local.tienda.t-comercial .t-sello b { font-size: 1.125rem; }
}

/* Beneficios: tarjetas con ícono */
#local.tienda.t-comercial .t-gar { background: var(--t-fondo2); border: 0; }
#local.tienda.t-comercial .t-gar-in { gap: 10px; padding-block: 14px; }
#local.tienda.t-comercial .t-gar-it { padding: 12px; border-radius: var(--t-r); background: #fff; }
#local.tienda.t-comercial .t-gar-it > .ico { background: var(--t-azul); color: #fff; }

/* Categorías: tarjetas grandes con foto y nombre encima */
#local.tienda.t-comercial .t-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#local.tienda.t-comercial .t-cat { position: relative; display: block; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--t-azul); color: #fff; }
#local.tienda.t-comercial .t-cat-img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: #E9EDF4; }
#local.tienda.t-comercial .t-cat-img img, #local.tienda.t-comercial .t-cat-img svg { width: 100%; height: 100%; object-fit: cover; padding: 0; mix-blend-mode: normal; transition: transform .4s ease; }
#local.tienda.t-comercial .t-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, color-mix(in srgb, var(--t-azul) 92%, transparent) 100%); }
#local.tienda.t-comercial .t-cat-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 12px; }
#local.tienda.t-comercial .t-cat-txt strong { font-family: var(--f-titulos); font-weight: 800; font-size: 1.0625rem; line-height: 1.15; letter-spacing: -.01em; color: #fff; }
#local.tienda.t-comercial .t-cat-txt small { color: rgba(255,255,255,.82); font-size: .75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#local.tienda.t-comercial .t-cat > .ico { position: absolute; top: 10px; right: 10px; z-index: 1; display: block; width: 30px; height: 30px; padding: 7px; box-sizing: border-box; border-radius: 50%; background: var(--t-promo); color: var(--t-promo-tinta); }
#local.tienda.t-comercial .t-cat:hover .t-cat-img img { transform: scale(1.06); }
@media (min-width: 900px) {
    #local.tienda.t-comercial .t-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    #local.tienda.t-comercial .t-cat { aspect-ratio: 3 / 4; }
    #local.tienda.t-comercial .t-cat-txt { padding: 16px; }
    #local.tienda.t-comercial .t-cat-txt strong { font-size: 1.1875rem; }
}

/* Tarjetas de producto */
#local.tienda.t-comercial .prod { border-radius: 16px; border-color: #E6EAF1; }
#local.tienda.t-comercial .prod-img { background: var(--t-fondo2); }
#local.tienda.t-comercial .tc-off { left: 10px; right: auto; background: var(--t-promo); color: var(--t-promo-tinta); font-size: .75rem; font-weight: 900; padding: 5px 8px; }
#local.tienda.t-comercial .prod-etq { left: auto; right: 10px; background: var(--t-azul); }
#local.tienda.t-comercial .tc-nom { font-family: var(--f-titulos); font-weight: 800; letter-spacing: -.01em; }
#local.tienda.t-comercial .tc-marca { color: var(--t-acento); }
#local.tienda.t-comercial .tc-ficha { display: flex; gap: 6px; min-height: 24px; margin-top: 8px; overflow: hidden; white-space: nowrap; }
#local.tienda.t-comercial .tc-ficha i { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 3px 7px 3px 5px; border-radius: 7px; background: var(--t-fondo2); font-style: normal; font-size: .6875rem; font-weight: 700; color: var(--t-tinta); }
#local.tienda.t-comercial .tc-ficha svg { width: 13px; height: 13px; fill: none; stroke: var(--t-azul); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#local.tienda.t-comercial .tc-precio { color: var(--t-tinta); font-weight: 900; }
#local.tienda.t-comercial .tc-cuota { flex-direction: row; align-items: baseline; justify-content: center; gap: 5px; margin-top: 10px; padding: 8px 6px; border-radius: 10px; background: var(--t-azul); color: #fff; font-size: .875rem; }
#local.tienda.t-comercial .tc-cuota b { font-weight: 800; }
#local.tienda.t-comercial .tc-cuota span { font-size: .75rem; opacity: .9; }
#local.tienda.t-comercial .tc-cuota2 { margin-top: 4px; text-align: center; }
#local.tienda.t-comercial .tc-envio { color: var(--t-ok); }
#local.tienda.t-comercial .prod-acc .mas-txt, #local.tienda.t-comercial .prod-acc .mas { width: 100%; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--t-azul); background: #fff; color: var(--t-azul); font-weight: 800; }
#local.tienda.t-comercial .prod-acc .mas-txt.con { background: var(--t-cuota); }

/* Filtros y títulos de categoría */
#local.tienda.t-comercial .t-sel select { border-radius: 10px; }
#local.tienda.t-comercial .t-migas a { color: var(--t-acento); }

/* Asistente, medidas, marcas, banner mayorista */
#local.tienda.t-comercial .t-asist-txt h2 em, #local.tienda.t-comercial .t-banner h2 em { color: var(--t-promo); }
#local.tienda.t-comercial .t-med, #local.tienda.t-comercial .t-mar { border-radius: var(--t-r); }
#local.tienda.t-comercial .t-med:hover, #local.tienda.t-comercial .t-mar:hover { border-color: var(--t-azul); }
#local.tienda.t-comercial .t-mar strong { font-family: var(--f-titulos); font-style: normal; font-weight: 800; letter-spacing: -.01em; }
#local.tienda.t-comercial .t-banner { background: var(--t-azul); }
#local.tienda.t-comercial .t-banner .t-b1-inv { background: var(--t-promo); color: var(--t-promo-tinta); }

/* Página de producto */
#local.tienda.t-comercial .pdp-marca { color: var(--t-acento); }
#local.tienda.t-comercial .pdp-tit { font-weight: 800; letter-spacing: -.025em; }
#local.tienda.t-comercial .pdp-chips li { display: inline-flex; align-items: center; gap: 5px; border-radius: 8px; color: var(--t-tinta); font-weight: 700; }
#local.tienda.t-comercial .pdp-off { background: var(--t-promo); color: var(--t-promo-tinta); font-weight: 900; }
#local.tienda.t-comercial .pdp-final { font-weight: 900; color: var(--t-tinta); }
#local.tienda.t-comercial .pdp-foto { background: var(--t-fondo2); }
#local.tienda.t-comercial .pdp-cuotas { padding: 0; border: 0; background: none; }
#local.tienda.t-comercial .pdp-cuota.top { justify-content: center; padding: 14px; border-radius: 12px; background: var(--t-azul); color: #fff; font-size: 1.125rem; }
#local.tienda.t-comercial .pdp-cuota.top .ico { color: var(--t-promo); }
#local.tienda.t-comercial .pdp-cuota:not(.top) { justify-content: center; padding: 8px 0 0; }
#local.tienda.t-comercial .pdp-cuota-nota { text-align: center; }
#local.tienda.t-comercial .pdp-grupos .op.on { border-color: var(--t-azul); box-shadow: 0 0 0 1px var(--t-azul) inset; background: var(--t-cuota); }
#local.tienda.t-comercial .pdp-ok { background: var(--t-promo); color: var(--t-promo-tinta); font-weight: 900; }
#local.tienda.t-comercial .pdp-barra .btn { background: var(--t-promo); color: var(--t-promo-tinta); font-weight: 900; }
#local.tienda.t-comercial .pdp-benef .ico { color: var(--t-azul); }
#local.tienda.t-comercial .pdp-como { background: var(--t-cuota); }
#local.tienda.t-comercial .pdp-sec { border-color: #E6EAF1; }
#local.tienda.t-comercial .t-hero { border-radius: 0; margin: 0; }
#local.tienda.t-comercial .prod-img, #local.tienda.t-comercial .pdp-foto { background: #fff; }
#local.tienda.t-comercial .tc-img { border-bottom: 1px solid #EEF1F5; }
@media (max-width: 599px) {
    #local.tienda.t-comercial .tc-cuota { flex-direction: column; align-items: center; gap: 0; padding: 7px 4px; line-height: 1.2; }
    #local.tienda.t-comercial .tc-cuota b { font-size: .9375rem; }
    #local.tienda.t-comercial .tc-cuota span { font-size: .6875rem; }
    #local.tienda.t-comercial .t-hero-chips { gap: 6px; margin-top: 14px; }
    #local.tienda.t-comercial .t-hero-chips li { padding: 6px 9px; font-size: .75rem; }
    #local.tienda.t-comercial .t-hero-in { padding-block: 26px 24px; }
    #local.tienda.t-comercial .t-hero p { font-size: .9375rem; }
}
#local.tienda.t-comercial .t-hero-vis { border-radius: 0; background: none; }
/* Fotos cuadradas: llenan la tarjeta (sin recuadro alrededor) */
#local.tienda.t-comercial .prod-img img.packshot, #local.tienda.t-comercial .pdp-foto img.packshot, #local.tienda.t-comercial .pdp-mini img.packshot { object-fit: cover; padding: 0; mix-blend-mode: normal; }
#local.tienda.t-comercial .t-asist-in::after, #local.tienda.t-comercial .t-banner::before { display: none; }
#local.tienda.t-comercial .t-asist-in { background: var(--t-azul); }

/* ===== Página de sucursales ===== */
#local.tienda.vista-pag:not(.buscando) .carta, #local.tienda.vista-pag .t-home, #local.tienda.buscando .t-pag { display: none; }
#local.tienda .t-pag { padding-bottom: 48px; color: var(--t-tinta); }
#local.tienda .suc-intro { margin: 8px 0 20px; }
#local.tienda .suc-intro h1 { margin: 0 0 6px; font: 800 clamp(1.75rem, 6vw, 2.5rem)/1.1 var(--f-titulos, Inter, sans-serif); letter-spacing: -.025em; }
#local.tienda .suc-intro p { margin: 0; max-width: 46em; color: var(--t-suave); line-height: 1.5; }
#local.tienda .suc-grid { display: grid; gap: 16px; }
#local.tienda .suc-card { overflow: hidden; border: 1px solid var(--t-linea); border-radius: 18px; background: #fff; }
#local.tienda .suc-mapa { aspect-ratio: 16 / 10; background: var(--t-fondo2); }
#local.tienda .suc-mapa iframe { display: block; width: 100%; height: 100%; border: 0; }
#local.tienda .suc-cuerpo { padding: 18px; }
#local.tienda .suc-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#local.tienda .suc-cab h2 { margin: 0; font: 800 1.375rem/1.2 var(--f-titulos, Inter, sans-serif); letter-spacing: -.02em; }
#local.tienda .suc-estado { flex: none; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
#local.tienda .suc-estado.abierto { background: #E3F5EA; color: #17703C; }
#local.tienda .suc-estado.cerrado { background: #FDECEC; color: #B42318; }
#local.tienda .suc-dir { display: flex; align-items: center; gap: 6px; margin: 8px 0 12px; font-weight: 600; }
#local.tienda .suc-dir .ico { width: 18px; height: 18px; color: var(--marca); flex: none; }
#local.tienda .suc-horas { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--t-fondo2); font-size: .875rem; }
#local.tienda .suc-horas div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
#local.tienda .suc-horas dt { color: var(--t-suave); }
#local.tienda .suc-horas dd { margin: 0; text-align: right; }
#local.tienda .suc-horas .hoy { font-weight: 800; }
#local.tienda .suc-horas .hoy dt { color: var(--t-tinta); }
#local.tienda .suc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
#local.tienda .suc-b { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border: 1.5px solid var(--t-linea); border-radius: 12px; color: var(--t-tinta); font-weight: 700; text-decoration: none; }
#local.tienda .suc-b .ico { width: 18px; height: 18px; }
#local.tienda .suc-b1 { grid-column: 1 / -1; background: var(--marca); border-color: var(--marca); color: #fff; }
#local.tienda .suc-wa { color: #17703C; border-color: #9BD3B1; }
@media (min-width: 900px) { #local.tienda .suc-grid { grid-template-columns: 1fr 1fr; gap: 24px; } #local.tienda .suc-btns { grid-template-columns: 1fr 1fr 1fr; } #local.tienda .suc-b1 { grid-column: auto; } }

/* ===== Buscador con sugerencias ===== */
#local.tienda .t-buscar-w { position: relative; flex: 1; min-width: 0; }
#local.tienda .t-buscar-w .t-buscar { width: 100%; }
#local.tienda .t-sug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; max-height: min(70vh, 560px); overflow: auto; overscroll-behavior: contain; padding: 16px; border: 1px solid var(--t-linea); border-radius: 16px; background: #fff; box-shadow: 0 24px 48px -16px rgba(20,33,61,.35); }
#local.tienda .t-sug[hidden] { display: none; }
#local.tienda .t-sug-tit { margin: 0 0 8px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--t-suave); }
#local.tienda .t-sug-tit:not(:first-child) { margin-top: 16px; }
#local.tienda .t-sug-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#local.tienda .t-sug-chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1px solid var(--t-linea); border-radius: 999px; background: var(--t-fondo2); color: var(--t-tinta); font-size: .875rem; font-weight: 600; cursor: pointer; }
#local.tienda .t-sug-chips button .ico { width: 14px; height: 14px; color: var(--t-suave); }
#local.tienda .t-sug-chips button:hover { border-color: var(--marca); background: #fff; }
#local.tienda .t-sug-med button { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; min-height: 46px; border-radius: 12px; }
#local.tienda .t-sug-med small { font-size: .6875rem; font-weight: 500; color: var(--t-suave); }
#local.tienda .t-sug-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
#local.tienda .t-sug-cats a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 40px; border-bottom: 1px solid var(--t-linea); color: var(--t-tinta); font-size: .875rem; font-weight: 600; text-decoration: none; }
#local.tienda .t-sug-cats .ico { width: 14px; height: 14px; color: var(--t-suave); flex: none; }
#local.tienda .t-sug-asist { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--marca); color: #fff; text-align: left; cursor: pointer; }
#local.tienda .t-sug-asist span { flex: 1; display: flex; flex-direction: column; }
#local.tienda .t-sug-asist small { opacity: .85; font-size: .8125rem; }
#local.tienda .t-sug-asist .ico { width: 18px; height: 18px; flex: none; }
#local.tienda .t-nada-q { display: inline-block; margin: 6px 4px 0 0; padding: 6px 12px; border: 1px solid var(--t-linea); border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; }
@media (max-width: 599px) { #local.tienda .t-sug-cats { grid-template-columns: 1fr; } }

/* ===== Categoría: filtros a la izquierda (PC) y en hoja (celular) ===== */
#local.tienda .t-lay { display: block; margin-top: 8px; }
#local.tienda .t-main { min-width: 0; }
#local.tienda .t-barra-f { position: sticky; top: var(--t-cab-h, 112px); z-index: 20; display: flex; align-items: center; gap: 10px; margin: 0 -16px 12px; padding: 10px 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--t-linea); }
#local.tienda .t-barra-f .t-cuenta { flex: 1; margin: 0; font-size: .875rem; color: var(--t-suave); }
#local.tienda .t-fbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1.5px solid var(--t-tinta); border-radius: 999px; background: #fff; color: var(--t-tinta); font-weight: 700; cursor: pointer; }
#local.tienda .t-fbtn .ico { width: 18px; height: 18px; }
#local.tienda .t-fbtn b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--marca); color: #fff; font-size: .75rem; }
#local.tienda .t-fbtn b[hidden] { display: none; }
#local.tienda .t-orden { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--t-suave); }
#local.tienda .t-orden select { appearance: none; -webkit-appearance: none; min-height: 42px; padding: 0 34px 0 14px; border: 1.5px solid var(--t-linea); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314233F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; color: var(--t-tinta); font: inherit; font-weight: 700; cursor: pointer; }
#local.tienda .t-orden select:focus-visible { outline: 3px solid var(--marca); outline-offset: 2px; }
#local.tienda .t-chips-f { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
#local.tienda .t-chips-f[hidden] { display: none; }
#local.tienda .t-chips-f button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; background: var(--t-fondo2); color: var(--t-tinta); font-size: .8125rem; font-weight: 700; cursor: pointer; }
#local.tienda .t-chips-f button .ico { width: 14px; height: 14px; }
#local.tienda .t-chips-f .t-chips-limpiar { background: none; color: var(--marca); text-decoration: underline; }
/* Panel de filtros */
#local.tienda .t-side { color: var(--t-tinta); }
#local.tienda .t-side-cab { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--t-linea); }
#local.tienda .t-side-cab strong { font: 800 1.125rem/1.2 var(--f-titulos, Inter, sans-serif); }
#local.tienda .t-side-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--t-fondo2); cursor: pointer; }
#local.tienda .t-side-x .ico { width: 18px; height: 18px; }
#local.tienda .t-fg { border-bottom: 1px solid var(--t-linea); }
#local.tienda .t-fg summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 800; cursor: pointer; list-style: none; }
#local.tienda .t-fg summary::-webkit-details-marker { display: none; }
#local.tienda .t-fg summary .ico { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
#local.tienda .t-fg[open] summary .ico { transform: rotate(-90deg); }
#local.tienda .t-fg-ops { display: grid; gap: 2px; padding-bottom: 12px; }
#local.tienda .t-op { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 6px; border-radius: 8px; cursor: pointer; font-size: .9375rem; }
#local.tienda .t-op:hover { background: var(--t-fondo2); }
#local.tienda .t-op input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#local.tienda .t-op-c { flex: none; width: 20px; height: 20px; border: 2px solid #B7C0CF; border-radius: 5px; background: #fff; transition: background .15s, border-color .15s; }
#local.tienda .t-op input[type=radio] + .t-op-c { border-radius: 50%; }
#local.tienda .t-op input:checked + .t-op-c { border-color: var(--marca); background: var(--marca) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 14px; }
#local.tienda .t-op input:focus-visible + .t-op-c { outline: 3px solid var(--marca); outline-offset: 2px; }
#local.tienda .t-op-t { flex: 1; }
#local.tienda .t-op-t em { font-style: normal; font-size: .8125rem; color: var(--t-suave); }
#local.tienda .t-op small { color: var(--t-suave); font-size: .8125rem; }
#local.tienda .t-side-pie { display: flex; gap: 10px; }
#local.tienda .t-side-limpiar { flex: none; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--t-linea); border-radius: 12px; background: #fff; color: var(--t-tinta); font-weight: 700; cursor: pointer; }
#local.tienda .t-side-ok { flex: 1; min-height: 48px; border: 0; border-radius: 12px; background: var(--marca); color: #fff; font-weight: 800; cursor: pointer; }
#local.tienda.buscando .t-side, #local.tienda.buscando .t-barra-f, #local.tienda.buscando .t-chips-f { display: none; }
body.sin-scroll { overflow: hidden; }
@media (max-width: 899px) {
    #local.tienda .t-side { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: #fff; transform: translateY(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
    #local.tienda .t-side.abierto { transform: none; visibility: visible; transition: transform .25s ease; }
    #local.tienda .t-side-cuerpo { flex: 1; overflow: auto; overscroll-behavior: contain; }
    #local.tienda .t-side-pie { padding-top: 12px; border-top: 1px solid var(--t-linea); }
    #local.tienda .t-orden > span { display: none; }
}
@media (min-width: 900px) {
    #local.tienda .t-lay { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
    #local.tienda .t-lay.sin-side { grid-template-columns: minmax(0, 1fr); }
    #local.tienda .t-side { position: sticky; top: calc(var(--t-cab-h, 140px) + 12px); max-height: calc(100vh - var(--t-cab-h, 140px) - 24px); overflow: auto; }
    #local.tienda .t-side-x, #local.tienda .t-side-ok, #local.tienda .t-fbtn { display: none; }
    #local.tienda .t-side-pie { padding-top: 14px; }
    #local.tienda .t-side-limpiar { flex: 1; }
    #local.tienda .t-barra-f { position: static; margin: 0 0 14px; padding: 0 0 12px; background: none; backdrop-filter: none; }
    #local.tienda .t-lay .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1240px) { #local.tienda .t-lay .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* filtros: ocultar lo filtrado */
.prod.fuera{display:none!important}

/* nombre del local: nunca se corta */
#local.tienda .t-marca strong{white-space:normal;overflow:visible;text-overflow:clip;text-wrap:balance;line-height:1.08}
#local.tienda .t-marca{max-width:none;flex:1 1 auto}
#local.tienda .t-marca>span{min-width:0}
#local.tienda .t-cab-in{grid-template-columns:minmax(0,1fr) auto}
@media (min-width:900px){#local.tienda .t-cab-in{grid-template-columns:minmax(220px,auto) minmax(280px,560px) auto}#local.tienda .t-marca{max-width:none}}
#local.tienda .t-pie-link{display:inline-block;margin-top:2px;color:#F5C26B;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#local.tienda .t-pie-pagos{font-size:.8125rem;opacity:.8}
#local.tienda .t-pie-firma{display:flex;flex-wrap:wrap;gap:6px 24px;justify-content:space-between}
#local.tienda .t-pie-col a.t-pie-link{color:#F5C26B;font-weight:700}
@media (max-width:899px){#local.tienda .t-pie{padding-bottom:84px}}
#local.tienda .t-top-txt em{display:none}
@media (min-width:1600px){#local.tienda .t-top-txt em{display:inline}}

/* =====================================================================
   TIENDA v3 (21/11): cabecera, menú, carrito lateral, píldora, hero
   ===================================================================== */
/* Barra superior: en PC repartida a lo ancho; en el celular, un mensaje por vez que rota */
#local.tienda.t-comercial .t-top-in { min-height: 36px; gap: 16px; }
#local.tienda.t-comercial .t-top-l { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0; list-style: none; }
#local.tienda.t-comercial .t-top-l li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; font-size: .8125rem; }
#local.tienda.t-comercial .t-top-l li + li::before { content: ""; width: 4px; height: 4px; margin-right: 4px; border-radius: 50%; background: rgba(255,255,255,.28); }
#local.tienda.t-comercial .t-top-l .ico { width: 16px; height: 16px; color: var(--t-promo); flex: none; }
#local.tienda.t-comercial .t-top-l em { font-style: normal; font-weight: 400; opacity: .72; display: none; }
@media (min-width: 1600px) { #local.tienda.t-comercial .t-top-l em { display: inline; } }
@media (min-width: 1000px) { #local.tienda.t-comercial .t-top-l { padding-right: 8px; } #local.tienda.t-comercial .t-top-l li + li::before { margin-right: 12px; } }
@media (max-width: 999px) {
    #local.tienda.t-comercial .t-top-in { justify-content: center; min-height: 34px; }
    #local.tienda.t-comercial .t-top .t-letra { display: none; }
    #local.tienda.t-comercial .t-top-l { position: relative; height: 34px; overflow: hidden; justify-content: center; }
    #local.tienda.t-comercial .t-top-l li { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(100%); animation: t-tick calc(var(--n, 4) * 3.5s) infinite; animation-delay: calc(var(--k) * 3.5s); }
    #local.tienda.t-comercial .t-top-l li::before { display: none; }
    #local.tienda.t-comercial .t-top-l em { display: inline; }
}
@media (max-width: 359px) { #local.tienda.t-comercial .t-top-l em { display: none; } }
@keyframes t-tick { 0% { opacity: 0; transform: translateY(100%); } 3%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-100%); } }

/* Cabecera */
#local.tienda.t-comercial .t-hamb { display: none; }
#local.tienda.t-comercial .t-lupa { display: none; }
@media (max-width: 1199px) {
    #local.tienda.t-comercial .t-hamb { grid-area: hamb; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; flex: none; margin-left: -6px; border: 0; border-radius: 12px; background: transparent; color: var(--t-tinta); cursor: pointer; }
    #local.tienda.t-comercial .t-hamb span { display: block; width: 22px; height: 2.4px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
    #local.tienda.t-comercial .t-hamb span:nth-child(2) { width: 16px; margin-right: 6px; }
    #local.tienda.t-comercial .t-hamb:hover { background: var(--t-fondo2); }
    #local.tienda.t-comercial .t-nav { display: none !important; }
}
@media (max-width: 999px) {
    #local.tienda.t-comercial .t-cab-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "hamb marca acc" "buscar buscar buscar"; gap: 0 8px; padding-block: 8px; }
    #local.tienda.t-comercial .t-marca { gap: 9px; }
    #local.tienda.t-comercial .t-marca img { width: 38px; height: 38px; }
    #local.tienda.t-comercial .t-marca strong { font-size: clamp(.9375rem, 4.3vw, 1.125rem); line-height: 1.1; }
    #local.tienda.t-comercial .t-marca small { display: none; }
    #local.tienda.t-comercial .t-acc { gap: 4px; }
    #local.tienda.t-comercial .t-lupa { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--t-fondo2); color: var(--t-tinta); }
    #local.tienda.t-comercial .t-lupa .ico { width: 20px; height: 20px; }
    #local.tienda.t-comercial .t-lupa[aria-expanded="true"] { background: var(--t-tinta); color: #fff; }
    #local.tienda.t-comercial .t-carro { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 12px; }
    #local.tienda.t-comercial .t-buscar-w { grid-area: buscar; display: none; }
    #local.tienda.t-comercial .t-cab.con-buscar .t-buscar-w { display: block; margin-top: 8px; animation: t-baja .26s cubic-bezier(.16, 1, .3, 1); }
}
@media (min-width: 1000px) and (max-width: 1199px) {
    #local.tienda.t-comercial .t-cab-in { grid-template-columns: auto auto minmax(240px, 1fr) auto; grid-template-areas: "hamb marca buscar acc"; gap: 20px; }
}

/* Menú hamburguesa (estilo Chango: entra desde la izquierda, links escalonados) */
#local.tienda .t-menu { position: fixed; inset: 0; z-index: 100; }
#local.tienda .t-menu[hidden] { display: none; }
#local.tienda .t-menu-fondo { position: absolute; inset: 0; background: rgba(10, 16, 32, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
#local.tienda .t-menu.on .t-menu-fondo { opacity: 1; }
#local.tienda .t-menu-caja { position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, 92vw); display: flex; flex-direction: column; background: #fff; color: var(--t-tinta); box-shadow: 16px 0 40px rgba(10,16,32,.18); transform: translateX(-102%); transition: transform .38s cubic-bezier(.16, 1, .3, 1); }
#local.tienda .t-menu.on .t-menu-caja { transform: none; }
#local.tienda .t-menu-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--t-linea); }
#local.tienda .t-menu-marca { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--t-tinta); text-decoration: none; }
#local.tienda .t-menu-marca img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--t-linea); }
#local.tienda .t-menu-marca strong { font: 800 1.0625rem/1.15 var(--f-titulos); letter-spacing: -.01em; }
#local.tienda .t-menu-cerrar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--t-fondo2); color: var(--t-tinta); cursor: pointer; }
#local.tienda .t-menu-cerrar .ico { width: 20px; height: 20px; }
#local.tienda .t-menu-cuerpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
#local.tienda .t-menu-buscar { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--t-linea); border-radius: 14px; background: var(--t-fondo2); color: var(--t-suave); font: 500 .9375rem Inter, sans-serif; text-align: left; cursor: pointer; }
#local.tienda .t-menu-buscar .ico { width: 18px; height: 18px; }
#local.tienda .t-menu-tit { margin: 22px 0 8px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-suave); }
#local.tienda .t-menu-cats { display: grid; gap: 2px; }
#local.tienda .t-menu-cats a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px 8px 6px 6px; border-radius: 14px; color: var(--t-tinta); text-decoration: none; opacity: 0; transform: translateX(-16px); transition: background .15s, opacity .4s ease, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: 0s, calc(var(--i) * 32ms + 90ms), calc(var(--i) * 32ms + 90ms); }
#local.tienda .t-menu.on .t-menu-cats a { opacity: 1; transform: none; }
#local.tienda .t-menu-cats a:hover, #local.tienda .t-menu-cats a:focus-visible { background: var(--t-fondo2); }
#local.tienda .t-menu-img { flex: none; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--t-fondo2); }
#local.tienda .t-menu-img img, #local.tienda .t-menu-img svg { width: 100%; height: 100%; object-fit: cover; }
#local.tienda .t-menu-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#local.tienda .t-menu-txt b { font-weight: 700; font-size: .9375rem; line-height: 1.25; }
#local.tienda .t-menu-txt small { font-size: .75rem; color: var(--t-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#local.tienda .t-menu-cats > a > .ico, #local.tienda .t-menu-sucs > a > .ico:last-child { width: 16px; height: 16px; flex: none; color: var(--t-suave); }
#local.tienda .t-menu-rap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
#local.tienda .t-menu-b1, #local.tienda .t-menu-b2 { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 12px; border-radius: 14px; font-weight: 800; font-size: .9375rem; text-decoration: none; cursor: pointer; }
#local.tienda .t-menu-b1 { background: var(--t-promo); color: var(--t-promo-tinta); border: 0; }
#local.tienda .t-menu-b1 .ico { width: 16px; height: 16px; }
#local.tienda .t-menu-b2 { background: #fff; color: var(--t-tinta); border: 1.5px solid var(--t-tinta); }
#local.tienda .t-menu-sucs { display: grid; gap: 8px; }
#local.tienda .t-menu-sucs a { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--t-linea); border-radius: 14px; color: var(--t-tinta); text-decoration: none; }
#local.tienda .t-menu-sucs a > .ico:first-child { width: 20px; height: 20px; flex: none; color: var(--t-azul); }
#local.tienda .t-menu-sucs span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
#local.tienda .t-menu-sucs small { color: var(--t-suave); font-size: .8125rem; }
#local.tienda .t-menu-pie { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--t-linea); }
#local.tienda .t-menu-letra { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1.5px solid var(--t-linea); border-radius: 999px; background: #fff; color: var(--t-tinta); font-weight: 700; font-size: .875rem; cursor: pointer; }
#local.tienda .t-menu-letra[aria-pressed="true"] { background: var(--t-tinta); color: #fff; border-color: var(--t-tinta); }
#local.tienda .t-menu-pie .cab-iconos { margin: 0; }
#local.tienda .t-menu-pie .ci { background: var(--t-fondo2); color: var(--t-tinta); }

/* Píldora del pedido (abajo, como Santa Vape): aparece cuando hay productos */
#local.tienda .t-tabs { display: none !important; }
#local.tienda .t-pill { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 45; transform: translateX(-50%); width: calc(100% - 24px); max-width: 480px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border: 0; border-radius: 999px; background: var(--t-tinta); color: #fff; font: inherit; text-align: left; box-shadow: 0 14px 34px -8px rgba(10, 20, 45, .45); cursor: pointer; }
#local.tienda .t-pill[hidden] { display: none; }
#local.tienda .t-pill.bump { animation: t-bump .38s ease; }
#local.tienda .t-pill-ico { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(255,255,255,.12); }
#local.tienda .t-pill-ico .ico { width: 20px; height: 20px; }
#local.tienda .t-pill-ico .carro-n { position: absolute; top: -4px; right: -4px; }
#local.tienda .t-pill-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
#local.tienda .t-pill-txt small { font-size: .75rem; opacity: .8; font-weight: 600; }
#local.tienda .t-pill-txt b { font-size: 1.0625rem; font-weight: 800; }
#local.tienda .t-pill-cta { display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 999px; background: var(--t-promo); color: var(--t-promo-tinta); font-weight: 800; font-size: .9375rem; white-space: nowrap; }
#local.tienda .t-pill-cta .ico { width: 16px; height: 16px; }
#local.tienda.vista-pdp .t-pill, body.sin-scroll #local.tienda .t-pill { display: none; }
body.con-tienda { padding-bottom: 0 !important; }
body.con-tienda.con-pill { padding-bottom: 84px !important; }
@media (min-width: 1000px) { #local.tienda .t-pill { display: none !important; } body.con-tienda.con-pill { padding-bottom: 0 !important; } }
@keyframes t-bump { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.04); } 100% { transform: translateX(-50%) scale(1); } }

/* Carrito y pasos del pedido: panel lateral que entra desde la derecha (como Santa Vape) */
#local.tienda .hoja:not([data-vista="producto"])[open] { justify-content: flex-end; align-items: stretch; }
#local.tienda .hoja:not([data-vista="producto"])::backdrop { background: rgba(9, 12, 20, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
#local.tienda.t-comercial .hoja:not([data-vista="producto"]) .hoja-caja { width: min(440px, 100%); max-width: 440px; height: 100%; max-height: 100%; border-radius: 0; box-shadow: -12px 0 36px rgba(9, 12, 20, .16); animation: t-der .4s cubic-bezier(.16, 1, .3, 1); }
#local.tienda .hoja.saliendo .hoja-caja { animation: t-der-sale .26s ease-in forwards !important; }
@keyframes t-der { from { transform: translateX(100%); } to { transform: none; } }
@keyframes t-der-sale { to { transform: translateX(100%); } }
@media (min-width: 441px) { #local.tienda.t-comercial .hoja:not([data-vista="producto"]) .hoja-caja { border-radius: 22px 0 0 22px; } }

/* Hero: entra completo en la primera pantalla del celular */
@media (max-width: 999px) {
    #local.tienda.t-comercial .t-hero-in { min-height: min(600px, calc(100svh - var(--t-cab-h, 60px) - 34px)); display: flex; flex-direction: column; justify-content: center; padding-block: 22px 26px; }
    #local.tienda.t-comercial .t-hero h2 { font-size: clamp(2rem, 9.6vw, 3rem); margin: 8px 0 10px; }
    #local.tienda.t-comercial .t-hero .t-eb { font-size: .6875rem; }
    #local.tienda.t-comercial .t-hero-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
    #local.tienda.t-comercial .t-hero-chips::-webkit-scrollbar { display: none; }
    #local.tienda.t-comercial .t-hero-chips li { flex: none; white-space: nowrap; }
    #local.tienda.t-comercial .t-hero-bt { margin-top: 18px; }
}
@media (max-width: 999px) and (max-height: 700px) {
    #local.tienda.t-comercial .t-hero h2 { font-size: clamp(1.75rem, 8.6vw, 2.5rem); }
    #local.tienda.t-comercial .t-hero p { font-size: .875rem; line-height: 1.45; }
    #local.tienda.t-comercial .t-hero-in { padding-block: 16px 20px; }
}
/* Movimiento del hero: la foto se acerca despacio y el texto entra escalonado */
#local.tienda.t-comercial .t-hero-vis.con-foto img { animation: t-ken 18s ease-out both; transform-origin: 70% 40%; }
@keyframes t-ken { from { transform: scale(1.12); } to { transform: scale(1); } }
#local.tienda.t-comercial .t-hero-txt > * { animation: t-sube .7s cubic-bezier(.16, 1, .3, 1) both; }
#local.tienda.t-comercial .t-hero-txt > :nth-child(2) { animation-delay: .08s; }
#local.tienda.t-comercial .t-hero-txt > :nth-child(3) { animation-delay: .16s; }
#local.tienda.t-comercial .t-hero-txt > :nth-child(4) { animation-delay: .24s; }
#local.tienda.t-comercial .t-hero-txt > :nth-child(5) { animation-delay: .32s; }
@keyframes t-sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes t-baja { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
#local.tienda .items .item-img { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--t-fondo2); align-self: flex-start; }
#local.tienda .items .item-img img { width: 100%; height: 100%; object-fit: cover; }
#local.tienda .items li { gap: 12px; }
#local.tienda .t-menu-marca strong { text-wrap: balance; }
#local.tienda .t-menu-rap { grid-template-columns: 1fr; }

/* ===== Home v3: centro ===== */
#local.tienda.t-comercial .t-sec { padding-block: 40px; }
#local.tienda.t-comercial .t-tit { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
#local.tienda.t-comercial .t-tit p { margin: 6px 0 0; color: var(--t-suave); }
@media (min-width: 1000px) { #local.tienda.t-comercial .t-sec { padding-block: 56px; } #local.tienda.t-comercial .t-tit { margin-bottom: 24px; } }

/* Revelado suave al entrar en pantalla */
#local.tienda .t-rev { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
#local.tienda .t-rev.visto { opacity: 1; transform: none; }

/* Vitrina en carrusel (deslizable con el dedo, flechas en PC) */
#local.tienda .t-flechas { display: none; gap: 8px; }
#local.tienda .t-flechas button { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--t-linea); border-radius: 50%; background: #fff; color: var(--t-tinta); cursor: pointer; transition: border-color .15s, background .15s; }
#local.tienda .t-flechas button:hover { border-color: var(--t-tinta); background: var(--t-fondo2); }
#local.tienda .t-flechas .ico { width: 18px; height: 18px; }
#local.tienda.t-comercial .prods.t-vitrina { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 12px; scroll-padding-inline: 16px; }
#local.tienda.t-comercial .prods.t-vitrina::-webkit-scrollbar { display: none; }
#local.tienda.t-comercial .prods.t-vitrina > * { flex: 0 0 calc((100% - 12px) / 1.65); scroll-snap-align: start; }
@media (min-width: 640px) { #local.tienda.t-comercial .prods.t-vitrina { margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; } #local.tienda.t-comercial .prods.t-vitrina > * { flex-basis: calc((100% - 24px) / 3); } }
@media (min-width: 1000px) {
    #local.tienda .t-flechas { display: flex; }
    #local.tienda.t-comercial .prods.t-vitrina { gap: 20px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
    #local.tienda.t-comercial .prods.t-vitrina > * { flex-basis: calc((100% - 60px) / 4); }
}

/* Tu sommier, a tu medida: animación + medidas */
#local.tienda .t-som-in { display: grid; gap: 22px; }
#local.tienda .t-som-anim { position: relative; border-radius: 24px; background: radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, #EEF2F8 60%, #E2E8F2 100%); overflow: hidden; padding: 18px 10px 6px; }
#local.tienda .t-som-anim::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 60%; background: radial-gradient(closest-side, rgba(245,194,107,.25), transparent); }
#local.tienda .som-svg { position: relative; display: block; width: 100%; height: auto; max-height: 340px; overflow: visible; }
#local.tienda .t-som-txt h2 { margin: 8px 0 10px; }
#local.tienda .t-som-txt > p { margin: 0; color: var(--t-suave); line-height: 1.55; max-width: 40em; }
#local.tienda .t-som-pasos { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 18px; padding: 0; list-style: none; font-size: .875rem; font-weight: 600; color: var(--t-tinta); }
#local.tienda .t-som-pasos li { display: inline-flex; align-items: center; gap: 8px; }
#local.tienda .t-som-pasos b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--t-promo); color: var(--t-promo-tinta); font-size: .75rem; }
#local.tienda.t-comercial .t-som-med { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#local.tienda.t-comercial .t-som-med .t-med { display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 76px; padding: 10px 10px 10px 8px; text-align: left; text-decoration: none; color: var(--t-tinta); background: #fff; border: 1.5px solid var(--t-linea); transition: border-color .15s, transform .2s, box-shadow .2s; }
#local.tienda.t-comercial .t-som-med .t-med:hover { border-color: var(--t-azul); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(20,40,80,.4); }
#local.tienda.t-comercial .t-som-med .med-ico { width: 34px; height: 38px; flex: none; }
#local.tienda.t-comercial .t-som-med span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
#local.tienda.t-comercial .t-som-med strong { font-size: .9375rem; }
#local.tienda.t-comercial .t-som-med small { font-size: .75rem; color: var(--t-suave); }
#local.tienda.t-comercial .t-som-med em { margin-top: 3px; font-style: normal; font-size: .8125rem; font-weight: 800; color: var(--t-azul); }
#local.tienda.t-comercial .t-som-med > a > .ico { width: 16px; height: 16px; flex: none; color: var(--t-suave); }
@media (min-width: 1000px) {
    #local.tienda .t-som-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
    #local.tienda .t-som-anim { padding: 34px 24px 10px; }
    #local.tienda.t-comercial .t-som-med { grid-template-columns: repeat(3, 1fr); }
}
/* dibujo */
#local.tienda .som-sombra { fill: rgba(20, 35, 70, .12); animation: som-sombra 9s infinite; transform-origin: 220px 236px; }
#local.tienda .som-pata { fill: #6B4A2F; }
#local.tienda .som-b-frente { fill: var(--t-azul, #1F3A6E); }
#local.tienda .som-b-top { fill: #3B5A93; }
#local.tienda .som-b-lado { fill: #172C55; }
#local.tienda .som-costura { stroke: rgba(255,255,255,.28); stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; }
#local.tienda .som-c-frente { fill: #fff; stroke: #D6DDE8; stroke-width: 1.5; }
#local.tienda .som-c-top { fill: #F7F9FC; stroke: #D6DDE8; stroke-width: 1.5; }
#local.tienda .som-c-lado { fill: #E7ECF4; stroke: #D6DDE8; stroke-width: 1.5; }
#local.tienda .som-ribete { stroke: var(--t-azul, #1F3A6E); stroke-width: 2; fill: none; opacity: .55; }
#local.tienda .som-acolch { stroke: #D6DDE8; stroke-width: 1.4; fill: none; }
#local.tienda .som-alm rect { fill: #fff; stroke: #CBD4E2; stroke-width: 1.5; }
#local.tienda .som-tag path { fill: var(--t-promo, #F5C23D); }
#local.tienda .som-tag circle { fill: #fff; }
#local.tienda .som-tag text { font: 800 11px Inter, sans-serif; fill: var(--t-promo-tinta, #1A2340); text-anchor: middle; letter-spacing: .08em; }
#local.tienda .som-tag .som-tag-b { font-size: 14px; }
#local.tienda .som-cota path { stroke: #8A97AE; stroke-width: 1.5; fill: none; }
#local.tienda .som-cota text { font: 800 13px Inter, sans-serif; fill: var(--t-tinta, #1A2340); text-anchor: middle; opacity: 0; animation: som-med 9s infinite; animation-delay: calc(var(--k) * 1.8s); }
#local.tienda .som-base { animation: som-base 9s infinite cubic-bezier(.2, .9, .3, 1.1); }
#local.tienda .som-colchon { animation: som-colchon 9s infinite cubic-bezier(.3, 1.3, .5, 1); }
#local.tienda .som-alm { animation: som-alm 9s infinite cubic-bezier(.3, 1.4, .5, 1); transform-origin: 217px 107px; }
#local.tienda .som-tag { animation: som-tag 9s infinite cubic-bezier(.3, 1.4, .5, 1); transform-origin: 300px 59px; }
@keyframes som-base { 0% { opacity: 0; transform: translateY(40px); } 10%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes som-colchon { 0%, 14% { opacity: 0; transform: translateY(-90px); } 26%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes som-alm { 0%, 28% { opacity: 0; transform: scale(.4); } 36%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes som-tag { 0%, 38% { opacity: 0; transform: rotate(-25deg) scale(.6); } 46%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes som-sombra { 0% { opacity: 0; transform: scaleX(.6); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes som-med { 0% { opacity: 0; } 2%, 18% { opacity: 1; } 20%, 100% { opacity: 0; } }

/* Marcas en movimiento */
#local.tienda .t-marq { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
#local.tienda .t-marq-riel { display: flex; gap: 14px; width: max-content; padding: 4px 0; animation: t-marq 32s linear infinite; }
#local.tienda .t-marq:hover .t-marq-riel { animation-play-state: paused; }
#local.tienda.t-comercial .t-marq .t-mar { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 220px; height: 104px; padding: 12px 18px; border: 1.5px solid var(--t-linea); border-radius: 18px; background: #fff; color: var(--t-tinta); cursor: pointer; transition: border-color .15s, box-shadow .2s; }
#local.tienda.t-comercial .t-marq .t-mar strong { font: 800 1.375rem/1.1 var(--f-titulos); letter-spacing: -.02em; }
#local.tienda.t-comercial .t-marq .t-mar img { max-width: 150px; max-height: 52px; object-fit: contain; }
#local.tienda.t-comercial .t-marq .t-mar small { font-size: .75rem; color: var(--t-suave); font-weight: 600; }
#local.tienda.t-comercial .t-marq .t-mar:hover { border-color: var(--t-azul); box-shadow: 0 10px 24px -16px rgba(20,40,80,.45); }
#local.tienda.t-comercial .t-marq .t-mar-fija { cursor: default; }
@keyframes t-marq { to { transform: translateX(calc(-50% - 7px)); } }

/* Vení a probarlos: sucursales en la home */
#local.tienda .t-visita-g { display: grid; gap: 12px; }
#local.tienda .t-visita-c { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--t-linea); border-radius: 18px; background: #fff; color: var(--t-tinta); text-decoration: none; transition: border-color .15s, transform .2s; }
#local.tienda .t-visita-c:hover { border-color: var(--t-azul); transform: translateY(-2px); }
#local.tienda .t-visita-pin { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--t-azul); color: #fff; }
#local.tienda .t-visita-pin .ico { width: 24px; height: 24px; }
#local.tienda .t-visita-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#local.tienda .t-visita-t strong { font: 800 1.0625rem/1.2 var(--f-titulos); }
#local.tienda .t-visita-t small { color: var(--t-suave); font-size: .875rem; }
#local.tienda .t-visita-t em { font-style: normal; font-size: .75rem; font-weight: 800; }
#local.tienda .t-visita-t em.ab { color: #17703C; } #local.tienda .t-visita-t em.ce { color: #B42318; }
#local.tienda .t-visita-t em::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
#local.tienda .t-visita-t em.ab::before { animation: t-late 1.6s infinite; }
#local.tienda .t-visita-c > .ico { width: 18px; height: 18px; color: var(--t-suave); flex: none; }
@keyframes t-late { 0%, 100% { box-shadow: 0 0 0 0 rgba(23,112,60,.45); } 60% { box-shadow: 0 0 0 6px rgba(23,112,60,0); } }
@media (min-width: 700px) { #local.tienda .t-visita-g { grid-template-columns: 1fr 1fr; } }

/* Movimiento: se muestra aunque Windows tenga apagadas las animaciones (pedido del usuario, igual que en Chango) */
#local.tienda .t-vitrina .revela { opacity: 1 !important; transform: none !important; }
#local.tienda .t-som-txt h2 { font: 800 clamp(1.5rem, 4.6vw, 2.25rem)/1.12 var(--f-titulos); letter-spacing: -.02em; color: var(--t-tinta); }
#local.tienda .t-som-txt h2 em { font-style: normal; color: var(--t-azul); }
#local.tienda.t-comercial .t-som-med { grid-template-columns: repeat(auto-fill, minmax(min(168px, 100%), 1fr)) !important; }
#local.tienda.t-comercial .t-som-med em { white-space: nowrap; }

/* ===== Sucursales v3: localizador (lista + mapa grande) ===== */
#local.tienda .suc-intro { margin: 4px 0 22px; }
#local.tienda .suc-intro .t-eb { display: inline-block; margin-bottom: 6px; }
#local.tienda .suc-loc { display: grid; gap: 16px; }
#local.tienda .suc-mapa-g { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, #E7EDF6, #F4F1EA); border: 1px solid var(--t-linea); }
#local.tienda .suc-mapa-g .suc-mapa { aspect-ratio: auto; height: clamp(260px, 52vw, 340px); background: none; }
#local.tienda .suc-mapa-g .suc-mapa::before { content: "Cargando mapa…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--t-suave); font-size: .875rem; z-index: 0; }
#local.tienda .suc-mapa-g iframe { position: relative; z-index: 1; }
#local.tienda .suc-mapa-abrir { position: absolute; z-index: 2; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--t-tinta); font-weight: 800; font-size: .8125rem; text-decoration: none; box-shadow: 0 6px 18px rgba(10,20,40,.18); }
#local.tienda .suc-mapa-abrir .ico { width: 16px; height: 16px; color: var(--t-azul); }
#local.tienda .suc-lista { display: grid; gap: 12px; }
#local.tienda .suc-card { padding: 16px; cursor: pointer; border: 1.5px solid var(--t-linea); transition: border-color .2s, box-shadow .2s; }
#local.tienda .suc-card:hover { border-color: #B9C5D8; }
#local.tienda .suc-card.act { border-color: var(--t-azul); box-shadow: 0 14px 30px -18px rgba(20, 40, 80, .5); }
#local.tienda .suc-card:focus-visible { outline: 3px solid var(--t-azul); outline-offset: 2px; }
#local.tienda .suc-cab { flex-wrap: wrap; justify-content: flex-start; gap: 8px 10px; }
#local.tienda .suc-num { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--t-fondo2); color: var(--t-tinta); font-weight: 800; font-size: .875rem; }
#local.tienda .suc-card.act .suc-num { background: var(--t-azul); color: #fff; }
#local.tienda .suc-cab h2 { flex: 1; min-width: 0; font-size: 1.25rem; }
#local.tienda .suc-estado { white-space: nowrap; }
#local.tienda .suc-dir { margin: 10px 0 12px; }
#local.tienda .suc-horas div { align-items: baseline; }
#local.tienda .suc-horas dt i { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--t-promo); color: var(--t-promo-tinta); font-style: normal; font-size: .6875rem; font-weight: 800; }
#local.tienda .suc-horas .hoy dd { color: var(--t-tinta); }
#local.tienda .suc-btns { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
#local.tienda .suc-b1 { grid-column: auto; }
#local.tienda .suc-plus { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
#local.tienda .suc-plus li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--t-fondo2); }
#local.tienda .suc-plus .ico { width: 22px; height: 22px; flex: none; color: var(--t-azul); }
#local.tienda .suc-plus span { display: flex; flex-direction: column; }
#local.tienda .suc-plus small { color: var(--t-suave); font-size: .8125rem; }
@media (min-width: 700px) { #local.tienda .suc-plus { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
    #local.tienda .suc-loc { grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
    #local.tienda .suc-mapa-g { order: 2; position: sticky; top: calc(var(--t-cab-h, 120px) + 16px); }
    #local.tienda .suc-mapa-g .suc-mapa { height: min(560px, calc(100vh - var(--t-cab-h, 120px) - 48px)); }
    #local.tienda .suc-lista { order: 1; }
    #local.tienda .suc-grid { display: none; }
}
#local.tienda .suc-cab h2 { flex: 0 1 auto; }
#local.tienda .suc-horas dt { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
#local.tienda .suc-horas dt i { margin-left: 0; }

/* ===== Producto v3: pedir rápido en el celular ===== */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#local.tienda .pdp-nota-d { border-top: 1px solid var(--t-linea); border-bottom: 1px solid var(--t-linea); }
#local.tienda .pdp-nota-d summary { display: flex; align-items: center; gap: 8px; min-height: 46px; color: var(--t-azul); font-weight: 700; font-size: .9375rem; cursor: pointer; list-style: none; }
#local.tienda .pdp-nota-d summary::-webkit-details-marker { display: none; }
#local.tienda .pdp-nota-d summary em { font-style: normal; font-weight: 500; color: var(--t-suave); font-size: .8125rem; }
#local.tienda .pdp-nota-d summary .ico { width: 16px; height: 16px; transition: transform .2s; }
#local.tienda .pdp-nota-d[open] summary .ico { transform: rotate(45deg); }
#local.tienda .pdp-nota-d .pd-nota { margin: 0 0 12px; }
#local.tienda .pdp-acc { padding: 0; }
#local.tienda .pdp-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 20px; cursor: pointer; list-style: none; }
#local.tienda .pdp-acc > summary::-webkit-details-marker { display: none; }
#local.tienda .pdp-acc > summary h2 { margin: 0 !important; font-size: 1.125rem !important; }
#local.tienda .pdp-acc > summary .ico { width: 18px; height: 18px; flex: none; transform: rotate(90deg); transition: transform .2s; color: var(--t-suave); }
#local.tienda .pdp-acc[open] > summary .ico { transform: rotate(-90deg); }
#local.tienda .pdp-acc > :not(summary) { margin: 0 20px 20px; }
#local.tienda .pdp-acc .pdp-tabla { width: calc(100% - 40px); }
#local.tienda .pdp-como-ol { padding-left: 20px; line-height: 1.6; color: var(--t-suave); }
#local.tienda .pdp-como-ol b { color: var(--t-tinta); }
#local.tienda .pdp-secs { gap: 10px; }
#local.tienda .pdp-barra { background: #fff; }
@media (max-width: 899px) {
    #local.tienda.vista-pdp .t-pie { padding-bottom: 96px; }
    #local.tienda .pdp-grid { gap: 14px; margin-top: 4px; }
    #local.tienda .pdp-foto { aspect-ratio: 4 / 3; max-height: 42svh; width: 100%; border-radius: 18px; }
    #local.tienda .pdp-ilus { display: none; }
    #local.tienda .t-migas { font-size: .8125rem; margin-block: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #local.tienda.t-comercial .pdp-tit { font-size: 1.625rem; margin: 2px 0 8px; }
    #local.tienda .pdp-chips { margin-bottom: 10px; }
    #local.tienda.t-comercial .pdp-final { font-size: 2rem; }
    #local.tienda .pdp-medio { font-size: .8125rem; }
    #local.tienda.t-comercial .pdp-cuota.top { padding: 10px 12px; font-size: 1rem; border-radius: 12px; }
    #local.tienda.t-comercial .pdp-cuota:not(.top) { padding-top: 6px; font-size: .875rem; }
    #local.tienda .pdp-cuota-nota { display: none; }
    #local.tienda .pdp-grupos .op { min-height: 0; padding: 9px 10px; }
    #local.tienda .pdp-grupos .op-nom, #local.tienda .pdp-grupos .op strong { font-size: .875rem; }
    #local.tienda .pdp-benef { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; border-radius: 14px; background: var(--t-fondo2); }
    #local.tienda .pdp-benef small { display: none; }
    #local.tienda .pdp-comprar { display: none; }
    #local.tienda .pdp-wa { min-height: 46px; }
}

/* ===== Footer v3 ===== */
#local.tienda.t-comercial .t-pie { margin-top: 56px; padding-bottom: 0; background: var(--t-tinta); color: rgba(255,255,255,.78); font-size: .9375rem; }
#local.tienda .t-pie-cta { display: flex; flex-direction: column; gap: 16px; padding-block: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
#local.tienda .t-pie-cta > div:first-child { display: flex; flex-direction: column; gap: 4px; }
#local.tienda .t-pie-cta strong { font: 800 1.375rem/1.2 var(--f-titulos); color: #fff; letter-spacing: -.01em; }
#local.tienda .t-pie-cta span { line-height: 1.5; }
#local.tienda .t-pie-cta-b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#local.tienda .t-pie-b1, #local.tienda .t-pie-b2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: 14px; font: 800 .9375rem Inter, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
#local.tienda .t-pie-b1 { border: 0; background: #25D366; color: #fff; }
#local.tienda .t-pie-b2 { border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; }
#local.tienda .t-pie-b1 svg, #local.tienda .t-pie-b2 .ico { width: 18px; height: 18px; }
#local.tienda.t-comercial .t-pie-in { display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 28px 8px; }
#local.tienda.t-comercial .t-pie-marca { padding-bottom: 20px; }
#local.tienda .t-pie-logo { display: inline-flex !important; align-items: center; gap: 12px; margin: 0 !important; color: #fff !important; text-decoration: none; }
#local.tienda .t-pie-logo img { width: 48px; height: 48px; border-radius: 50%; background: #fff; }
#local.tienda.t-comercial .t-pie-logo strong { font: 800 1.3125rem/1.15 var(--f-titulos); color: #fff; }
#local.tienda.t-comercial .t-pie-marca p { margin: 12px 0 16px; max-width: 30em; line-height: 1.55; }
#local.tienda.t-comercial .t-pie .cab-iconos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
#local.tienda.t-comercial .t-pie .cab-iconos .ci { display: inline-grid; place-items: center; width: 42px; height: 42px; min-height: 42px; padding: 0; margin: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
#local.tienda.t-comercial .t-pie .cab-iconos .ci .ico { width: 18px; height: 18px; }
#local.tienda.t-comercial .t-pie .cab-iconos .ci-txt { display: inline-flex; gap: 7px; width: auto; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: .875rem; }
#local.tienda.t-comercial .t-pie .cab-iconos .ci:hover { background: rgba(255,255,255,.16); }
#local.tienda .t-pie-d { border-top: 1px solid rgba(255,255,255,.1); }
#local.tienda .t-pie-d > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none; }
#local.tienda .t-pie-d > summary::-webkit-details-marker { display: none; }
#local.tienda.t-comercial .t-pie-d h3 { margin: 0; font: 800 .8125rem/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
#local.tienda .t-pie-d > summary .ico { width: 16px; height: 16px; color: rgba(255,255,255,.6); transform: rotate(90deg); transition: transform .2s; }
#local.tienda .t-pie-d[open] > summary .ico { transform: rotate(-90deg); }
#local.tienda .t-pie-d > :not(summary) { padding-bottom: 18px; }
#local.tienda .t-pie-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
#local.tienda.t-comercial .t-pie-cats a { display: flex; align-items: center; min-height: 36px; margin: 0; color: rgba(255,255,255,.78); text-decoration: none; line-height: 1.3; }
#local.tienda.t-comercial .t-pie-cats a:hover { color: #fff; }
#local.tienda .t-pie-sucs p { margin: 0 0 14px; line-height: 1.45; }
#local.tienda .t-pie-sucs b { display: block; color: #fff; font-weight: 700; }
#local.tienda .t-pie-sucs span { display: block; }
#local.tienda.t-comercial .t-pie-sucs .t-pie-link { display: inline-flex; align-items: center; gap: 6px; min-height: 0; margin: 0; color: var(--t-promo); font-weight: 800; text-decoration: none; }
#local.tienda .t-pie-sucs .t-pie-link .ico { width: 15px; height: 15px; }
#local.tienda .t-pie-compra ol { margin: 0 0 10px; padding-left: 20px; line-height: 1.8; }
#local.tienda .t-pie-compra p { margin: 0 0 14px; line-height: 1.5; }
#local.tienda.t-comercial .t-pie-pagos { display: flex; flex-wrap: wrap; gap: 6px; opacity: 1; font-size: .75rem; }
#local.tienda .t-pie-pagos span { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 600; }
#local.tienda .t-pie-pagos .dest { background: var(--t-promo); border-color: var(--t-promo); color: var(--t-promo-tinta); font-weight: 800; }
#local.tienda.t-comercial .t-pie-firma { display: flex; flex-direction: column; gap: 8px; padding-block: 18px 24px; border-top: 1px solid rgba(255,255,255,.1); }
#local.tienda.t-comercial .t-pie-firma .pie-firma { margin: 0; font-size: .75rem; line-height: 1.5; color: rgba(255,255,255,.55); text-align: left; }
#local.tienda.t-comercial .t-pie-firma a { color: rgba(255,255,255,.85); text-underline-offset: 3px; }
@media (max-width: 999px) { #local.tienda.t-comercial .t-pie { padding-bottom: 0; } body.con-pill #local.tienda.t-comercial .t-pie-firma { padding-bottom: 100px; } #local.tienda.t-comercial.vista-pdp .t-pie-firma { padding-bottom: 100px; } }
@media (min-width: 700px) {
    #local.tienda .t-pie-cta { flex-direction: row; align-items: center; justify-content: space-between; }
    #local.tienda .t-pie-cta-b { display: flex; }
    #local.tienda.t-comercial .t-pie-in { grid-template-columns: 1fr 1fr; gap: 28px 40px; padding-block: 40px 28px; }
    #local.tienda.t-comercial .t-pie-marca { grid-column: 1 / -1; padding-bottom: 0; }
    #local.tienda .t-pie-d { border-top: 0; }
    #local.tienda .t-pie-d > summary { min-height: 0; margin-bottom: 14px; pointer-events: none; }
    #local.tienda .t-pie-d > summary .ico { display: none; }
    #local.tienda.t-comercial .t-pie-firma { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; }
    #local.tienda.t-comercial .t-pie-firma .pie-firma:first-child { max-width: 72ch; }
    #local.tienda.t-comercial .t-pie-firma .pie-firma:last-child { flex: none; }
}
@media (min-width: 1100px) {
    #local.tienda.t-comercial .t-pie-in { grid-template-columns: 1.25fr 1.35fr 1fr 1fr; gap: 48px; padding-block: 48px 36px; }
    #local.tienda.t-comercial .t-pie-marca { grid-column: auto; }
}

/* ===== Barras de desplazamiento finas y claras (sin la barra negra del panel de filtros) ===== */
#local.tienda * { scrollbar-width: thin; scrollbar-color: #C9D2E0 transparent; }
#local.tienda *::-webkit-scrollbar { width: 8px; height: 8px; }
#local.tienda *::-webkit-scrollbar-track { background: transparent; }
#local.tienda *::-webkit-scrollbar-thumb { background: #D3DAE6; border-radius: 99px; border: 2px solid #fff; }
#local.tienda *::-webkit-scrollbar-thumb:hover { background: #AEB9CC; }
@media (min-width: 900px) {
    #local.tienda .t-side { scrollbar-width: none; max-height: none; overflow: visible; position: static; }
    #local.tienda .t-side::-webkit-scrollbar { display: none; }
}
html:has(body.con-tienda) { overflow-x: hidden; }
body.con-tienda { overflow-x: clip; }
@media (max-width: 359px) {
    #local.tienda .t-pie-cta-b { grid-template-columns: 1fr; }
    #local.tienda .t-barra-f { gap: 6px; }
    #local.tienda .t-barra-f .t-cuenta { font-size: .75rem; }
    #local.tienda .t-fbtn { padding: 0 10px; }
    #local.tienda .t-orden select { padding: 0 28px 0 10px; font-size: .8125rem; background-position: right 8px center; }
}
@media (max-width: 599px) {
    #local.tienda .pdp-acc .pdp-precios { table-layout: fixed; font-size: .8125rem; }
    #local.tienda .pdp-acc .pdp-precios th, #local.tienda .pdp-acc .pdp-precios td { padding-inline: 4px; overflow-wrap: anywhere; }
}
@media (max-width: 999px) and (max-height: 500px) {
    #local.tienda.t-comercial .t-hero-txt > p, #local.tienda.t-comercial .t-hero-chips { display: none; }
    #local.tienda.t-comercial .t-hero h2 { font-size: 2rem; }
    #local.tienda.t-comercial .t-hero-in { min-height: 0; padding-block: 16px; }
}

/* ===== Auditoría 21/11 ===== */
/* Resultados de búsqueda: grilla completa (en PC las tarjetas quedaban aplastadas) y barra de resultados */
#local.tienda.buscando .t-lay { display: block !important; }
#local.tienda.buscando .t-lay .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { #local.tienda.buscando .t-lay .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { #local.tienda.buscando .t-lay .prods { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
#local.tienda .t-res { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; padding: 12px 14px; border-radius: 14px; background: var(--t-fondo2); color: var(--t-tinta); }
#local.tienda .t-res[hidden] { display: none; }
#local.tienda .t-res p { margin: 0; font-size: .9375rem; }
#local.tienda .t-res button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1.5px solid var(--t-linea); border-radius: 999px; background: #fff; color: var(--t-tinta); font-weight: 700; font-size: .8125rem; cursor: pointer; }
#local.tienda .t-res button .ico { width: 14px; height: 14px; }
#local.tienda:not(.buscando) .t-res { display: none; }

/* Barra de filtros del celular: el conteo no se parte en dos líneas */
#local.tienda .t-barra-f .t-cuenta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* Letra grande: nada cortado */
html.letra-grande #local.tienda .tc-medio, html.letra-grande #local.tienda .tc-cuota2 { white-space: normal; overflow: visible; text-overflow: clip; }
html.letra-grande #local.tienda .t-nav-in { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html.letra-grande #local.tienda .t-nav-in::-webkit-scrollbar { display: none; }
html.letra-grande #local.tienda .t-nav a { flex: none; padding: 0 12px; }
@media (min-width: 1000px) { html.letra-grande #local.tienda .t-lay .prods, html.letra-grande #local.tienda.buscando .t-lay .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 999px) { html.letra-grande #local.tienda .prods:not(.t-vitrina) { grid-template-columns: minmax(0, 1fr); } }

/* Hero del celular: la foto se ve entera y limpia arriba, el texto abajo sobre el azul (antes la foto quedaba tapada) */
@media (max-width: 999px) {
    #local.tienda.t-comercial .t-hero-in { display: flex; flex-direction: column; justify-content: flex-start; min-height: 0; padding-block: 0 22px; }
    #local.tienda.t-comercial .t-hero-vis { position: relative; inset: auto; order: -1; z-index: 0; height: auto; aspect-ratio: 16 / 9.4; margin: 0 -16px 18px; overflow: hidden; }
    #local.tienda.t-comercial .t-hero-vis::after { background: linear-gradient(180deg, rgba(0,0,0,0) 62%, color-mix(in srgb, var(--t-azul) 70%, transparent) 88%, var(--t-azul) 100%); }
    #local.tienda.t-comercial .t-hero-vis.con-foto img { object-position: 45% 55%; }
    #local.tienda.t-comercial .t-hero-vis .t-sello { top: auto; right: 12px; bottom: 12px; width: 78px; height: 78px; z-index: 2; }
    #local.tienda.t-comercial .t-hero-vis .t-sello b { font-size: .75rem; }
    #local.tienda.t-comercial .t-hero-vis .t-sello text { font-size: 8.4px; }
    #local.tienda.t-comercial .t-hero-chips { display: none; }
    #local.tienda.t-comercial .t-hero h2 { font-size: clamp(1.875rem, 9vw, 2.75rem); margin: 6px 0 8px; }
    #local.tienda.t-comercial .t-hero p { font-size: .9375rem; line-height: 1.45; }
    #local.tienda.t-comercial .t-hero-bt { margin-top: 16px; }
}
@media (min-width: 640px) and (max-width: 999px) {
    #local.tienda.t-comercial .t-hero-vis { margin-inline: -24px; aspect-ratio: 16 / 8; }
    #local.tienda.t-comercial .t-hero-chips { display: flex; }
}
@media (max-width: 999px) and (max-height: 700px) {
    #local.tienda.t-comercial .t-hero-vis { aspect-ratio: 16 / 8.2; }
    #local.tienda.t-comercial .t-hero p { font-size: .875rem; }
    #local.tienda.t-comercial .t-hero-in { padding-block: 0 18px; }
}
@media (max-width: 999px) and (max-height: 500px) {
    #local.tienda.t-comercial .t-hero-in { flex-direction: row; align-items: center; gap: 20px; padding-block: 16px; }
    #local.tienda.t-comercial .t-hero-vis { order: 2; flex: 0 0 42%; margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; }
    #local.tienda.t-comercial .t-hero-vis .t-sello { display: none; }
}
@media (max-width: 999px) and (max-height: 500px) {
    #local.tienda.t-comercial .t-hero-chips { display: none; }
    #local.tienda.t-comercial .t-hero-txt { flex: 1; min-width: 0; }
    #local.tienda.t-comercial .t-hero-vis { flex: 0 0 36%; }
}
#local.tienda .pdp-barra-med { font-size: .75rem; font-weight: 700; color: var(--t-tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Paso 2 del carrito: la nota de WhatsApp más compacta, para que se vea el formulario */
#local.tienda .hoja-pie .aviso-wa { margin: 0 0 10px; padding: 8px 12px; font-size: .8125rem; line-height: 1.4; border-radius: 10px; }
#local.tienda .hoja-pie .hoja-pie-nota { display: none; }
@media (max-width: 639px) { #local.tienda.t-comercial .t-cat { aspect-ratio: 1 / 1; } }

/* Asistente: volver un paso, barra de progreso y respuestas que se pueden cambiar */
#local.tienda .asist-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; }
#local.tienda .asist-atras { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; margin-left: -8px; padding: 0 10px 0 6px; border: 0; border-radius: 999px; background: transparent; color: var(--t-tinta); font-weight: 700; font-size: .875rem; cursor: pointer; }
#local.tienda .asist-atras:hover { background: var(--t-fondo2); }
#local.tienda .asist-atras .ico { width: 18px; height: 18px; }
#local.tienda .asist-cab .asist-n { margin-left: auto; }
#local.tienda .asist-barra { height: 4px; border-radius: 4px; background: var(--t-fondo2); overflow: hidden; }
#local.tienda .asist-barra i { display: block; height: 100%; border-radius: 4px; background: var(--t-promo); transition: width .35s ease; }
#local.tienda .asist-elig { display: flex; flex-wrap: wrap; gap: 6px; }
#local.tienda .asist-elig button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px 0 12px; border: 1px solid var(--t-linea); border-radius: 999px; background: var(--t-fondo2); color: var(--t-tinta); font-size: .8125rem; font-weight: 600; cursor: pointer; }
#local.tienda .asist-elig button .ico { width: 13px; height: 13px; color: var(--t-suave); }
#local.tienda .asist-elig button:hover { border-color: var(--t-tinta); }
#local.tienda .t-res-b { display: flex; flex-wrap: wrap; gap: 8px; }
/* Producto: volver a la categoría (en el celular reemplaza a las migas) */
#local.tienda .pdp-volver { display: none; }
@media (max-width: 899px) {
    #local.tienda.vista-pdp .t-pdp .t-migas { display: none; }
    #local.tienda .pdp-volver { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 4px 0 6px -6px; padding: 0 12px 0 6px; border-radius: 999px; color: var(--t-tinta); font-weight: 700; font-size: .9375rem; text-decoration: none; }
    #local.tienda .pdp-volver .ico { width: 20px; height: 20px; }
    #local.tienda .pdp-volver:active { background: var(--t-fondo2); }
}
/* Cinta de demo en la tienda: compacta en el celular, para que el hero entre completo */
@media (max-width: 999px) {
    #local.tienda .cinta.cinta-para { flex-wrap: nowrap; align-items: center; gap: 8px; min-height: 0; padding: 6px 10px 6px 14px; }
    #local.tienda .cinta.cinta-para strong { font-size: .75rem; line-height: 1.3; font-weight: 700; }
    #local.tienda .cinta.cinta-para .cinta-sub { display: none; }
    #local.tienda .cinta .sim-cinta { min-height: 32px; padding: 0 10px; font-size: .6875rem; white-space: nowrap; }
}

/* Etiquetas sobre la foto: el % OFF arriba y la etiqueta (Con pillow, Alta densidad…) debajo, nunca superpuestas */
#local.tienda.t-comercial .tc-off + .prod-etq { top: 42px; left: 10px; right: auto; max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#local.tienda.t-comercial .tc-img .prod-etq, #local.tienda.t-comercial .tc-img .tc-off { white-space: nowrap; }

/* ======================= ARMADOR GUIADO (Armá tu sommier) ======================= */
#local.tienda .ar { max-width: 1080px; margin: 0 auto; padding: 14px 16px 120px; color: var(--t-tinta); }
#local.tienda.vista-ar .t-pie-cta { display: none; }
.ar-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ar-volver { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--t-linea); background: #fff; color: var(--t-tinta); font-weight: 700; font-size: .9375rem; text-decoration: none; }
.ar-volver .ico { width: 18px; height: 18px; }
.ar-eb { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-azul); }
.ar-pasos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 18px; padding: 0; counter-reset: p; }
.ar-pasos li { position: relative; }
.ar-pasos li > a, .ar-pasos li > span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 2px; text-decoration: none; color: #8A93A6; font-size: .75rem; font-weight: 700; }
.ar-pasos li::before { content: ""; position: absolute; top: 17px; left: calc(-50% + 20px); right: calc(50% + 20px); height: 3px; border-radius: 3px; background: var(--t-linea); }
.ar-pasos li:first-child::before { display: none; }
.ar-pasos li.hecho::before, .ar-pasos li.act::before { background: var(--t-azul); }
.ar-pasos i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--t-linea); font-style: normal; font-size: .875rem; font-weight: 800; color: #8A93A6; }
.ar-pasos i .ico { width: 16px; height: 16px; stroke-width: 3; }
.ar-pasos li.hecho a { color: var(--t-azul); }
.ar-pasos li.hecho i { background: var(--t-azul); border-color: var(--t-azul); color: #fff; }
.ar-pasos li.act > span { color: var(--t-tinta); }
.ar-pasos li.act i { border-color: var(--t-azul); color: var(--t-azul); box-shadow: 0 0 0 4px rgba(30, 58, 110, .12); }
.ar-h { margin: 0 0 6px; font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.ar-sub { margin: 0 0 18px; color: #556070; font-size: .9375rem; line-height: 1.45; }
/* Paso 1: medidas */
.ar-meds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ar-med { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px 14px; border-radius: 16px; border: 2px solid var(--t-linea); background: #fff; color: var(--t-tinta); text-align: center; cursor: pointer; font: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.ar-med:hover { border-color: #B9C3D6; }
.ar-med:active { transform: scale(.98); }
.ar-med.sel { border-color: var(--t-azul); box-shadow: 0 0 0 3px rgba(30, 58, 110, .14); }
.ar-m-dib { display: block; width: 76px; height: 80px; margin-bottom: 6px; }
.ar-m-dib svg { width: 100%; height: 100%; }
.ar-m-base { fill: var(--t-azul); }
.ar-m-col { fill: #F4EFE6; }
.ar-m-alm { fill: #fff; stroke: #D9D1C2; stroke-width: 1; }
.ar-m-saba { fill: #C9D6EA; }
.ar-med b { font-size: 1.0625rem; }
.ar-med small { color: #6B7587; font-size: .8125rem; }
.ar-uso { margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: #EEF2F8; font-size: .75rem; font-weight: 700; color: var(--t-azul); }
.ar-desde { margin-top: 8px; font-size: .8125rem; color: #556070; }
.ar-desde strong { display: block; color: var(--t-tinta); font-size: 1rem; }
.ar-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--t-promo); color: var(--t-promo-tinta); font-size: .6875rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.ar-meds .ar-med:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ar-ayuda { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #EEF2F8; font-size: .875rem; color: #556070; }
.ar-ayuda .ico { flex: none; width: 20px; height: 20px; color: var(--t-azul); }
.ar-ayuda a { color: var(--t-azul); font-weight: 700; }
/* Paso 2: colchones */
.ar-filtros { margin: 0 0 6px; }
.ar-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #EEF2F8; }
.ar-tabs button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: #556070; font: inherit; font-weight: 800; font-size: .9375rem; cursor: pointer; }
.ar-tabs button small { font-weight: 700; opacity: .7; }
.ar-tabs button.act { background: #fff; color: var(--t-azul); box-shadow: 0 1px 4px rgba(16, 24, 40, .12); }
.ar-tipo-ayuda { margin: 10px 2px 0; font-size: .875rem; color: #556070; line-height: 1.4; }
.ar-peso { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; }
.ar-peso > span { width: 100%; font-size: .8125rem; font-weight: 800; color: var(--t-tinta); }
.ar-peso button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--t-linea); background: #fff; color: var(--t-tinta); font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.ar-peso button.act { background: var(--t-azul); border-color: var(--t-azul); color: #fff; }
.ar-grupo { margin-top: 20px; }
.ar-grupo h3 { display: flex; flex-direction: column; margin: 0 0 10px; font-size: 1.0625rem; }
.ar-grupo h3 small { font-weight: 500; font-size: .8125rem; color: #6B7587; }
.ar-ops { display: grid; gap: 10px; }
.ar-ops + .ar-ops { margin-top: 10px; }
.ar-op { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 8px 40px 8px 8px; border-radius: 14px; border: 2px solid var(--t-linea); background: #fff; color: var(--t-tinta); text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ar-op:hover { border-color: #B9C3D6; }
.ar-op.sel, .ar-base.sel { border-color: var(--t-azul); box-shadow: 0 0 0 3px rgba(30, 58, 110, .14); }
.ar-op-img { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--t-img, #EEF1F5); }
.ar-op-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-op-img em { position: absolute; left: 5px; top: 5px; padding: 2px 6px; border-radius: 5px; background: var(--t-promo); color: var(--t-promo-tinta); font-style: normal; font-size: .625rem; font-weight: 900; }
.ar-sinfoto { display: grid; place-items: center; width: 100%; height: 100%; color: #9AA4B5; }
.ar-sinfoto .ico { width: 40%; height: 40%; }
.ar-op-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ar-marca { font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--t-azul); }
.ar-op-t b { font-size: 1rem; line-height: 1.2; }
.ar-datos { display: flex; flex-wrap: wrap; gap: 4px; }
.ar-datos span { padding: 2px 7px; border-radius: 6px; background: #EEF2F8; font-size: .71875rem; font-weight: 600; color: #4A5568; }
.ar-precio { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ar-precio strong { font-size: 1.0625rem; }
.ar-precio s { font-size: .8125rem; color: #8A93A6; }
.ar-check { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--t-linea); background: #fff; color: transparent; }
.ar-check .ico { width: 14px; height: 14px; stroke-width: 3.2; }
.sel > .ar-check { background: var(--t-azul); border-color: var(--t-azul); color: #fff; }
.ar-vermas { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--t-linea); background: #fff; color: var(--t-azul); font: inherit; font-weight: 800; font-size: .875rem; cursor: pointer; }
.ar-vermas .ico { width: 16px; height: 16px; }
.ar-vacio { margin-top: 18px; padding: 18px; border-radius: 14px; background: #EEF2F8; text-align: center; }
.ar-vacio p { margin: 0; }
/* Paso 3: bases */
.ar-bases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ar-base { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 12px; border-radius: 14px; border: 2px solid var(--t-linea); background: #fff; color: var(--t-tinta); text-align: left; font: inherit; cursor: pointer; }
.ar-base .ar-op-img { aspect-ratio: 4 / 3; margin-bottom: 4px; }
.ar-base b { font-size: .9375rem; line-height: 1.2; }
.ar-base small { font-size: .78125rem; color: #6B7587; line-height: 1.35; }
.ar-base .ar-precio { margin-top: auto; padding-top: 4px; }
.ar-base .ar-check { top: 14px; right: 14px; transform: none; }
/* Paso 4: listo */
.ar-combo { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 16px; }
.ar-combo figure { flex: 1; max-width: 190px; margin: 0; text-align: center; }
.ar-combo figure img, .ar-combo .ar-sinfoto { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--t-img, #EEF1F5); display: block; }
.ar-combo figcaption { margin-top: 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #6B7587; }
.ar-mas-sig { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--t-azul); color: #fff; margin-bottom: 22px; }
.ar-mas-sig .ico { width: 18px; height: 18px; stroke-width: 3; }
.ar-resumen { border: 1px solid var(--t-linea); border-radius: 14px; overflow: hidden; background: #fff; }
.ar-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; text-decoration: none; color: var(--t-tinta); }
.ar-fila + .ar-fila { border-top: 1px solid var(--t-linea); }
.ar-fila-t { display: flex; flex-direction: column; min-width: 0; }
.ar-fila-t small { font-size: .71875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8A93A6; }
.ar-fila-t b { font-size: 1rem; }
.ar-fila-t span { font-size: .8125rem; color: #6B7587; }
.ar-cambiar { flex: none; padding: 6px 12px; border-radius: 999px; background: #EEF2F8; color: var(--t-azul); font-weight: 800; font-size: .8125rem; }
.ar-total { margin-top: 14px; padding: 16px; border-radius: 14px; background: #EEF2F8; }
.ar-total-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ar-total-p s { color: #8A93A6; font-size: .9375rem; }
.ar-total-p em { padding: 2px 7px; border-radius: 6px; background: var(--t-promo); color: var(--t-promo-tinta); font-style: normal; font-weight: 900; font-size: .75rem; }
.ar-total-p strong { width: 100%; font-size: 2rem; line-height: 1.1; }
.ar-total-p > span { width: 100%; font-size: .8125rem; color: #556070; }
.ar-cuota, .ar-envio { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .875rem; }
.ar-cuota .ico, .ar-envio .ico { flex: none; width: 20px; height: 20px; color: var(--t-azul); }
.ar-envio { color: var(--t-ok); font-weight: 700; }
.ar-envio .ico { color: var(--t-ok); }
.ar-cant { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--t-linea); font-weight: 700; }
.ar-cant .cant { display: flex; align-items: center; gap: 4px; }
.ar-cant .cant button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--t-linea); background: #fff; color: var(--t-tinta); cursor: pointer; }
.ar-cant .cant button:disabled { opacity: .4; }
.ar-cant .cant .ico { width: 18px; height: 18px; }
.ar-cant .cant b { min-width: 28px; text-align: center; }
.ar-wa-l { margin: 14px 0 0; text-align: center; }
.ar-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #128C4A; text-decoration: none; font-size: .9375rem; }
.ar-wa .ico { width: 20px; height: 20px; }
/* Barra fija de abajo */
.ar-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--t-linea); box-shadow: 0 -6px 20px rgba(16, 24, 40, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); animation: ar-sube .25s ease-out; }
@keyframes ar-sube { from { transform: translateY(100%); } }
.ar-barra-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1080px; margin: 0 auto; }
.ar-barra-t { display: flex; flex-direction: column; min-width: 0; }
.ar-barra-t small { font-size: .75rem; color: #6B7587; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-barra-t strong { font-size: 1.1875rem; }
.ar-agregar, .ar-seguir { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--t-azul); color: #fff; font: inherit; font-weight: 800; font-size: .9375rem; text-decoration: none; cursor: pointer; }
.ar-agregar .ico, .ar-seguir .ico { width: 18px; height: 18px; }
.ar-agregar { background: var(--t-promo); color: var(--t-promo-tinta); }
#local.tienda.vista-ar .t-pill { display: none !important; }
@media (min-width: 640px) {
    .ar-meds { grid-template-columns: repeat(3, 1fr); }
    .ar-meds .ar-med:last-child:nth-child(odd) { grid-column: auto; }
    .ar-ops { grid-template-columns: repeat(2, 1fr); }
    .ar-bases { grid-template-columns: repeat(3, 1fr); }
    .ar-listo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
    .ar-listo .ar-combo { grid-column: 1 / -1; }
    .ar-listo .ar-total { margin-top: 0; }
}
@media (min-width: 1000px) {
    .ar-meds { grid-template-columns: repeat(5, 1fr); }
    .ar-ops { grid-template-columns: repeat(3, 1fr); }
    .ar-bases { grid-template-columns: repeat(4, 1fr); }
    .ar-pasos { max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) { .ar-barra { animation: none; } }
@media (max-width: 639px) {
    .ar-peso { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 2px; scrollbar-width: none; }
    .ar-peso::-webkit-scrollbar { display: none; }
    .ar-peso > span { width: auto; flex: none; margin-right: 2px; }
    .ar-peso button { flex: none; }
    .ar-combo figure { max-width: 140px; }
    .ar-sub { margin-bottom: 14px; }
}
@media (max-width: 639px) {
    .ar-meds { grid-template-columns: 1fr; gap: 8px; }
    .ar-med { display: grid; grid-template-columns: 52px 1fr auto; grid-template-areas: "d n p" "d m p" "d u p"; align-items: center; column-gap: 12px; row-gap: 0; padding: 10px 14px 10px 10px; text-align: left; }
    .ar-m-dib { grid-area: d; width: 52px; height: 58px; margin: 0; }
    .ar-med b { grid-area: n; }
    .ar-med small { grid-area: m; }
    .ar-uso { grid-area: u; justify-self: start; margin-top: 4px; }
    .ar-desde { grid-area: p; margin: 0; text-align: right; }
    .ar-tag { left: auto; right: 12px; transform: none; }
}
.ar-filtros .ar-tabs { max-width: 520px; }
/* Armador, versión simple: letra más grande, botones que dicen qué hacen, frases en vez de etiquetas */
#local.tienda .ar { font-size: 1.0625rem; }
.ar > .ar-pasos, .ar > .ar-nro, .ar > .ar-h, .ar > .ar-sub, .ar > .ar-meds, .ar > .ar-filtros, .ar > .ar-grupo, .ar > .ar-bases, .ar > .ar-listo { animation: ar-entra .3s ease-out both; }
.ar > .ar-meds, .ar > .ar-filtros, .ar > .ar-bases, .ar > .ar-listo { animation-delay: .05s; }
@keyframes ar-entra { from { opacity: 0; transform: translateY(8px); } }
.ar-pasos li > a, .ar-pasos li > span { font-size: .8125rem; }
.ar-nro { margin: 0 0 4px; font-size: .875rem; font-weight: 800; color: var(--t-azul); text-transform: uppercase; letter-spacing: .06em; }
.ar-sub { font-size: 1rem; color: #3F4A5C; }
.ar-med b { font-size: 1.1875rem; }
.ar-med small { font-size: .875rem; }
.ar-uso { font-size: .8125rem; }
.ar-desde { font-size: .875rem; }
.ar-desde strong { font-size: 1.0625rem; }
.ar-op { grid-template-columns: 104px 1fr; padding: 10px; align-items: start; }
.ar-op-t b { font-size: 1.125rem; }
.ar-datos { display: block; font-size: .875rem; color: #4A5568; line-height: 1.35; }
.ar-precio strong { font-size: 1.1875rem; }
.ar-elegir { display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: stretch; min-height: 42px; margin-top: 6px; border-radius: 10px; border: 2px solid var(--t-azul); color: var(--t-azul); font-weight: 800; font-size: .9375rem; background: #fff; transition: background .15s, color .15s; }
.ar-elegir .ico { width: 18px; height: 18px; stroke-width: 3; }
.sel .ar-elegir { background: var(--t-azul); color: #fff; }
.ar-base .ar-elegir { margin-top: 8px; }
.ar-base b { font-size: 1rem; }
.ar-base small { font-size: .8125rem; }
.ar-op.sel.recien, .ar-base.sel.recien, .ar-med.sel.recien { animation: ar-pulso .4s ease-out; }
@keyframes ar-pulso { 40% { transform: scale(1.02); } }
.ar-op:disabled, .ar-base:disabled, .ar-med:disabled { opacity: 1; cursor: default; }
.ar-peso > span small { font-weight: 500; color: #6B7587; }
.ar-tabs button { font-size: 1rem; min-height: 48px; }
.ar-peso button { min-height: 40px; font-size: .875rem; }
.ar-grupo h3 { font-size: 1.1875rem; }
.ar-grupo h3 small { font-size: .875rem; }
.ar-inc { margin: 0 0 8px; font-size: 1.125rem; }
.ar-fila { gap: 10px; }
.ar-fila-ok { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #E3F4EA; color: var(--t-ok); }
.ar-fila-ok .ico { width: 16px; height: 16px; stroke-width: 3.2; }
.ar-fila-t { flex: 1; }
.ar-fila-t b { font-size: 1.0625rem; }
.ar-fila-t span { font-size: .875rem; }
.ar-cambiar { font-size: .875rem; padding: 8px 14px; }
.ar-cant { font-size: 1rem; }
.ar-agregar-g { width: 100%; justify-content: center; margin-top: 16px; min-height: 56px; font-size: 1.0625rem; border-radius: 14px; }
.ar-nota { margin: 10px 0 0; font-size: .875rem; color: #556070; text-align: center; line-height: 1.4; }
.ar-barra-t small { font-size: .8125rem; }
.ar-barra-t strong span { font-size: .8125rem; font-weight: 700; color: #6B7587; }
.ar-agregar, .ar-seguir { font-size: 1rem; min-height: 50px; }
/* Carrito: el sommier muestra claro lo que incluye */
#local.tienda .items .item-inc { display: flex; flex-direction: column; gap: 3px; margin: 4px 0 2px; }
#local.tienda .items .item-inc > span { display: flex; gap: 6px; align-items: flex-start; font-size: .875rem; color: #3F4A5C; line-height: 1.3; }
#local.tienda .items .item-inc .ico { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--t-ok); stroke-width: 3; }
#local.tienda .items .item-inc b { color: var(--t-tinta); }
#local.tienda .items .item-txt strong small { font-weight: 500; color: #6B7587; font-size: .8125rem; }
@media (prefers-reduced-motion: reduce) { .ar > * { animation: none !important; } }
#local.tienda .items li.item-armado { flex-wrap: wrap; align-items: flex-start; }
#local.tienda .items li.item-armado .item-txt { flex: 1 1 calc(100% - 80px); min-width: 0; }
#local.tienda .items li.item-armado .cont { margin-left: 76px; }
.ar-sinbase { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: center; width: 100%; padding: 14px; border-radius: 14px; border: 2px dashed #9FB0CC; background: #F5F8FC; color: var(--t-tinta); text-align: left; font: inherit; cursor: pointer; }
.ar-sinbase.sel { border-style: solid; border-color: var(--t-azul); box-shadow: 0 0 0 3px rgba(30, 58, 110, .14); }
.ar-sinbase-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--t-azul); border: 1px solid var(--t-linea); }
.ar-sinbase-i .ico { width: 26px; height: 26px; }
.ar-sinbase-t { display: flex; flex-direction: column; gap: 2px; }
.ar-sinbase-t b { font-size: 1.0625rem; line-height: 1.2; }
.ar-sinbase-t small { font-size: .875rem; color: #556070; line-height: 1.35; }
.ar-sinbase .ar-elegir { grid-column: 1 / -1; }
.ar-sinbase:disabled { opacity: 1; cursor: default; }
.ar-o { margin: 16px 0 10px; text-align: center; font-size: .9375rem; font-weight: 700; color: #556070; }
.ar-yatengo { flex-direction: column; gap: 6px; background: #E3F4EA; color: var(--t-ok); aspect-ratio: 1; border-radius: 14px; text-align: center; padding: 8px; }
.ar-yatengo .ico { width: 36px; height: 36px; stroke-width: 3; }
.ar-yatengo b { font-size: .875rem; }
.ar-combo .ar-yatengo { display: flex; align-items: center; justify-content: center; }

/* ======================= ESCRITORIO v4 (auditoría 22/11): todo más compacto en PC =======================
   En 1366×768 la cabecera ocupaba 230 px y la portada 584: no se veía nada más. Ahora cabecera ~150 y portada ~400. */
/* Cuotas en la tarjeta: fondo suave en vez de azul lleno (parecía un segundo botón y competía con "Elegir medida") */
#local.tienda.t-comercial .tc-cuota { background: #EAF0FA; color: var(--t-azul); }
#local.tienda.t-comercial .tc-cuota b, #local.tienda.t-comercial .tc-cuota strong { color: var(--t-azul); }
@media (min-width: 1600px) { #local.tienda.t-comercial .t-top-l em { display: none; } } /* se pisaba con "Letra grande" */
@media (min-width: 1024px) {
    #local.tienda .t-cont { max-width: 1280px; }
    /* Cinta de demo: una sola línea */
    #local.tienda .cinta.cinta-para { min-height: 0; padding: 5px 24px; gap: 16px; align-items: center; }
    #local.tienda .cinta.cinta-para .cinta-txt { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
    #local.tienda .cinta.cinta-para .cinta-txt strong { flex: none; font-size: .8125rem; }
    #local.tienda .cinta.cinta-para .cinta-sub { font-size: .75rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #local.tienda .cinta.cinta-para .sim-cinta { min-height: 30px; padding: 0 14px; font-size: .8125rem; }
    /* Barra de garantías */
    #local.tienda.t-comercial .t-top-in { min-height: 30px; }
    #local.tienda.t-comercial .t-top-l li { font-size: .78125rem; }
    #local.tienda .t-letra { min-height: 26px; }
    /* Cabecera */
    #local.tienda.t-comercial .t-cab-in { min-height: 64px; padding-block: 10px; }
    #local.tienda.t-comercial .t-marca img { width: 44px; height: 44px; }
    #local.tienda.t-comercial .t-marca strong, #local.tienda.t-comercial .t-marca b { font-size: 1.1875rem; }
    #local.tienda.t-comercial .t-buscar { min-height: 42px; }
    #local.tienda.t-comercial .t-acc .t-btn { min-height: 42px; }
    #local.tienda.t-comercial .t-nav a { min-height: 42px; font-size: .9063rem; }
    /* Portada: compacta, el título en 2 líneas y los botones dentro de la primera vista */
    #local.tienda.t-comercial .t-hero-in { min-height: 0; padding-block: 44px 48px; }
    #local.tienda.t-comercial .t-hero-txt { max-width: 640px; }
    #local.tienda.t-comercial .t-hero h2 { font-size: clamp(2.25rem, 3.3vw, 3.25rem); line-height: 1.02; margin: 8px 0 14px; }
    #local.tienda.t-comercial .t-hero p { font-size: 1.0625rem; max-width: 520px; }
    #local.tienda.t-comercial .t-hero-chips { margin-top: 16px; gap: 8px; flex-wrap: nowrap; }
    #local.tienda.t-comercial .t-hero-chips li { font-size: .8125rem; min-height: 32px; padding-block: 0; white-space: nowrap; }
    #local.tienda.t-comercial .t-hero-bt { margin-top: 22px; }
    #local.tienda.t-comercial .t-hero-bt a, #local.tienda.t-comercial .t-hero-bt button { min-height: 48px; }
    #local.tienda.t-comercial .t-sello { width: 104px; height: 104px; }
    #local.tienda.t-comercial .t-sello b { font-size: .9375rem; }
    /* Secciones con menos aire entre una y otra */
    #local.tienda.t-comercial .t-sec { padding-block: 44px; }
    #local.tienda.t-comercial .t-tit { margin-bottom: 18px; }
    #local.tienda.t-comercial .t-tit h2, #local.tienda.t-comercial .t-sec h2 { font-size: 1.75rem; }
    /* Categorías: 5 por fila, más bajas */
    #local.tienda.t-comercial .t-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
    #local.tienda.t-comercial .t-cat { aspect-ratio: 4 / 3.4; border-radius: 14px; }
    #local.tienda.t-comercial .t-cat-txt strong { font-size: 1rem; }
    #local.tienda.t-comercial .t-cat-txt small { font-size: .75rem; }
    /* Tarjetas de producto más compactas */
    #local.tienda.t-comercial .tc-img { aspect-ratio: 4 / 3; }
    #local.tienda.t-comercial .tc-body { padding: 12px 14px 4px; }
    #local.tienda.t-comercial .tc-nom { font-size: 1rem; min-height: 0; }
    #local.tienda.t-comercial .tc-precio { font-size: 1.375rem; }
    #local.tienda.t-comercial .tc-cuota { margin-top: 8px; padding: 6px; font-size: .8125rem; }
    #local.tienda.t-comercial .prod-acc { padding: 6px 14px 14px; }
    #local.tienda.t-comercial .prod-acc .mas-txt { min-height: 40px; font-size: .875rem; }
    /* Catálogo: filtro más angosto y 4 productos por fila */
    #local.tienda .t-lay { grid-template-columns: 228px minmax(0, 1fr); gap: 28px; }
    #local.tienda .t-pag-tit h1, #local.tienda .t-cat-tit h1 { font-size: 1.875rem; }
    /* Ficha de producto */
    #local.tienda .pdp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
    #local.tienda .pdp-gal { max-width: 560px; top: 120px; }
    #local.tienda .pdp-tit { font-size: 1.875rem; }
    #local.tienda .pdp-final { font-size: 2.125rem; }
    #local.tienda .pdp-secs { align-items: start; margin-top: 36px; }
    /* Armador */
    #local.tienda .ar { padding-top: 20px; padding-bottom: 110px; }
}
@media (min-width: 1200px) {
    #local.tienda .t-lay .prods, #local.tienda.buscando .t-lay .prods { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
/* Ficha: las cuotas en fondo suave, así el único botón fuerte es "Agregar al pedido" */
#local.tienda.t-comercial .pdp-cuota.top { background: #EAF0FA; color: var(--t-azul); }
#local.tienda.t-comercial .pdp-cuota.top .ico { color: var(--t-azul); }
@media (min-width: 1024px) {
    #local.tienda.t-comercial .t-sec { padding-block: 38px; }
    /* Datos de la tarjeta (peso, densidad, alto): en tarjetas angostas pasan a otra línea en vez de cortarse */
    #local.tienda.t-comercial .tc-ficha { flex-wrap: wrap; overflow: visible; row-gap: 4px; }
    #local.tienda .pdp-gal { max-width: 520px; }
}

/* ======================= Mejoras 22/11: un solo camino guiado, comparación y preguntas ======================= */
/* Armador: ¿sommier completo o solo colchón? */
.ar-modo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.ar-modo > p { grid-column: 1 / -1; margin: 0 0 2px; font-weight: 800; font-size: 1rem; }
.ar-modo button { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--t-linea); background: #fff; color: var(--t-tinta); text-align: left; font: inherit; cursor: pointer; }
.ar-modo button b { display: block; font-size: 1rem; line-height: 1.2; }
.ar-modo button small { display: block; font-size: .8125rem; color: #6B7587; }
.ar-modo-r { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #B9C3D6; background: #fff; box-sizing: border-box; }
.ar-modo button.act { border-color: var(--t-azul); background: #F3F6FC; box-shadow: 0 0 0 3px rgba(30, 58, 110, .12); }
.ar-modo button.act .ar-modo-r { border: 7px solid var(--t-azul); }
@media (min-width: 640px) { .ar-modo { max-width: 560px; } }
/* Comparación espuma / resortes */
#local.tienda .t-cmp-g { display: grid; border: 1px solid var(--t-linea); border-radius: 18px; overflow: hidden; background: #fff; }
#local.tienda .t-cmp-fila { display: grid; grid-template-columns: minmax(0, .8fr) 1fr 1fr; }
#local.tienda .t-cmp-fila > span { padding: 12px 14px; font-size: .9375rem; line-height: 1.35; color: #3F4A5C; }
#local.tienda .t-cmp-fila + .t-cmp-fila { border-top: 1px solid var(--t-linea); }
#local.tienda .t-cmp-fila > span + span { border-left: 1px solid var(--t-linea); }
#local.tienda .t-cmp-et { font-weight: 800; color: var(--t-tinta) !important; background: #F7F9FC; }
#local.tienda .t-cmp-cab > span { background: #F7F9FC; }
#local.tienda .t-cmp-col { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding-block: 16px !important; }
#local.tienda .t-cmp-img { display: block; width: 100%; max-width: 160px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #E9EDF4; }
#local.tienda .t-cmp-img img { width: 100%; height: 100%; object-fit: cover; }
#local.tienda .t-cmp-col b { font-family: var(--f-titulos); font-size: 1.125rem; color: var(--t-tinta); }
#local.tienda .t-cmp-col small { font-size: .8125rem; color: var(--t-azul); font-weight: 700; }
#local.tienda .t-cmp-pie > span { display: flex; align-items: center; justify-content: center; }
#local.tienda .t-cmp-bt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--t-azul); color: #fff; font-weight: 800; font-size: .875rem; text-decoration: none; text-align: center; }
#local.tienda .t-cmp-bt .ico { width: 16px; height: 16px; flex: none; }
@media (max-width: 639px) {
    #local.tienda .t-cmp-fila { grid-template-columns: 1fr 1fr; }
    #local.tienda .t-cmp-fila > .t-cmp-et, #local.tienda .t-cmp-cab > span:first-child, #local.tienda .t-cmp-pie > span:first-child { grid-column: 1 / -1; }
    #local.tienda .t-cmp-cab > span:first-child, #local.tienda .t-cmp-pie > span:first-child { display: none; }
    #local.tienda .t-cmp-et { padding-block: 8px !important; font-size: .8125rem !important; text-transform: uppercase; letter-spacing: .05em; }
    #local.tienda .t-cmp-fila > span:nth-child(2) { border-left: 0; }
    #local.tienda .t-cmp-fila > span { padding: 10px 12px; font-size: .875rem; }
    #local.tienda .t-cmp-bt { font-size: .8125rem; padding: 0 8px; }
}
@media (min-width: 1024px) { #local.tienda .t-cmp-g { max-width: 920px; } #local.tienda .t-cmp-fila > span { padding: 14px 20px; font-size: 1rem; } }
/* Preguntas frecuentes */
#local.tienda .t-faq-l { display: grid; gap: 8px; }
#local.tienda .t-faq-it { border: 1px solid var(--t-linea); border-radius: 14px; background: #fff; }
#local.tienda .t-faq-it summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px; font-weight: 800; font-size: 1rem; color: var(--t-tinta); cursor: pointer; list-style: none; }
#local.tienda .t-faq-it summary::-webkit-details-marker { display: none; }
#local.tienda .t-faq-it summary span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #EEF2F8; color: var(--t-azul); transition: transform .2s; }
#local.tienda .t-faq-it summary .ico { width: 16px; height: 16px; }
#local.tienda .t-faq-it[open] summary span { transform: rotate(45deg); }
#local.tienda .t-faq-it p { margin: 0; padding: 0 16px 16px; font-size: .9375rem; line-height: 1.55; color: #3F4A5C; }
#local.tienda .t-faq .t-tit p { margin: 4px 0 0; color: #556070; }
@media (min-width: 1024px) {
    #local.tienda .t-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
    #local.tienda .t-faq .t-tit { display: block; position: sticky; top: 140px; }
}
/* Marcas: solo el nombre, sin el "Ver productos" repetido */
#local.tienda .t-marq small { display: none; }
/* Fotos de categorías: un poco más de contraste */
#local.tienda.t-comercial .t-cat-img img { filter: contrast(1.06) saturate(1.08); }
#local.tienda.t-comercial .t-cat::after { background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--t-azul) 94%, transparent) 100%); }


/* ---- Opiniones de Google (formato widget de reseñas) ---- */
#local.tienda .t-opi { background: #fff; }
#local.tienda .t-opi-in { display: grid; gap: 14px; }
#local.tienda .t-opi-res { display: grid; gap: 6px; justify-items: start; padding: 18px; border: 1px solid var(--t-linea); border-radius: 16px; background: #F6F8FC; color: var(--t-tinta); text-decoration: none; }
#local.tienda .t-opi-res-t { display: flex; align-items: center; gap: 8px; font-size: .9375rem; }
#local.tienda .t-opi-gl { width: 20px; height: 20px; flex: none; }
#local.tienda .t-opi-res-n { display: flex; align-items: center; gap: 10px; }
#local.tienda .t-opi-res-n b { font-size: 2.25rem; line-height: 1; font-weight: 800; }
#local.tienda .t-opi-res small { color: var(--t-suave); font-size: .875rem; }
#local.tienda .t-opi-res-b { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 800; font-size: .875rem; color: var(--t-azul); }
#local.tienda .t-opi-res-b .ico { width: 16px; height: 16px; }
#local.tienda .t-opi-est { position: relative; display: inline-block; font-size: 1.125rem; line-height: 1; letter-spacing: 2px; color: #D9DEE7; }
#local.tienda .t-opi-est::before { content: "★★★★★"; }
#local.tienda .t-opi-est::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--v); overflow: hidden; white-space: nowrap; color: #FBBC04; }
#local.tienda .t-opi-car { position: relative; min-width: 0; }
#local.tienda .t-opi-l { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
#local.tienda .t-opi-l::-webkit-scrollbar { display: none; }
#local.tienda .t-opi-c { flex: 0 0 84%; scroll-snap-align: start; margin: 0; padding: 16px; border: 1px solid var(--t-linea); border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.06); display: flex; flex-direction: column; gap: 10px; }
#local.tienda .t-opi-c figcaption { display: flex; align-items: center; gap: 10px; }
#local.tienda .t-opi-c figcaption > span:nth-child(2) { flex: 1; min-width: 0; }
#local.tienda .t-opi-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 1.0625rem; flex: none; }
#local.tienda .t-opi-c strong { display: block; font-size: .9375rem; }
#local.tienda .t-opi-c small { display: block; font-size: .8125rem; color: var(--t-suave); }
#local.tienda .t-opi-c .t-opi-est { font-size: 1rem; }
#local.tienda .t-opi-c blockquote { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--t-tinta); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
#local.tienda .t-opi-fl { display: none; }
@media (min-width: 900px) {
    #local.tienda .t-opi-in { grid-template-columns: 240px 1fr; gap: 20px; align-items: stretch; }
    #local.tienda .t-opi-res { align-content: center; }
    #local.tienda .t-opi-c { flex-basis: calc((100% - 24px) / 3); }
    #local.tienda .t-opi-fl { display: grid; place-items: center; position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border: 1px solid var(--t-linea); border-radius: 50%; background: #fff; color: var(--t-tinta); box-shadow: 0 2px 8px rgba(16,24,40,.12); cursor: pointer; }
    #local.tienda .t-opi-fl.ant { left: -18px; }
    #local.tienda .t-opi-fl.sig { right: -18px; }
    #local.tienda .t-opi-fl .ico { width: 18px; height: 18px; }
}

/* ---- Vení a probarlos: tarjetas útiles (estado claro, horario de hoy, cómo llegar y WhatsApp) ---- */
#local.tienda .t-visita .t-tit p { margin: 4px 0 0; color: var(--t-suave); }
#local.tienda .t-visita-c { display: grid; gap: 10px; align-items: stretch; padding: 16px; }
#local.tienda .t-visita-c:hover { transform: none; border-color: var(--t-linea); }
#local.tienda .t-visita-cab { display: flex; align-items: center; gap: 12px; }
#local.tienda .t-visita-pin { width: 44px; height: 44px; border-radius: 14px; }
#local.tienda .t-visita-est, #local.tienda .t-visita-hor { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .9375rem; color: var(--t-tinta); }
#local.tienda .t-visita-est i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
#local.tienda .t-visita-est.ab i { background: #17A34A; box-shadow: 0 0 0 4px #DCFCE7; }
#local.tienda .t-visita-est.ab b { color: #15803D; }
#local.tienda .t-visita-est.ce i { background: #D97706; box-shadow: 0 0 0 4px #FEF3C7; }
#local.tienda .t-visita-est.ce b { color: #B45309; }
#local.tienda .t-visita-hor { color: var(--t-suave); font-size: .875rem; }
#local.tienda .t-visita-hor .ico { width: 16px; height: 16px; }
#local.tienda .t-visita-bt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
#local.tienda .t-visita-bt a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; font-weight: 800; font-size: .9375rem; text-decoration: none; }
#local.tienda .t-visita-bt .ico { width: 18px; height: 18px; }
#local.tienda .t-visita-b1 { background: var(--t-azul); color: #fff; }
#local.tienda .t-visita-b2 { border: 1.5px solid var(--t-linea); color: var(--t-tinta); background: #fff; }
@media (min-width: 900px) { #local.tienda .t-visita-g { grid-template-columns: 1fr 1fr; } }

/* ---- Ficha del producto: la foto siempre entera, sin recortes ---- */
#local.tienda.t-comercial .pdp-foto, #local.tienda .pdp-foto { background: #fff; }
#local.tienda .pdp-foto img, #local.tienda .pdp-foto img:not(.packshot), #local.tienda.t-comercial .pdp-foto img.packshot,
#local.tienda .pdp-mini img, #local.tienda .pdp-mini img:not(.packshot), #local.tienda.t-comercial .pdp-mini img.packshot { object-fit: contain; padding: 0; mix-blend-mode: normal; background: #fff; }
#local.tienda .pdp-mini button { background: #fff; border-color: var(--t-linea); }
.ar-combo figure img { object-fit: contain; background: #fff; border: 1px solid var(--t-linea, #E4E8EF); box-sizing: border-box; }

/* ---- Armador: barra de abajo con lo elegido, desplegable ---- */
.ar-barra { padding: 0 0 env(safe-area-inset-bottom); border-radius: 18px 18px 0 0; }
.ar-barra-in { padding: 8px 12px 10px; gap: 10px; }
.ar-tira { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; position: relative; padding: 10px 4px 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ar-asa { position: absolute; top: 0; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #CBD2DD; }
.ar-barra-in > .ar-tira .ar-asa { left: calc(50% + 0px); }
.ar-thumbs { display: flex; flex: none; }
.ar-thumbs > span { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; border: 2px solid #fff; background: #EEF2F8; box-shadow: 0 0 0 1px var(--t-linea, #E4E8EF); display: grid; place-items: center; }
.ar-thumbs > span + span { margin-left: -12px; }
.ar-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ar-thumbs .ar-sinfoto, .ar-thumbs .ar-bx-ic { display: grid; place-items: center; width: 100%; height: 100%; color: var(--t-azul); }
.ar-thumbs .ico { width: 20px; height: 20px; }
.ar-barra-t { flex: 1; }
.ar-barra-t small { font-size: .8125rem; color: var(--t-tinta, #14213D); font-weight: 600; }
.ar-barra-t strong { font-size: 1.0625rem; }
.ar-barra-t strong span { font-size: .75rem; font-weight: 600; color: #6B7587; }
.ar-flecha { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #EEF2F8; color: var(--t-azul); transform: rotate(180deg); transition: transform .25s; }
.ar-flecha .ico { width: 16px; height: 16px; }
.ar-barra.abierta .ar-flecha { transform: none; }
.ar-det { max-height: 0; overflow: hidden; padding: 0 14px; transition: max-height .3s ease, padding .3s ease; }
.ar-barra.abierta .ar-det { max-height: min(60vh, 420px); overflow-y: auto; padding: 14px 14px 4px; border-bottom: 1px solid var(--t-linea, #E4E8EF); }
.ar-det-t { margin: 0 0 8px; font-weight: 800; font-size: 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.ar-det-t small { font-weight: 600; font-size: .8125rem; color: #6B7587; }
.ar-det-f { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #EEF1F5; }
.ar-det-f:first-of-type { border-top: 0; }
.ar-det-img { flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: #EEF2F8; display: grid; place-items: center; color: var(--t-azul); }
.ar-det-img img { width: 100%; height: 100%; object-fit: cover; }
.ar-det-img .ar-sinfoto, .ar-det-img .ar-bx-ic { display: grid; place-items: center; width: 100%; height: 100%; }
.ar-det-img .ico { width: 22px; height: 22px; }
.ar-det-x { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ar-det-x small { font-size: .75rem; color: #6B7587; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.ar-det-x b { font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-det-x span { font-size: .8125rem; color: #6B7587; }
.ar-det-f.falta b { color: #9AA3B2; font-weight: 600; }
.ar-det-f.falta .ar-det-img { border: 1.5px dashed #CBD2DD; background: #fff; color: #9AA3B2; }
.ar-det-f .ar-cambiar { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--t-linea, #E4E8EF); border-radius: 10px; font-weight: 800; font-size: .8125rem; color: var(--t-azul); text-decoration: none; }
.ar-det-f em { flex: none; font-style: normal; font-size: .75rem; font-weight: 800; color: var(--t-azul); background: #EAF0FA; padding: 4px 8px; border-radius: 999px; }
.ar-velo { position: fixed; inset: 0; z-index: 39; background: rgba(16, 24, 40, .35); animation: ar-velo .2s ease-out; }
@keyframes ar-velo { from { opacity: 0; } }
.ar-seguir, .ar-agregar { min-height: 46px; padding: 0 16px; }
@media (max-width: 380px) { .ar-thumbs > span:nth-child(n+2) { display: none; } .ar-seguir, .ar-agregar { padding: 0 12px; } }
@media (min-width: 900px) { .ar-barra { left: 50%; right: auto; width: min(720px, 100%); transform: translateX(-50%); border: 1px solid var(--t-linea, #E4E8EF); border-bottom: 0; } @keyframes ar-sube { from { transform: translate(-50%, 100%); } } }
@media (prefers-reduced-motion: reduce) { .ar-det, .ar-flecha { transition: none; } .ar-velo { animation: none; } }
/* La barra no vuelve a "subir" en cada paso (molesta); lo nuevo que se eligió hace un pequeño rebote */
.ar-barra { animation: none; }
.ar-thumbs > span:last-child { animation: ar-pop .45s ease-out; }
@keyframes ar-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ar-thumbs > span:last-child { animation: none; } }

/* Armador: tres modos (completo / solo colchón / solo base) */
.ar-modo { grid-template-columns: 1fr 1fr; }
.ar-modo > button:first-of-type { grid-column: 1 / -1; }
@media (min-width: 640px) { .ar-modo { grid-template-columns: repeat(3, 1fr); max-width: 760px; } .ar-modo > button:first-of-type { grid-column: auto; } }

/* ---- Botones fijos: WhatsApp y asistente ---- */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 38; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.fab > * { pointer-events: auto; }
.fab-wa { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.22); text-decoration: none; transition: transform .15s; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa .ico { width: 32px; height: 32px; }
.fab-ia { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.fab-ia-t { padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--t-tinta, #14213D); font-weight: 800; font-size: .875rem; box-shadow: 0 4px 14px rgba(16,24,40,.16); white-space: nowrap; }
.fab-ia-c { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--t-azul, #1E3A6E); color: #fff; box-shadow: 0 6px 18px rgba(16,24,40,.25); }
.fab-ia-c .ico { width: 26px; height: 26px; }
/* Sobre la barra de abajo del celular, la ficha del producto y el armador */
body:has(#local .t-tabs) .fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
body:has(#local.vista-pdp) .fab, body:has(#local.vista-ar) .fab { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
body:has(#local.vista-pdp) .fab-ia-t, body:has(#local.vista-ar) .fab-ia-t { display: none; }
body:has(dialog[open]) .fab, body.vd-abierto .fab, body:has(.ar-barra.abierta) .fab { display: none; }
@media (min-width: 1000px) { body.con-tienda .fab { bottom: 24px; right: 24px; } body:has(#local.vista-pdp) .fab, body:has(#local.vista-ar) .fab { bottom: 110px; } }
@media (max-width: 360px) { .fab-ia-t { display: none; } }


/* El cartelito "¿Te ayudo a elegir?" se ve unos segundos y queda solo el círculo; borde blanco para que se vea sobre fondos oscuros */
.fab-ia-c { border: 2px solid #fff; box-sizing: border-box; }
.fab-ia-t { font-size: .8125rem; padding: 8px 12px; transition: opacity .3s, transform .3s; }
.fab.chico .fab-ia-t { opacity: 0; transform: translateX(8px); pointer-events: none; }
.fab-wa { width: 56px; height: 56px; }

/* Botones fijos alineados: mismo tamaño y el cartelito flotando a la izquierda, sin correr el círculo */
.fab { align-items: center; }
.fab-ia { position: relative; }
.fab-ia-c { width: 56px; height: 56px; border: 0; background: var(--t-azul, #1E3A6E); box-shadow: 0 6px 18px rgba(16,24,40,.28); }
.fab-ia-c .ico { width: 28px; height: 28px; }
.fab-ia-t { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
.fab.chico .fab-ia-t { transform: translate(8px, -50%); }


/* ---- Asistente virtual (esquema de Intercom: en el celular ocupa la pantalla visible, arriba del teclado) ---- */
.vd { position: fixed; inset: 0; z-index: 60; }
.vd-velo { position: absolute; inset: 0; background: rgba(16,24,40,.45); }
.vd-caja { position: fixed; left: 0; right: 0; top: var(--vv-top, 0px); height: var(--vv-h, 100dvh); box-sizing: border-box; display: flex; flex-direction: column; background: #fff; color: var(--t-tinta, #14213D); overflow: hidden; }
@media (min-width: 700px) {
    .vd-caja { left: auto; right: 24px; top: auto; bottom: 24px; width: 390px; height: min(640px, calc(100vh - 48px)); border-radius: 18px; box-shadow: 0 12px 48px rgba(16,24,40,.25); animation: vd-sube .2s ease-out; }
}
@keyframes vd-sube { from { transform: translateY(16px); opacity: 0; } }
.vd-cab { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--t-azul, #1E3A6E); color: #fff; }
.vd-av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16); }
.vd-av .ico { width: 22px; height: 22px; }
.vd-cab-t { flex: 1; min-width: 0; }
.vd-cab h2 { margin: 0; font-size: 1rem; line-height: 1.2; color: #fff; }
.vd-cab p { margin: 1px 0 0; font-size: .75rem; color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-cab-b { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; text-decoration: none; }
.vd-cab-b:hover { background: rgba(255,255,255,.12); }
.vd-cab-b .ico { width: 22px; height: 22px; }
.vd-cab-wa { background: #25D366; width: 38px; height: 38px; margin-right: 2px; }
.vd-cab-wa:hover { background: #1fbe5b; }
.vd-msgs { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 10px; background: #F6F8FC; }
.vd-aviso { align-self: stretch; display: flex; gap: 8px; align-items: flex-start; margin: 0 0 2px; padding: 9px 11px; border-radius: 12px; background: #fff; border: 1px solid #E4E8EF; font-size: .8125rem; line-height: 1.4; color: #4A5468; }
.vd-aviso .ico { flex: none; width: 18px; height: 18px; color: var(--t-azul, #1E3A6E); margin-top: 1px; }
.vd-aviso b { color: var(--t-tinta, #14213D); }
.vd-m { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: .9375rem; line-height: 1.45; overflow-wrap: anywhere; }
.vd-m p { margin: 0 0 6px; } .vd-m p:last-child { margin-bottom: 0; }
.vd-m ul { margin: 4px 0 8px; padding-left: 18px; } .vd-m li { margin: 2px 0; }
.vd-m a { color: var(--t-azul, #1E3A6E); font-weight: 700; }
.vd-m.el { align-self: flex-start; background: #fff; border: 1px solid #E4E8EF; border-bottom-left-radius: 4px; }
.vd-m.yo { align-self: flex-end; background: var(--t-azul, #1E3A6E); color: #fff; border-bottom-right-radius: 4px; }
.vd-esc { display: flex; gap: 4px; padding: 14px; }
.vd-esc span { width: 7px; height: 7px; border-radius: 50%; background: #9AA3B2; animation: vd-pun 1s infinite; }
.vd-esc span:nth-child(2) { animation-delay: .15s; } .vd-esc span:nth-child(3) { animation-delay: .3s; }
@keyframes vd-pun { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.vd-sug { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.vd-sug button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--t-azul, #1E3A6E); background: #fff; color: var(--t-azul, #1E3A6E); font: inherit; font-weight: 700; font-size: .875rem; cursor: pointer; }
.vd-prods { display: grid; gap: 6px; margin: 6px 0 8px; }
.vd-prod { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: #F6F8FC; border: 1px solid #E4E8EF; text-decoration: none; color: inherit !important; }
.vd-prod-img { flex: none; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.vd-prod-img img, .vd-prod-img svg { width: 100%; height: 100%; object-fit: contain; }
.vd-prod > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vd-prod b { font-size: .875rem; } .vd-prod small { font-size: .8125rem; color: #6B7587; font-weight: 600; }
.vd-prod > .ico { width: 18px; height: 18px; color: #9AA3B2; flex: none; }
.vd-suc { display: flex; flex-direction: column; gap: 1px; margin: 6px 0; padding: 8px 10px; border-radius: 12px; background: #F6F8FC; border: 1px solid #E4E8EF; font-size: .875rem; }
.vd-suc .ab { color: #15803D; font-weight: 700; } .vd-suc .ce { color: #B45309; font-weight: 700; }
.vd-suc a { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; } .vd-suc a .ico { width: 16px; height: 16px; }
.vd-btn-wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: #25D366; color: #fff !important; text-decoration: none; font-weight: 800; }
.vd-btn-wa .ico { width: 20px; height: 20px; }
.vd-pie { flex: none; padding: 8px 10px; padding-bottom: max(8px, env(safe-area-inset-bottom)); border-top: 1px solid #E4E8EF; background: #fff; }
.vd-form { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 14px; border: 1.5px solid #D5DCE7; border-radius: 24px; background: #fff; }
.vd-form:focus-within { border-color: var(--t-azul, #1E3A6E); box-shadow: 0 0 0 3px rgba(30,58,110,.12); }
.vd-form textarea { flex: 1; min-width: 0; height: 40px; padding: 9px 0; box-sizing: border-box; border: 0; outline: 0; resize: none; overflow: hidden; background: transparent; font: inherit; font-size: 16px; line-height: 22px; color: inherit; }
.vd-form button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--t-azul, #1E3A6E); color: #fff; cursor: pointer; }
.vd-form button .ico { width: 20px; height: 20px; }
.vd-legal { margin: 6px 4px 0; font-size: .6875rem; line-height: 1.3; color: #6B7587; text-align: center; }
.vd.teclado .vd-legal { display: none; }
body.vd-abierto { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .vd-caja { animation: none; } .vd-esc span { animation: none; } }

/* Íconos fijos modernos */
.fab-wa { background: #25D366; box-shadow: 0 8px 20px rgba(37,211,102,.35), 0 2px 6px rgba(0,0,0,.15); }
.fab-wa .ico { width: 30px; height: 30px; }
.fab-ia-c { background: linear-gradient(135deg, #2F5FC4 0%, var(--t-azul, #1E3A6E) 100%); box-shadow: 0 8px 20px rgba(30,58,110,.35), 0 2px 6px rgba(0,0,0,.15); }
.fab-ia-c .ico { width: 27px; height: 27px; stroke-width: 2; }
.fab-ia { position: relative; }
.fab-ia-c { position: relative; }
.vd-av { background: linear-gradient(135deg, #3E6FD4, #1E3A6E); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.vd-sug-in { justify-content: flex-start; margin-top: 8px; }
.vd-sug-in button { min-height: 36px; font-size: .8125rem; }

.vd-m b.ab { color: #15803D; } .vd-m b.ce { color: #B45309; }
.vd-sucs { display: grid; gap: 6px; margin: 6px 0 8px; }
.vd-m a.vd-suc { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 0; padding: 10px; border-radius: 12px; background: #F6F8FC; border: 1px solid #E4E8EF; text-decoration: none; color: inherit; font-weight: 400; }
.vd-suc-i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--t-azul, #1E3A6E); color: #fff; }
.vd-suc-i .ico { width: 18px; height: 18px; }
.vd-suc > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vd-suc b { font-size: .9375rem; } .vd-suc small { font-size: .8125rem; color: #6B7587; }
.vd-suc em { flex: none; font-style: normal; font-size: .8125rem; font-weight: 800; color: var(--t-azul, #1E3A6E); }

/* Ordenar por: menú propio (igual en todos los celulares) */
#local.tienda .t-orden { position: relative; }
#local.tienda .t-ord-b { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1.5px solid var(--t-linea); border-radius: 999px; background: #fff; color: var(--t-tinta); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
#local.tienda .t-ord-b .ico { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s; }
#local.tienda .t-ord-b[aria-expanded=true] { border-color: var(--marca); }
#local.tienda .t-ord-b[aria-expanded=true] .ico { transform: rotate(-90deg); }
#local.tienda .t-ord-b:focus-visible { outline: 3px solid var(--marca); outline-offset: 2px; }
#local.tienda .t-ord-m { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 210px; padding: 6px; border: 1px solid var(--t-linea); border-radius: 14px; background: #fff; box-shadow: 0 14px 36px rgba(20,35,63,.16); animation: tOrdIn .16s ease-out; }
#local.tienda .t-ord-m[hidden] { display: none; }
#local.tienda .t-ord-m button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--t-tinta); font: inherit; font-size: .9375rem; text-align: left; cursor: pointer; }
#local.tienda .t-ord-m button:hover, #local.tienda .t-ord-m button:focus-visible { background: var(--t-fondo2); outline: none; }
#local.tienda .t-ord-m button .ico { width: 18px; height: 18px; color: var(--marca); visibility: hidden; }
#local.tienda .t-ord-m button[aria-selected=true] { font-weight: 800; }
#local.tienda .t-ord-m button[aria-selected=true] .ico { visibility: visible; }
@keyframes tOrdIn { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 420px) { #local.tienda .t-ord-b { padding: 0 12px; font-size: .8125rem; } }

/* Cabecera flotante tipo pastilla (L.cabFlotante, estilo iPhone como Santa Vape) */
#local.tienda.t-flota .t-cab { padding: 10px 0 8px; background: none; box-shadow: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* La foto de la portada pasa por detrás de la pastilla (sin franja blanca) */
#local.tienda.t-flota .t-cab + * .t-hero:first-child, #local.tienda.t-flota .t-home > .t-hero:first-child { margin-top: calc(-1 * var(--t-cab-h, 84px)); padding-top: var(--t-cab-h, 84px); }
#local.tienda.t-flota .t-cab-in { width: auto; max-width: min(1200px, calc(100% - 20px)); margin-inline: auto; padding: 8px 10px 8px 8px; border: 1px solid rgba(20,35,63,.07); border-radius: 28px; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 10px 30px rgba(20,35,63,.10), 0 1px 2px rgba(20,35,63,.06); min-height: 0; }
#local.tienda.t-flota .t-btn, #local.tienda.t-flota .t-hamb { border-radius: 999px; }
#local.tienda.t-flota .t-btn.t-lupa { background: var(--t-fondo2); }
#local.tienda.t-flota .t-nav { background: none; border: 0; }
#local.tienda.t-flota .t-nav-in { max-width: min(1200px, calc(100% - 20px)); margin: 8px auto 0; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 6px 20px rgba(20,35,63,.07); border: 1px solid rgba(20,35,63,.06); }
#local.tienda.t-flota .t-barra-f { top: calc(var(--t-cab-h, 112px) - 6px); }
@media (min-width: 900px) { #local.tienda.t-flota .t-cab-in { padding: 10px 14px; border-radius: 24px; } }

#local.tienda .t-buscar-cancel, #local.tienda .t-bus-velo { display: none; }
html.bus-guia { overflow: hidden; overscroll-behavior: none; }
@media (max-width: 999px) {
    /* Buscador estilo iPhone: la pastilla se convierte en la barra de búsqueda, con "Cancelar" */
    #local.tienda.t-flota .t-cab-in { position: relative; }
    #local.tienda.t-flota .t-cab.con-buscar .t-cab-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "buscar cancel"; gap: 0 6px; padding: 8px 8px 8px 8px; }
    #local.tienda.t-flota .t-cab.con-buscar .t-hamb, #local.tienda.t-flota .t-cab.con-buscar .t-marca, #local.tienda.t-flota .t-cab.con-buscar .t-acc { display: none; }
    #local.tienda.t-flota .t-cab.con-buscar .t-buscar-w { display: block; position: static; margin: 0; animation: tFlotaBus .22s ease-out; }
    #local.tienda.t-flota .t-cab.con-buscar .t-buscar { min-height: 46px; margin: 0; border: 0; border-radius: 999px; background: var(--t-fondo2); box-shadow: none; }
    #local.tienda.t-flota .t-cab.con-buscar .t-buscar:focus-within { background: var(--t-fondo2); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--marca) 55%, transparent); }
    #local.tienda.t-flota .t-cab.con-buscar .t-buscar input { font-size: 1rem; }
    #local.tienda.t-flota .t-cab.con-buscar .t-buscar-cancel { grid-area: cancel; display: inline-flex; align-items: center; min-height: 46px; padding: 0 10px; border: 0; background: none; color: var(--marca); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    /* Sugerencias: tarjeta del ancho de la pastilla, con fondo atenuado detrás */
    #local.tienda.t-flota .t-cab.con-buscar .t-sug { position: absolute; left: 0; right: 0; top: calc(100% + 10px); max-height: var(--bus-alto, 60vh); box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 18px 16px 14px; border: 1px solid rgba(20,35,63,.06); border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(20,35,63,.16); animation: tFlotaBus .2s ease-out; }
    #local.tienda.t-flota .t-cab.con-buscar .t-sug-tit { font-size: .6875rem; letter-spacing: .08em; }
    #local.tienda.t-flota .t-cab.con-buscar .t-sug-chips { gap: 8px; }
    #local.tienda.t-flota .t-cab.con-buscar .t-sug-chips button { min-height: 38px; padding: 0 13px; border: 0; background: var(--t-fondo2); font-size: .9375rem; font-weight: 600; }
    #local.tienda.t-flota .t-cab.con-buscar .t-sug-cats a { min-height: 50px; }
    #local.tienda.t-flota .t-cab.con-buscar.guia .t-bus-velo { display: block; position: fixed; inset: -200px 0; z-index: -1; touch-action: none; background: rgba(20,35,63,.28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: tFlotaVelo .2s ease-out; }
    body:has(#local.t-flota .t-cab.con-buscar) .fab { opacity: 0; pointer-events: none; }
}
@keyframes tFlotaBus { from { opacity: 0; transform: translateY(-6px); } }
@keyframes tFlotaVelo { from { opacity: 0; } }
/* Celular con cabecera flotante: la foto del hero arranca arriba de todo y la pastilla flota SOBRE la foto (no sobre el azul) */
@media (max-width: 999px) and (min-height: 501px) {
    #local.tienda.t-flota.t-comercial .t-cab + * .t-hero:first-child, #local.tienda.t-flota.t-comercial .t-home > .t-hero:first-child { padding-top: 0; }
    #local.tienda.t-flota.t-comercial .t-hero:first-child .t-hero-vis { aspect-ratio: auto; height: calc(100vw * 9.4 / 16 + var(--t-cab-h, 84px)); }
    #local.tienda.t-flota.t-comercial .t-hero:first-child .t-hero-vis.con-foto img { object-position: 45% 60%; }
}
@media (min-width: 640px) and (max-width: 999px) and (min-height: 501px) {
    #local.tienda.t-flota.t-comercial .t-hero:first-child .t-hero-vis { height: calc(100vw * 8 / 16 + var(--t-cab-h, 84px)); }
}

/* ---------- Buscador debajo de la barra de categorías (L.buscarBajoMenu) ---------- */
.cats-wrap { position: sticky; top: var(--cinta-h); z-index: 20; background: var(--sup); border-top: 8px solid var(--fondo); border-bottom: 1px solid var(--linea); box-shadow: 0 6px 12px -10px rgba(0, 0, 0, .25); }
.cab-compacta .cats-wrap, .por-cat .cats-wrap { border-top-width: 0; }
.cats-wrap > .cats { position: static; border: 0; box-shadow: none; margin: 0; }
.cats-wrap > .buscar { padding: 0 16px 10px; }
.cats-wrap .buscar-caja { min-height: 44px; }
.cats-wrap .buscar-caja input { height: 40px; }
.cats-wrap .buscar-cuenta { margin: 6px 4px 0; font-size: .8125rem; font-weight: 600; color: var(--suave); }
.buscar-menu .cat { scroll-margin-top: calc(var(--cinta-h) + 120px); }
/* Mientras se busca, la barra de categorías se esconde y queda solo el buscador pegado arriba */
.buscando .cats-wrap > .cats { display: none; }
.buscando .cats-wrap > .buscar { padding-top: 10px; }
@media (min-width: 640px) { .cats-wrap > .buscar { padding-left: var(--lado, 24px); padding-right: var(--lado, 24px); } }
/* ---------- Reserva de mesa (L.reservas) ---------- */
.res-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 16px 0; padding: 16px; border-radius: 16px; background: var(--tinte); border: 1px solid var(--tinte-2); }
.res-card-txt { display: grid; gap: 3px; min-width: 0; }
.res-card-txt strong { font-family: var(--f-titulos); font-size: 1.125rem; line-height: 1.2; color: var(--marca-osc); }
.res-card-txt span { font-size: .875rem; line-height: 1.35; color: var(--suave); }
.res-card .btn { flex: none; width: auto; min-height: 48px; padding: 0 18px; }
@media (max-width: 380px) { .res-card { flex-direction: column; align-items: stretch; } .res-card .btn { width: 100%; } }
@media (min-width: 960px) { .res-card { margin: 16px 0 0; } }
.res-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.res-dias { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 6px; padding: 2px 16px 6px; scrollbar-width: none; }
.res-dias::-webkit-scrollbar { display: none; }
.res-chip { flex: none; min-height: 44px; min-width: 64px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--borde-campo); background: var(--sup); color: var(--texto); font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.res-chip.on { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }
.res-horas.error .res-chip { border-color: var(--mal); }
.res-error { color: var(--mal); font-weight: 600; font-size: .875rem; margin-top: 6px; }
.res-nota, .enc-nota { color: var(--suave); font-size: .875rem; line-height: 1.4; margin-top: 10px; }
.res-pers { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.res-pers small { display: block; font-weight: 400; color: var(--suave); font-size: .8125rem; }
.res-emo { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--tinte); font-size: 1.125rem; }
.res-motivos .op-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.res-motivos .op-txt small { color: var(--suave); font-size: .8125rem; }
.res-aviso { margin: 0; }
/* Encargo con día y hora (encargos.dias) */
.enc-filas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.aviso-ant { margin: 0 0 12px; }
.res-aviso, .aviso-ant { background: var(--tinte); color: var(--texto); }
.res-motivos .op.on .marca-op, .res-motivos .op input:checked ~ .marca-op { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }

/* Entradas: tres accesos claros arriba (L.entradas) */
.entradas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 16px 0; }
.entrada { display: grid; justify-items: start; align-content: start; gap: 4px; min-height: 116px; padding: 12px 11px; border-radius: 16px; border: 1px solid var(--tinte-2); background: var(--tinte); color: var(--marca-osc); text-align: left; }
.entrada:first-child { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }
.entrada-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.65); color: var(--marca); }
.entrada:first-child .entrada-ico { background: rgba(255,255,255,.16); color: var(--sobre-marca); }
.entrada-ico .ico { width: 19px; height: 19px; }
.entrada strong { font-family: var(--f-titulos); font-size: .9688rem; line-height: 1.15; }
.entrada-sub { font-size: .75rem; line-height: 1.25; opacity: .8; }
.entrada:active { transform: scale(.98); }
.cat-sub { margin: 20px 0 2px; font-family: var(--f-titulos); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); font-weight: 700; }
.cat-sub:first-child { margin-top: 4px; }
@media (min-width: 720px) { .entradas { margin-inline: var(--lado); max-width: 640px; } }
.sin-entrega .entrega { display: none; }

/* ===== L.vida: movimiento sobrio y cálido (todo se apaga con "reducir movimiento") ===== */
@media all {
    /* Portada: platos que flotan, luz dorada que cruza y motas de harina */
    .vida .platos { transform: translateY(var(--py, 0px)); will-change: transform; }
    .vida .plato { animation: v-flota 6s ease-in-out infinite; }
    .vida .plato:nth-child(2) { animation-delay: -2s; }
    .vida .plato:nth-child(3) { animation-delay: -4s; }
    .vida .plato:nth-child(even) { animation-name: v-flota-b; }
    .vida .cab-portada > img { transform: scale(1.08) translateY(var(--py, 0px)); animation: v-zoom 16s ease-in-out infinite alternate; }
    .vida .cab-portada::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 20% 30%, rgba(255,236,200,.35) 0 2px, transparent 3px), radial-gradient(circle at 55% 60%, rgba(255,236,200,.3) 0 1.5px, transparent 2.5px), radial-gradient(circle at 80% 25%, rgba(255,236,200,.35) 0 2px, transparent 3px), radial-gradient(circle at 35% 80%, rgba(255,236,200,.25) 0 1.5px, transparent 2.5px); background-size: 160px 140px; animation: v-motas 14s linear infinite; }
    .vida .cab-portada::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 224, 160, .22), transparent); transform: skewX(-18deg); animation: v-luz 7s ease-in-out 1.2s infinite; }
    .vida .vapor { animation: v-vapor 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }

    /* Entrada: el logo aparece, el nombre sube, las entradas se acomodan una a una */
    .vida .logo { animation: v-pop .7s cubic-bezier(.2, 1.3, .4, 1) both; }
    .vida .cab-nombre > * { animation: v-sube .6s ease both; }
    .vida .cab-nombre > :nth-child(1) { animation-delay: .12s; }
    .vida .cab-nombre > :nth-child(2) { animation-delay: .22s; }
    .vida .cab-nombre > :nth-child(3) { animation-delay: .32s; }
    .vida .entrada { animation: v-sube .55s ease both; transition: transform .2s ease, box-shadow .2s ease; }
    .vida .entrada:nth-child(1) { animation-delay: .35s; }
    .vida .entrada:nth-child(2) { animation-delay: .45s; }
    .vida .entrada:nth-child(3) { animation-delay: .55s; }
    .vida .entrada:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(58, 36, 25, .16); }
    .vida .entrada:first-child { position: relative; overflow: hidden; }
    .vida .entrada:first-child::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); animation: v-luz 5s ease-in-out 2s infinite; }
    .vida .estado.abierto .estado-punto { animation: v-latido 2.2s ease-out infinite; }

    /* Carta: cada categoría entra en cascada y el producto responde al tacto */
    .vida .cat-act .prod { animation: v-sube .5s ease both; }
    .vida .cat-act .prod:nth-child(2) { animation-delay: .05s; }
    .vida .cat-act .prod:nth-child(3) { animation-delay: .1s; }
    .vida .cat-act .prod:nth-child(4) { animation-delay: .15s; }
    .vida .cat-act .prod:nth-child(5) { animation-delay: .2s; }
    .vida .cat-act .prod:nth-child(n+6) { animation-delay: .25s; }
    .vida .cat-act h2 { animation: v-sube .45s ease both; }
    .vida .prod-img { transition: transform .35s ease; }
    .vida .prod:hover .prod-img, .vida .prod:active .prod-img { transform: scale(1.04) rotate(-1deg); }
    .vida .prod-img .dib { transition: transform .4s ease; }
    .vida .prod:hover .prod-img .dib { transform: scale(1.08) rotate(3deg); }
    .vida .prod-etq { position: relative; overflow: hidden; }
    .vida .prod-etq::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7), transparent 70%); transform: translateX(-120%); animation: v-brillo 4.5s ease-in-out 1s infinite; }
    .vida .tarjeta { transition: transform .25s ease; }
    .vida .tarjeta:hover { transform: translateY(-4px); }
    .vida .cats a { transition: background-color .25s ease, color .25s ease, transform .2s ease; }
    .vida .cats a:active { transform: scale(.95); }
    .vida .cats a.activa { animation: v-pop .35s ease both; }
    .vida .barra { animation: sube .5s cubic-bezier(.2, 1.2, .4, 1) both; }
    .vida .barra-n.late { animation: v-late .45s ease; }
    .vida .cats.cats-sombra { box-shadow: 0 8px 18px rgba(58, 36, 25, .1); }
}
@keyframes v-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes v-flota-b { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
@keyframes v-zoom { to { transform: scale(1.16) translateY(var(--py, 0px)); } }
@keyframes v-motas { from { background-position: 0 0; } to { background-position: 160px -140px; } }
@keyframes v-luz { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes v-vapor { 0% { transform: translateY(2px) scaleY(.85); opacity: 0; } 40% { opacity: .75; } 100% { transform: translateY(-6px) scaleY(1.1); opacity: 0; } }
@keyframes v-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes v-sube { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes v-latido { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--ok) 0%, transparent); } }
@keyframes v-brillo { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes v-late { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* Con "reducir movimiento" activo se apaga todo, salvo que el local lo fuerce (L.vidaSiempre) */
@media (prefers-reduced-motion: reduce) { .vida:not(.vida-siempre) *, .vida:not(.vida-siempre) *::before, .vida:not(.vida-siempre) *::after { animation: none !important; transition: none !important; } }

/* ===== L.premium: primera pantalla para pedir + ejecución cálida (panadería/café premium) ===== */
#local.premium { --fondo: #F5EDE2; --sup: #FFFBF4; --linea: #EADCC9; --texto: #2B1A12; --suave: #6E5A4C; --oro: #B88A3E; --oro-claro: #FFF4E0; background: var(--fondo); }
#local.premium .cinta.cinta-para { flex-wrap: nowrap; align-items: center; gap: 10px; min-height: 0; padding: 8px 10px 8px 14px; }
#local.premium .cinta.cinta-para .cinta-txt { flex: 1; font-size: 12px; line-height: 1.3; }
#local.premium .cinta-sub { font-size: 11.5px; }
#local.premium .cinta .sim-cinta { min-height: 38px; max-width: 118px; padding: 4px 12px; font-size: 11.5px; line-height: 1.15; white-space: normal; margin: 0; }
#local.premium .cab { padding-bottom: 6px; background: var(--sup); }
#local.premium .cab-portada { height: 92px; background: radial-gradient(120% 160% at 88% 0%, #8A5631 0%, #4A2D1E 48%, #2A1810 100%); }
#local.premium .platos { right: -8px; bottom: -18px; }
#local.premium .plato { width: 78px; height: 78px; margin-left: -12px; background: #FFF8EE; box-shadow: 0 8px 20px rgba(20, 8, 2, .35); }
#local.premium .plato:nth-child(even) { transform: translateY(-20px); }
#local.premium .cab-letra { top: 10px; left: 10px; min-height: 34px; padding: 4px 11px; font-size: .75rem; background: rgba(255, 251, 244, .94); color: var(--texto); }
#local.premium .cab-letra b { font-size: .9375rem; }
#local.premium .cab-info { margin-top: -26px; gap: 12px; }
#local.premium .logo { width: 64px; height: 64px; border-radius: 16px; border-width: 3px; border-color: var(--sup); }
#local.premium .cab-nombre { padding-top: 30px; }
#local.premium .cab-nombre h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
#local.premium .cab-lema { margin-top: 1px; font-size: .875rem; }
#local.premium .cab-iconos { display: none; }
#local.premium .estado { margin-top: 8px; font-size: .875rem; }
#local.premium .estado-mas { font-size: .8125rem; color: var(--marca); }
#local.premium .entradas { margin-top: 8px; gap: 8px; }
#local.premium .entrada { min-height: 0; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; row-gap: 3px; padding: 10px; border-radius: 14px; background: var(--sup); }
#local.premium .entrada:first-child { background: var(--marca); }
#local.premium .entrada:nth-child(2) { background: var(--oro-claro); border-color: var(--oro); border-color: color-mix(in srgb, var(--oro) 55%, transparent); }
#local.premium .entrada:nth-child(2) .entrada-ico { background: var(--oro); color: #fff; }
#local.premium .entrada-ico { width: 28px; height: 28px; background: var(--tinte); }
#local.premium .entrada-ico .ico { width: 16px; height: 16px; }
#local.premium .entrada strong { font-size: .9375rem; }
#local.premium .entrada-sub { grid-column: 1 / -1; font-size: .6875rem; }
#local.premium .buscar { display: none; }
#local.premium.ver-buscar .buscar { display: block; padding: 10px 16px; background: var(--sup); border-bottom: 1px solid var(--linea); }
.cats-lupa { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--tinte-2); background: var(--sup); color: var(--marca); }
.cats-lupa[aria-pressed="true"] { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }
.cats-lupa .ico { width: 19px; height: 19px; }
#local.premium .cats { background: var(--sup); background: color-mix(in srgb, var(--sup) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
#local.premium .cats a { background: transparent; }
#local.premium .cats a.activa { background: var(--marca); }
#local.premium .franja { border-top: 0; padding: 12px 0 10px; background: var(--sup); }
#local.premium .franja > h2 { font-family: var(--f-titulos); font-size: 1.125rem; font-weight: 700; }
@media (max-width: 959px) {
    #local.premium .tarjeta, #local.premium .tarjeta-img { width: 140px; }
    #local.premium .tarjeta-img { height: 140px; }
    #local.premium .tarjeta .prod-acc { top: 94px; right: 8px; }
}
@media (min-width: 960px) {
    #local.premium.sin-entrega .cab { grid-template-columns: minmax(0, 1fr); padding-bottom: 18px; }
    #local.premium .cab-portada { height: 200px; }
    #local.premium .platos { right: var(--lado); bottom: -24px; }
    #local.premium .plato { width: 118px; height: 118px; }
    #local.premium .cab-info { margin-top: -40px; }
    #local.premium .logo { width: 92px; height: 92px; border-radius: 22px; }
    #local.premium .cab-nombre { padding-top: 46px; }
    #local.premium .cab-nombre h1 { font-size: 2.125rem; }
    #local.premium .estado { justify-self: start; gap: 4px 14px; }
    #local.premium .entradas { margin: 16px 0 0; max-width: 780px; gap: 12px; }
    #local.premium .entrada { padding: 14px 16px; column-gap: 10px; }
    #local.premium .entrada strong { font-size: 1.0625rem; }
    #local.premium .entrada-sub { font-size: .8125rem; }
    #local.premium .franja { padding-top: 20px; }
    #local.premium .franja .tarjeta-img .dib { width: 58%; height: 58%; }
}
#local.premium .cat h2 { font-family: var(--f-titulos); font-weight: 700; }
/* El producto sobre un "escenario": luz cálida arriba y su sombra apoyada abajo */
#local.premium .prod-img, #local.premium .tarjeta-img { position: relative; background: radial-gradient(110% 85% at 50% 15%, #FFF9EF 0%, #F4E6D1 55%, #E5D0B2 100%); }
#local.premium .prod-img::after, #local.premium .tarjeta-img::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 9%; height: 11%; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 38, 16, .3), transparent); }
#local.premium .prod-img .dib, #local.premium .tarjeta-img .dib { position: relative; z-index: 1; filter: drop-shadow(0 6px 6px rgba(80, 45, 20, .2)); }
#local.premium .prod-img img, #local.premium .tarjeta-img img { position: relative; z-index: 1; }
#local.premium .barra-btn { box-shadow: 0 10px 24px rgba(0,0,0,.28); box-shadow: 0 10px 24px color-mix(in srgb, var(--marca) 35%, transparent); }
/* Modo liviano: sin motas, sin barridos de luz ni paralaje */
.vida.lite .cab-portada::before, .vida.lite .cab-portada::after, .vida.lite .entrada:first-child::after, .vida.lite .prod-etq::after { display: none; }
.vida.lite .plato, .vida.lite .cab-portada > img { animation: none; }
.vida.lite .platos { transform: none; }
#local.premium.lite .cats { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--sup); }
#local.premium .entrada:first-child .entrada-ico { background: rgba(255, 255, 255, .18); color: var(--sobre-marca); }
#local.premium .prod-acc { z-index: 2; }
/* Toques de 44 px como mínimo (regla del proyecto: público mayor) */
#local.premium .cinta .sim-cinta { min-height: 44px; }
#local.premium .cab-letra { min-height: 44px; padding: 6px 13px; }
.cats-lupa { width: 44px; height: 44px; }

/* L.filtros: atajos para ver solo lo que el cliente busca (ej. pan) */
.filtros { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtro { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--tinte-2); background: var(--sup); color: var(--texto); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; }
.filtro[aria-pressed="true"] { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }
.cats-filtrar { width: auto !important; padding: 0 14px 0 11px; gap: 6px; display: inline-flex; align-items: center; border-radius: 999px; font: inherit; font-weight: 700; font-size: .9rem; }
.buscando .cat-sub { display: none; }
/* Cabecera flotante en la compu: una sola píldora. Las categorías van en el menú (botón ☰ Categorías), no en una segunda píldora */
@media (min-width: 1000px) {
    #local.tienda.t-flota .t-nav { display: none !important; }
    #local.tienda.t-flota .t-cab-in { grid-template-columns: auto auto minmax(240px, 1fr) auto; grid-template-areas: "hamb marca buscar acc"; gap: 18px; }
    #local.tienda.t-flota .t-hamb { grid-area: hamb; display: inline-flex; flex-direction: row; align-items: center; gap: 10px; width: auto; height: 46px; margin: 0; padding: 0 18px 0 16px; border: 0; border-radius: 999px; background: var(--t-fondo2); color: var(--t-tinta); font: 600 .9375rem/1 inherit; cursor: pointer; }
    #local.tienda.t-flota .t-hamb::after { content: "Categorías"; }
    #local.tienda.t-flota .t-hamb span { display: none; }
    #local.tienda.t-flota .t-hamb::before { content: ""; width: 18px; height: 14px; background: linear-gradient(currentColor 0 0) 0 0/100% 2.2px no-repeat, linear-gradient(currentColor 0 0) 0 50%/100% 2.2px no-repeat, linear-gradient(currentColor 0 0) 0 100%/100% 2.2px no-repeat; }
    #local.tienda.t-flota .t-hamb:hover { background: #e6e9ef; }
}
/* Celulares muy angostos (plegables cerrados, ~280 px) */
@media (max-width: 339px) {
    #local.tienda.t-comercial .t-marca strong { font-size: .875rem; }
    #local.tienda.t-comercial .t-marca img { width: 32px; height: 32px; }
    #local.tienda.t-comercial .t-cab-in { gap: 0 4px; }
    #local.tienda.t-comercial .t-hamb, #local.tienda.t-comercial .t-lupa, #local.tienda.t-flota .t-acc .t-btn { width: 40px; height: 40px; }
    #local.tienda.t-comercial .t-hero h1 { font-size: 1.625rem; overflow-wrap: anywhere; }
    #local.tienda.t-comercial .t-gar-in { grid-template-columns: 1fr; }
}
/* Aviso de cómo se entrega (L.notaEntrega): ej. "se deja en la puerta, no se entra a la vivienda" */
.aviso-entrega { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 12px; padding: 12px 14px; border-radius: 12px; background: #FFF6DB; border: 1px solid #F2D27A; color: #4A3A0A; font-size: .9375rem; line-height: 1.4; font-weight: 600; }
.aviso-entrega .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; }
dl .aviso-entrega { grid-column: 1 / -1; }

/* =====================================================================
   VARIANTE 2 (L.variante: 2 · en demos también ?v=2): mismo sistema de
   pedidos, otra presentación. Portada con foto a sangre, logo redondo,
   accesos sobre la foto, tarjetas grandes, carta en grilla y barra de
   pedido oscura. Todo cuelga de #local.v2: la variante 1 no cambia.
   Usa los colores del local (--marca, --sup, --fondo, --texto) y la
   letra de títulos (fuenteTitulos), así sirve para cualquier rubro.
   ===================================================================== */
#local.v2 { --r-card: 20px; --sombra-card: 0 6px 22px rgba(60, 30, 10, .10), 0 1px 3px rgba(60, 30, 10, .06); }
/* Cinta de demo clara */
#local.v2 .cinta.cinta-para { background: var(--sup); color: var(--texto); border-bottom: 1px solid var(--linea); }
#local.v2 .cinta.cinta-para .cinta-sub { color: var(--suave); }
#local.v2 .cinta .sim-cinta { background: transparent; color: var(--texto); border: 1.5px solid var(--texto); border-radius: 999px; font-weight: 700; }

/* Portada: la foto ocupa toda la cabecera, se esfuma hacia la izquierda (para leer) y termina en curva */
#local.v2 .cab { position: relative; isolation: isolate; overflow: hidden; padding: 18px 0 22px; background: var(--fondo); }
#local.v2 .cab-portada { position: absolute; inset: 0 0 0 0; height: auto; background: transparent; overflow: hidden; }
#local.v2 .cab-portada > img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
#local.v2 .cab-portada::before, #local.v2.vida.lite .cab-portada::before { content: ""; display: block; position: absolute; inset: 0; z-index: 0; animation: none; opacity: 1; background:
    linear-gradient(180deg, rgba(245, 237, 226, .92) 0%, rgba(245, 237, 226, .82) 38%, rgba(245, 237, 226, .1) 62%, rgba(245, 237, 226, 0) 100%),
    linear-gradient(100deg, rgba(245, 237, 226, .55) 0%, rgba(245, 237, 226, 0) 55%); }
/* Curva de abajo (la foto termina en ola) */
#local.v2 .cab-portada::after, #local.v2.vida.lite .cab-portada::after { content: ""; display: block; position: absolute; top: auto; bottom: -1px; left: -20%; right: -20%; width: auto; height: 64px; z-index: 0; border-radius: 60% 40% 0 0 / 100% 100% 0 0; background: var(--fondo); animation: none; opacity: 1; transform: none; }
#local.v2 .cab > :not(.cab-portada) { position: relative; z-index: 1; }
#local.v2 .cab-letra { top: auto; bottom: 92px; left: auto; right: 12px; z-index: 2; display: none; }
#local.v2 .cab-carro { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sup); color: var(--texto); box-shadow: 0 6px 18px rgba(40, 20, 8, .18); }
#local.v2 .cab-carro .ico { width: 24px; height: 24px; }
#local.v2 .cab-carro .carro-n { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--texto); color: var(--sup); font-size: .75rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--sup); }
#local.v2 .cab-carro .carro-n[hidden] { display: none; }

/* Logo redondo + línea + nombre grande */
#local.v2 .cab-info { margin-top: 0; padding: 26px 74px 0 16px; align-items: center; gap: 14px; }
#local.v2 .logo { width: 84px; height: 84px; border-radius: 50%; border: 0; box-shadow: 0 0 0 3px var(--sup), 0 0 0 5px var(--oro, #B88A3E), 0 8px 20px rgba(40, 20, 8, .22); }
#local.v2 .cab-nombre { padding: 2px 0 2px 14px; border-left: 1.5px solid rgba(43, 26, 18, .35); }
#local.v2 .cab-nombre h1 { text-shadow: 0 1px 0 rgba(255, 251, 244, .6); font-family: var(--f-titulos); font-size: 2rem; line-height: 1.02; font-weight: 800; letter-spacing: -.01em; color: var(--texto); }
#local.v2 .cab-lema { margin-top: 6px; font-size: .8125rem; font-weight: 600; color: var(--texto); line-height: 1.3; }

/* Estado como píldora */
#local.v2 .estado { width: auto; max-width: calc(100% - 32px); margin: 16px 16px 0; padding: 8px 14px; border-radius: 999px; background: rgba(255, 251, 244, .88); box-shadow: 0 2px 10px rgba(40, 20, 8, .08); font-size: .875rem; flex-wrap: nowrap; }
#local.v2 .estado > span:not(.estado-punto):not(.estado-mas) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#local.v2 .estado-mas { font-size: 0; margin-left: 0; color: var(--texto); }
#local.v2 .estado-mas .ico { width: 16px; height: 16px; }
#local.v2 .estado.abierto strong { color: #15703C; }
#local.v2 .datos-rapidos { display: none; }

/* Accesos: tres tarjetas con ícono arriba */
#local.v2 .entradas { margin: 18px 16px 0; gap: 10px; }
#local.v2 .entrada { min-height: 112px; justify-items: center; align-content: center; text-align: center; gap: 4px; padding: 14px 6px 12px; border-radius: var(--r-card); border: 0; background: rgba(255, 251, 244, .94); color: var(--texto); box-shadow: var(--sombra-card); grid-template-columns: none; }
#local.v2 .entrada:first-child { background: var(--marca); color: var(--sobre-marca); }
#local.v2 .entrada:nth-child(2) { background: rgba(255, 251, 244, .94); border: 0; }
#local.v2 .entrada-ico, #local.v2 .entrada:nth-child(2) .entrada-ico, #local.v2 .entrada:first-child .entrada-ico { width: auto; height: auto; background: none; color: inherit; margin-bottom: 4px; }
#local.v2 .entrada-ico .ico { width: 30px; height: 30px; stroke-width: 1.7; }
#local.v2 .entrada strong { font-family: inherit; display: inline-flex; align-items: center; gap: 5px; font-size: 1.0625rem; font-weight: 700; }
#local.v2 .entrada strong .ico { width: 16px; height: 16px; stroke-width: 2.2; }
#local.v2 .entrada-sub { grid-column: auto; font-size: .75rem; opacity: .85; line-height: 1.25; }

/* Títulos de sección */
#local.v2 .franja { padding: 0 0 8px; background: var(--fondo); }
#local.v2 .sec-tit { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; }
#local.v2 .sec-tit h2, #local.v2 .cat h2 { display: flex; align-items: center; gap: 10px; font-family: var(--f-titulos); font-size: 1.5rem; font-weight: 700; color: var(--texto); }
#local.v2 .sec-tit h2 .ico { width: 28px; height: 28px; color: var(--oro, #B88A3E); stroke-width: 1.8; }
#local.v2 .sec-tit a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: .9375rem; color: var(--texto); text-decoration: none; white-space: nowrap; }
#local.v2 .sec-tit a .ico { width: 18px; height: 18px; }

/* Tarjetas de "Los más pedidos" */
#local.v2 .fila-x { gap: 14px; padding: 12px 16px 14px; }
#local.v2 .tarjeta { width: 176px; background: var(--sup); border-radius: var(--r-card); box-shadow: var(--sombra-card); overflow: hidden; }
#local.v2 .tarjeta-abrir { gap: 2px; padding-bottom: 14px; }
#local.v2 .tarjeta-img { width: 100%; height: 140px; margin: 0 0 8px; border-radius: 0; }
#local.v2 .tarjeta-img img { width: 100%; height: 100%; object-fit: cover; }
#local.v2 .tarjeta-nom { padding: 0 12px; font-size: 1rem; font-weight: 700; line-height: 1.2; color: var(--texto); min-height: 2.4em; }
#local.v2 .tarjeta-precio { padding: 6px 12px 0; font-size: 1.25rem; font-weight: 800; color: var(--texto); }
#local.v2 .tarjeta .prod-acc { top: auto; bottom: 10px; right: 10px; }
#local.v2 .tarjeta:first-child .mas:not(.con) { background: var(--marca); color: var(--sobre-marca); }

/* Barra de categorías: píldoras con foto */
#local.v2 .cats { gap: 8px; padding: 10px 16px; border-top: 0; border-bottom: 1px solid var(--linea); align-items: center; }
#local.v2 .cats a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 5px 16px 5px 5px; border: 0; border-radius: 999px; background: var(--sup); color: var(--texto); font-size: .9375rem; box-shadow: 0 1px 4px rgba(60, 30, 10, .08), inset 0 0 0 1px var(--linea); }
#local.v2 .cats a.activa { background: var(--marca); color: var(--sobre-marca); box-shadow: 0 4px 12px rgba(60, 30, 10, .2); }
#local.v2 .cat-mini { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
#local.v2 .cats-lupa { width: auto; height: 48px; }

/* Carta en grilla de tarjetas */
#local.v2 .carta { background: var(--fondo); }
#local.v2 .cat h2 { padding-top: 18px; }
#local.v2 .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
#local.v2 .cat-sub { grid-column: 1 / -1; margin: 6px 0 -4px; }
#local.v2 .prod { border: 0; background: var(--sup); border-radius: var(--r-card); box-shadow: var(--sombra-card); overflow: hidden; }
#local.v2 .prod-abrir { flex-direction: column-reverse; justify-content: flex-end; gap: 0; min-height: 0; height: 100%; padding: 0 0 62px; }
#local.v2 .prod-img { width: 100%; height: auto; aspect-ratio: 5 / 4; border-radius: 0; }
#local.v2 .prod-txt { padding: 10px 12px 0; gap: 3px; }
#local.v2 .prod-etq { position: absolute; top: 10px; left: 10px; z-index: 3; background: rgba(255, 251, 244, .95); color: var(--texto); box-shadow: 0 2px 8px rgba(40, 20, 8, .15); }
#local.v2 .prod-nom { font-size: 1rem; font-weight: 700; line-height: 1.2; color: var(--texto); }
#local.v2 .prod-desc { font-size: .8125rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#local.v2 .prod-precio { position: absolute; left: 12px; bottom: 20px; font-size: 1.1875rem; font-weight: 800; color: var(--texto); }
#local.v2 .prod .prod-acc { right: 9px; bottom: 9px; }
#local.v2 .prod .cont { background: var(--fondo); box-shadow: none; }
#local.v2 .prod:has(.cont) .prod-precio { visibility: hidden; }
#local.v2 .prod .mas { box-shadow: none; background: var(--fondo); }
#local.v2 .mas.con, #local.v2 .tarjeta:first-child .mas { background: var(--marca); color: var(--sobre-marca); }
#local.v2 .cat-sig { border-radius: var(--r-card); }

/* Barra de pedido oscura */
#local.v2 .barra { background: transparent; box-shadow: none; padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
#local.v2 .barra-btn { pointer-events: auto; max-width: 620px; min-height: 68px; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 22px; background: var(--marca); box-shadow: 0 12px 30px rgba(30, 14, 6, .35); }
#local.v2 .barra-ico { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: none; }
#local.v2 .barra-ico .ico { width: 30px; height: 30px; }
#local.v2 .barra-ico .barra-n { position: absolute; top: -6px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--sup); color: var(--marca); font-size: .7rem; display: grid; place-items: center; }
#local.v2 .barra-info { white-space: nowrap; display: grid; line-height: 1.15; text-align: left; flex: 1; min-width: 0; }
#local.v2 .barra-info b { font-size: 1rem; }
#local.v2 .barra-cant { font-size: .8125rem; font-weight: 500; opacity: .85; }
#local.v2 .barra-total { white-space: nowrap; font-size: 1.1875rem; font-weight: 800; margin: 0; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .25); }
#local.v2 .barra-txt { display: inline-flex; align-items: center; gap: 6px; min-height: 50px; padding: 0 16px; border-radius: 16px; background: var(--sup); color: var(--marca); font-size: .9375rem; font-weight: 700; white-space: nowrap; }
#local.v2 .barra-txt .ico { width: 18px; height: 18px; }
@media (max-width: 420px) {
    #local.v2 .barra-btn { gap: 10px; padding-left: 12px; }
    #local.v2 .barra-txt { padding: 0 12px; }
    #local.v2 .barra-total { padding-left: 10px; font-size: 1.0625rem; }
}
/* Celular: los accesos y los pasos no se desarman cuando el texto ocupa 2 renglones ("Para el mate", "Mandalo por WhatsApp") */
@media (max-width: 429px) {
    #local.v2 .entrada strong { display: block; text-wrap: balance; }
    #local.v2 .entrada strong .ico { display: none; }
    .v2-pasos-fila li { flex-direction: column; justify-content: flex-start; text-align: center; gap: 5px; text-wrap: balance; }
}
@media (max-width: 374px) {
    #local.v2 .cab-nombre h1 { font-size: 1.65rem; }
    #local.v2 .logo { width: 68px; height: 68px; }
    #local.v2 .entrada strong { font-size: .9375rem; }
    #local.v2 .entrada strong .ico { display: none; }
    #local.v2 .barra-total { display: none; }
    #local.v2 .prods { gap: 10px; }
}

/* Compu */
@media (min-width: 960px) {
    #local.v2 .cab { padding: 34px 0 70px; display: block; }
    #local.v2 .cab > :not(.cab-portada) { max-width: 1100px; margin-left: auto; margin-right: auto; }
    #local.v2 .cab-info { padding: 30px 90px 0 24px; }
    #local.v2 .logo { width: 116px; height: 116px; }
    #local.v2 .cab-nombre { padding-left: 22px; }
    #local.v2 .cab-nombre h1 { font-size: 3.25rem; }
    #local.v2 .cab-lema { font-size: 1rem; }
    #local.v2 .cab > .estado { width: fit-content; max-width: 560px; margin: 22px 0 0 calc(max(0px, (100% - 1100px) / 2) + 24px); display: flex; }
    #local.v2 .cab > .entradas { max-width: 780px; margin: 24px 0 0 calc(max(0px, (100% - 1100px) / 2) + 24px); gap: 14px; }
    #local.v2 .entrada { min-height: 130px; }
    #local.v2 .cab-carro { top: 22px; right: max(22px, calc((100vw - 1100px) / 2)); width: 58px; height: 58px; }
    #local.v2 .cab-portada > img { object-position: 60% 45%; }
    #local.v2 .prods { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
    #local.v2 .tarjeta { width: auto; }
    #local.v2 .tarjeta-img { height: 170px; }
}
/* Modo liviano: sin sombras pesadas */
#local.v2.lite .prod, #local.v2.lite .tarjeta, #local.v2.lite .entrada { box-shadow: 0 1px 3px rgba(60, 30, 10, .12); }

/* ---------- Variante 2: dos pantallas (portada / carta) ---------- */
#local.v2:not(.v2-en-carta) .cats, #local.v2:not(.v2-en-carta) .carta, #local.v2:not(.v2-en-carta) .v2-carta-cab { display: none; }
#local.v2.v2-en-carta .cab, #local.v2.v2-en-carta .v2-pasos, #local.v2.v2-en-carta .franja, #local.v2.v2-en-carta .v2-home, #local.v2.v2-en-carta .v2-cats-sec, #local.v2.v2-en-carta .pie { display: none; }
#local.v2 .cats-lupa, #local.v2 .filtros { display: none; }

/* Portada: tarjetas de "Los más pedidos" con etiqueta y bajada */
#local.v2 .tarjeta-abrir { position: relative; }
#local.v2 .tarjeta-etq { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 8px; border-radius: 999px; background: rgba(255, 251, 244, .95); color: var(--texto); font-size: .8125rem; font-weight: 700; box-shadow: 0 2px 8px rgba(40, 20, 8, .15); }
#local.v2 .tarjeta-etq .ico { width: 15px; height: 15px; }
#local.v2 .tarjeta-sub { padding: 0 12px; font-size: .8125rem; color: var(--suave); line-height: 1.25; }
#local.v2 .tarjeta-nom { min-height: 0; }
#local.v2 .tarjeta-precio { padding-top: 8px; }

/* Portada: "Nuestras categorías" y barra de dirección + medios de pago */
#local.v2 .v2-home { padding: 10px 0 18px; }
#local.v2 .v2-home .sec-tit h2 .ico { color: var(--texto); width: 26px; height: 26px; }
#local.v2 .v2-cats-fila { display: flex; align-items: center; gap: 10px; padding: 12px 16px 4px; }
#local.v2 .v2-cats-home { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; }
#local.v2 .v2-cats-home::-webkit-scrollbar { display: none; }
#local.v2 .v2-cat { flex: none; display: grid; justify-items: center; align-content: center; gap: 6px; min-width: 78px; min-height: 84px; padding: 10px 14px; border-radius: 22px; background: var(--oro-claro, #F6E7D0); color: var(--texto); font-size: .875rem; font-weight: 600; }
#local.v2 .v2-cat .ico { width: 30px; height: 30px; stroke-width: 1.6; }
#local.v2 .v2-cats-mas { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sup); color: var(--texto); box-shadow: var(--sombra-card); }
#local.v2 .v2-info { display: flex; align-items: stretch; margin: 14px 16px 0; border-radius: 22px; background: var(--oro-claro, #F6E7D0); }
#local.v2 .v2-info button { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 14px; color: var(--texto); font-size: .8125rem; text-align: left; }
#local.v2 .v2-info .ico { width: 20px; height: 20px; flex: none; }
#local.v2 .v2-info-dir { flex: 1; min-width: 0; }
#local.v2 .v2-info-dir span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#local.v2 .v2-info-pago { flex: none; border-left: 1px solid rgba(43, 26, 18, .2); white-space: nowrap; }

/* Carta: cabecera con la foto esfumada, volver, logo, nombre, carrito y buscador */
#local.v2 .v2-carta-cab { position: relative; isolation: isolate; overflow: hidden; padding: 14px 16px 14px; background: var(--fondo); }
#local.v2 .v2-carta-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: blur(6px); transform: scale(1.1); opacity: .55; }
#local.v2 .v2-carta-cab::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(245, 237, 226, .55), rgba(245, 237, 226, .8)); }
#local.v2 .v2-carta-fila { display: flex; align-items: center; gap: 12px; }
#local.v2 .v2-volver { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sup); color: var(--texto); box-shadow: 0 2px 8px rgba(40, 20, 8, .1); }
#local.v2 .v2-marca { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--texto); text-decoration: none; }
#local.v2 .v2-marca .logo { width: 64px; height: 64px; }
#local.v2 .v2-marca strong { padding-left: 12px; border-left: 1.5px solid rgba(43, 26, 18, .35); font-family: var(--f-titulos); font-size: 1.5rem; line-height: 1.02; font-weight: 800; }
#local.v2 .v2-carta-fila .cab-carro { position: relative; top: auto; right: auto; flex: none; }
#local.v2 .v2-carta-busca .buscar, #local.v2.ver-buscar .v2-carta-busca .buscar { display: block; padding: 14px 0 0; background: none; border: 0; }
#local.v2 .v2-carta-busca .buscar-caja { min-height: 52px; border-radius: 999px; background: rgba(255, 251, 244, .92); border: 0; box-shadow: 0 2px 10px rgba(40, 20, 8, .08); }

/* Carta: píldoras con ícono (Todas + categorías) */
#local.v2 .cats { position: static; gap: 10px; padding: 4px 16px 12px; background: var(--fondo); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
#local.v2 .cats a, #local.v2 .cats .v2-todas-chip { flex: none; display: grid; justify-items: center; align-content: center; gap: 4px; min-width: 76px; min-height: 80px; padding: 10px 14px; border-radius: 22px; background: var(--sup); color: var(--texto); font-size: .875rem; font-weight: 600; border: 0; box-shadow: 0 2px 8px rgba(60, 30, 10, .07); }
#local.v2 .cats .ico { width: 28px; height: 28px; stroke-width: 1.6; }
#local.v2 .cats .activa { background: var(--marca); color: var(--sobre-marca); box-shadow: 0 6px 16px rgba(60, 30, 10, .25); }

/* Carta: "Nuestros productos" + Ordenar; con "Todas" se ven los títulos de cada categoría */
#local.v2 .v2-carta-tit { padding: 8px 16px 0; }
#local.v2 .v2-carta-tit h2 .ico { color: var(--oro, #B88A3E); }
#local.v2 .v2-orden { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--sup); box-shadow: inset 0 0 0 1px var(--linea); font-weight: 700; font-size: .9375rem; color: var(--texto); }
#local.v2 .v2-orden .ico { width: 18px; height: 18px; }
#local.v2 .v2-orden select { position: absolute; inset: 0; width: 100%; opacity: 0; font-size: 16px; cursor: pointer; }
#local.v2:not(.v2-todas) .cat > h2, #local.v2:not(.v2-todas) .cat-nota { display: none; }
#local.v2.v2-todas .cat > h2 { font-size: 1.25rem; padding-top: 22px; }
#local.v2.v2-todas .cat-sig, #local.v2.v2-todas .cat-nota { display: none; }
#local.v2.v2-ordenado .cat-sub { display: none; }
#local.v2 .prod-desc { -webkit-line-clamp: 3; }
#local.v2 .v2-carta-tit h2 { font-size: 1.375rem; white-space: nowrap; }
#local.v2 .v2-carta-tit h2 .ico { width: 26px; height: 26px; }
#local.v2:not(.v2-todas) .cat { padding-top: 0; margin-top: 0; }
#local.v2 .v2-carta-tit + .cat .prods, #local.v2:not(.v2-todas) .prods { margin-top: 12px; }
@media (max-width: 374px) { #local.v2 .v2-carta-tit h2 { font-size: 1.1875rem; } #local.v2 .v2-orden { padding: 0 12px; } }
@media (min-width: 960px) {
    #local.v2 .v2-carta-cab { padding: 20px max(24px, calc((100% - 1100px) / 2)); }
    #local.v2 .cats { padding-left: max(24px, calc((100% - 1100px) / 2)); padding-right: max(24px, calc((100% - 1100px) / 2)); }
    #local.v2 .v2-carta-tit, #local.v2.v2-en-carta .carta { max-width: none; margin: 0; padding-left: max(24px, calc((100% - 1100px) / 2)); padding-right: max(24px, calc((100% - 1100px) / 2)); }
    #local.v2 .v2-home > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
    #local.v2 .barra { width: 580px; padding: 0; border-radius: 0; box-shadow: none; }
    #local.v2 .barra-btn { max-width: none; }
}

/* ---------- Variante 2: "Tu pedido" a pantalla completa ---------- */
#local .hoja.v2-hoja[open] { align-items: stretch; }
#local .hoja.v2-hoja .hoja-caja { max-width: 600px; max-height: none; height: 100%; border-radius: 0; background: var(--fondo); }
#local .hoja.v2-hoja .hoja-cuerpo.v2-ped { padding: 0; gap: 0; display: block; background: var(--fondo); }
.v2-ped-top { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 22px 16px 54px; }
.v2-ped-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.v2-ped-top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--fondo) 0%, rgba(245, 237, 226, .85) 45%, rgba(245, 237, 226, .25) 100%); }
.v2-ped-marca { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; color: var(--texto); }
.v2-ped-marca .logo { width: 70px; height: 70px; border-radius: 50%; border: 0; box-shadow: 0 0 0 3px var(--sup), 0 0 0 5px var(--oro, #B88A3E), 0 6px 16px rgba(40, 20, 8, .2); }
.v2-ped-marca strong { padding-left: 14px; border-left: 1.5px solid rgba(43, 26, 18, .35); font-family: var(--f-titulos); font-size: 1.5rem; line-height: 1.04; font-weight: 800; }
.v2-ped-vaciar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sup); color: var(--texto); box-shadow: 0 6px 16px rgba(40, 20, 8, .16); }
.v2-ped-vaciar .ico { width: 24px; height: 24px; }
.v2-ped-panel { position: relative; margin-top: -34px; padding: 16px 16px 0; border-radius: 0 34px 0 0; background: var(--fondo); display: grid; gap: 14px; }
.v2-ped-tit { display: flex; align-items: center; gap: 14px; }
.v2-ped-tit h2 { font-family: var(--f-titulos); font-size: 2rem; line-height: 1.05; font-weight: 800; color: var(--texto); }
.v2-ped-tit p { margin-top: 4px; font-size: .9375rem; color: var(--suave); }
.v2-ped-panel .v2-volver { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sup); color: var(--texto); box-shadow: inset 0 0 0 1px var(--linea); }
.v2-ped-confirma { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-radius: 18px; background: var(--sup); box-shadow: inset 0 0 0 1.5px var(--marca); font-weight: 600; color: var(--texto); }
.v2-ped-confirma span { flex: 1 1 100%; }
.v2-ped-confirma button { min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; }
.v2-ped-confirma .btn-no { background: var(--fondo); color: var(--texto); }
.v2-ped-confirma .btn-si { background: var(--marca); color: var(--sobre-marca); }
.v2-ped-confirma[hidden] { display: none; }

/* Productos del pedido */
.v2-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.v2-item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 22px; background: var(--sup); box-shadow: 0 4px 16px rgba(60, 30, 10, .07); }
.v2-item-img { display: grid; place-items: center; width: 96px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--tinte); }
.v2-item-img img { width: 100%; height: 100%; object-fit: cover; }
.v2-item-img .dib { width: 70%; height: 70%; }
.v2-item-txt { display: grid; gap: 3px; min-width: 0; }
.v2-item-txt strong { font-family: var(--f-titulos); font-size: 1.0625rem; line-height: 1.2; font-weight: 700; color: var(--texto); }
.v2-item-det { font-size: .8125rem; color: var(--suave); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-item-txt > b { font-size: 1.125rem; font-weight: 800; color: var(--texto); }
.v2-item-der { display: grid; justify-items: end; gap: 8px; align-self: stretch; align-content: space-between; }
.v2-item-acc { display: flex; align-items: center; gap: 2px; }
.v2-item .cont.plano { background: var(--fondo); box-shadow: none; border-radius: 999px; }
.v2-item .cont button { width: 40px; height: 44px; }
.v2-item-mas { display: grid; place-items: center; width: 32px; height: 44px; color: var(--texto); border-left: 1px solid var(--linea); }
.v2-item-tot { font-size: 1.0625rem; font-weight: 800; color: var(--texto); padding-right: 6px; }
.v2-item-menu { position: absolute; right: 10px; top: 58px; z-index: 5; display: grid; min-width: 220px; padding: 6px; border-radius: 16px; background: var(--sup); box-shadow: 0 12px 30px rgba(30, 14, 6, .22), 0 0 0 1px var(--linea); }
.v2-item-menu[hidden] { display: none; }
.v2-item-menu button { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--texto); font-weight: 600; text-align: left; }
.v2-item-menu button .ico { width: 20px; height: 20px; }
@media (hover: hover) { .v2-item-menu button:hover { background: var(--fondo); } }

/* Complementá tu pedido */
.v2-comp .sec-tit { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v2-comp h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-titulos); font-size: 1.375rem; font-weight: 700; color: var(--texto); }
.v2-comp h3 .ico { width: 26px; height: 26px; color: var(--oro, #B88A3E); }
.v2-vermas { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: .9375rem; color: var(--texto); }
.v2-vermas .ico { width: 18px; height: 18px; }
.v2-comp-lista { list-style: none; margin: 8px -16px 0; padding: 4px 16px 8px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.v2-comp-lista::-webkit-scrollbar { display: none; }
.v2-comp-lista li { position: relative; flex: none; width: 140px; display: grid; gap: 4px; padding-bottom: 12px; border-radius: 18px; background: var(--sup); box-shadow: 0 4px 14px rgba(60, 30, 10, .07); overflow: hidden; }
.v2-comp-img { display: grid; place-items: center; height: 92px; background: var(--tinte); overflow: hidden; }
.v2-comp-img img { width: 100%; height: 100%; object-fit: cover; }
.v2-comp-nom { padding: 4px 10px 0; font-size: .875rem; font-weight: 600; line-height: 1.25; min-height: 2.5em; color: var(--texto); }
.v2-comp-lista li > b { padding: 0 10px; font-weight: 800; color: var(--texto); line-height: 44px; }
.v2-comp-lista .mas { position: absolute; right: 8px; bottom: 8px; background: var(--fondo); box-shadow: none; }
.v2-comp-lista .mas.con { background: var(--marca); color: var(--sobre-marca); }

/* Resumen */
.v2-resumen { padding: 16px 18px; border-radius: 22px; background: var(--sup); box-shadow: 0 4px 16px rgba(60, 30, 10, .07); }
.v2-resumen h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-titulos); font-size: 1.375rem; font-weight: 700; color: var(--texto); margin-bottom: 8px; }
.v2-resumen h3 .ico { width: 26px; height: 26px; }
.v2-resumen dl { display: grid; gap: 8px; margin: 0; }
.v2-resumen dl > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 1rem; color: var(--texto); }
.v2-resumen dt { display: flex; align-items: center; gap: 10px; }
.v2-resumen dt .ico { width: 22px; height: 22px; flex: none; }
.v2-resumen dd { margin: 0; white-space: nowrap; }
.v2-resumen .menos dd { color: #1E8A4C; }
.v2-resumen .total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--linea); }
.v2-resumen .total dt { font-family: var(--f-titulos); font-size: 1.5rem; font-weight: 700; }
.v2-resumen .total dd { font-size: 1.75rem; font-weight: 800; }

/* Dónde se retira / entrega */
.v2-donde { padding: 14px 16px; border-radius: 22px; background: var(--oro-claro, #F6E7D0); color: var(--texto); }
.v2-donde-fijo { display: flex; align-items: center; gap: 12px; }
.v2-donde-fijo > .ico { width: 26px; height: 26px; flex: none; }
.v2-donde-fijo span { display: grid; gap: 2px; }
.v2-donde-fijo strong { font-size: 1rem; }
.v2-donde-fijo small { font-size: .875rem; color: var(--suave); }

/* Botón y pie */
.v2-ped-pie { position: sticky; bottom: 0; z-index: 4; margin: 0 -16px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(245, 237, 226, 0), var(--fondo) 26%); text-align: center; }
.v2-continuar { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 62px; padding: 0 22px; border-radius: 999px; background: var(--marca); color: var(--sobre-marca); font-size: 1.1875rem; font-weight: 700; box-shadow: 0 12px 26px rgba(30, 14, 6, .3); }
.v2-continuar .ico { width: 22px; height: 22px; }
.v2-continuar .ico-wa { width: 28px; height: 28px; }
.v2-continuar:disabled { opacity: .55; box-shadow: none; }
.v2-seguro { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: .8125rem; color: var(--suave); }
.v2-seguro .ico { width: 16px; height: 16px; }
.v2-hecho { margin-top: 4px; font-size: .8125rem; color: var(--suave); }
.v2-hecho a { color: var(--texto); font-weight: 600; }
@media (min-width: 700px) {
    #local .hoja.v2-hoja[open] { align-items: stretch; justify-content: center; }
    #local .hoja.v2-hoja .hoja-caja { box-shadow: 0 0 60px rgba(0, 0, 0, .25); }
}

.v2-item-txt strong { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-item-det { -webkit-line-clamp: 1; }
.v2-item-txt > b { font-size: 1rem; }
.v2-item .cont b { min-width: 18px; }
.v2-comp h3 { font-size: 1.25rem; }
.v2-vermas { white-space: nowrap; }
.v2-ped-pie { margin-top: 2px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.v2-seguro { margin-top: 0; }
.v2-hecho { padding-bottom: 22px; text-align: center; }
.v2-comp h3 { white-space: nowrap; }
@media (max-width: 374px) { .v2-comp h3 { font-size: 1.0625rem; } .v2-ped-tit h2 { font-size: 1.625rem; } }
#local .hoja.v2-hoja .hoja-cuerpo.v2-ped { overflow-x: hidden; }

/* ---------- Variante 2: carta — categorías fijas al bajar, sin desbordes ---------- */
#local.v2.v2-en-carta .cats { position: -webkit-sticky; position: sticky; top: var(--cinta-h, 0px); z-index: 30; }
#local.v2 .cats.pegada { padding-top: 8px; padding-bottom: 8px; background: rgba(245, 237, 226, .97); box-shadow: 0 8px 16px -10px rgba(60, 30, 10, .35); }
#local.v2 .cats.pegada a, #local.v2 .cats.pegada .v2-todas-chip { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; padding: 6px 14px 6px 10px; border-radius: 999px; }
#local.v2 .cats.pegada .ico { width: 20px; height: 20px; }
#local.v2 .cat { scroll-margin-top: 80px; }
#local.v2 .v2-carta-tit h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#local.v2 .v2-orden { flex: none; }
@media (max-width: 359px) { #local.v2 .v2-orden span { display: none; } #local.v2 .v2-orden { width: 44px; padding: 0; justify-content: center; } }
@media (min-width: 960px) { body.con-barra #local.v2.v2-en-carta .carta { padding-bottom: 104px; } }
@media (max-width: 374px) { #local.v2 .v2-marca .logo { width: 52px; height: 52px; } #local.v2 .v2-marca { gap: 10px; } #local.v2 .v2-marca strong { padding-left: 10px; font-size: 1.1875rem; } #local.v2 .v2-carta-fila { gap: 8px; } }

/* ---------- Variante 2 "Tu pedido": igual a la referencia y fluido de 320 px a PC ---------- */
#local .hoja.v2-hoja .v2-ped-top { padding: 20px 16px 64px; gap: 12px; }
#local .hoja.v2-hoja .v2-ped-marca { gap: clamp(10px, 3.5vw, 16px); }
#local .hoja.v2-hoja .v2-ped-marca .logo { flex: none; width: clamp(58px, 18vw, 80px); height: clamp(58px, 18vw, 80px); }
#local .hoja.v2-hoja .v2-ped-marca strong { padding-left: clamp(10px, 3.5vw, 16px); font-size: clamp(1.25rem, 6vw, 1.875rem); }
#local .hoja.v2-hoja .v2-ped-vaciar { width: clamp(48px, 13vw, 56px); height: clamp(48px, 13vw, 56px); }
.v2-ped-panel { grid-template-columns: minmax(0, 1fr); margin-top: -46px; padding-top: 20px; border-radius: 0; border-top-right-radius: 100% 46px; }
.v2-ped-tit h2 { font-size: clamp(1.625rem, 8vw, 2.25rem); }
.v2-ped-tit p { font-size: clamp(.875rem, 3.6vw, 1rem); }
.v2-ped-tit > div { min-width: 0; }
/* Tarjeta: foto | nombre, detalle y precio | contador y ⋮ arriba, total abajo */
.v2-item { grid-template-columns: clamp(64px, 24%, 112px) minmax(0, 1fr) auto; gap: clamp(8px, 3vw, 14px); padding: 10px; }
.v2-item-img { width: 100%; height: auto; aspect-ratio: 6 / 5; }
.v2-item-txt strong { font-size: clamp(.9375rem, 3.9vw, 1.125rem); }
.v2-item-txt > b { font-size: clamp(1rem, 4.2vw, 1.1875rem); }
.v2-item-der { grid-column: auto; display: grid; justify-items: end; align-content: space-between; align-self: stretch; gap: 8px; }
.v2-item .cont button { width: clamp(34px, 9vw, 42px); height: 44px; }
.v2-item-mas { width: 30px; }
.v2-item-tot { font-size: clamp(1rem, 4.2vw, 1.1875rem); }
.v2-item-menu { max-width: calc(100% - 20px); }
@media (max-width: 349px) {
    .v2-item { grid-template-columns: 64px minmax(0, 1fr); }
    .v2-item-der { grid-column: 2 / -1; display: flex; justify-content: space-between; align-items: center; }
}
/* Complementos: casi tres tarjetas a la vista, deslizando para ver más */
.v2-comp-lista li { width: max(118px, calc((100% - 24px) / 2.85)); }
.v2-comp-img { height: auto; aspect-ratio: 16 / 10; }
/* Botón en una línea siempre */
.v2-continuar { white-space: nowrap; gap: 10px; font-size: clamp(1rem, 4.6vw, 1.25rem); }
@media (max-width: 349px) { .v2-continuar { padding: 0 14px; gap: 8px; font-size: .9375rem; } .v2-continuar .ico-wa { width: 24px; height: 24px; } }
.v2-seguro::before, .v2-seguro::after { content: ""; flex: 1; max-width: 110px; height: 1px; background: var(--linea); }
.v2-comp h3 { min-width: 0; }
@media (max-width: 349px) { .v2-comp h3 { font-size: 1rem; gap: 6px; } .v2-comp h3 .ico { width: 22px; height: 22px; } .v2-vermas { font-size: .875rem; gap: 4px; } }
.v2-item { grid-template-columns: clamp(64px, 22%, 112px) minmax(0, 1fr) auto; }
.v2-item .cont button { width: clamp(36px, 9vw, 42px); }
@media (max-width: 349px) { .v2-item { grid-template-columns: 64px minmax(0, 1fr); } }
/* ---- Ficha: la foto llena el recuadro y se ve entera (antes una foto cuadrada se salía y se cortaba abajo en el celular) ---- */
#local.tienda .pdp-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }

/* ---- Barra de beneficios (estilo comercial): una sola franja con separadores, no tarjetas sueltas ---- */
#local.tienda.t-comercial .t-gar { background: var(--t-fondo2); border: 0; padding-block: 18px; }
#local.tienda.t-comercial .t-gar-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; background: #fff; border: 1px solid var(--t-linea); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); overflow: hidden; }
#local.tienda.t-comercial .t-gar-it { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 0; background: none; min-width: 0; }
#local.tienda.t-comercial .t-gar-it + .t-gar-it { border-left: 1px solid var(--t-linea); }
#local.tienda.t-comercial .t-gar-it > .ico { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--t-azul); color: var(--t-promo); }
#local.tienda.t-comercial .t-gar-it strong { font-size: .9375rem; line-height: 1.25; color: var(--t-azul); letter-spacing: -.01em; }
#local.tienda.t-comercial .t-gar-it small { margin-top: 2px; font-size: .8125rem; line-height: 1.35; color: var(--t-suave); }
@media (max-width: 999px) {
    #local.tienda.t-comercial .t-gar-in { grid-template-columns: 1fr 1fr; }
    #local.tienda.t-comercial .t-gar-it { flex-direction: column; justify-content: flex-start; text-align: center; gap: 8px; padding: 16px 10px; }
    #local.tienda.t-comercial .t-gar-it + .t-gar-it { border-left: 0; }
    #local.tienda.t-comercial .t-gar-it:nth-child(2n) { border-left: 1px solid var(--t-linea); }
    #local.tienda.t-comercial .t-gar-it:nth-child(n+3) { border-top: 1px solid var(--t-linea); }
    #local.tienda.t-comercial .t-gar-it > .ico { width: 42px; height: 42px; padding: 10px; }
    #local.tienda.t-comercial .t-gar-it strong { font-size: .875rem; }
    #local.tienda.t-comercial .t-gar-it small { font-size: .75rem; }
}
@media (max-width: 339px) {
    #local.tienda.t-comercial .t-gar-in { grid-template-columns: 1fr 1fr; }
    #local.tienda.t-comercial .t-gar-it { padding: 14px 6px; }
}
/* misma alineación que el resto del contenido (respeta el margen lateral de .t-cont) */
#local.tienda.t-comercial .t-gar { --gut: 16px; }
#local.tienda.t-comercial .t-gar-in { width: calc(100% - 2 * var(--gut)); max-width: calc(1240px - 2 * var(--gut)); }
@media (min-width: 640px) { #local.tienda.t-comercial .t-gar { --gut: 24px; } }
@media (min-width: 1000px) { #local.tienda.t-comercial .t-gar { --gut: 32px; } }
@media (max-width: 339px) { #local.tienda.t-comercial .t-gar { --gut: 10px; } }
@media (min-width: 640px) and (max-width: 999px) {
    #local.tienda.t-comercial .t-gar-it { flex-direction: row; text-align: left; gap: 14px; padding: 18px 20px; }
}

/* ===== Pie de tienda online (L.pieTienda): franja de ofertas + 6 columnas + legales ===== */
#local.tienda .t-pie-news { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
#local.tienda .t-pie-news strong { color: #fff; font-weight: 800; }
#local.tienda .t-pie-news span { font-size: .875rem; line-height: 1.45; }
#local.tienda .t-pie-news a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 0 16px; border-radius: 12px; background: #25D366; color: #fff; font-weight: 800; font-size: .9375rem; text-decoration: none; }
#local.tienda .t-pie-news a svg { width: 18px; height: 18px; }
#local.tienda .t-pie-lista a, #local.tienda .t-pie-lista p { display: block; margin: 0 0 10px; color: rgba(255,255,255,.78); text-decoration: none; line-height: 1.45; }
#local.tienda .t-pie-lista a:hover { color: #fff; }
#local.tienda .t-pie-lista p b { display: block; color: #fff; font-weight: 700; }
#local.tienda .t-pie-lista p span { display: block; }
#local.tienda .t-pie-lista .t-pie-link { display: inline-flex; align-items: center; gap: 6px; color: var(--t-promo); font-weight: 800; }
#local.tienda .t-pie-lista .t-pie-link .ico { width: 15px; height: 15px; }
#local.tienda .t-pie-lista .t-pie-wa, #local.tienda .t-pie-lista .t-pie-red { display: flex; align-items: center; gap: 10px; }
#local.tienda .t-pie-lista .t-pie-wa svg { flex: none; width: 34px; height: 34px; padding: 8px; box-sizing: border-box; border-radius: 50%; background: #25D366; color: #fff; }
#local.tienda .t-pie-lista .t-pie-wa b { display: block; color: #fff; font-size: 1rem; }
#local.tienda .t-pie-lista .t-pie-wa small { display: block; font-size: .75rem; color: rgba(255,255,255,.6); }
#local.tienda .t-pie-lista .t-pie-red .ico { flex: none; width: 34px; height: 34px; padding: 8px; box-sizing: border-box; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
#local.tienda .t-pie-lista .t-pie-nota { font-size: .8125rem; color: rgba(255,255,255,.6); }
#local.tienda .t-pie-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-block: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; color: rgba(255,255,255,.6); }
#local.tienda .t-pie-arrep { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none; }
#local.tienda .t-pie-arrep:hover { background: rgba(255,255,255,.1); }
@media (min-width: 700px) {
    #local.tienda.t-comercial .t-pie-in6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
    #local.tienda.t-comercial .t-pie-in6 { grid-template-columns: 1.3fr repeat(5, 1fr); gap: 36px; }
}

/* ===== Páginas informativas #/info/<id> ===== */
#local.tienda .info-pag { max-width: 820px; padding-block: 8px 48px; }
#local.tienda .info-cab { margin: 8px 0 24px; }
#local.tienda .info-cab h1 { margin: 6px 0 10px; font: 800 clamp(1.75rem, 4vw, 2.375rem)/1.1 var(--f-titulos); color: var(--t-tinta); letter-spacing: -.02em; }
#local.tienda .info-cab p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--t-suave); }
#local.tienda .info-cuerpo section { padding: 18px 0; border-top: 1px solid var(--t-linea); }
#local.tienda .info-cuerpo h2 { margin: 0 0 8px; font: 800 1.125rem/1.3 var(--f-titulos); color: var(--t-tinta); }
#local.tienda .info-cuerpo p, #local.tienda .info-cuerpo li { margin: 0 0 8px; font-size: 1rem; line-height: 1.6; color: var(--t-tinta); }
#local.tienda .info-cuerpo ul { margin: 0; padding-left: 20px; }
#local.tienda .info-chico { margin: 14px 0 0; font-size: .8125rem; color: var(--t-suave); }
#local.tienda .info-cats { display: grid; gap: 10px; margin-top: 8px; }
#local.tienda .info-cats a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 16px 18px; border: 1px solid var(--t-linea); border-radius: 14px; background: #fff; color: var(--t-tinta); text-decoration: none; }
#local.tienda .info-cats a strong { font-weight: 800; }
#local.tienda .info-cats a small { grid-row: 2; color: var(--t-suave); }
#local.tienda .info-cats a .ico { grid-row: 1 / 3; grid-column: 2; width: 18px; height: 18px; color: var(--t-azul); }
#local.tienda .info-cats a:hover { border-color: var(--t-azul); }
#local.tienda .info-contacto { display: grid; gap: 12px; margin-bottom: 8px; }
#local.tienda .info-contacto article { padding: 18px; border: 1px solid var(--t-linea); border-radius: 14px; background: #fff; }
#local.tienda .info-contacto h2 { margin: 0 0 6px; font: 800 1.125rem/1.3 var(--f-titulos); color: var(--t-tinta); }
#local.tienda .info-contacto p { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; color: var(--t-suave); }
#local.tienda .info-contacto p .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; }
#local.tienda .info-bts { display: flex; flex-wrap: wrap; gap: 8px; }
#local.tienda .info-form { display: grid; gap: 14px; margin-bottom: 24px; padding: 20px; border: 1px solid var(--t-linea); border-radius: 16px; background: #fff; }
#local.tienda .info-form label { display: grid; gap: 6px; font-weight: 700; font-size: .9375rem; color: var(--t-tinta); }
#local.tienda .info-form label small { font-weight: 500; color: var(--t-suave); }
#local.tienda .info-form input, #local.tienda .info-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; box-sizing: border-box; border: 1.5px solid var(--t-linea); border-radius: 12px; font: 500 1rem Inter, sans-serif; color: var(--t-tinta); background: #fff; }
#local.tienda .info-form input:focus, #local.tienda .info-form textarea:focus { outline: 0; border-color: var(--t-azul); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-azul) 15%, transparent); }
#local.tienda .info-form .mal { border-color: #C0362C; }
#local.tienda .info-err { margin: 0; color: #C0362C; font-weight: 700; }
#local.tienda .info-form .t-pie-b1 { width: 100%; min-height: 52px; cursor: pointer; }
@media (min-width: 700px) {
    #local.tienda .info-cats { grid-template-columns: 1fr 1fr; }
    #local.tienda .info-contacto { grid-template-columns: 1fr 1fr; }
    #local.tienda .info-form { grid-template-columns: 1fr 1fr; }
    #local.tienda .info-form label:nth-of-type(5), #local.tienda .info-form label:nth-of-type(6), #local.tienda .info-form > p, #local.tienda .info-form button { grid-column: 1 / -1; }
}
#local.tienda.t-comercial .t-pie-news strong { font: 800 1rem/1.3 Inter, sans-serif; letter-spacing: 0; }
#local.tienda.t-comercial .t-pie-news a { white-space: nowrap; font-size: .875rem; padding: 0 12px; }

/* ===== Auditoría tienda (nov 2026): flotantes, precios a cotizar, pie y legibilidad ===== */
.fab { transition: transform .28s ease, opacity .28s ease; }
.fab.fab-fuera { transform: translateY(calc(100% + 40px)); opacity: 0; }
.fab.fab-fuera > * { pointer-events: none; }
/* En la ficha y en el armador del celular ya hay botón de WhatsApp y barra fija: los flotantes tapaban precios y botones */
@media (max-width: 999px) { body:has(#local.vista-pdp) .fab, body:has(#local.vista-ar) .fab { display: none; } }
/* Base u otra parte sin precio (se fabrica a medida) */
#local.tienda .tc-cotiza { display: block; margin-top: 2px; font-size: .75rem; font-weight: 700; color: #B45309; }
.ar-desde .ar-cotiza { display: block; font-style: normal; font-size: .75rem; font-weight: 700; color: #B45309; }
/* Pie: títulos de dos líneas sin encimarse; links cómodos de tocar */
#local.tienda.t-comercial .t-pie-d h3 { line-height: 1.35; }
@media (hover: none), (max-width: 999px) { #local.tienda .t-pie-lista a { display: flex; align-items: center; min-height: 40px; margin: 0; } }
/* Armador en PC: 6 medidas en 3 columnas (no queda una sola abajo) */
@media (min-width: 1000px) { .ar-meds { grid-template-columns: repeat(3, 1fr); } }
/* Datos chicos de las tarjetas: mínimo 12px (público grande) */
#local.tienda.t-comercial .tc-ficha i { font-size: .75rem; }
#local.tienda.t-comercial .tc-cuota span { font-size: .75rem; }

/* ---------- Variante 2: parte de abajo de la portada al nivel de arriba ---------- */
/* Accesos rápidos: dirección y medios de pago como dos tarjetas */
#local.v2 .v2-info { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; background: none; border-radius: 0; }
#local.v2 .v2-info button { gap: 10px; min-height: 64px; padding: 10px 12px; border-radius: 20px; background: var(--sup); box-shadow: 0 4px 16px rgba(60, 30, 10, .07); font-size: .8125rem; font-weight: 600; line-height: 1.3; }
#local.v2 .v2-info .ico { box-sizing: content-box; width: 18px; height: 18px; padding: 9px; border-radius: 50%; background: var(--oro-claro, #F6E7D0); color: var(--oro-osc, #8A6424); }
/* Bloque de información */
#local.v2 .v2-pie { margin-top: 28px; padding: 26px 16px 0; gap: 14px; background: linear-gradient(180deg, var(--fondo), var(--oro-claro, #F6E7D0) 140%); border-radius: 34px 34px 0 0; }
#local.v2 .v2-pie > .sec-tit { padding: 0; }
#local.v2 .v2-pie .caja { padding: 18px; border-radius: 24px; background: var(--sup); box-shadow: 0 6px 20px rgba(60, 30, 10, .08); }
#local.v2 .v2-pie .caja h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--f-titulos); font-size: 1.3125rem; font-weight: 700; color: var(--texto); }
#local.v2 .v2-pie .caja h3 .ico { box-sizing: content-box; flex: none; width: 20px; height: 20px; padding: 10px; border-radius: 50%; background: var(--oro-claro, #F6E7D0); color: var(--oro-osc, #8A6424); }
/* Horario */
#local.v2 .v2-pie .info-estado { gap: 12px; }
#local.v2 .v2-pie .info-estado .info-ico { width: 44px; height: 44px; }
#local.v2 .v2-pie .info-estado strong { font-family: var(--f-titulos); font-size: 1.3125rem; }
#local.v2 .v2-pie .info-semana summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: 12px; padding: 0 16px; border-radius: 999px; background: var(--fondo); font-weight: 700; }
#local.v2 .v2-pie .info-semana[open] summary { margin-bottom: 8px; }
#local.v2 .v2-pie .horas .hoy { border-radius: 12px; background: var(--oro-claro, #F6E7D0); }
/* Medios de pago: mosaicos */
#local.v2 .v2-pie .info-pagos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); gap: 10px; }
#local.v2 .v2-pie .info-pagos li { flex-wrap: wrap; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 16px; background: var(--fondo); font-size: .9375rem; }
#local.v2 .v2-pie .info-pagos li > .ico { box-sizing: content-box; width: 18px; height: 18px; padding: 8px; border-radius: 50%; background: var(--sup); color: var(--texto); }
/* Dónde retirar */
#local.v2 .v2-pie .pie-dir { font-size: 1.0625rem; line-height: 1.35; }
#local.v2 .v2-pie .pie-dir > .ico { display: none; }
#local.v2 .v2-pie .pie-dir small { margin-top: 6px; display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--ok-f); color: var(--ok); font-weight: 600; font-size: .8125rem; }
#local.v2 .v2-pie .info-btns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 16px; }
#local.v2 .v2-pie .info-btns .btn { min-height: 52px; border-radius: 999px; font-weight: 700; font-size: .9375rem; white-space: nowrap; }
#local.v2 .v2-pie .info-btns .btn:first-child { background: var(--marca); color: var(--sobre-marca); border-color: var(--marca); box-shadow: 0 8px 18px rgba(30, 14, 6, .22); }
#local.v2 .v2-pie .info-btns .btn + .btn { background: var(--sup); color: var(--texto); border: 1.5px solid #25D366; }
#local.v2 .v2-pie .info-btns .btn + .btn svg { color: #25D366; }
#local.v2 .v2-pie .info-ig { justify-content: center; margin-top: 10px; }
/* Cierre de marca: franja oscura con logo */
#local.v2 .v2-pie-marca { display: grid; justify-items: center; gap: 8px; margin: 14px -16px 0; padding: 34px 20px 0; border-radius: 34px 34px 0 0; background: var(--marca); color: var(--sobre-marca); text-align: center; }
#local.v2 .v2-pie-marca .logo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--marca), 0 0 0 5px var(--oro, #B88A3E); }
#local.v2 .v2-pie-marca strong { margin-top: 6px; font-family: var(--f-titulos); font-size: 1.625rem; font-weight: 800; line-height: 1.1; }
#local.v2 .v2-pie-marca span { max-width: 30ch; font-size: .9375rem; opacity: .8; }
#local.v2 .v2-pie .pie-firma { margin: 0 -16px; padding: 20px 20px calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--marca); color: var(--sobre-marca); text-align: center; justify-items: center; font-size: .75rem; line-height: 1.45; }
#local.v2 .v2-pie .pie-firma { opacity: 1; }
#local.v2 .v2-pie .pie-firma a { display: inline-flex; align-items: center; min-height: 44px; color: var(--oro, #E2B66A); font-weight: 700; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
#local.v2 .v2-pie .v2-pie-marca + .pie-firma { border-top: 0; }
body.con-barra #local.v2 .v2-pie .pie-firma { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
body.con-barra:has(#local.v2:not(.v2-en-carta)) { padding-bottom: 0; }
@media (min-width: 720px) {
    #local.v2 .v2-pie { padding-left: max(24px, calc((100% - 1100px) / 2)); padding-right: max(24px, calc((100% - 1100px) / 2)); grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; }
    #local.v2 .v2-pie > .sec-tit, #local.v2 .v2-pie-marca, #local.v2 .v2-pie .pie-firma { grid-column: 1 / -1; }
    #local.v2 .v2-pie .caja { grid-column: auto !important; grid-row: auto !important; height: 100%; }
    #local.v2 .v2-pie-marca, #local.v2 .v2-pie .pie-firma { margin-left: calc(-1 * max(24px, calc((100% - 1100px) / 2))); margin-right: calc(-1 * max(24px, calc((100% - 1100px) / 2))); }
}
@media (min-width: 960px) { body.con-barra #local.v2 .v2-pie .pie-firma { padding-bottom: 110px; } }
#local.v2 .v2-info button { min-width: 0; }
#local.v2 .v2-info button span { min-width: 0; white-space: normal; }
@media (max-width: 359px) { #local.v2 .v2-info .ico { padding: 7px; } #local.v2 .v2-info button { gap: 8px; padding: 10px; } }
#local.v2 .v2-pie { margin-top: 10px; overflow-x: clip; }
#local.v2 .v2-pie-marca { margin-bottom: -14px; padding-bottom: 6px; }
#local.v2 .v2-pie-marca span { max-width: 38ch; }
#local.v2 .v2-pie .info-pagos { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
#local.v2 .v2-pie .info-pagos li { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 8px; padding: 12px; font-size: .875rem; line-height: 1.25; }
#local.v2 .v2-pie .pie-dir span { display: grid; gap: 8px; justify-items: start; }
#local.v2 .v2-pie .pie-dir small { margin-top: 0; }
@media (min-width: 720px) {
    #local.v2 .v2-pie-marca, #local.v2 .v2-pie .pie-firma { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
    #local.v2 .v2-pie-marca { margin-top: 24px; }
}

/* ---------- Variante 2: categorías con foto, arriba de "Los más pedidos" ---------- */
#local.v2 .v2-cats-sec { padding: 14px 0 6px; }
#local.v2 .v2-cats-sec .sec-tit h2 .ico { color: var(--oro, #B88A3E); width: 26px; height: 26px; }
#local.v2 .v2-cats-sec .v2-cats-home { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 16px; scrollbar-width: none; padding: 12px 16px 10px; }
#local.v2 .v2-cats-sec .v2-cat { position: relative; flex: none; scroll-snap-align: start; display: grid; grid-template-rows: auto auto; justify-items: center; align-content: start; gap: 0; width: clamp(104px, calc((100vw - 56px) / 3.3), 150px); min-height: 0; padding: 0 0 12px; border-radius: 22px; background: var(--sup); box-shadow: 0 4px 16px rgba(60, 30, 10, .08); overflow: hidden; font-size: .9375rem; font-weight: 700; color: var(--texto); }
#local.v2 .v2-cat-foto { display: block; width: 100%; aspect-ratio: 5 / 4; background: var(--oro-claro, #F6E7D0); overflow: hidden; }
#local.v2 .v2-cat-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
@media (hover: hover) { #local.v2 .v2-cat:hover .v2-cat-foto img { transform: scale(1.05); } }
#local.v2 .v2-cats-sec .v2-cat .v2-cat-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -28px; border-radius: 50%; background: var(--sup); color: var(--texto); box-shadow: 0 0 0 3px var(--sup), 0 6px 14px rgba(40, 20, 8, .18); position: relative; }
#local.v2 .v2-cats-sec .v2-cat .v2-cat-ico .ico { width: 30px; height: 30px; stroke-width: 1.6; }
#local.v2 .v2-cat-nom { margin-top: 6px; padding: 0 8px; line-height: 1.2; text-align: center; }
/* Un nombre largo ("Hamburguesas") no ensancha la tarjeta: la columna queda fija y la letra se ajusta al ancho */
#local.v2 .v2-cats-sec .v2-cat { grid-template-columns: minmax(0, 1fr); }
#local.v2 .v2-cats-sec .v2-cat-nom { max-width: 100%; padding: 0 3px; font-size: clamp(.6875rem, 3.1vw, .875rem); overflow-wrap: anywhere; }
#local.v2 .v2-cat:not(.con-foto) .v2-cat-ico { margin-top: -26px; background: var(--oro-claro, #F6E7D0); }
#local.v2 .v2-cats-sec .v2-cat:focus-visible { outline: 3px solid var(--oro, #B88A3E); outline-offset: 2px; }
#local.v2 .v2-home { padding-top: 0; }
@media (min-width: 720px) {
    #local.v2 .v2-cats-sec .v2-cats-home { padding-left: max(16px, calc((100% - 1100px) / 2)); padding-right: max(16px, calc((100% - 1100px) / 2)); scroll-padding-left: max(16px, calc((100% - 1100px) / 2)); }
    #local.v2 .v2-cats-sec .v2-cat { width: 168px; }
}
@media (min-width: 720px) {
    #local.v2 .v2-cats-sec > .sec-tit, #local.v2 .franja > .sec-tit, #local.v2 .franja > h2, #local.v2 .franja > .fila-x { padding-left: max(16px, calc((100% - 1100px) / 2)); padding-right: max(16px, calc((100% - 1100px) / 2)); scroll-padding-left: max(16px, calc((100% - 1100px) / 2)); }
}
@media (max-width: 374px) { #local.v2 .sec-tit h2 { font-size: 1.25rem; gap: 8px; white-space: nowrap; } #local.v2 .sec-tit h2 .ico { width: 22px; height: 22px; } #local.v2 .sec-tit a { font-size: .875rem; } }
@media (max-width: 359px) { #local.v2 .sec-tit h2 { font-size: 1.125rem; min-width: 0; } #local.v2 .sec-tit a { gap: 4px; } }
#local.v2 .v2-carta-tit h2 { font-size: clamp(1.0625rem, 4.9vw, 1.5rem); }
#local.v2 .cats, #local.v2 .v2-carta-cab { overflow-anchor: none; }
/* Variante 2: la información del local se ve tocando horarios, dirección o medios de pago; abajo queda solo el cierre de marca */
#local.v2 .v2-pie { margin-top: 28px; padding-top: 0; background: none; border-radius: 0; gap: 0; }
#local.v2 .v2-pie-marca { margin-top: 0; margin-bottom: 0; }
@media (min-width: 720px) { #local.v2 .v2-pie-marca { margin-top: 0; } }

/* =====================================================================
   VARIANTE 2 · AUDITORÍA (precios, hojas con el mismo estilo, compu)
   ===================================================================== */
/* Precios: nunca quedan tapados por el botón + ("Desde" arriba del número) */
#local.v2 .prod-precio { right: 58px; white-space: nowrap; overflow: hidden; text-overflow: clip; font-size: clamp(1rem, 4.6vw, 1.1875rem); line-height: 1.15; }
#local.v2 .prod-precio small, #local.v2 .tarjeta-precio small { display: block; font-size: .75rem; font-weight: 600; color: var(--suave); line-height: 1.2; }
#local.v2 .prod:has(.prod-precio small) .prod-abrir { padding-bottom: 76px; }
#local.v2 .tarjeta-precio { padding-right: 60px; white-space: nowrap; }
.v2-comp-lista li > b { padding-right: 56px; white-space: nowrap; font-size: clamp(.9375rem, 4vw, 1rem); }
.v2-comp-lista li > b small { display: block; font-size: .75rem; font-weight: 600; color: var(--suave); line-height: 1; }
#local .hoja.v2-hoja .v2-comp-lista li { width: max(128px, calc((100% - 24px) / 2.45)); }
.v2-comp h3 { min-width: 0; font-size: clamp(1rem, 4.6vw, 1.25rem); }
@media (max-width: 349px) { .v2-comp h3 { gap: 6px; } .v2-comp h3 .ico { width: 22px; height: 22px; } .v2-vermas { font-size: .875rem; gap: 4px; } }
.v2-vermas { flex: none; }

/* Todas las hojas (producto, datos y pago, reserva, info, enviado) con el lenguaje de la variante 2 */
#local .hoja.v2-ui .hoja-caja { background: var(--fondo); }
#local .hoja.v2-ui .hoja-cab { background: var(--sup); }
#local .hoja.v2-ui .hoja-tit h2 { font-family: var(--f-titulos); font-size: clamp(1.25rem, 5.4vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; }
#local .hoja.v2-ui .hoja-paso { color: var(--oro-osc, #8A6424); font-weight: 700; letter-spacing: .02em; }
#local .hoja.v2-ui .hoja-cuerpo.gris { background: var(--fondo); gap: 12px; }
#local .hoja.v2-ui .caja { border: 0; border-radius: 22px; background: var(--sup); box-shadow: 0 4px 16px rgba(60, 30, 10, .07); }
#local .hoja.v2-ui .caja h3, #local .hoja.v2-ui .pagos > legend { display: flex; align-items: center; gap: 10px; font-family: var(--f-titulos); font-size: 1.1875rem; font-weight: 700; color: var(--texto); }
#local .hoja.v2-ui .caja h3 .ico, #local .hoja.v2-ui .pagos > legend .ico { box-sizing: content-box; flex: none; width: 18px; height: 18px; padding: 8px; border-radius: 50%; background: var(--oro-claro, #F6E7D0); color: var(--oro-osc, #8A6424); }
#local .hoja.v2-ui .caja h3:has(.ico) { margin-bottom: 12px; }
#local .hoja.v2-ui .pagos > legend { margin-bottom: 10px; }
#local .hoja.v2-ui .pago { border-radius: 16px; border-color: var(--linea); background: var(--sup); transition: border-color .15s, background-color .15s; }
#local .hoja.v2-ui .pago.on { border-color: var(--marca); box-shadow: inset 0 0 0 1px var(--marca); background: var(--oro-claro, #F6E7D0); }
#local .hoja.v2-ui .campo input, #local .hoja.v2-ui .campo select { border-radius: 14px; background: #fff; }
#local .hoja.v2-ui .hoja-pie { background: var(--sup); }
#local .hoja.v2-ui .hoja-pie .btn, #local .hoja.v2-ui .pd-pie .btn { border-radius: 999px; }
#local .hoja.v2-ui .aviso-wa { border-radius: 16px; background: var(--oro-claro, #F6E7D0); }
#local .hoja.v2-ui .btn-wa .wa-total { margin-left: 2px; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 349px) { #local .hoja.v2-ui .btn-wa .wa-total { display: none; } }

/* Producto: foto protagonista, la cruz flota sobre la foto y el nombre va grande abajo */
#local .hoja.v2-ui[data-vista="producto"] .hoja-caja { position: relative; }
#local .hoja.v2-ui[data-vista="producto"]:has(.pd-img:not([hidden])) .hoja-cab { position: absolute; top: 0; left: 0; right: 0; z-index: 5; border: 0; background: none; pointer-events: none; }
#local .hoja.v2-ui[data-vista="producto"]:has(.pd-img:not([hidden])) .hoja-tit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#local .hoja.v2-ui[data-vista="producto"]:has(.pd-img:not([hidden])) .hoja-cab .hoja-x { margin-left: auto; pointer-events: auto; background: rgba(255, 251, 244, .94); box-shadow: 0 2px 10px rgba(40, 20, 8, .2); }
#local .hoja.v2-ui[data-vista="producto"] .pd-img { border-radius: 0 0 28px 28px; }
#local .hoja.v2-ui[data-vista="producto"] .hoja-cuerpo { background: var(--fondo); }
#local .hoja.v2-ui[data-vista="producto"] .pd-img[hidden] ~ .pd-info .pd-tit { display: none; }
.pd-tit { margin: 4px 0 6px; font-family: var(--f-titulos); font-size: clamp(1.5rem, 6.6vw, 1.875rem); font-weight: 700; line-height: 1.1; color: var(--texto); }
#local .hoja.v2-ui .pd-info .pd-desde { font-size: 1.375rem; font-weight: 800; }
#local .hoja.v2-ui .pd-info .pd-desde small { font-size: .875rem; font-weight: 600; color: var(--suave); }
#local .hoja.v2-ui .g-cab { background: var(--fondo); }
#local .hoja.v2-ui .g-cab-in { background: var(--sup); border-radius: 16px; box-shadow: 0 2px 10px rgba(60, 30, 10, .06); }
#local .hoja.v2-ui .g-tit { font-family: var(--f-titulos); font-size: 1.125rem; }
#local .hoja.v2-ui .g-tit small { font-family: var(--f-texto, inherit); }
#local .hoja.v2-ui .pd-grupos .op { margin: 0 2px; }
#local .hoja.v2-ui .pd-pie .cont { background: var(--fondo); border-radius: 999px; }
@media (min-width: 720px) {
    #local .hoja.v2-ui[data-vista="producto"] .pd-img { border-radius: 22px; }
    #local .hoja.v2-ui[data-vista="producto"] .pd-tit { padding-right: 48px; }
}

/* Compu: las categorías de la portada llenan el ancho (si son muchas, siguen deslizando) */
@media (min-width: 960px) {
    #local.v2 .v2-cats-sec .v2-cat { flex: 1 0 168px; width: auto; max-width: 240px; }
}

/* Tu pedido vacío (variante 2) */
#local .hoja.v2-ui .hoja-cuerpo.v2-vacio { flex: 1; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 32px 24px 48px; text-align: center; background: var(--fondo); }
.v2-vacio-ico { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 6px; border-radius: 50%; background: var(--oro-claro, #F6E7D0); color: var(--oro-osc, #8A6424); }
.v2-vacio-ico .ico { width: 42px; height: 42px; }
.v2-vacio h3 { font-family: var(--f-titulos); font-size: 1.625rem; font-weight: 700; color: var(--texto); }
.v2-vacio p { max-width: 30ch; color: var(--suave); }
.v2-vacio .btn { margin-top: 10px; min-width: 220px; gap: 8px; border-radius: 999px; }
.v2-vacio .btn .ico { width: 18px; height: 18px; }

/* Datos y pago (variante 2): el día del encargo no se corta en celulares angostos; avisos con el tono de la marca */
@media (max-width: 419px) { #local .hoja.v2-ui .enc-filas { grid-template-columns: minmax(0, 1fr); } }
#local .hoja.v2-ui .aviso-ant { background: var(--oro-claro, #F6E7D0); color: var(--texto); border-radius: 14px; }
#local .hoja.v2-ui .aviso-ant .ico { color: var(--oro-osc, #8A6424); }
/* Celulares angostos: "Ver más" queda como botón redondo con flecha para que el título entre entero */
@media (max-width: 374px) {
    .v2-vermas { font-size: 0; gap: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--sup); box-shadow: 0 2px 8px rgba(60, 30, 10, .08); }
    .v2-vermas .ico { width: 20px; height: 20px; }
}
/* Flechas de los carruseles: 44 px para que se puedan tocar cómodas */
#local.v2 :is(.fila-x, .cats, .comp-lista) > .flecha-x { width: 44px; height: 44px; }
#local.v2 :is(.fila-x, .cats, .comp-lista) > .flecha-x.izq { margin-right: -44px; }
#local.v2 :is(.fila-x, .cats, .comp-lista) > .flecha-x.der { margin-left: -44px; }

/* =====================================================================
   VARIANTE 2 · PEDIDO EN UNA PANTALLA, ENCUADRE DE FOTOS Y PEDIDO AL COSTADO EN LA COMPU
   ===================================================================== */
/* "Para terminar": nombre y pago dentro de Tu pedido */
.v2-fin { margin-top: 14px; padding: 16px 16px 10px; border-radius: 22px; background: var(--sup); box-shadow: 0 4px 16px rgba(60, 30, 10, .07); }
.v2-fin h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--f-titulos); font-size: 1.25rem; font-weight: 700; color: var(--texto); }
.v2-fin h3 .ico { box-sizing: content-box; width: 16px; height: 16px; padding: 8px; border-radius: 50%; background: var(--marca); color: var(--sobre-marca); stroke-width: 3; }
.v2-fin .campo { margin: 0 0 14px; }
.v2-fin .campo > span { font-weight: 700; color: var(--texto); }
.v2-fin .campo input { border-radius: 14px; background: #fff; font-size: 1rem; }
.v2-fin .campo small { display: none; }
.v2-fin .campo.error small { display: block; }
.v2-fin-pagos { margin: 0 0 6px; padding: 0; border: 0; min-width: 0; }
.v2-fin-pagos legend { margin-bottom: 8px; padding: 0; font-weight: 700; color: var(--texto); }
.v2-pagos { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.v2-pago { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 64px; padding: 8px 6px; border-radius: 16px; border: 1.5px solid var(--linea); background: #fff; color: var(--texto); font-size: .8125rem; font-weight: 700; line-height: 1.15; text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.v2-pago input { position: absolute; opacity: 0; pointer-events: none; }
.v2-pago .ico { width: 22px; height: 22px; color: var(--suave); }
.v2-pago em { position: absolute; top: -8px; right: 6px; padding: 1px 6px; border-radius: 999px; background: var(--ok, #1E7B3C); color: #fff; font-size: .6875rem; font-style: normal; }
.v2-pago.on { border-color: var(--marca); background: var(--oro-claro, #F6E7D0); box-shadow: inset 0 0 0 1px var(--marca); }
.v2-pago.on .ico { color: var(--marca); }
.v2-pago:has(input:focus-visible) { outline: 3px solid var(--texto); outline-offset: 2px; }
.v2-fin-hora { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--oro-claro, #F6E7D0); font-size: .9375rem; color: var(--texto); }
.v2-fin-hora .ico { flex: none; width: 18px; height: 18px; color: var(--oro-osc, #8A6424); }
.v2-fin-hora span { flex: 1; min-width: 0; }
.v2-fin-hora button { flex: none; min-height: 44px; padding: 0 12px; border-radius: 999px; background: var(--sup); font-weight: 700; color: var(--texto); }
.v2-fin-mas { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 6px; padding: 0 4px; color: var(--suave); font-size: .9375rem; font-weight: 600; text-align: left; }
.v2-fin-mas span { flex: 1; }
.v2-fin-mas .ico { flex: none; width: 18px; height: 18px; }
.v2-mandar { text-decoration: none; }
.v2-mandar .wa-total { margin-left: 2px; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-mandar .ico:last-child { display: none; }
@media (max-width: 349px) { .v2-mandar .wa-total { display: none; } }
.v2-fin-nota { margin: 10px 0 0; text-align: center; font-size: .8125rem; color: var(--suave); }

/* Encuadre de fotos: el producto queda centrado (las fotos tienen el producto en la parte de abajo/centro) */
#local.v2 :is(.prod-img, .tarjeta-img, .v2-cat-foto, .v2-comp-img, .v2-item-img, .v2-lat-img) img { object-fit: cover; object-position: 50% 64%; }
#local .hoja .v2-comp-img { height: auto; aspect-ratio: 4 / 3; }
#local .hoja .v2-item-img { aspect-ratio: 1 / 1; height: auto; }
#local.v2 .v2-carta-foto, #local.v2 .cab-portada > img { object-fit: cover; }

/* Compu ancha: carta + pedido al costado, siempre a la vista */
#local.v2 .v2-lateral { display: none; }
@media (min-width: 1200px) {
    #local.v2 .v2-lateral { position: fixed; top: var(--cinta-h, 0px); right: 0; bottom: 0; z-index: 46; display: flex; visibility: hidden; transform: translateX(104%); transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s; flex-direction: column; width: 420px; background: var(--sup); box-shadow: -1px 0 0 var(--linea), -12px 0 32px rgba(60, 30, 10, .06); }
    body:has(#local.v2.lat-abierto) .barra { display: none !important; }
    #local.v2.v2-en-carta .prods { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
.v2-lat-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 22px 14px; border-bottom: 1px solid var(--linea); }
.v2-lat-cab h2 { display: flex; align-items: center; gap: 10px; font-family: var(--f-titulos); font-size: 1.5rem; font-weight: 700; color: var(--texto); }
.v2-lat-cab h2 .ico { width: 24px; height: 24px; color: var(--oro, #B88A3E); }
.v2-lat-cab > span { font-size: .875rem; color: var(--suave); }
.v2-lat-items { flex: 1; min-height: 0; overflow-y: auto; list-style: none; margin: 0; padding: 8px 16px; }
.v2-lat-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.v2-lat-items li:last-child { border-bottom: 0; }
.v2-lat-img { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--tinte); }
.v2-lat-img img { width: 100%; height: 100%; }
.v2-lat-img .dib { width: 70%; height: 70%; }
.v2-lat-txt { display: grid; gap: 2px; min-width: 0; }
.v2-lat-txt strong { font-size: .9375rem; line-height: 1.2; color: var(--texto); }
.v2-lat-txt small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .8125rem; color: var(--suave); }
.v2-lat-txt b { font-weight: 800; color: var(--texto); }
.v2-lateral .cont { background: var(--fondo); box-shadow: none; }
.v2-lat-pie { padding: 14px 18px 20px; border-top: 1px solid var(--linea); background: var(--sup); }
.v2-lat-fila { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: .9375rem; color: var(--suave); }
.v2-lat-fila.total { margin: 4px 0 14px; color: var(--texto); font-size: 1.0625rem; }
.v2-lat-fila.total strong { font-size: 1.5rem; font-weight: 800; }
.v2-lateral .v2-continuar { width: 100%; }
.v2-lat-vacio { flex: 1; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px 32px 60px; text-align: center; color: var(--suave); }
.v2-lat-vacio strong { font-family: var(--f-titulos); font-size: 1.25rem; color: var(--texto); }
.v2-lat-vacio .v2-vacio-ico { width: 80px; height: 80px; }
@media (max-width: 359px) {
    .v2-pagos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v2-pago:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Categorías: foto cuadrada entera (el ícono no tapa el producto) */
#local.v2 .v2-cats-sec .v2-cat-foto { aspect-ratio: 1 / 1; }
#local.v2 .v2-cats-sec .v2-cat-foto img { object-position: 50% 50%; }

/* Portada v2: la foto se ve tal cual (sin velo blanco); solo una sombra oscura suave detrás del nombre, que va en blanco */
#local.v2 .cab-portada::before, #local.v2.vida.lite .cab-portada::before { background:
    linear-gradient(180deg, rgba(22, 12, 6, .62) 0%, rgba(22, 12, 6, .38) 34%, rgba(22, 12, 6, .08) 58%, rgba(22, 12, 6, 0) 72%),
    linear-gradient(100deg, rgba(22, 12, 6, .28) 0%, rgba(22, 12, 6, 0) 50%); }
#local.v2 .cab-nombre { border-left-color: rgba(255, 255, 255, .55); }
#local.v2 .cab-nombre h1 { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
#local.v2 .cab-lema { color: rgba(255, 255, 255, .94); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
/* Las 3 tarjetas de la portada quedan enteras sobre la foto (la ola pasa por debajo, no las corta) */
#local.v2 .cab { padding-bottom: 58px; }
#local.v2 .entrada { background: #FFFBF4; }
#local.v2 .entrada:first-child { background: var(--marca); }
#local.v2 .entrada-sub { text-wrap: balance; }
@media (max-width: 359px) { #local.v2 .entrada-sub { font-size: .6875rem; } #local.v2 .entradas { gap: 8px; } }
@media (min-width: 720px) { #local.v2 .cab { padding-bottom: 84px; } }
/* Superposiciones: aviso "Agregaste…" en una línea y centrado; el + de las tarjetas no pisa el texto; el número del carrito no pisa "Tu pedido" */
html:has(#local.v2) .flota { width: max-content; max-width: calc(100vw - 32px); white-space: nowrap; }
html:has(#local.v2) .flota > span { min-width: 0; white-space: normal; overflow: visible; line-height: 1.25; }
#local.v2 .tarjeta .mas { width: 46px; height: 46px; }
#local.v2 .tarjeta .prod-acc { bottom: 9px; right: 9px; }
#local.v2 .tarjeta-sub { padding-right: 12px; }
#local.v2 .barra-ico { margin-right: 6px; }
@media (max-width: 359px) { #local.v2 .prod-precio { font-size: .9375rem; right: 54px; } #local.v2 .prod .mas { width: 46px; height: 46px; } }
#local .hoja.v2-ui[data-vista="producto"] .hoja-cab .hoja-x[data-atras] { margin-left: 0; margin-right: auto; }

/* Compu (variante 2): el "Tu pedido" completo vive en el panel fijo de la derecha */
.v2-lateral > .hoja-caja { flex: 1; min-height: 0; max-width: none; max-height: none; height: 100%; display: flex; flex-direction: column; border-radius: 0; background: var(--fondo); animation: none; }
#local .v2-lateral .v2-volver { display: none; }
.v2-lateral .v2-item { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
.v2-lateral .v2-item-img { grid-row: span 2; }
.v2-lateral .v2-item-txt strong { font-size: 1.0625rem; }
.v2-lateral .v2-item-der { grid-column: 2; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.v2-lateral .v2-comp .sec-tit { flex-wrap: wrap; row-gap: 4px; }
.v2-lateral .v2-comp h3 { font-size: 1.125rem; }
.v2-lateral .v2-comp-lista li { width: 150px; }
.v2-lateral .hoja-cuerpo.v2-ped { position: relative; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 0; display: block; background: var(--fondo); }
.v2-lateral .v2-ped-top { position: absolute; top: 18px; right: 16px; z-index: 5; padding: 0; overflow: visible; }
.v2-lateral .v2-ped-top::after, .v2-lateral .v2-ped-foto, .v2-lateral .v2-ped-marca { display: none; }
.v2-lateral .v2-ped-vaciar { width: 44px; height: 44px; box-shadow: inset 0 0 0 1px var(--linea); }
.v2-lateral .v2-ped-vaciar .ico { width: 20px; height: 20px; }
.v2-lateral .v2-ped-panel { margin-top: 0; padding: 20px 16px 0; border-radius: 0; gap: 12px; }
.v2-lateral .v2-ped-tit { padding-right: 56px; }
.v2-lateral .v2-ped-tit .v2-volver { display: none; }
.v2-lateral .v2-ped-tit h2 { font-size: 1.75rem; }
.v2-lateral .v2-ped-tit p { font-size: .875rem; }
.v2-lateral .v2-item { gap: 10px; }
.v2-lateral .v2-item-img { width: 64px; height: 64px; aspect-ratio: auto; }
.v2-lateral .v2-hecho, .v2-lateral .v2-seguro { font-size: .75rem; }

/* ===== Variante 2: pasos 1-2-3 (compactos), envío o retiro, "podés elegir" ===== */
.v2-pasos { position: relative; z-index: 2; margin: -26px 16px 6px; padding: 14px 14px 12px; border-radius: 22px; background: var(--sup); box-shadow: 0 6px 22px rgba(60, 30, 10, .07); display: grid; gap: 12px; }
.v2-pasos-fila { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.v2-pasos-fila li { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: .8125rem; line-height: 1.2; font-weight: 700; color: var(--texto); }
.v2-pasos-fila b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--marca); color: var(--sobre-marca, #fff); font-size: .8125rem; font-weight: 800; }
.v2-pasos-nota { display: flex; gap: 7px; align-items: center; margin: 0; font-size: .8125rem; line-height: 1.3; color: var(--suave); }
.v2-pasos-nota strong { color: var(--texto); }
.v2-pasos-nota .ico { flex: none; width: 16px; height: 16px; color: #1E8A4C; }
#local.v2 .v2-entrega { display: grid; gap: 8px; margin: 0; padding: 0; background: none; box-shadow: none; }
#local.v2 .v2-modo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; background: none; }
#local.v2 .v2-modo label { position: relative; display: block; margin: 0; }
#local.v2 .v2-modo input { position: absolute; opacity: 0; pointer-events: none; }
#local.v2 .v2-modo span { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 6px 8px; border-radius: 14px; background: var(--fondo); box-shadow: inset 0 0 0 1.5px var(--linea); text-align: center; font-weight: 700; font-size: .875rem; line-height: 1.15; color: var(--texto); cursor: pointer; transition: background .15s, box-shadow .15s; }
#local.v2 .v2-modo span .ico { flex: none; width: 20px; height: 20px; margin: 0; }
#local.v2 .v2-modo input:checked + span { background: var(--marca); color: var(--sobre-marca, #fff); box-shadow: 0 4px 12px rgba(40, 20, 8, .16); }
#local.v2 .v2-modo input:focus-visible + span { outline: 3px solid var(--oro, #B88A3E); outline-offset: 2px; }
.v2-ent-linea { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; margin: 0; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--fondo); text-align: left; color: var(--texto); font: inherit; }
.v2-ent-linea .ico { width: 18px; height: 18px; color: var(--oro, #B88A3E); }
.v2-ent-linea > span { display: grid; gap: 1px; min-width: 0; }
.v2-ent-linea strong { font-size: .875rem; line-height: 1.25; }
.v2-ent-linea small { font-size: .75rem; line-height: 1.3; color: var(--suave); }
.v2-ent-linea > b { padding: 8px 12px; border-radius: 999px; background: var(--sup); box-shadow: inset 0 0 0 1px var(--linea); font-size: .8125rem; }
button.v2-ent-linea { cursor: pointer; }
.v2-ent-linea.falta { box-shadow: inset 0 0 0 1.5px var(--marca); }
.v2-ent-linea.falta > b { background: var(--marca); color: var(--sobre-marca, #fff); box-shadow: none; }
.v2-elegible { display: inline-flex; align-items: center; gap: 5px; justify-self: start; width: max-content; max-width: 100%; margin-top: 4px; padding: 4px 9px; border-radius: 999px; background: var(--tinte, #EFE5D6); color: var(--texto); font-size: .8125rem; font-weight: 700; line-height: 1.2; }
.v2-elegible .ico { flex: none; width: 13px; height: 13px; }
.v2-item-cambiar { display: inline-flex; align-items: center; gap: 6px; justify-self: start; width: max-content; min-height: 32px; margin: 2px 0; padding: 4px 12px; border-radius: 999px; background: var(--fondo); box-shadow: inset 0 0 0 1px var(--linea); color: var(--texto); font-size: .8125rem; font-weight: 700; }
.v2-item-cambiar .ico { width: 14px; height: 14px; }
#local.v2 .cab-portada > picture { position: absolute; z-index: -1; inset: 0; display: block; }
#local.v2 .cab-portada > picture > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
@media (min-width: 700px) {
    .v2-pasos { margin: -30px auto 6px; max-width: 760px; padding: 16px 18px 14px; }
    .v2-pasos-fila li { font-size: .9375rem; }
    .v2-pasos-fila b { width: 28px; height: 28px; font-size: .875rem; }
}
.v2-lat-ircarta { margin-top: 10px; }
/* Aviso flotante: el nombre del producto se lee entero (hasta 2 renglones) */
#local.v2 .flota, .v2-ui .flota { border-radius: 20px; }
#local.v2 .flota > span, .v2-ui .flota > span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
/* Tu pedido: nombre a lo ancho y el contador abajo, junto al total del renglón */
.v2-item { grid-template-columns: 80px minmax(0, 1fr); align-items: start; }
.v2-item .v2-item-img { grid-row: span 2; width: 80px; height: 80px; }
.v2-item-der { grid-column: 2; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.v2-item-det { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Fotos de producto enteras: son cuadradas (producto al centro), así que el recuadro también */
#local.v2 .prod-img { aspect-ratio: 1 / 1; }
#local.v2 .tarjeta-img { height: auto; aspect-ratio: 1 / 1; }
#local.v2 .v2-comp-img, #local .hoja .v2-comp-img, .v2-lateral .v2-comp-img { height: auto; aspect-ratio: 1 / 1; }
#local.v2 :is(.prod-img, .tarjeta-img, .v2-comp-img, .v2-item-img, .v2-lat-img) img { object-position: 50% 50%; }
.v2-item-cu { font-size: .8125rem; font-weight: 600; color: var(--suave); }

/* Compu: "Tu pedido" desplegable (cerrado de entrada; se abre con el carrito o al agregar algo) */
@media (min-width: 1200px) {
    #local.v2.lat-abierto .v2-lateral { visibility: visible; transform: none; transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: -1px 0 0 var(--linea), -24px 0 60px rgba(40, 20, 8, .22); }
    #local.v2 .v2-lateral .v2-volver { display: grid !important; width: 44px; height: 44px; }
}
@media (min-width: 1200px) and (prefers-reduced-motion: reduce) { #local.v2 .v2-lateral, #local.v2.lat-abierto .v2-lateral { transition: none; } }
.v2-lat-cab .v2-lat-x { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; border-radius: 50%; background: var(--fondo); color: var(--texto); }
.v2-lat-cab .v2-lat-x .ico { width: 20px; height: 20px; }
.v2-lat-cab > span { margin-left: auto; }
.v2-lateral .v2-ped-tit { padding-right: 56px; }
/* Títulos: nunca engrosar ni inclinar la letra a la fuerza (si no tiene negrita, como Lobster, se ensucia) */
#local, #local .hoja, .v2-lateral { font-synthesis: none; }
#local.v2 .cab-nombre h1 { text-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 12px rgba(0, 0, 0, .28); }
@media (max-width: 359px) {
    .v2-pasos { padding: 12px 10px 10px; }
    .v2-pasos-fila li { gap: 5px; font-size: .75rem; }
    .v2-pasos-fila b { width: 20px; height: 20px; font-size: .75rem; }
    #local.v2 .v2-modo span { font-size: .8125rem; gap: 5px; }
}
/* Ficha con foto: "volver" a la izquierda y la X a la derecha (antes las dos tenían margen automático y "volver" quedaba en el medio) */
#local .hoja.v2-ui[data-vista="producto"]:has(.pd-img:not([hidden])) .hoja-cab .hoja-x[data-atras] { margin-left: 0; margin-right: auto; }
/* Variante 2: día y hora con botones (la lista nativa queda oculta) */
.v2-sel-oculto { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.v2-campo-chips { margin-bottom: 6px; }
.v2-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 0 0 12px; }
.v2-chips-dias { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -4px 14px; padding: 2px 4px 4px; scroll-snap-type: x proximity; }
.v2-chips-dias::-webkit-scrollbar { display: none; }
.v2-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; padding: 8px 10px; border-radius: 14px; background: var(--sup, #fff); box-shadow: inset 0 0 0 1.5px var(--linea); color: var(--texto); font: inherit; cursor: pointer; transition: background .15s, box-shadow .15s, transform .1s; }
.v2-chips-dias .v2-chip { flex: none; min-width: 76px; scroll-snap-align: start; }
.v2-chip b { font-size: .9375rem; font-weight: 700; line-height: 1.15; }
.v2-chip small { font-size: .75rem; color: var(--suave); line-height: 1.1; }
.v2-chip.ya { grid-column: 1 / -1; }
.v2-chip:active { transform: scale(.97); }
.v2-chip.on { background: var(--marca); color: var(--sobre-marca, #fff); box-shadow: 0 4px 12px rgba(40, 20, 8, .16); }
.v2-chip.on small { color: inherit; opacity: .85; }
.v2-chip:focus-visible { outline: 3px solid var(--oro, #B88A3E); outline-offset: 2px; }
/* "Que venga surtida" / "La armo yo" */
.g-surtido { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 10px; }
.g-surtido button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 10px; border-radius: 14px; background: var(--fondo, #F6EFE4); box-shadow: inset 0 0 0 1.5px var(--linea); color: var(--texto); font: inherit; font-weight: 700; font-size: .9375rem; line-height: 1.15; }
.g-surtido button .ico { flex: none; width: 18px; height: 18px; }
.g-surtido button.on { background: var(--marca); color: var(--sobre-marca, #fff); box-shadow: 0 4px 12px rgba(40, 20, 8, .16); }
.g-surt-nota { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--tinte, #EFE5D6); font-size: .875rem; line-height: 1.35; color: var(--texto); }
.g-surt-nota .ico { flex: none; width: 16px; height: 16px; margin-top: 2px; }
/* Aviso "Agregaste…" (todas las variantes): ancho según el texto, no la mitad de la pantalla */
.flota { width: max-content; max-width: min(520px, calc(100vw - 32px)); }

/* ===== Variante 2 · tema "noche" (diseno.tema: "noche"): premium oscuro de color liso, sin imágenes de fondo. Para restós y bares nocturnos
   cuya identidad es más negra que blanca. El color de detalle sale de diseno.marca. ===== */
html.tema-noche { color-scheme: dark; background: #100F0E; }
html.tema-noche body, html.tema-noche #local.v2, html.tema-noche #local.premium, html.tema-noche .hoja, html.tema-noche .v2-lat {
    background-color: #100F0E;
    --fondo: #100F0E; --sup: #1A1918; --linea: #2D2B28; --borde-campo: #77716A; --texto: #F4EEE6; --suave: #BDB5AA;
    --oro: #F58634; --oro-claro: #262422; --oro-osc: #FFA45E; --tinte: #262422; --tinte-2: #36332F; --marca-osc: #FF8A3D;
    --ok: #6FD08C; --ok-f: #173322; --alerta: #FFC979; --alerta-f: #3D2A10; --mal: #FF8A80;
    --sombra-card: 0 0 0 1px rgba(255, 255, 255, .07); color: var(--texto); }
html.tema-noche #local.v2 :is(.estado, .entrada, .entrada:nth-child(2), .prod-etq, .tarjeta-etq) { background: rgba(22, 21, 20, .93); color: var(--texto); border: 1px solid rgba(245, 134, 52, .35); }
html.tema-noche #local.v2 .estado.abierto strong { color: var(--ok); }
html.tema-noche #local.v2 .entrada:first-child { background: var(--marca); color: var(--sobre-marca); }
html.tema-noche #local.v2 .entrada:first-child * { color: var(--sobre-marca); }
html.tema-noche #local.v2 .cab { background: #100F0E; }
@media (min-width: 1000px) { html.tema-noche #local.v2 .cab .cab-portada img { object-position: center 82%; } }
html.tema-noche #local.v2 .v2-carta-cab::after, html.tema-noche .v2-ped-top::after { background: linear-gradient(180deg, rgba(11, 10, 10, .55), var(--fondo)); }
html.tema-noche #local.v2 .cats.pegada { background: rgba(16, 15, 14, .97); box-shadow: 0 8px 16px -10px #000; }
html.tema-noche #local.v2 .v2-carta-busca .buscar-caja { background: var(--sup); border: 1px solid var(--linea); }
html.tema-noche :is(.hoja, .v2-lat, #local) :is(.campo input, .campo select, .campo textarea, .buscar input) { background: #0E0D0C; color: var(--texto); }
html.tema-noche :is(.hoja, .v2-lat) .btn-wa .wa-total, html.tema-noche .v2-mandar .wa-total { background: rgba(0, 0, 0, .22); }
html.tema-noche #local .hoja.v2-ui[data-vista="producto"] .hoja-cab .hoja-x { background: rgba(16, 15, 14, .94); color: var(--texto); }
html.tema-noche #local.v2 :is(.prod-desc, .prod-sub) { color: var(--suave); }
html.tema-noche #local.v2 .mas { background: var(--marca); color: var(--sobre-marca); }
html.tema-noche #local .buscar-caja input { background: transparent; border-color: transparent; }
html.tema-noche #local.v2 .v2-pie .pie-firma { background: #0B0A0A; color: var(--suave); }
html.tema-noche #local.v2 .v2-pie-marca { background: #0B0A0A; border-top: 3px solid var(--marca); }
html.tema-noche #local.v2 .v2-pie-marca * { color: var(--texto); }
html.tema-noche #local.v2 .v2-pie-marca .logo { background: #0B0A0A; }
/* Campos y cruz de las hojas: pisan los blancos fijos de la variante 2 */
html.tema-noche #local :is(input:not([type="radio"]):not([type="checkbox"]):not([type="search"]), select, textarea) { background-color: #0E0D0C !important; color: var(--texto) !important; }
html.tema-noche #local .buscar-caja input { background-color: transparent !important; }
html.tema-noche #local ::placeholder { color: #8C857C; opacity: 1; }
html.tema-noche #local .hoja.v2-ui .hoja-cab .hoja-x { background-color: rgba(16, 15, 14, .94) !important; color: var(--texto) !important; border: 1px solid var(--linea); }

/* Variante 2 en celulares angostos: el título de la carta no se corta y la píldora activa no queda pegada al borde. */
@media (max-width: 430px) {
    #local.v2 .v2-carta-tit h2 { font-size: 19px; gap: 6px; min-width: 0; }
    #local.v2 .v2-carta-tit .v2-orden { padding: 0 12px; gap: 6px; }
}
#local.v2 .cats { scroll-padding-inline: 16px; }

/* ===== Variante 2 · tema "cartel": página clara y lisa, cabecera oscura como el cartel del local y distribución propia para compu (columnas centradas y pedido al costado).
   El nombre puede ir en letra gótica con diseno.fuenteNombre; el resto queda en letra común. ===== */
html.tema-cartel #local.v2 .cab-nombre h1 { font-family: var(--f-nombre, var(--f-titulos)); font-weight: 400; letter-spacing: .01em; font-size: 2.35rem; color: #F7EBD3; }
html.tema-cartel #local.v2 .v2-carta-cab h1, html.tema-cartel #local.v2 .v2-carta-cab .cab-nombre h1 { font-size: 1.8rem; }
@media (min-width: 900px) { html.tema-cartel #local.v2 .cab .cab-nombre h1 { font-size: 3.4rem; } }
@media (max-width: 430px) { html.tema-cartel #local.v2 .v2-carta-tit h2 { font-size: 17px; } }

/* ===== Distribución ancha para compu (diseno.compu: "ancha"; el tema cartel la trae): todo en una sola columna centrada, cabecera baja, envío/retiro en una tira ancha a la vista,
   promo a lo ancho y todas las categorías sin deslizar. El celular no cambia. ===== */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2 { --col: min(1100px, 100% - 48px); --lado-col: calc((100% - var(--col)) / 2); }
    html.pc-ancha #local.v2 .cab { height: 400px; min-height: 0; }
    html.pc-ancha #local.v2 .cab-portada { height: 400px; }
    html.pc-ancha #local.v2 .cab-portada img { object-position: center 62%; }
    html.pc-ancha #local.v2 .cab .cab-portada::before { background: linear-gradient(90deg, rgba(14, 9, 5, .9) 0, rgba(14, 9, 5, .7) 38%, rgba(14, 9, 5, 0) 62%) !important; }
    html.pc-ancha #local.v2 .cab-info { width: var(--col); max-width: none; margin-inline: auto; padding-inline: 0; }
    html.pc-ancha #local.v2 .cab > .estado { margin-left: var(--lado-col); }
    html.pc-ancha #local.v2 .entradas { width: 560px; max-width: none; margin-left: var(--lado-col); margin-right: auto; padding-inline: 0; }
    html.pc-ancha #local.v2 .cab-carro { right: var(--lado-col); }
    html.pc-ancha #local.v2 .v2-cats-sec > .sec-tit, html.pc-ancha #local.v2 .franja > .sec-tit { padding-left: var(--lado-col); padding-right: var(--lado-col); }
    html.pc-ancha #local.v2 .v2-cats-home { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; overflow: visible; padding-left: var(--lado-col); padding-right: var(--lado-col); }
    html.pc-ancha #local.v2 .v2-cats-home > .v2-cat { width: auto; min-width: 0; }
    html.pc-ancha #local.v2 .v2-home .v2-info { width: var(--col); max-width: none; margin-inline: auto; }
}
@media (min-width: 1000px) {
    html.pc-ancha #local.v2 .cab, html.pc-ancha #local.v2 .cab-portada { height: 410px; }
    html.pc-ancha #local.v2 .cab .cab-portada::before { background: linear-gradient(90deg, rgba(14, 9, 5, .94) 0, rgba(14, 9, 5, .92) 50%, rgba(14, 9, 5, .5) 57%, rgba(14, 9, 5, 0) 68%) !important; }
    html.pc-ancha #local.v2 .entradas > .entrada { height: 88px; min-height: 0; padding-block: 8px; gap: 2px; }
}
@media (min-width: 1000px) { html.pc-ancha #local.v2 .cab-carro { right: max(56px, var(--lado-col)); } }
@media (min-width: 1000px) { html.pc-ancha #local.v2.v2-en-carta .v2-carta-fila .cab-carro { right: auto; } }
@media (min-width: 1600px) { html.pc-ancha #local.v2 .cab, html.pc-ancha #local.v2 .cab-portada { height: 470px; } }

/* ===== compu ancha: nada estirado. Inicio: envío/retiro compacto y la promo al lado. ===== */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2:not(.v2-en-carta) { display: grid; grid-template-columns: minmax(24px, 1fr) minmax(0, 640px) minmax(0, 460px) minmax(24px, 1fr); align-content: start; }
    html.pc-ancha #local.v2:not(.v2-en-carta) > * { grid-column: 1 / -1; min-width: 0; }
    html.pc-ancha #local.v2:not(.v2-en-carta) > section.v2-pasos { grid-column: 2; width: auto; max-width: none; margin: 4px 10px 12px 0; align-self: stretch; }
    html.pc-ancha #local.v2:not(.v2-en-carta) > section.v2-pasos + section.franja[aria-label="Promos"] { grid-column: 3; margin: 4px 0 12px 10px; padding: 16px; border-radius: 24px; background: var(--sup); box-shadow: none; }
    html.pc-ancha #local.v2 section.v2-pasos + section.franja[aria-label="Promos"] > h2 { padding: 0 0 4px; }
    html.pc-ancha #local.v2 section.v2-pasos + section.franja[aria-label="Promos"] > .fila-x { display: grid; grid-auto-flow: row; gap: 10px; padding: 8px 0 0; overflow: visible; }
    html.pc-ancha #local.v2 section.v2-pasos + section.franja[aria-label="Promos"] > .fila-x > .promo { width: 100%; max-width: none; }
    html.pc-ancha #local.v2 section.v2-pasos + section.franja[aria-label="Promos"] > .fila-x > .flecha-x { display: none; }
}
/* Carta: cabecera en un renglón y, desde 1200 px, "Tu pedido" siempre a la vista a la derecha. */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-cab { position: relative; height: 96px; min-height: 0; }
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-fila { width: var(--col); max-width: none; margin-inline: auto; }
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-busca { position: absolute; z-index: 2; top: 15px; right: var(--lado-col); width: 360px; padding: 0; margin: 0; background: none; }
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-fila .cab-carro { visibility: hidden; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-busca { right: 100px; width: 300px; }
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-fila .cab-carro { visibility: visible; }
}
@media (min-width: 1200px) {
    html.pc-ancha #local.v2.v2-en-carta { padding-right: 360px; }
    html.pc-ancha #local.v2.v2-en-carta .v2-lateral { display: flex; visibility: visible; transform: none; width: 360px; box-shadow: -1px 0 0 var(--linea); }
    html.pc-ancha #local.v2.v2-en-carta .v2-lateral .v2-lat-x { display: none; }
    html.pc-ancha body:has(#local.v2.v2-en-carta) .barra { display: none !important; }
}
@media (min-width: 1200px) {
    html.pc-ancha #local.v2.v2-en-carta .v2-lateral :is(.hoja-x, [data-cerrar], .v2-lat-vacio .btn) { display: none !important; }
}
@media (min-width: 1000px) {
    html.pc-ancha #local.v2:not(.v2-en-carta) section.v2-pasos + section.franja[aria-label="Promos"] { display: flex; flex-direction: column; }
    html.pc-ancha #local.v2 section.v2-pasos + section.franja[aria-label="Promos"] > .fila-x { flex: 1; align-content: center; }
}
@media (min-width: 1000px) { html.pc-ancha #local.v2.v2-en-carta .carta { overflow-x: clip; } }

/* en compu, al bajar por la carta el botón de volver queda flotando a la izquierda: se le deja lugar para que no tape "Todas" */
@media (min-width: 1000px) { html.pc-ancha #local.v2.v2-en-carta .cats.pegada { padding-left: 76px; scroll-padding-left: 76px; } }

/* compu ancha sin promo: envío/retiro ocupa todo el ancho en una tira (pasos arriba, botones y localidad lado a lado) */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2:not(.v2-en-carta) > section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) { grid-column: 2 / 4; margin: 4px 0 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; align-items: center; }
    html.pc-ancha section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > :is(.v2-pasos-fila, .v2-pasos-nota) { grid-column: 1 / -1; margin: 0; }
    html.pc-ancha section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > .v2-pasos-fila { justify-content: space-around; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > .v2-entrega { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) .v2-entrega > * { margin: 0; align-self: stretch; min-height: 54px; }
    html.pc-ancha section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) .v2-pasos-nota { justify-content: center; text-align: center; }
}

/* corte recto: la portada se funde de a poco con el fondo (sin la curva de la variante 2) */
html:is(.tema-cartel, .tema-noche) #local.v2 .cab .cab-portada::after { left: 0; right: 0; bottom: -1px; height: 120px; border-radius: 0;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--fondo) 8%, transparent) 25%, color-mix(in srgb, var(--fondo) 28%, transparent) 48%, color-mix(in srgb, var(--fondo) 60%, transparent) 70%, color-mix(in srgb, var(--fondo) 88%, transparent) 87%, var(--fondo)); }

/* compu ancha, tamaños del inicio: categorías altas (se leen como protagonistas) y "Los más pedidos" en 4 columnas, no más grandes que las de la carta */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2 .v2-cats-sec .v2-cat-foto { aspect-ratio: auto; height: min(174px, 15vw); }
    html.pc-ancha #local.v2 .v2-cats-sec .v2-cat-nom { font-size: 1rem; padding-bottom: 4px; }
    html.pc-ancha #local.v2 .franja[aria-label="Los más pedidos"] > .fila-x { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: var(--lado-col); padding-right: var(--lado-col); }
    html.pc-ancha #local.v2 .franja[aria-label="Los más pedidos"] .tarjeta-img { height: auto; aspect-ratio: 4 / 3; }
    html.pc-ancha #local.v2 .franja[aria-label="Los más pedidos"] .tarjeta-img { position: relative; overflow: hidden; }
    html.pc-ancha #local.v2 .franja[aria-label="Los más pedidos"] .tarjeta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80% !important; }
}
@media (min-width: 1300px) {
    html.pc-ancha #local.v2 { --col: min(1200px, 100% - 48px); }
    html.pc-ancha #local.v2:not(.v2-en-carta) { grid-template-columns: minmax(24px, 1fr) minmax(0, 700px) minmax(0, 500px) minmax(24px, 1fr); }
}

/* ===== compu ancha · la carta: platos en tarjetas horizontales (foto al costado, descripción entera) ===== */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2.v2-en-carta .prods { grid-template-columns: repeat(auto-fill, minmax(338px, 1fr)); gap: 14px; }
    html.pc-ancha #local.v2.v2-en-carta .prod-abrir { flex-direction: row-reverse; justify-content: flex-end; align-items: stretch; padding: 0; min-height: 168px; }
    html.pc-ancha #local.v2.v2-en-carta .prod-img { width: 168px; height: 168px; flex: none; aspect-ratio: 1 / 1; align-self: center; }
    html.pc-ancha #local.v2.v2-en-carta .prod-txt { flex: 1; min-width: 0; align-self: stretch; justify-content: flex-start; text-align: left; padding: 14px 14px 54px; }
    html.pc-ancha #local.v2.v2-en-carta .prod-nom { font-size: 1.0625rem; }
    html.pc-ancha #local.v2.v2-en-carta .prod-desc { -webkit-line-clamp: 4; font-size: .875rem; }
    html.pc-ancha #local.v2.v2-en-carta .prod-precio { left: 184px; right: 66px; bottom: 21px; font-size: 1.1875rem; }
    html.pc-ancha #local.v2.v2-en-carta .prod:has(.sin-stock) .prod-precio { bottom: 46px; }
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-tit { padding-inline: 0; }
    html.pc-ancha #local.v2.v2-en-carta .prod-img { margin-block: auto; }
    html.pc-ancha #local.v2.v2-en-carta .prod .prod-acc { right: 12px; bottom: 11px; }
}
/* desde 1200 px: categorías fijas a la izquierda, platos en el medio y "Tu pedido" a la derecha */
@media (min-width: 1200px) {
    html.pc-ancha #local.v2.v2-en-carta { display: grid; grid-template-columns: minmax(24px, 1fr) 184px minmax(0, calc(var(--col) - 208px)) minmax(24px, 1fr); column-gap: 0; align-content: start; }
    html.pc-ancha #local.v2.v2-en-carta > * { grid-column: 1 / -1; min-width: 0; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats { grid-column: 2; align-self: start; position: sticky; top: calc(var(--cinta-h, 0px) + 12px); z-index: 20; display: flex; flex-direction: column; align-items: stretch; gap: 4px; overflow-y: auto; max-height: calc(100vh - var(--cinta-h, 0px) - 24px); margin: 16px 0 24px !important; padding: 0; background: none; box-shadow: none; mask-image: none; -webkit-mask-image: none; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats > :is(a, .v2-todas-chip) { display: flex; flex-direction: row; flex: none; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-width: 0; height: auto; min-height: 48px; padding: 10px 14px; border-radius: 14px; text-align: left; box-shadow: none; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats > a:not(.activa), html.pc-ancha #local.v2.v2-en-carta > nav.cats > .v2-todas-chip:not(.activa) { background: transparent; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats > :is(a, .v2-todas-chip):not(.activa):hover { background: var(--sup); }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats > :is(a, .v2-todas-chip) span { font-size: .9375rem; white-space: nowrap; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats .ico { width: 20px; height: 20px; flex: none; margin: 0; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats > .flecha-x { display: none; }
    html.pc-ancha #local.v2.v2-en-carta > main.carta { grid-column: 3; padding-left: 24px; padding-right: 0; overflow-x: clip; }
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-tit { padding: 16px 0 0; }
    html.pc-ancha #local.v2.v2-en-carta .v2-carta-tit + .cat { padding-top: 4px; }
    /* en el panel angosto, envío y retiro en un renglón */
    html.pc-ancha #local.v2.v2-en-carta .v2-lateral .v2-modo span { white-space: nowrap; font-size: .8125rem; gap: 0; padding-inline: 4px; }
    html.pc-ancha #local.v2.v2-en-carta .v2-lateral .v2-modo span .ico { display: none; }
}
/* al bajar: la columna queda igual (no pasa a píldoras) y arriba suyo queda "volver" siempre a mano */
@media (min-width: 1200px) {
    html.pc-ancha #local.v2.v2-en-carta > nav.cats.pegada { padding: 56px 0 0; background: none; box-shadow: none; }
    html.pc-ancha #local.v2.v2-en-carta:has(> nav.cats.pegada) .v2-carta-fila .v2-volver { position: fixed; z-index: 31; top: calc(var(--cinta-h, 0px) + 12px); left: max(36px, calc((100vw - 1560px) / 2 + 12px)); background: var(--sup); }
}
/* notebooks (1366 con barra de desplazamiento): márgenes y columna más angostos para que entren 2 platos por renglón */
@media (min-width: 1200px) and (max-width: 1439px) {
    html.pc-ancha #local.v2.v2-en-carta { grid-template-columns: 24px 168px minmax(0, 1fr) 24px; }
    html.pc-ancha #local.v2.v2-en-carta > main.carta { padding-left: 16px; }
}
/* noche · "¿Cómo pagás?": la elegida va naranja (color de marca) entera, con letras oscuras; las otras oscuras con letras claras */
html.tema-noche .v2-pago { background: #0E0D0C; color: var(--texto); }
html.tema-noche .v2-pago .ico { color: var(--texto); }
html.tema-noche .v2-pago.on { background: var(--marca); border-color: var(--marca); color: var(--sobre-marca); }
html.tema-noche .v2-pago.on .ico { color: var(--sobre-marca); }

/* ===== v2 · Detalles del pedido (solo cuándo + aclaración) ===== */
#local .hoja.v2-ui .enc-filas { grid-template-columns: minmax(0, 1fr); gap: 0; }
#local .hoja.v2-ui .v2-det .caja > h3 { margin-bottom: 10px; }
#local .hoja.v2-ui .v2-det .v2-campo-chips > span { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--suave); }
.v2-det .v2-chips:not(.v2-chips-dias) { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.v2-det .v2-chips:not(.v2-chips-dias) .v2-chip { min-height: 44px; padding: 6px 4px; border-radius: 12px; }
.v2-det .v2-chips:not(.v2-chips-dias) .v2-chip b { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.v2-chip.on { background: var(--marca); color: var(--sobre-marca, #fff); box-shadow: none; }
.v2-chip.on small { color: inherit; opacity: .8; }
.v2-det textarea { display: block; width: 100%; min-height: 92px; padding: 12px 14px; box-sizing: border-box; border: 1.5px solid var(--borde-campo); border-radius: 14px; background: var(--sup, #fff); color: var(--texto); font: inherit; font-size: 1rem; line-height: 1.4; resize: vertical; }
.v2-det textarea:focus { outline: 3px solid var(--tinte-2); border-color: var(--marca); }
.v2-det textarea::placeholder { color: var(--suave); opacity: .8; }
.v2-det .v2-det-opc { display: block; margin-top: 6px; font-size: .75rem; color: var(--suave); }
.v2-det-listo { width: 100%; justify-content: center; }
/* La aclaración que ya se cargó se ve en "Para terminar" */
.v2-fin-nota-ped span { font-style: italic; overflow-wrap: anywhere; }
/* Medios de pago: los 3 en un renglón también en el panel de la compu */
.v2-pagos { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
/* Compu: la hoja de detalles centrada, con ancho cómodo */
@media (min-width: 900px) {
    #local .hoja.v2-ui[data-vista="datos"] .hoja-caja { width: min(560px, calc(100vw - 48px)); max-height: min(760px, calc(100dvh - 48px)); }
}

/* ===== v2 · compu: portada con corte recto que se funde (todos los temas) ===== */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2 .cab .cab-portada::after { left: 0; right: 0; bottom: -1px; height: 150px; border-radius: 0;
        background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--fondo) 10%, transparent) 25%, color-mix(in srgb, var(--fondo) 35%, transparent) 50%, color-mix(in srgb, var(--fondo) 70%, transparent) 72%, color-mix(in srgb, var(--fondo) 92%, transparent) 88%, var(--fondo)); }
}

/* ===== v2 · compu: "Cómo pedir" compacto y centrado (28/11) =====
   Arriba los 3 pasos en fila unidos por una línea; abajo, en un solo renglón centrado, envío/retiro (dos botones a su medida)
   y la localidad (ancho fijo). Nada se estira para llenar la pantalla. */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2:not(.v2-en-carta) > section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) {
        display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: none; justify-items: center; align-items: center; gap: 18px; padding: 26px 28px 20px; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > .v2-pasos-fila {
        grid-area: auto; grid-column: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 760px); gap: 0; padding: 0; border: 0; align-self: auto; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > .v2-pasos-fila li {
        position: relative; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 8px; padding: 0 8px; font-size: .9375rem; font-weight: 700; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > .v2-pasos-fila b { width: 34px; height: 34px; font-size: .9375rem; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--sup); }
    /* línea que une los números (horizontal) */
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > .v2-pasos-fila li:not(:last-child)::after {
        content: ""; position: absolute; top: 16px; left: calc(50% + 24px); right: calc(-50% + 24px); width: auto; height: 2px; background: var(--linea); }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > .v2-entrega { grid-column: 1; display: flex; align-items: stretch; justify-content: center; gap: 12px; width: min(100%, 940px); margin: 0; padding: 0; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) .v2-entrega > .v2-modo { grid-area: auto; flex: none; display: flex; gap: 8px; margin: 0; width: auto; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) .v2-entrega > .v2-modo label { flex: none; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) .v2-entrega > .v2-modo label > span { min-height: 56px; height: 100%; padding: 0 22px; white-space: nowrap; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) .v2-entrega > .v2-ent-linea { grid-area: auto; flex: 1 1 420px; max-width: 480px; min-height: 56px; margin: 0; }
    html.pc-ancha #local section.v2-pasos:not(:has(+ section.franja[aria-label="Promos"])) > .v2-pasos-nota { grid-area: auto; grid-column: 1; justify-content: center; text-align: center; margin: -4px 0 0; }
}

/* ===== v2 · "Ordenar" con menú propio (colores del local) ===== */
#local.v2 .v2-orden-caja { position: relative; flex: none; }
#local.v2 button.v2-orden { cursor: pointer; color: var(--texto); font: inherit; font-weight: 700; }
#local.v2 button.v2-orden.on { background: var(--marca); color: var(--sobre-marca, #fff); box-shadow: none; }
#local.v2 .v2-orden-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 210px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--sup, #fff); box-shadow: 0 0 0 1px var(--linea), 0 14px 34px rgba(20, 12, 6, .18); animation: v2OrdenIn .16s ease-out; }
#local.v2 .v2-orden-menu li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 11px; font-weight: 600; color: var(--texto); cursor: pointer; outline: none; }
#local.v2 .v2-orden-menu li .ico { width: 18px; height: 18px; opacity: 0; color: var(--marca); }
#local.v2 .v2-orden-menu li[aria-selected="true"] { font-weight: 800; }
#local.v2 .v2-orden-menu li[aria-selected="true"] .ico { opacity: 1; }
#local.v2 .v2-orden-menu li:focus-visible { background: color-mix(in srgb, var(--marca) 12%, transparent); }
@media (hover: hover) { #local.v2 .v2-orden-menu li:hover { background: color-mix(in srgb, var(--marca) 10%, transparent); } }
html.tema-noche #local.v2 .v2-orden-menu li .ico { color: var(--marca); }
@keyframes v2OrdenIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #local.v2 .v2-orden-menu { animation: none; } }
/* Barras de desplazamiento con los colores del local (compu) */
#local.v2, #local.v2 .hoja-cuerpo, .v2-lateral, #local .hoja.v2-ui .hoja-cuerpo { scrollbar-color: color-mix(in srgb, var(--marca) 45%, transparent) transparent; scrollbar-width: thin; }

/* ===== v2 · ficha del producto ===== */
/* Celular: la foto un poco más baja para que las opciones se vean sin bajar tanto */
@media (max-width: 899px) {
    #local .hoja.v2-ui[data-vista="producto"] .pd-img:has(img) { max-height: min(340px, 40vh); max-height: min(340px, 40dvh); }
    /* En el celular parado la foto va a todo el ancho, sin franjas a los costados (si hace falta, se desliza) */
    @media (max-width: 600px) and (orientation: portrait) { #local .hoja.v2-ui[data-vista="producto"] .pd-img:has(img) { max-height: none; } }
}
/* El título de cada grupo, al quedar pegado arriba, no se mete debajo de la X */
#local .hoja.v2-ui[data-vista="producto"]:has(.pd-img:not([hidden])) .g-cab-in { padding-right: 52px; }
/* Compu: la ficha mide lo que tiene adentro (antes quedaba alta y vacía: los 30 renglones de la foto sumaban espacio entre renglones) */
@media (min-width: 900px) {
    #local .hoja.v2-ui[data-vista="producto"] .hoja-cuerpo:has(> .pd-img:not([hidden])) { row-gap: 0; }
    #local .hoja.v2-ui[data-vista="producto"] .hoja-cuerpo:has(> .pd-img:not([hidden])) > :not(.pd-img) { margin-bottom: 16px; }
    #local .hoja.v2-ui[data-vista="producto"] .hoja-cuerpo:has(> .pd-img:not([hidden])) > :not(.pd-img):last-child { margin-bottom: 0; }
    #local .hoja.v2-ui[data-vista="producto"]:has(.pd-img:not([hidden])) .g-cab-in { padding-right: 0; }
    #local .hoja.v2-ui[data-vista="producto"] .hoja-cuerpo:has(> .pd-img:not([hidden])) { padding-top: 22px; }
}
/* Carta: sin hueco entre "Nuestros productos" y la primera categoría */
#local.v2 section.cat:first-of-type { padding-top: 0; }
#local.v2 section.cat:first-of-type > h2 { padding-top: 6px; }

/* ===== v2 · barra "Tu pedido" en el celular: ordenada en dos renglones (no se pisan el título y el total) ===== */
@media (max-width: 599px) {
    #local.v2 .barra-btn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ico info txt" "ico total txt"; column-gap: 12px; row-gap: 1px; align-items: center; min-height: 64px; padding: 8px 8px 8px 14px; }
    #local.v2 .barra-ico { grid-area: ico; }
    #local.v2 .barra-info { grid-area: info; display: flex; align-items: baseline; gap: 6px; align-self: end; overflow: hidden; text-overflow: ellipsis; }
    #local.v2 .barra-info b { font-size: .8125rem; font-weight: 600; opacity: .9; }
    #local.v2 .barra-cant { font-size: .75rem; overflow: hidden; text-overflow: ellipsis; }
    #local.v2 .barra-cant::before { content: "· "; }
    #local.v2 .barra-btn .barra-total { grid-area: total; display: block; align-self: start; margin: 0; padding: 0; border: 0; font-size: 1.1875rem; line-height: 1.1; text-align: left; }
    #local.v2 .barra-txt { grid-area: txt; min-height: 48px; padding: 0 14px; }
}
@media (max-width: 379px) { #local.v2 .barra-cant { display: none; } }
@media (max-width: 339px) { #local.v2 .barra-txt { padding: 0 10px; font-size: .875rem; } }

/* ===== v2 · producto sin foto (mientras el local no las tenga): recuadro con el ícono de su categoría ===== */
.v2-sinfoto { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; aspect-ratio: 1 / 1; background: color-mix(in srgb, var(--marca) 9%, var(--sup, #fff)); color: color-mix(in srgb, var(--marca) 70%, var(--texto)); }
.v2-sinfoto .ico { width: 38%; height: 38%; stroke-width: 1.4; opacity: .75; }
.pd-img:has(.v2-sinfoto) { aspect-ratio: auto; height: 200px; background: color-mix(in srgb, var(--marca) 9%, var(--sup, #fff)); }
.pd-img:has(.v2-sinfoto)::before { display: none; }
.pd-img .v2-sinfoto { aspect-ratio: auto; }

/* ===== v2 · más vida: la foto vuela al pedido, el total cuenta, la portada entra en cascada ===== */
.v2-vuelo { position: fixed; z-index: 9999; object-fit: cover; border-radius: 18px; pointer-events: none; box-shadow: 0 14px 30px rgba(0, 0, 0, .28); will-change: transform, opacity; }
.vida .v2-cascada > * { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .5s ease, transform .55s cubic-bezier(.2, 1.1, .4, 1); }
.vida .v2-cascada.v2-entra > * { opacity: 1; transform: none; }
.vida .v2-cascada.v2-entra > :nth-child(2) { transition-delay: .07s; }
.vida .v2-cascada.v2-entra > :nth-child(3) { transition-delay: .14s; }
.vida .v2-cascada.v2-entra > :nth-child(4) { transition-delay: .21s; }
.vida .v2-cascada.v2-entra > :nth-child(5) { transition-delay: .28s; }
.vida .v2-cascada.v2-entra > :nth-child(n+6) { transition-delay: .32s; }
/* Al tocar una tarjeta se hunde un poco (respuesta al dedo) */
.vida .v2-cat:active, .vida.v2 .prod:active { transform: scale(.97); transition: transform .12s ease; }
/* La foto de las categorías y de los más pedidos se acerca apenas al pasar el mouse */
@media (hover: hover) {
    .vida.v2 .v2-cat .v2-cat-foto img, .vida.v2 .franja .tarjeta-img img { transition: transform .5s ease; }
    .vida.v2 .v2-cat:hover .v2-cat-foto img, .vida.v2 .franja .tarjeta:hover .tarjeta-img img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
    #local.vida:not(.vida-siempre) .v2-cascada > * { opacity: 1; transform: none; transition: none; }
}
#local.vida.lite .v2-cascada > * { opacity: 1; transform: none; transition: none; }

/* ---------- Compu ancha: categorías con aire (scroll horizontal si no entran) y "Tu pedido" centrada ---------- */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2 .v2-cats-home { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 10px; }
    html.pc-ancha #local.v2 .v2-cats-home > .v2-cat { flex: 1 0 138px; scroll-snap-align: start; }
    #local.v2 .v2-cats-home > .flecha-x.izq { left: 4px; margin-right: -56px; }
    #local.v2 .v2-cats-home > .flecha-x.der { right: 4px; margin-left: -56px; }
    html.pc-ancha #local.v2 .v2-cats-home .v2-cat :is(.v2-cat-nom, span, b, strong) { overflow-wrap: normal; word-break: normal; hyphens: none; }
    html.pc-ancha #local.v2 .barra { left: 50%; right: auto; transform: translateX(-50%); bottom: 22px; width: min(560px, calc(100% - 48px)); }
}

/* ---------- Categoría por partes (porSeccion): botones, títulos de color y recuento del pedido ---------- */
#local .partes { display: flex; gap: 8px; margin: 4px 0 10px; }
#local.v2 .cat > .partes { margin-inline: 16px; }
#local .partes button { flex: 1 1 0; max-width: 200px; min-height: 46px; border-radius: 999px; border: 1.5px solid var(--marca); background: var(--sup); color: var(--texto); font: inherit; font-weight: 700; cursor: pointer; }
#local .partes button[aria-pressed="true"] { background: var(--marca); color: var(--sobre-marca); }
#local.buscando .partes { display: none; }
#local:not(.buscando) .parte-oculta { display: none !important; }
#local.v2 .cat-sub.parte, #local.v2.v2-ordenado .cat-sub.parte { display: block; margin: 12px 0 0; padding: 11px 14px; border-radius: 14px; font-size: 1rem; background: var(--marca); color: var(--sobre-marca); }
#local.v2 .cat-sub.parte.parte-1, #local.v2.v2-ordenado .cat-sub.parte.parte-1 { background: #F2B84B; color: #2B1B05; }
#local.v2.buscando .cat-sub.parte { display: none; }
#local .prod-parte { display: none; align-self: flex-start; width: max-content; padding: 2px 8px; border-radius: 999px; font-size: .6875rem; font-weight: 700; background: var(--marca); color: var(--sobre-marca); }
#local .prod-parte.parte-1 { background: #F2B84B; color: #2B1B05; }
#local.buscando .prod-parte { display: inline-block; }
.recuento { margin: 0 0 12px; padding: 14px; border-radius: 18px; background: var(--sup); color: var(--texto); }
.recuento-tit { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0; font-size: 1.0625rem; }
.recuento-tit span { font-size: .8125rem; color: var(--suave); }
.recuento-parte { margin-top: 10px; padding-left: 10px; border-left: 5px solid var(--marca); }
.recuento-parte.parte-1 { border-left-color: #F2B84B; }
.recuento-parte h4 { display: flex; justify-content: space-between; margin: 0 0 2px; font-size: .9375rem; }
.recuento-parte ul { list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.recuento-parte li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.chat .globo { overflow-wrap: anywhere; min-width: 0; max-width: 100%; }

/* ===== Lo de Aldo final · arreglos de la revisión del 28/11 ===== */
/* Horario de envíos en la información del local: entra en el renglón y corta bien */
.info-sub.info-envios span { white-space: normal; }
/* "Los más pedidos" en el celular: se asoma la tercera tarjeta (si no, no se sabía que había más) */
@media (max-width: 599px) { #local.v2 .fila-x .tarjeta { width: clamp(158px, 40vw, 176px); } }
/* El "+" de la primera tarjeta ya no va relleno: parecía elegido */
#local.v2 .tarjeta:first-child .mas:not(.con) { background: var(--sup); color: var(--marca); }
/* Compu: la descripción ya no se mete debajo del precio y del "+" (con el nombre en 2 renglones pasaba en las pizzas) */
@media (min-width: 1000px) { html.pc-ancha #local.v2.v2-en-carta .prod-desc { -webkit-line-clamp: 2; } }
.sin-corte { white-space: nowrap; }
/* Compu: al bajar, la columna de categorías (pegada, con 56 px arriba) tapaba el botón "volver" y no se podía tocar */
@media (min-width: 1200px) {
    html.pc-ancha #local.v2.v2-en-carta > nav.cats.pegada { pointer-events: none; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats.pegada > * { pointer-events: auto; }
}

/* ===== Información del local (nueva) ===== */
.hoja[data-vista="info"] .hoja-cab h2 { font-family: var(--f-texto); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.info-hoja { display: grid; gap: 12px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.ix-local, .ix-caja { background: var(--sup); border-radius: 20px; padding: 16px; box-shadow: 0 1px 2px rgba(40, 20, 10, .06), 0 6px 18px -12px rgba(40, 20, 10, .25); }
.ix-cab { display: flex; align-items: center; gap: 12px; }
.ix-cab .logo { width: 56px; height: 56px; flex: none; border-radius: 50%; }
.ix-cab h3 { margin: 0; font-family: var(--f-texto); font-size: 1.125rem; font-weight: 800; color: var(--texto); }
.ix-cab p { margin: 2px 0 0; font-size: .875rem; color: var(--suave); }
.ix-estado { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 14px; font-size: .9375rem; }
.ix-estado i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ix-estado.abierto { background: #E7F4EC; color: #15703C; } .ix-estado.abierto i { background: #1E9A55; box-shadow: 0 0 0 4px rgba(30, 154, 85, .18); }
.ix-estado.cerrado { background: #FBEAEA; color: #A32020; } .ix-estado.cerrado i { background: #C62828; }
.ix-estado span { color: var(--texto); font-weight: 500; }
.ix-accs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ix-acc { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: var(--fondo); color: var(--texto); text-decoration: none; font-size: .8125rem; font-weight: 700; min-height: 44px; }
.ix-acc .ico, .ix-acc svg { width: 22px; height: 22px; color: var(--marca); }
@media (hover: hover) { .ix-acc:hover { background: color-mix(in srgb, var(--marca) 10%, var(--fondo)); } }
.ix-caja h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--f-texto); font-size: 1rem; font-weight: 800; color: var(--texto); }
.ix-caja h3 .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: color-mix(in srgb, var(--marca) 10%, var(--sup)); color: var(--marca); flex: none; box-sizing: border-box; }
.ix-horas { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.ix-horas thead th { padding: 0 6px 6px; font-size: .75rem; font-weight: 700; color: var(--suave); text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.ix-horas tbody th { padding: 7px 6px; text-align: left; font-weight: 600; color: var(--texto); text-transform: capitalize; white-space: nowrap; }
.ix-horas td { padding: 7px 6px; color: var(--texto); vertical-align: top; }
.ix-horas td span { display: block; white-space: nowrap; }
.ix-horas tbody tr + tr > * { border-top: 1px solid var(--linea); }
.ix-horas tr.hoy > * { background: color-mix(in srgb, var(--marca) 8%, var(--sup)); font-weight: 800; }
.ix-horas tr.hoy > :first-child { border-radius: 10px 0 0 10px; } .ix-horas tr.hoy > :last-child { border-radius: 0 10px 10px 0; }
.ix-cerr { color: var(--suave); font-weight: 500; }
.ix-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.ix-datos div { display: grid; gap: 2px; padding: 10px 8px; border-radius: 14px; background: var(--fondo); text-align: center; }
.ix-datos strong { font-size: 1rem; font-weight: 800; color: var(--texto); font-variant-numeric: tabular-nums; }
.ix-datos span { font-size: .75rem; color: var(--suave); line-height: 1.2; }
.ix-zonas, .ix-pagos { list-style: none; margin: 0; padding: 0; }
.ix-zonas li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; font-size: .9375rem; color: var(--texto); }
.ix-zonas li + li { border-top: 1px solid var(--linea); }
.ix-zonas strong { font-weight: 800; font-variant-numeric: tabular-nums; } .ix-zonas .gratis { color: #15703C; }
.ix-pagos { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-pagos li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--fondo); font-weight: 700; font-size: .9375rem; color: var(--texto); }
.ix-pagos .ico { width: 18px; height: 18px; color: var(--marca); } .ix-pagos em { font-style: normal; color: #15703C; font-size: .8125rem; }
.ix-nota { margin: 10px 0 0; font-size: .8125rem; color: var(--suave); }
.ix-ret { display: grid; gap: 2px; margin: 0; } .ix-ret strong { color: var(--texto); } .ix-ret span { font-size: .875rem; color: var(--suave); }
@media (min-width: 700px) { .info-hoja { grid-template-columns: 1fr 1fr; align-items: start; } .ix-local { grid-column: 1 / -1; } }

/* ===== Títulos de sección dentro de la carta (Fritas, Al horno, Milanesas y supremas…): letra común, sin bandas de color ===== */
#local.v2 .cat-sub, #local.v2 .cat-sub.parte, #local.v2 .cat-sub.parte.parte-1, #local.v2.v2-ordenado .cat-sub.parte {
    display: flex; align-items: center; gap: 12px; margin: 18px 0 2px; padding: 0; border-radius: 0; background: none; color: var(--texto);
    font-family: var(--f-texto); font-size: 1.0625rem; font-weight: 800; letter-spacing: -.005em; text-transform: none; }
#local.v2 .cat-sub::after { content: ""; flex: 1; height: 1px; background: var(--linea); }
#local.v2 .cat-sub:first-child { margin-top: 6px; }
#local.v2.buscando .cat-sub.parte { display: none; }
/* Títulos de categoría ("Pizzas", "Empanadas" con Todas) y del pedido: letra común también */
#local.v2 .cat > h2, #local.v2 .v2-carta-tit h2 { font-family: var(--f-texto); font-weight: 800; letter-spacing: -.01em; }

/* ===== Carta: barra de categorías ===== */
/* Siempre píldoras compactas (ícono + nombre): ya no cambian de tamaño al quedar pegadas arriba, así el scroll no salta ni se traba,
   y sin la franja más clarita de fondo */
#local.v2 .cats { background: var(--fondo); border: 0; box-shadow: none; padding: 6px 16px 10px; -webkit-backdrop-filter: none; backdrop-filter: none; }
#local.v2 .cats a, #local.v2 .cats .v2-todas-chip { display: inline-flex; align-items: center; gap: 7px; min-width: 0; min-height: 44px; padding: 6px 15px 6px 11px; border-radius: 999px; font-size: .9375rem; box-shadow: inset 0 0 0 1px var(--linea); }
#local.v2 .cats .ico { width: 20px; height: 20px; }
#local.v2 .cats .activa { box-shadow: none; }
#local.v2 .cats.pegada { padding-top: 8px; padding-bottom: 8px; background: var(--fondo); box-shadow: 0 6px 10px -8px rgba(60, 30, 10, .3); }
#local .hoja[data-vista="info"] .hoja-cab h2, #local.v2 .hoja[data-vista="info"] .hoja-cab h2 { font-family: var(--f-texto); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
#local.v2 .v2-carta-tit h2 { font-size: 1.125rem; }
@media (max-width: 400px) { #local.v2 .v2-carta-tit h2 .ico { display: none; } }

/* ===== Tarjetas de producto: precio y botón en su propio lugar (28/11) =====
   Todas las tarjetas tienen la misma estructura: foto, nombre, bajada, precio y abajo un botón "Agregar" a lo ancho.
   Al agregar, ese mismo botón se convierte en el contador − 1 + (o "1 en tu pedido" si tiene opciones).
   Así nada tapa el precio ni la foto y los precios quedan alineados en cada fila. */
#local.v2 .prod, #local.v2 .tarjeta { display: flex; flex-direction: column; }
#local.v2 .prod > .prod-abrir, #local.v2 .tarjeta > .tarjeta-abrir { flex: 1; height: auto; padding-bottom: 0; }
#local.v2 .prod-txt { flex: 1; display: flex; flex-direction: column; }
#local.v2 .prod-precio, #local.v2 .prod:has(.cont) .prod-precio { position: static; visibility: visible; margin-top: auto; padding-top: 8px; right: auto; }
#local.v2 .tarjeta-precio, #local.v2 .tarjeta:has(.cont) .tarjeta-precio { margin-top: auto; padding-top: 8px; visibility: visible; }
#local.v2 .prod .prod-acc, #local.v2 .tarjeta .prod-acc { position: static; display: block; padding: 10px 12px 12px; }
#local.v2 :is(.prod, .tarjeta) .mas { width: 100%; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--fondo); color: var(--marca); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--marca) 30%, transparent); font-size: .9375rem; font-weight: 800; }
#local.v2 :is(.prod, .tarjeta) .mas .ico { width: 18px; height: 18px; }
#local.v2 :is(.prod, .tarjeta) .mas:not(.con)::after { content: "Agregar"; }
#local.v2 :is(.prod, .tarjeta) .mas.con { background: var(--marca); color: var(--sobre-marca); box-shadow: none; }
#local.v2 :is(.prod, .tarjeta) .mas.con::after { content: " en tu pedido"; white-space: pre; font-weight: 700; }
#local.v2 :is(.prod, .tarjeta) .cont { width: 100%; height: 42px; justify-content: space-between; border-radius: 999px; background: var(--marca); color: var(--sobre-marca); box-shadow: none; }
#local.v2 :is(.prod, .tarjeta) .cont button { width: 48px; height: 42px; color: var(--sobre-marca); }
#local.v2 :is(.prod, .tarjeta) .cont b { color: var(--sobre-marca); font-size: 1rem; }
@media (hover: hover) { #local.v2 :is(.prod, .tarjeta) .mas:not(.con):hover { background: color-mix(in srgb, var(--marca) 8%, var(--fondo)); } }
/* Compu: tarjetas horizontales (foto al costado): el precio y el botón van abajo en la columna del texto */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2.v2-en-carta .prod > .prod-abrir { flex-direction: row-reverse; }
    html.pc-ancha #local.v2.v2-en-carta .prod { display: grid; grid-template-columns: 168px 1fr; grid-template-rows: 1fr auto; }
    html.pc-ancha #local.v2.v2-en-carta .prod > .prod-abrir { grid-column: 1 / -1; grid-row: 1 / -1; min-height: 168px; }
    html.pc-ancha #local.v2.v2-en-carta .prod-txt { padding: 14px 14px 64px; }
    html.pc-ancha #local.v2.v2-en-carta .prod .prod-acc { grid-column: 2; grid-row: 2; z-index: 2; padding: 0 12px 12px 16px; }
    html.pc-ancha #local.v2.v2-en-carta .prod-precio { position: static; }
}
/* Portada en el celular: corte recto que se funde de a poco con el fondo (como en la compu), sin la curva */
#local.v2 .cab .cab-portada::after, #local.v2.vida.lite .cab .cab-portada::after { left: 0; right: 0; bottom: -1px; height: 110px; border-radius: 0;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--fondo) 10%, transparent) 25%, color-mix(in srgb, var(--fondo) 35%, transparent) 50%, color-mix(in srgb, var(--fondo) 70%, transparent) 72%, color-mix(in srgb, var(--fondo) 92%, transparent) 88%, var(--fondo)); }

/* ===== Reseñas de Google en la portada ===== */
#local.v2 .rs { padding: 8px 0 6px; }
.rs-nota { display: flex; align-items: center; gap: 10px; margin: 6px 16px 0; padding: 12px 14px; border-radius: 18px; background: var(--sup); color: var(--texto); text-decoration: none; box-shadow: 0 1px 2px rgba(40, 20, 10, .06); }
.rs-nota strong { font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.rs-nota span:not(.rs-estrellas) { flex: 1; font-size: .875rem; color: var(--suave); }
.rs-nota .ico { width: 18px; height: 18px; color: var(--suave); flex: none; }
.rs-estrellas { letter-spacing: 1px; font-size: 1rem; line-height: 1; white-space: nowrap; background: linear-gradient(90deg, #F2A900 var(--v, 100%), #D9CFC2 var(--v, 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-fila { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 320px); gap: 12px; overflow-x: auto; padding: 12px 16px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rs-fila::-webkit-scrollbar { display: none; }
.rs-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 16px; border-radius: 20px; background: var(--sup); box-shadow: 0 1px 2px rgba(40, 20, 10, .06), 0 8px 20px -14px rgba(40, 20, 10, .3); }
.rs-card blockquote { flex: 1; margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--texto); }
.rs-card figcaption { font-size: .8125rem; font-weight: 700; color: var(--texto); }
.rs-card figcaption span { font-weight: 500; color: var(--suave); }
@media (min-width: 1000px) { .rs-fila { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } .rs-nota { max-width: 420px; } }

/* ===== Información del local en la portada ===== */
#local.v2 .ip { padding: 8px 0 18px; }
.ip-caja { margin: 8px 16px 0; padding: 4px 16px; border-radius: 20px; background: var(--sup); box-shadow: 0 1px 2px rgba(40, 20, 10, .06), 0 8px 20px -14px rgba(40, 20, 10, .3); }
.ip-fila { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.ip-fila + .ip-fila { border-top: 1px solid var(--linea); }
.ip-fila > .ico { width: 38px; height: 38px; padding: 9px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--marca) 9%, var(--sup)); color: var(--marca); box-sizing: border-box; }
.ip-fila > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ip-fila strong { font-size: .9375rem; font-weight: 800; color: var(--texto); }
.ip-fila span { font-size: .8125rem; line-height: 1.4; color: var(--suave); }
.ip-est { font-style: normal; } .ip-est.abierto { color: #15703C; } .ip-est.cerrado { color: #B3261E; }
.ip-btn { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--fondo); color: var(--marca); font-size: .8125rem; font-weight: 800; text-decoration: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--marca) 30%, transparent); }
@media (min-width: 1000px) { .ip-caja { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; } .ip-fila + .ip-fila { border-top: 0; } .ip-fila:nth-child(n+3) { border-top: 1px solid var(--linea); } }

/* ===== Pie: legales ===== */
.pie-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 18px auto 6px; padding: 0 16px; max-width: 700px; }
.pie-legal a { color: inherit; opacity: .92; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.pie-consumidor { margin: 6px auto 0; padding: 0 16px; text-align: center; font-size: .8125rem; }
.pie-consumidor a { color: inherit; opacity: .9; }
.pie-titular { margin: 4px 0 0; text-align: center; font-size: .75rem; opacity: .8; }
#local.v2 .sec-tit .ip-vertodo { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: .9375rem; color: var(--texto); white-space: nowrap; } #local.v2 .sec-tit .ip-vertodo .ico { width: 18px; height: 18px; }
.rs-fila { scroll-padding-inline: 16px; }

/* ===== Precio tachado (combos y promos) ===== */
.p-antes { display: block; margin-bottom: 1px; font-size: .8125rem; font-weight: 600; color: var(--suave); text-decoration-thickness: 1.5px; }
#local.v2 .tarjeta-etq, #local.v2 .prod-etq { font-weight: 800; }
#local.v2 :is(.prod, .tarjeta):has(.p-antes) :is(.tarjeta-etq, .prod-etq) { background: #15703C; color: #fff; }

/* ===== Combos y promos en la portada: tarjetas más anchas ===== */
#local.v2 .franja-promos { padding-top: 6px; }
#local.v2 .franja-promos .fila-x .tarjeta { width: clamp(236px, 70vw, 300px); }
#local.v2 .franja-promos .tarjeta-img { height: auto; aspect-ratio: 16 / 10; }
#local.v2 .franja-promos .tarjeta-img img { object-fit: cover; }
#local.v2 .franja-promos .tarjeta-nom { min-height: 0; }
@media (min-width: 1000px) { #local.v2 .franja-promos .fila-x .tarjeta { width: auto; } html.pc-ancha #local.v2 .franja-promos .fila-x { grid-auto-columns: minmax(0, 1fr); } }

/* ===== Tu último pedido ===== */
.ult { padding: 4px 16px 10px; }
.ult-caja { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; padding: 14px; border-radius: 20px; background: var(--sup); box-shadow: 0 1px 2px rgba(40, 20, 10, .06), 0 8px 20px -14px rgba(40, 20, 10, .3); }
.ult-fotos { display: flex; }
.ult-fotos img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sup); box-shadow: 0 2px 6px rgba(40, 20, 10, .15); }
.ult-fotos img + img { margin-left: -18px; }
.ult-txt { min-width: 0; }
.ult-txt p { margin: 0; }
.ult-tit { font-weight: 800; font-size: .9375rem; color: var(--texto); } .ult-tit span { font-weight: 500; color: var(--suave); }
.ult-lista { font-size: .8125rem; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ult-total { font-weight: 800; color: var(--texto); } .ult-total small { font-weight: 500; font-size: .75rem; color: var(--suave); }
.ult-btn { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; background: var(--marca); color: var(--sobre-marca); font-weight: 800; font-size: .9375rem; }
.ult-btn .ico { width: 18px; height: 18px; }
@media (min-width: 1000px) { .ult { max-width: var(--col, 1100px); margin: 0 auto; } .ult-caja { grid-template-columns: auto 1fr auto; } .ult-btn { grid-column: auto; padding: 0 22px; } }

/* ===== Sugerencia al agregar un plato (celular) ===== */
.sug-add { position: fixed; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 560px; margin: 0 auto; padding: 12px; border-radius: 22px; background: var(--sup); box-shadow: 0 18px 40px -10px rgba(30, 14, 6, .45), 0 0 0 1px var(--linea);
    opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .22s ease; }
.sug-add.ve { opacity: 1; transform: none; }
.sug-cab { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 10px; }
.sug-cab strong { font-size: .9375rem; font-weight: 800; color: var(--texto); }
.sug-x { display: grid; place-items: center; width: 36px; height: 36px; margin: -6px -4px -6px 0; border-radius: 50%; color: var(--suave); }
.sug-x .ico { width: 18px; height: 18px; }
.sug-fila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sug-item { position: relative; display: grid; justify-items: start; gap: 2px; padding: 6px 6px 8px; border-radius: 16px; background: var(--fondo); text-align: left; color: var(--texto); }
.sug-img { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--sup); }
.sug-img img { width: 100%; height: 100%; object-fit: cover; }
.sug-nom { font-size: .75rem; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; margin-top: 4px; }
.sug-pre { font-size: .8125rem; font-weight: 800; }
.sug-mas { position: absolute; right: 10px; top: calc(100% - 64px - 2.4em); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--marca); color: var(--sobre-marca); box-shadow: 0 3px 8px rgba(30, 14, 6, .3); }
.sug-item .sug-mas { top: auto; bottom: 50px; }
.sug-mas .ico { width: 16px; height: 16px; }
.sug-item.listo .sug-mas { background: #15703C; }
@media (prefers-reduced-motion: reduce) { .sug-add { transition: none; } }
/* Nombre de tarjeta: hasta 2 renglones (no se pisa con la bajada) */
#local.v2 .tarjeta-nom { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Compu: reseñas, información y último pedido en la misma columna centrada que el resto de la portada */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2 :is(.rs, .ip, .ult) { width: min(var(--col, 1100px), calc(100% - 48px)); margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
    html.pc-ancha #local.v2 :is(.rs, .ip) .sec-tit { padding-left: 0; padding-right: 0; }
    html.pc-ancha #local.v2 .rs-nota, html.pc-ancha #local.v2 .ip-caja { margin-left: 0; margin-right: 0; }
    html.pc-ancha #local.v2 .rs-fila { padding-left: 0; padding-right: 0; }
}

/* ===== Adaptabilidad compu (28/11) ===== */
/* Nombres de tarjeta: el corte a 2 renglones también en las franjas (una regla vieja lo pisaba con flow-root y asomaba un 3.er renglón) */
#local.v2 .franja .tarjeta .tarjeta-nom, #local.v2 .tarjeta .tarjeta-nom { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Pie: los enlaces legales van dentro de la franja oscura, a lo ancho y centrados (antes quedaban en columnas sueltas sobre fondo claro) */
#local.v2 .v2-pie :is(.pie-legal, .pie-consumidor, .pie-titular) { grid-column: 1 / -1; margin: 0 -16px; max-width: none; padding: 6px 20px 0; background: var(--marca); color: var(--sobre-marca); text-align: center; }
#local.v2 .v2-pie .pie-legal { padding-top: 18px; gap: 4px 22px; }
#local.v2 .v2-pie .pie-legal a { color: var(--sobre-marca); opacity: .92; }
#local.v2 .v2-pie .pie-consumidor { font-size: .75rem; }
#local.v2 .v2-pie .pie-consumidor a { display: inline-block; max-width: 46ch; padding: 6px 0; color: var(--sobre-marca); opacity: .75; line-height: 1.4; }
#local.v2 .v2-pie .pie-titular { font-size: .75rem; opacity: .75; }
#local.v2 .v2-pie .pie-legal ~ .pie-firma { border-top: 1px solid rgba(255,255,255,.14); }
@media (min-width: 720px) {
    #local.v2 .v2-pie :is(.pie-legal, .pie-consumidor, .pie-titular) { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
    #local.v2 .v2-pie .pie-legal ~ .pie-firma { border-top: 0; }
}
/* Compu y tablet: el botón "Agregar" y el contador a su medida, no estirados a lo ancho de la tarjeta */
@media (min-width: 720px) and (hover: hover) {
    #local.v2 :is(.prod, .tarjeta) .prod-acc { display: flex; justify-content: flex-start; }
    #local.v2 :is(.prod, .tarjeta) .mas, #local.v2 :is(.prod, .tarjeta) .mas.con { width: auto; min-width: 128px; padding: 0 18px; height: 40px; }
    #local.v2 :is(.prod, .tarjeta) .cont { width: auto; min-width: 132px; height: 40px; }
    #local.v2 :is(.prod, .tarjeta) .cont button { width: 44px; height: 40px; }
}
/* Hoja "Información del local" en compu: más ancha, así las dos columnas no se aprietan ni se cortan los números */
@media (min-width: 900px) {
    #local .hoja[data-vista="info"] .hoja-caja { width: min(860px, calc(100% - 48px)); max-width: none; }
}
@media (min-width: 700px) and (max-width: 899px) { .info-hoja { grid-template-columns: 1fr; } }
/* Por las dudas, en ningún celular la página puede correrse de costado */
html, body { overflow-x: clip; }
#local.v2 .tarjeta .tarjeta-nom { flex: none; max-height: calc(2 * 1.2em); }

/* ===== Punto 1: en la carta (segunda página) solo productos: sin reseñas, información ni último pedido ===== */
#local.v2.v2-en-carta :is(.rs, .ip, .ult, [data-ultimo]) { display: none !important; }

/* ===== Punto 2: combos y promos con la foto entera y alineados como "Los más pedidos" ===== */
/* Las fotos son cuadradas: en compu se muestran enteras (1:1), en el celular casi enteras (4:3) */
#local.v2 .franja-promos .tarjeta-img { position: relative; overflow: hidden; height: auto; aspect-ratio: 4 / 3; }
#local.v2 .franja-promos .tarjeta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50% !important; }
@media (min-width: 1000px) {
    /* mismos bordes izquierdo y derecho que el resto de la portada, todas las tarjetas del mismo ancho */
    html.pc-ancha #local.v2 .franja-promos > .fila-x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; overflow: visible; padding-left: var(--lado-col); padding-right: var(--lado-col); }
    html.pc-ancha #local.v2 .franja-promos > .fila-x > .flecha-x { display: none; }
    html.pc-ancha #local.v2 .franja-promos .fila-x .tarjeta { width: auto; margin: 0; }
    html.pc-ancha #local.v2 .franja-promos .tarjeta-img { aspect-ratio: 1 / 1; }
}
/* Las tarjetas reparten el espacio sobrante arriba (no entre renglones): títulos a la misma altura en toda la fila, precio abajo */
#local.v2 .tarjeta > .tarjeta-abrir { display: flex; flex-direction: column; align-items: stretch; }
#local.v2 .tarjeta > .tarjeta-abrir > :is(.tarjeta-img) { flex: none; }
#local.v2 .tarjeta > .tarjeta-abrir > :is(.tarjeta-nom) { margin-top: 12px; }
#local.v2 .tarjeta > .tarjeta-abrir > .tarjeta-sub { margin-top: 4px; }
#local.v2 .tarjeta > .tarjeta-abrir > .v2-elegible { align-self: flex-start; margin: 6px 12px 0; }
#local.v2 .tarjeta > .tarjeta-abrir > .tarjeta-precio { margin-top: auto; }

/* ===== Punto 4: reseñas e información, rediseño (28/11) ===== */
/* --- Reseñas --- */
.rs-grid { display: grid; gap: 4px; }
.rs-resumen { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 6px 16px 0; padding: 16px 18px; border-radius: 22px;
    background: var(--marca); color: var(--sobre-marca); text-decoration: none; box-shadow: 0 10px 24px -14px rgba(60, 20, 10, .55); }
.rs-num { font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rs-dato { display: grid; gap: 4px; min-width: 0; }
.rs-resumen .rs-estrellas { font-size: 1.25rem; letter-spacing: 2px; background: linear-gradient(90deg, #F7B500 var(--v, 100%), rgba(255,255,255,.3) var(--v, 100%)); -webkit-background-clip: text; background-clip: text; }
.rs-cant { font-size: .875rem; opacity: .85; }
.rs-ver { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .8125rem; font-weight: 800; white-space: nowrap; }
.rs-ver .ico { width: 16px; height: 16px; }
@media (hover: hover) { .rs-resumen:hover .rs-ver { background: rgba(255,255,255,.24); } }
.rs-card { position: relative; gap: 14px; padding: 20px 18px 16px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--marca) 8%, transparent); }
.rs-card::before { content: "\201C"; position: absolute; top: 2px; right: 16px; font: 800 4.5rem/1 Georgia, serif; color: color-mix(in srgb, var(--marca) 13%, transparent); pointer-events: none; }
.rs-card blockquote { position: relative; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font-size: .9375rem; line-height: 1.5; color: var(--texto); }
.rs-card figcaption { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--linea); }
.rs-av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-size: 1rem; font-weight: 800; }
.rs-quien { flex: 1; min-width: 0; display: grid; gap: 3px; }
.rs-card .rs-quien b { font-size: .875rem; font-weight: 800; color: var(--texto); }
.rs-card .rs-quien .rs-estrellas { font-size: .8125rem; }
.rs-card .rs-origen { flex: none; padding: 4px 9px; border-radius: 999px; background: var(--fondo); font-size: .75rem; font-weight: 700; color: var(--suave); }
@media (max-width: 380px) { .rs-num { font-size: 2.25rem; } .rs-ver { padding: 0 10px; } .rs-resumen { gap: 10px; padding: 14px; } }
@media (min-width: 1000px) {
    /* resumen a la izquierda, seis opiniones en 3 x 2 a la derecha, todas de la misma altura */
    html.pc-ancha #local.v2 .rs-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 16px; align-items: stretch; margin-top: 10px; }
    html.pc-ancha #local.v2 .rs-resumen { grid-template-columns: 1fr; align-content: center; justify-items: center; text-align: center; gap: 12px; margin: 0; padding: 28px 20px; max-width: none; }
    html.pc-ancha #local.v2 .rs-num { font-size: 4rem; }
    html.pc-ancha #local.v2 .rs-dato { justify-items: center; }
    html.pc-ancha #local.v2 .rs-fila { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; padding: 0; overflow: visible; }
}

/* --- Información del local: cuatro tarjetas --- */
.ip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); gap: 12px; margin: 8px 16px 0; }
.ip-t { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: var(--sup); box-shadow: 0 1px 2px rgba(40, 20, 10, .06), 0 8px 20px -14px rgba(40, 20, 10, .3); }
.ip-t-cab { display: flex; align-items: center; gap: 10px; }
.ip-t-cab .ico { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 14px; box-sizing: border-box; background: color-mix(in srgb, var(--marca) 10%, var(--sup)); color: var(--marca); }
.ip-t-cab h3 { margin: 0; font-family: var(--f-texto); font-size: 1rem; font-weight: 800; color: var(--texto); }
.ip-t-cuerpo { flex: 1; display: grid; align-content: start; gap: 8px; }
.ip-t-cuerpo p { margin: 0; }
.ip-t .ip-est { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 11px; border-radius: 999px; font-size: .8125rem; font-weight: 800; }
.ip-t .ip-est i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ip-t .ip-est.abierto { background: #E7F4EC; color: #15703C; } .ip-t .ip-est.cerrado { background: #FBEAEA; color: #A32020; }
.ip-t dl { margin: 0; display: grid; gap: 6px; }
.ip-t dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: .875rem; }
.ip-t dt { color: var(--suave); } .ip-t dd { margin: 0; font-weight: 700; color: var(--texto); text-align: right; font-variant-numeric: tabular-nums; }
.ip-grande { font-size: 1.25rem; font-weight: 800; line-height: 1.2; color: var(--texto); letter-spacing: -.01em; }
.ip-sub { font-size: .8125rem; line-height: 1.4; color: var(--suave); }
.ip-pagos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ip-pagos li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--fondo); font-size: .875rem; font-weight: 700; color: var(--texto); }
.ip-pagos .ico { width: 17px; height: 17px; color: var(--marca); }
.ip-acc { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--fondo); color: var(--marca); font: inherit; font-size: .8125rem; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--marca) 25%, transparent); }
.ip-acc .ico { width: 15px; height: 15px; }
@media (hover: hover) { .ip-acc:hover { background: color-mix(in srgb, var(--marca) 8%, var(--fondo)); } }
@media (min-width: 1000px) {
    html.pc-ancha #local.v2 .ip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 10px 0 0; }
}
.rs-card figcaption .rs-av { color: #fff; font-weight: 800; font-size: 1rem; }
.rs-card figcaption .rs-estrellas { color: transparent; font-weight: 400; }
.rs-card figcaption .rs-quien { color: var(--texto); }
.ip-t dl > div { align-items: baseline; }
.ip-t dt { white-space: nowrap; }
.ip-t dd span { display: block; white-space: nowrap; }
.rs-card blockquote { padding-right: 26px; }
/* Celular: las cuatro partes de la información en una sola tarjeta, con la acción al lado del título (más corta de recorrer) */
@media (max-width: 599px) {
    .ip-grid { gap: 0; padding: 0 16px; border-radius: 22px; background: var(--sup); box-shadow: 0 1px 2px rgba(40, 20, 10, .06), 0 8px 20px -14px rgba(40, 20, 10, .3); }
    .ip-t { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cab acc" "cuerpo cuerpo"; align-items: center; gap: 8px 8px; padding: 16px 0; border-radius: 0; background: none; box-shadow: none; }
    .ip-t + .ip-t { border-top: 1px solid var(--linea); }
    .ip-t-cab { grid-area: cab; min-width: 0; }
    .ip-t-cab .ico { width: 36px; height: 36px; padding: 9px; border-radius: 12px; }
    .ip-t-cuerpo { grid-area: cuerpo; padding-left: 46px; gap: 6px; }
    .ip-t .ip-acc { grid-area: acc; align-self: center; min-height: 36px; padding: 0 12px; font-size: .75rem; }
    .ip-grande { font-size: 1.0625rem; }
}

/* ===== Punto 5: pie ordenado (28/11) ===== */
#local.v2 .pie.pie-nuevo { display: block; margin-top: 28px; padding: 0; border-radius: 32px 32px 0 0; background: var(--marca); color: var(--sobre-marca); overflow: hidden; }
.pie-nuevo .pf { display: grid; gap: 28px; width: min(var(--col, 1100px), calc(100% - 40px)); margin: 0 auto; padding: 36px 0 28px; }
.pie-nuevo .pf-marca { display: flex; align-items: center; gap: 14px; }
.pie-nuevo .pf-marca .logo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--marca), 0 0 0 5px var(--oro, #B88A3E); }
.pie-nuevo .pf-marca div { display: grid; gap: 4px; }
.pie-nuevo .pf-marca strong { font-family: var(--f-titulos); font-size: 1.625rem; font-weight: 800; line-height: 1.1; }
.pie-nuevo .pf-marca span { max-width: 34ch; font-size: .875rem; line-height: 1.4; opacity: .8; }
.pie-nuevo .pf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.pie-nuevo .pf-col { display: grid; align-content: start; justify-items: start; gap: 4px; }
.pie-nuevo .pf-col:last-child { grid-column: 1 / -1; }
.pie-nuevo h3 { margin: 0 0 6px; font-family: var(--f-texto); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--oro, #E2B66A); }
.pie-nuevo .pf-col p { margin: 0 0 4px; font-size: .9375rem; line-height: 1.45; }
.pie-nuevo .pf-col a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--sobre-marca); font-size: .9375rem; font-weight: 600; text-decoration: none; opacity: .9; }
.pie-nuevo .pf-col a .ico { flex: none; width: 17px; height: 17px; opacity: .85; }
@media (hover: hover) { .pie-nuevo a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; } }
.pie-nuevo .pf-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; width: min(var(--col, 1100px), calc(100% - 40px)); margin: 0 auto; padding: 16px 0 calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.16); font-size: .8125rem; }
.pie-nuevo .pf-base span { opacity: .75; }
.pie-nuevo .pf-base a { display: inline-flex; align-items: center; min-height: 40px; color: var(--sobre-marca); text-decoration: none; opacity: .85; }
.pie-nuevo .pf-base a b { margin-left: 4px; color: var(--oro, #E2B66A); }
body.con-barra #local.v2 .pie-nuevo .pf-base { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 480px) { .pie-nuevo .pf-base { flex-direction: column; align-items: flex-start; gap: 0; } }
@media (min-width: 900px) {
    .pie-nuevo .pf { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); align-items: start; gap: 40px; padding: 48px 0 36px; }
    .pie-nuevo .pf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
    .pie-nuevo .pf-col:last-child { grid-column: auto; }
    .pie-nuevo .pf-marca { align-items: flex-start; flex-direction: column; }
    .pie-nuevo .pf-marca .logo { width: 72px; height: 72px; }
}
#local.v2 .pie-nuevo .pf-marca .logo { width: 64px; height: 64px; max-width: none; }
@media (min-width: 900px) { #local.v2 .pie-nuevo .pf-marca .logo { width: 72px; height: 72px; } }

/* ===== compu · carta: la foto ocupa todo el alto de la tarjeta (sin franjas arriba y abajo en los platos con texto largo) ===== */
@media (min-width: 1000px) {
    html.pc-ancha #local.v2.v2-en-carta .prod-img { position: relative; overflow: hidden; height: auto; min-height: 168px; aspect-ratio: auto; align-self: stretch; margin-block: 0; }
    html.pc-ancha #local.v2.v2-en-carta .prod-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    html.pc-ancha #local.v2.v2-en-carta .prod-img > .dib { position: absolute; inset: 10%; width: 80%; height: 80%; }
}
/* ===== compu · carta: la columna de categorías termina donde terminan los platos (no se mete en el pie)
   y, al bajar, queda debajo del botón "volver" (no detrás) ===== */
@media (min-width: 1200px) {
    html.pc-ancha #local.v2.v2-en-carta > nav.cats, html.pc-ancha #local.v2.v2-en-carta > main.carta { grid-row: 3; }
    html.pc-ancha #local.v2.v2-en-carta > .pie { grid-row: 4; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats { gap: 2px; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats > :is(a, .v2-todas-chip) { min-height: 44px; padding-block: 8px; }
    html.pc-ancha #local.v2.v2-en-carta > nav.cats.pegada { top: calc(var(--cinta-h, 0px) + 72px); max-height: calc(100vh - var(--cinta-h, 0px) - 84px); padding: 0; }
}
@media (min-width: 1200px) {
    html.pc-ancha #local.v2.v2-en-carta > nav.cats.pegada, html.pc-ancha #local.v2.v2-en-carta:has(> nav.cats.pegada) .v2-carta-fila .v2-volver { transform: translateY(var(--empuje, 0px)); }
}
#local .v2-fin-pagos .v2-pago-nota, .v2-fin-pagos .v2-pago-nota { margin: 8px 2px 0; font-size: .8125rem; line-height: 1.35; color: var(--suave); }

/* ===== celular · portada más corta: la comida asoma antes (pasos en un renglón, accesos más bajos) ===== */
.v2-pasos-fila li > i { display: none; font-style: normal; }
@media (max-width: 719px) {
    #local.v2 .v2-pasos-fila { gap: 4px; }
    #local.v2 .v2-pasos-fila li { flex-direction: row; justify-content: center; text-align: left; gap: 5px; font-size: .75rem; white-space: nowrap; }
    #local.v2 .v2-pasos-fila li > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    #local.v2 .v2-pasos-fila li > i { display: inline; }
    #local.v2 .v2-pasos-fila b { width: 20px; height: 20px; font-size: .75rem; }
    #local.v2 .v2-pasos { gap: 10px; padding-top: 12px; }
    #local.v2 .cab > .entradas > .entrada { min-height: 0; height: 92px; padding-block: 10px; gap: 2px; }
}
@media (max-width: 359px) { #local.v2 .v2-pasos-fila li { font-size: .6875rem; gap: 3px; } #local.v2 .v2-pasos-fila b { width: 18px; height: 18px; } }

/* ===== Tu pedido: "Te faltan $X para el mínimo" se puede tocar y lleva a sumar algo ===== */
#local .v2-continuar.v2-falta-min, .v2-continuar.v2-falta-min { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; opacity: 1; background: var(--texto); color: var(--sup); }
.v2-continuar.v2-falta-min > span { font-size: .9375rem; font-weight: 600; }
.v2-continuar.v2-falta-min > span b { font-weight: 800; }
.v2-continuar.v2-falta-min > small { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 700; color: var(--oro, #E0B36A); }
.v2-continuar.v2-falta-min > small .ico { width: 16px; height: 16px; }
@keyframes v2-llama { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 4px var(--oro, #B88A3E); } }
.v2-comp.v2-comp-llama { border-radius: 20px; animation: v2-llama 1.4s ease 2; }
@media (prefers-reduced-motion: reduce) { .v2-comp.v2-comp-llama { animation: none; outline: 3px solid var(--oro, #B88A3E); } }
@media (max-width: 719px) {
    #local.v2 .v2-pasos-fila { display: flex; justify-content: space-between; padding-inline: 2px; }
    #local.v2 .v2-pasos-fila li { flex: none; }
}
@media (max-width: 389px) {
    #local.v2 .v2-pasos .v2-modo span { white-space: nowrap; font-size: .875rem; gap: 6px; padding-inline: 6px; }
    #local.v2 .v2-pasos .v2-modo span .ico { width: 18px; height: 18px; }
}
/* Tu pedido: el botón fijo de abajo no deja texto cortado detrás (fundido más alto y parejo) */
#local .v2-ped-pie, .v2-ped-pie { padding-top: 26px; background: linear-gradient(180deg, rgba(245, 237, 226, 0) 0, rgba(245, 237, 226, .92) 18px, var(--fondo) 30px); }
/* "Agregar": todos iguales (la primera tarjeta de cada fila ya no va distinta) */
#local.v2 :is(.prod, .tarjeta):first-child .mas:not(.con) { background: var(--fondo); color: var(--marca); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--marca) 30%, transparent); }
@media (hover: hover) { #local.v2 :is(.prod, .tarjeta):first-child .mas:not(.con):hover { background: color-mix(in srgb, var(--marca) 8%, var(--fondo)); } }

/* ===== Tu pedido · "Complementá": tocar la tarjeta abre el producto; si ya lo sumaste, selector − n + ===== */
.v2-comp-lista .v2-comp-ver { display: grid; gap: 4px; width: 100%; padding: 0; text-align: left; color: inherit; background: none; border: 0; cursor: pointer; }
.v2-comp-lista .v2-comp-ver:focus-visible { outline: 3px solid var(--oro, #B88A3E); outline-offset: -3px; border-radius: 18px; }
.v2-comp-lista li.tiene { padding-bottom: 10px; box-shadow: 0 4px 14px rgba(60, 30, 10, .07), inset 0 0 0 2px var(--marca); }
.v2-comp-lista li.tiene > b { padding-right: 10px; line-height: 32px; }
.v2-comp-cont { display: flex; align-items: center; justify-content: space-between; height: 40px; margin: 0 8px; border-radius: 999px; background: var(--marca); color: var(--sobre-marca); }
.v2-comp-cont button { display: grid; place-items: center; width: 44px; height: 40px; color: inherit; background: none; border: 0; }
.v2-comp-cont button .ico { width: 18px; height: 18px; }
.v2-comp-cont output { font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; }

/* ===== Celular: envío / retiro siempre en un renglón (también en "Tu pedido") ===== */
@media (max-width: 389px) {
    #local .v2-modo span, .hoja .v2-modo span { white-space: nowrap; font-size: .875rem; gap: 6px; padding-inline: 6px; }
    #local .v2-modo span .ico, .hoja .v2-modo span .ico { width: 18px; height: 18px; }
}

/* ===== "¿Lo acompañás con algo?": más opciones en fila con scroll de costado; el + al lado del precio, sin tapar el nombre ===== */
.sug-add { padding: 12px 0 12px; }
.sug-cab { margin: 0 14px 10px; }
.sug-fila { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 12px; padding: 0 12px 2px; scrollbar-width: none; overscroll-behavior-x: contain; }
.sug-fila::-webkit-scrollbar { display: none; }
.sug-item { flex: none; width: 116px; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "img img" "nom nom" "pre mas"; align-items: center; gap: 4px 6px; padding: 6px 6px 8px; }
.sug-img { grid-area: img; }
.sug-nom { grid-area: nom; }
.sug-pre { grid-area: pre; padding-left: 2px; white-space: nowrap; }
.sug-item .sug-mas, .sug-mas { grid-area: mas; position: static; top: auto; bottom: auto; right: auto; width: 32px; height: 32px; box-shadow: none; }
.sug-item.listo { box-shadow: inset 0 0 0 2px #15703C; }
/* Complementá: el borde del que ya sumaste marca toda la tarjeta (también sobre la foto) */
.v2-comp-lista li.tiene { box-shadow: 0 4px 14px rgba(60, 30, 10, .07); }
.v2-comp-lista li.tiene::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 2.5px var(--marca); pointer-events: none; }
/* Horarios de la semana con 3 columnas (local, retiro, envíos): entran en celulares angostos */
@media (max-width: 480px) {
    .ix-horas { font-size: .75rem; }
    .ix-horas :is(th, td) { padding-left: 3px; padding-right: 3px; }
    .ix-horas td span { white-space: nowrap; }
}

/* ===== "¿Te olvidaste algo? Sumalo a tu pedido" (plantilla v2 final) ===== */
.ag-boton { gap: 8px; }
.ag-boton .ico { width: 18px; height: 18px; flex: none; }
#local.con-ag { --cinta-h: 52px; padding-top: 52px; }
.ag-franja { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 8px 6px 14px; padding-top: max(6px, env(safe-area-inset-top, 0px)); background: var(--marca); color: var(--sobre-marca, #fff); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.ag-franja p { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0; font-size: .9375rem; font-weight: 600; line-height: 1.25; }
.ag-franja p .ico { width: 18px; height: 18px; flex: none; }
.ag-franja button { flex: none; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }
.ag-franja .ag-ver { background: var(--sobre-marca, #fff); color: var(--marca); }
.ag-franja .ag-cancelar { background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ag-cuerpo { display: flex; flex-direction: column; gap: 14px; }
.ag-intro { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--tinte, rgba(0, 0, 0, .05)); font-size: .9375rem; line-height: 1.45; }
.ag-vacio { margin: 0; color: var(--suave); font-size: .9375rem; line-height: 1.45; }
.ag-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ag-items li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--sup); box-shadow: 0 0 0 1px var(--linea); }
.ag-img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--tinte, #eee); display: grid; place-items: center; }
.ag-img img { width: 100%; height: 100%; object-fit: cover; }
.ag-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ag-txt strong { font-size: .9375rem; line-height: 1.25; overflow-wrap: anywhere; }
.ag-txt small { color: var(--suave); font-size: .8125rem; }
.ag-mas { align-self: flex-start; gap: 6px; }
.ag-nota { display: flex; flex-direction: column; gap: 6px; }
.ag-nota > span { font-weight: 600; font-size: .9375rem; }
.ag-nota > span small { font-weight: 400; color: var(--suave); }
.ag-nota textarea { width: 100%; min-height: 72px; padding: 12px 14px; border: 1px solid var(--borde-campo, #bbb); border-radius: 12px; background: var(--sup); color: var(--texto); font: inherit; font-size: 1rem; line-height: 1.4; resize: vertical; scroll-margin: 120px; }
.ag-nota.error textarea { border-color: var(--mal); box-shadow: 0 0 0 1px var(--mal); }
.ag-error { color: var(--mal); font-size: .875rem; font-weight: 600; }
.ag-tot { margin: 0; }
.ag-tot > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ag-tot dd { margin: 0; font-variant-numeric: tabular-nums; }
.ag-tot .total { padding-top: 8px; border-top: 1px solid var(--linea); font-weight: 800; font-size: 1.0625rem; }
.ag-pie { position: sticky; bottom: 0; }

/* ===== Local cerrado: aviso en el medio, una vez por visita (se cierra o lleva a pedir) ===== */
.v2-cerr-fondo { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(30, 18, 14, .55);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: v2-cerr-in .2s ease both; }
.v2-cerr-fondo.chau { animation: v2-cerr-out .18s ease both; }
@keyframes v2-cerr-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes v2-cerr-out { to { opacity: 0; } }
.v2-cerr { position: relative; width: min(100%, 380px); padding: 28px 22px 20px; border-radius: 24px; background: var(--sup, #FFFBF4); color: var(--texto);
    text-align: center; box-shadow: 0 24px 60px rgba(30, 18, 14, .35); animation: v2-cerr-sube .26s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes v2-cerr-sube { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.v2-cerr-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--fondo); color: var(--texto); cursor: pointer; }
.v2-cerr-x .ico { width: 18px; height: 18px; }
.v2-cerr-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 10px; border-radius: 50%; background: color-mix(in srgb, var(--oro, #B88A3E) 16%, transparent); color: var(--oro, #B88A3E); }
.v2-cerr-ico .ico { width: 28px; height: 28px; }
.v2-cerr-tit { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.v2-cerr-cuando { display: inline-block; margin: 8px 0 0; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--oro, #B88A3E) 18%, transparent); color: var(--texto); font-size: .875rem; font-weight: 700; }
.v2-cerr-cuerpo { margin: 12px 0 0; font-size: .9375rem; line-height: 1.45; color: var(--suave); }
.v2-cerr-acc { display: grid; gap: 8px; margin-top: 18px; }
.v2-cerr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 0; border-radius: 999px; background: var(--marca); color: var(--sobre-marca, #fff);
    font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; }
.v2-cerr-btn .ico { width: 18px; height: 18px; }
.v2-cerr-seguir { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--texto); font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.v2-cerr :is(button):focus-visible { outline: 3px solid var(--oro, #B88A3E); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .v2-cerr-fondo, .v2-cerr-fondo.chau, .v2-cerr { animation: none; } }
.v2-cerr-horas { margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--fondo); text-align: left; }
.v2-cerr-horas > p { margin: 0 0 6px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.v2-cerr-horas dl { margin: 0; display: grid; gap: 6px; }
.v2-cerr-horas dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.v2-cerr-horas dt { font-weight: 700; font-size: .9375rem; }
.v2-cerr-horas dd { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 10px; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.v2-cerr-horas dd span { white-space: nowrap; }
@media (max-width: 400px) { .v2-cerr { padding-inline: 16px; } .v2-cerr-horas { padding-inline: 12px; } .v2-cerr-horas dd { font-size: .875rem; column-gap: 8px; } .v2-cerr-horas dt { font-size: .875rem; } }

/* ===== Zona de envío entre dos calles (dibujo con líneas = calles) ===== */
.tramo { margin: 0 0 14px; padding: 12px 10px 10px; border-radius: 18px; background: var(--sup); box-shadow: 0 0 0 1px var(--linea); }
.tramo svg { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.tramo .tr-zona { fill: color-mix(in srgb, var(--marca) 11%, transparent); }
.tramo .tr-calle { stroke: color-mix(in srgb, var(--marca) 14%, transparent); stroke-width: .8; }
.tramo .tr-fuera { stroke: color-mix(in srgb, var(--texto) 10%, transparent); stroke-width: 1; stroke-dasharray: 3 4; }
.tramo .tr-borde { stroke: var(--marca); stroke-width: 2.5; stroke-linecap: round; }
.tramo .tr-num { fill: var(--suave); font: 600 10px/1 Inter, system-ui, sans-serif; }
.tramo .tr-num-b { fill: var(--marca); font: 800 13px/1 Inter, system-ui, sans-serif; }
.tramo .tr-calles { fill: var(--suave); font: 700 8px/1 Inter, system-ui, sans-serif; letter-spacing: .08em; }
.tramo .tr-mar { fill: #CFE3EE; }
.tramo .tr-mar-t { fill: #4A7A93; font: 800 8px/1 Inter, system-ui, sans-serif; letter-spacing: .2em; }
.tramo .tr-loc { fill: var(--texto); font: 800 12px/1 Inter, system-ui, sans-serif; }
.tramo .tr-local circle { fill: #E0B36A; stroke: var(--marca); stroke-width: 3; }
.tramo .tr-local text { fill: var(--marca); font: 800 11px/1 Inter, system-ui, sans-serif; }
.tramo figcaption { margin: 8px 4px 0; font-size: .9375rem; font-weight: 600; line-height: 1.4; text-align: center; color: var(--texto); }
.tramo-fuera { margin: 14px 2px 0; font-size: .875rem; line-height: 1.45; color: var(--suave); }
.tramo-fuera a { color: var(--marca); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tramo-mapa { padding: 8px; }
.tramo-marco { position: relative; overflow: hidden; height: min(60vh, 430px); border-radius: 12px; background: #E8EEF1; }
/* El mapa de My Maps trae arriba una barra negra (título, compartir, pantalla completa) que en el celular tapa la zona:
   se sube el mapa 62 px y el marco la recorta. Abajo quedan el logo de Google y las condiciones. */
.tramo-marco iframe { position: absolute; left: 0; top: -62px; width: 100%; height: calc(100% + 62px); border: 0; }
.tramo-grande { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--marca, #7A1F1F); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 720px) { .tramo-marco { height: 420px; } }

/* Páginas por localidad ("Rotisería con delivery en …"): el nombre del local arriba del título va en blanco sobre la foto de la portada (en bordó no se leía) */
#local.v2 .cab-nombre .cab-marca { color: #fff; opacity: .95; font-family: var(--f-titulos); font-size: 1.15rem; font-weight: 400; text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 10px rgba(0, 0, 0, .35); }
