/* ¿Qué Vamos a Comer Hoy? — estilos
   Verde y naranja del logo, crema de mantel, tipografía Poppins (títulos) + Barlow Semi Condensed (texto). */

@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url(fonts/poppins-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 400; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --verde: #23502C;
  --verde-2: #2F6B3B;
  --verde-claro: #E6F0E3;
  --naranja: #E3651A;
  --naranja-2: #C4510F;
  --naranja-claro: #FFEBDC;
  --oro: #F6B73C;
  --crema: #FFF1DA;
  --crema-2: #FBE6C4;
  --papel: #FFFCF7;
  --tinta: #1D2B21;
  --gris: #66705F;
  --gris-2: #8B9187;
  --linea: #ECE2CF;
  --azul: #2F9BEA;
  --azul-2: #1D84D1;
  --wa: #1DA851;
  --wa-2: #178F44;
  --rojo: #D23B30;
  --abierto: #2C7A35;
  --f-tit: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-txt: "Barlow Semi Condensed", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sombra: 0 1px 2px rgba(35, 80, 44, .06), 0 6px 18px rgba(35, 80, 44, .07);
  --seguro: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 500 16px/1.45 var(--f-txt); -webkit-font-smoothing: antialiased; }
body.sin-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--f-tit); margin: 0; line-height: 1.18; letter-spacing: -.01em; color: var(--verde); }
p { margin: 0; }
svg { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; font: 600 15px/1.1 var(--f-tit); border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .1s; text-align: center; }
.btn:active { transform: scale(.98); }
.btn-naranja { background: var(--naranja); color: #fff; }
.btn-naranja:hover { background: var(--naranja-2); }
.btn-verde { background: var(--verde); color: #fff; }
.btn-verde:hover { background: var(--verde-2); }
.btn-claro { background: #fff; color: var(--verde); border-color: var(--linea); }
.btn-claro:hover { border-color: var(--verde); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-2); }
.btn-rojo { background: #fff; color: var(--rojo); border-color: #F1C9C5; }
.btn-chico { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn-chico svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.ancho { width: 100%; }
.enlace { color: var(--verde); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.centro { display: block; margin: 10px auto 0; }

/* ── Arranque ── */
.arranque { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--gris); text-align: center; padding: 24px; }
.arranque img { animation: latido 1.6s ease-in-out infinite; }
@keyframes latido { 50% { transform: scale(1.06); } }

/* ── Cabecera ── */
.cab { position: sticky; top: 0; z-index: 30; background: rgba(255, 252, 247, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linea); }
.cab-in { max-width: 1280px; margin: 0 auto; height: 64px; padding: 0 16px; display: flex; align-items: center; gap: 10px; }
.cab-logo img { width: 44px; height: 44px; border-radius: 50%; }
.cab-mun { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 12px; text-align: left; min-width: 0; color: var(--verde); }
.cab-mun:hover { background: var(--crema); }
.cab-mun > span { display: grid; line-height: 1.1; font: 700 15px/1.15 var(--f-tit); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cab-mun small { font: 500 12px/1.2 var(--f-txt); color: var(--gris); }
.cab-mun svg { color: var(--naranja); width: 18px; height: 18px; }
.cab-mun svg:last-child { color: var(--gris-2); width: 16px; height: 16px; }
.cab-acc { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.btn-cab { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; font: 600 14px var(--f-tit); color: var(--verde); border: 1.5px solid var(--linea); background: #fff; white-space: nowrap; }
.btn-cab:hover { border-color: var(--verde); }
.btn-cab svg { width: 18px; height: 18px; }
.btn-cab > span::first-letter { text-transform: uppercase; }
@media (max-width: 479px) {
  .solo-pc { display: none; }
  .btn-cab[data-acc="instalar"] span { display: none; }
  .btn-cab[data-acc="instalar"] { padding: 0 10px; }
}
@media (max-width: 419px) { .cab-mun svg:last-child { display: none; } .cab-in { gap: 6px; padding: 0 12px; } }
@media (max-width: 359px) { .btn-cab span { display: none; } .btn-cab { padding: 0 10px; } }

/* ── Héroe ── */
.heroe { background: var(--crema); border-bottom: 1px solid var(--crema-2); }
.heroe-in { max-width: 1280px; margin: 0 auto; padding: 18px 16px 16px; display: grid; grid-template-columns: 112px 1fr; gap: 6px 16px; align-items: center; }
.heroe-marca img { width: 112px; height: auto; }
.heroe-txt { display: contents; }
.heroe-lema { font: 700 18px/1.25 var(--f-tit); color: var(--verde); align-self: end; }
.heroe-vivo { grid-column: 2; align-self: start; display: flex; align-items: center; gap: 8px; color: var(--gris); font-size: 15px; }
.heroe-vivo i { width: 9px; height: 9px; border-radius: 50%; background: var(--abierto); box-shadow: 0 0 0 0 rgba(44, 122, 53, .5); animation: vivo 2.4s infinite; flex: none; }
@keyframes vivo { 70% { box-shadow: 0 0 0 9px rgba(44, 122, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 122, 53, 0); } }
.heroe-marca { grid-row: span 2; margin: 0; }
.buscador { grid-column: 1 / -1; margin-top: 10px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--crema-2); border-radius: 16px; padding: 0 14px; min-height: 54px; box-shadow: var(--sombra); }
.buscador:focus-within { border-color: var(--verde); }
.buscador svg { color: var(--naranja); width: 22px; height: 22px; }
.buscador input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 17px; min-width: 0; height: 52px; }
.buscador input::placeholder { color: var(--gris-2); }
.chips { grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 0; padding: 6px 16px 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--crema-2); font: 600 15px var(--f-txt); color: var(--verde); white-space: nowrap; flex: none; }
.chip svg { width: 17px; height: 17px; color: var(--naranja); }
.chip.on { background: var(--verde); border-color: var(--verde); color: #fff; }
.chip.on svg { color: #fff; }
@media (min-width: 760px) {
  .heroe-in { grid-template-columns: 200px 1fr; padding: 28px 24px 24px; gap: 0 32px; }
  .heroe-marca img { width: 200px; }
  .heroe-txt { display: block; }
  .heroe-lema { font-size: 26px; }
  .heroe-vivo { margin-top: 6px; font-size: 16px; }
  .chips { margin: 10px 0 0; padding: 0; flex-wrap: wrap; overflow: visible; }
}

/* ── Bloques ── */
.inicio, .negocios { padding-bottom: 32px; }
.bloque { max-width: 1280px; margin: 0 auto; padding: 22px 16px 0; }
.bloque-tit { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.bloque-tit h2 { font-size: 20px; }
.bloque-tit p { color: var(--gris); font-size: 15px; }
@media (min-width: 760px) { .bloque { padding: 30px 24px 0; } .bloque-tit h2 { font-size: 24px; } }

.carril { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; }
.carril::-webkit-scrollbar { display: none; }
.carril > * { scroll-snap-align: start; flex: none; }
@media (min-width: 760px) {
  .carril { margin: 0; padding: 2px 0 8px; }
  .promos .carril { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); overflow: visible; }
  .promos .promo { width: auto; }
}

/* Promos */
.promo { width: min(78vw, 320px); background: #fff; border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sombra); }
.promo-foto { position: relative; aspect-ratio: 16 / 10; background: var(--crema); }
.promo-foto img { width: 100%; height: 100%; object-fit: cover; }
.promo-cuerpo { padding: 12px 14px 14px; display: grid; gap: 4px; }
.promo-neg { display: flex; align-items: center; gap: 8px; font: 600 14px var(--f-txt); color: var(--gris); }
.mini-logo { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.promo strong { font: 600 16px/1.3 var(--f-tit); color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.promo em { font: 800 19px var(--f-tit); color: var(--naranja); font-style: normal; }
.sello { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; font: 700 12.5px/1 var(--f-txt); letter-spacing: .01em; }
.sello-hoy { background: var(--naranja); color: #fff; }
.sello-nuevo { background: var(--oro); color: var(--tinta); }

/* Categorías */
.cats { gap: 6px; }
.cat { width: 82px; display: grid; justify-items: center; gap: 6px; padding: 4px 0; font: 600 14px/1.15 var(--f-txt); color: var(--tinta); text-align: center; }
.cat-ico { width: 68px; height: 68px; border-radius: 50%; background: var(--crema); display: grid; place-items: center; border: 2.5px solid transparent; transition: border-color .15s, background .15s; }
.cat-ico img { width: 46px; height: 46px; }
.cat:hover .cat-ico { background: var(--crema-2); }
.cat.on .cat-ico { border-color: var(--verde); background: var(--verde-claro); }
.cat.on { color: var(--verde); }

/* Lista */
.lista-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lista-cab h2 { font-size: 20px; }
.lista-cab p { color: var(--gris); font-size: 15px; }
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 680px) { .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .lista-cab h2 { font-size: 24px; } }
@media (min-width: 1000px) { .rejilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.mapa-lateral { display: none; }
@media (min-width: 1180px) {
  .con-mapa { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
  .con-mapa .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mapa-lateral { display: block; position: sticky; top: 84px; height: calc(100vh - 108px); border-radius: 20px; overflow: hidden; border: 1px solid var(--linea); }
  #mapa-lat { width: 100%; height: 100%; }
  .chip-mapa { display: none; }
}

/* Tarjeta de negocio */
.tarj { position: relative; background: #fff; border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.tarj:hover { box-shadow: var(--sombra); }
.tarj-media { position: relative; aspect-ratio: 4 / 3; background: var(--crema); }
.tarj-foto { position: absolute; inset: 0; display: block; }
.tarj-foto img { width: 100%; height: 100%; object-fit: cover; }
.tarj-sinfoto { position: absolute; inset: 0; display: grid; place-items: center; background: var(--crema); }
.tarj-sinfoto img { width: 46%; height: auto; }
.tarj-cerrada .tarj-foto img { filter: saturate(.55) brightness(.97); }
.tarj-fav, .tarj-wa { position: absolute; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.tarj-fav { top: 8px; right: 8px; background: rgba(255, 255, 255, .94); color: var(--gris); }
.tarj-fav.on { color: var(--rojo); }
.tarj-wa { bottom: 8px; right: 8px; background: var(--wa); color: #fff; }
.tarj-fav svg, .tarj-wa svg { width: 20px; height: 20px; }
.tarj-cuerpo { padding: 0 12px 12px; display: grid; gap: 3px; flex: 1; align-content: start; }
.tarj-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-top: -22px; position: relative; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); background: #fff; }
.tarj-cuerpo h3 { font-size: 15.5px; font-weight: 600; color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.tarj-cuerpo:not(:has(.tarj-logo)) h3 { margin-top: 10px; }
.verif { display: inline-flex; vertical-align: -3px; margin-left: 4px; color: var(--azul); }
.verif svg { width: 17px; height: 17px; }
.tarj-meta { display: flex; justify-content: space-between; gap: 6px; color: var(--gris); font-size: 14.5px; }
.tarj-meta span:last-child:not(:first-child) { white-space: nowrap; }
.estado { display: flex; align-items: center; gap: 6px; font: 600 14px/1.25 var(--f-txt); }
.estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.estado svg { display: none; }
.estado.abierto { color: var(--abierto); }
.estado.pronto { color: var(--naranja); }
.estado.cerrado { color: var(--gris-2); }
@media (max-width: 400px) { .tarj-cuerpo { padding: 0 10px 10px; } .tarj-cuerpo h3 { font-size: 15px; } .estado { font-size: 13.5px; } .tarj-meta { font-size: 14px; } }

.vacio { grid-column: 1 / -1; text-align: center; padding: 40px 20px; display: grid; gap: 8px; justify-items: center; color: var(--gris); background: #fff; border: 1.5px dashed var(--linea); border-radius: 18px; }
.vacio strong { color: var(--verde); font: 600 17px var(--f-tit); }
.vacio .btn { margin-top: 8px; }
.vacio-pag { max-width: 520px; margin: 40px auto; }
.vacio-txt { color: var(--gris); background: var(--crema); padding: 16px; border-radius: 14px; }

/* CTA negocios */
.cta-neg { margin-top: 32px; }
.cta-neg { display: grid; gap: 16px; align-items: center; }
.cta-neg > div, .cta-neg > a { position: relative; }
.cta-neg { background: none; }
.cta-neg::before { content: none; }
.cta-neg > div { background: var(--verde); color: #fff; border-radius: 22px; padding: 22px 20px 70px; }
.cta-neg h2 { color: #fff; font-size: 22px; }
.cta-neg p { color: #DCE9DA; margin-top: 8px; max-width: 56ch; }
.cta-neg .cta-precio { color: #fff; font-size: 17px; }
.cta-precio strong { font: 800 28px var(--f-tit); color: var(--oro); }
.cta-neg > a { margin: -64px 20px 0; justify-self: start; }
@media (min-width: 760px) {
  .cta-neg { grid-template-columns: 1fr; }
  .cta-neg > div { padding: 30px 32px; display: grid; grid-template-columns: 1fr auto; column-gap: 32px; }
  .cta-neg h2, .cta-neg p:not(.cta-precio) { grid-column: 1; }
  .cta-neg .cta-precio { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; }
  .cta-neg > a { margin: -76px 32px 0 auto; justify-self: end; position: relative; z-index: 1; }
  .cta-neg > div { padding-bottom: 86px; }
}

/* Pie */
.pie { margin-top: 40px; padding: 32px 16px calc(100px + var(--seguro)); background: var(--crema); text-align: center; display: grid; justify-items: center; gap: 12px; color: var(--gris); border-top: 1px solid var(--crema-2); }
.pie img { width: 120px; height: auto; }
.pie p { max-width: 44ch; }
.pie nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-weight: 600; color: var(--verde); }
.pie nav a { text-decoration: underline; text-underline-offset: 3px; }
.pie-firma { font-size: 13.5px; color: var(--gris-2); }

/* Botón flotante de domicilio: semicuadrado y azul */
.fab-domi { position: fixed; right: 16px; bottom: calc(16px + var(--seguro)); z-index: 40; width: 66px; height: 66px; border-radius: 20px; background: var(--azul); color: #fff; display: grid; place-items: center; align-content: center; gap: 1px; box-shadow: 0 10px 24px rgba(29, 132, 209, .38), 0 2px 6px rgba(0, 0, 0, .12); transition: transform .15s, bottom .2s; }
.fab-domi svg { width: 36px; height: 36px; }
.fab-domi span { font: 700 11px/1 var(--f-txt); letter-spacing: .02em; }
.fab-domi:hover { transform: translateY(-2px); background: var(--azul-2); }
body.con-pedido .fab-domi { bottom: calc(92px + var(--seguro)); }
@media (min-width: 1000px) { body.con-pedido .fab-domi { bottom: 24px; } .fab-domi { right: 24px; bottom: 24px; } }

/* Marcadores del mapa */
.pin-neg span { display: block; width: 44px; height: 44px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: #fff; border: 3px solid var(--verde); box-shadow: 0 4px 10px rgba(0, 0, 0, .25); overflow: hidden; }
.pin-neg img { width: 100%; height: 100%; object-fit: cover; transform: rotate(45deg) scale(1.15); }
.pop { display: grid; gap: 2px; font-family: var(--f-txt); color: var(--tinta); min-width: 160px; }
.pop strong { font: 600 15px var(--f-tit); color: var(--verde); }
.pop u { color: var(--naranja); font-weight: 700; margin-top: 4px; }
.leaflet-container { font-family: var(--f-txt); }

/* ── Ficha ── */
.ficha { max-width: 1280px; margin: 0 auto; padding-bottom: 20px; }
.ficha-portada { position: relative; aspect-ratio: 16 / 10; max-height: 52vh; width: 100%; background: var(--crema); overflow: hidden; }
.ficha-portada > img { width: 100%; height: 100%; object-fit: cover; }
.ficha-botones { position: absolute; inset: 12px 12px auto; display: flex; justify-content: space-between; }
.ficha-botones span { display: flex; gap: 8px; }
.redondo { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--verde); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.redondo.on { color: var(--rojo); }
.ficha-cuerpo { position: relative; }
.ficha-principal { background: var(--papel); border-radius: 24px 24px 0 0; margin-top: -26px; position: relative; padding: 18px 16px 0; }
.ficha-cab { display: flex; gap: 14px; align-items: flex-start; }
.ficha-logo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 4px solid var(--papel); margin-top: -46px; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); background: #fff; flex: none; }
.ficha-cab h1 { font-size: 25px; font-weight: 800; }
.ficha-cab .verif svg { width: 21px; height: 21px; }
.nota-muestra { display: inline-block; background: var(--naranja-claro); color: var(--naranja-2); font: 700 13px var(--f-txt); padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.ficha-meta { color: var(--gris); margin-top: 4px; font-size: 16px; }
.ficha-cab .estado { margin-top: 4px; font-size: 15px; }
.ficha-desc { margin-top: 14px; font-size: 16.5px; color: #3A463C; max-width: 62ch; }
.ficha-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ficha-acciones .btn-wa { flex: 1 1 100%; min-height: 54px; font-size: 16px; }
.ficha-acciones .btn-claro { flex: 1 1 0; }
@media (min-width: 560px) { .ficha-acciones .btn-wa { flex: 1 1 auto; } .ficha-acciones .btn-claro { flex: 0 1 auto; } }

.promo-hoy { margin-top: 20px; display: grid; grid-template-columns: 118px 1fr; gap: 14px; background: var(--naranja-claro); border-radius: 20px; padding: 12px; border: 1.5px solid #F8D3B8; }
.promo-hoy-foto { border-radius: 14px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.promo-hoy-foto img { width: 100%; height: 100%; object-fit: cover; }
.promo-hoy-txt { display: grid; gap: 4px; align-content: center; justify-items: start; }
.promo-hoy-et { font: 700 14px var(--f-txt); color: var(--naranja-2); }
.promo-hoy h2 { font-size: 18px; color: var(--tinta); }
.promo-hoy-precio { font: 800 22px var(--f-tit); color: var(--naranja); }
.promo-hoy .btn { margin-top: 4px; }
.promo-hoy:not(:has(.promo-hoy-foto)) { grid-template-columns: 1fr; }

.menu { margin-top: 26px; }
.prods { display: grid; gap: 14px; }
@media (min-width: 640px) { .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prod { background: #fff; border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.prod.agotado { opacity: .62; }
.prod-fotos { position: relative; aspect-ratio: 16 / 10; background: var(--crema); cursor: zoom-in; }
.prod-pista { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.prod-pista::-webkit-scrollbar { display: none; }
.prod-pista figure { margin: 0; flex: 0 0 100%; scroll-snap-align: start; }
.prod-pista img { width: 100%; height: 100%; object-fit: cover; }
.prod-cuenta { position: absolute; top: 10px; right: 10px; background: rgba(29, 43, 33, .72); color: #fff; font: 700 12.5px/1 var(--f-txt); padding: 6px 9px; border-radius: 999px; }
.puntos { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.puntos i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 2px rgba(0, 0, 0, .35); }
.puntos i.on { background: #fff; }
.prod-info { padding: 12px 14px 14px; display: grid; gap: 4px; flex: 1; align-content: start; }
.prod-info h3 { font-size: 17px; font-weight: 600; color: var(--tinta); }
.prod-info p { color: var(--gris); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.prod-pie strong { font: 700 18px var(--f-tit); color: var(--verde); }
.paso { display: inline-flex; align-items: center; border: 1.5px solid var(--verde); border-radius: 12px; height: 40px; }
.paso button { width: 40px; height: 100%; display: grid; place-items: center; color: var(--verde); }
.paso b { min-width: 22px; text-align: center; font: 700 16px var(--f-tit); color: var(--verde); }
.agotado-txt { background: #EEE; color: var(--gris); font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.carta { margin-top: 20px; }
.carta h3 { font-size: 17px; margin-bottom: 10px; }
.carta-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.carta-fotos button { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--linea); cursor: zoom-in; }
.carta-fotos img { width: 100%; height: 100%; object-fit: cover; }

.ficha-lado { padding: 0 16px; display: grid; gap: 14px; margin-top: 22px; align-content: start; }
.caja { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 16px; }
.caja h2 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.caja h2:not(:first-child) { margin-top: 14px; }
.caja p { color: #3A463C; }
.horario { width: 100%; border-collapse: collapse; font-size: 15px; }
.horario th, .horario td { padding: 6px 8px; text-align: left; font-weight: 500; }
.horario td { text-align: right; color: var(--gris); }
.horario tr.hoy { background: var(--verde-claro); }
.horario tr.hoy th, .horario tr.hoy td { color: var(--verde); font-weight: 700; }
.horario tr.hoy th { border-radius: 8px 0 0 8px; }
.horario tr.hoy td { border-radius: 0 8px 8px 0; }
.mapa-ficha { height: 190px; border-radius: 14px; overflow: hidden; margin-top: 12px; cursor: pointer; z-index: 0; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 6px; }
.etiquetas span { background: var(--crema); color: var(--verde); font-weight: 600; font-size: 14.5px; padding: 5px 11px; border-radius: 999px; }
.redes { display: flex; gap: 16px; flex-wrap: wrap; }
.redes a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--verde); }
.pedido-lado { display: none; }

@media (min-width: 1000px) {
  .ficha { padding: 20px 24px 40px; }
  .ficha-portada { border-radius: 24px; aspect-ratio: auto; height: 380px; max-height: none; }
  .ficha-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
  .ficha-principal { margin-top: 0; padding: 22px 0 0; background: none; }
  .ficha-logo { width: 96px; height: 96px; margin-top: -64px; }
  .ficha-cab h1 { font-size: 32px; }
  .ficha-lado { padding: 0; position: sticky; top: 84px; margin-top: 22px; }
  .pedido-lado { display: block; }
  .pedido-barra { display: none !important; }
}

.pedido-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--linea); padding: 12px 16px calc(12px + var(--seguro)); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .22s ease; }
.pedido-barra.ver { transform: none; }
.pedido { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto; }
.pedido > div { display: grid; line-height: 1.2; }
.pedido strong { font: 600 15px var(--f-tit); color: var(--tinta); }
.pedido span { font: 800 19px var(--f-tit); color: var(--verde); }
.pedido-caja { background: #fff; border: 2px solid var(--wa); border-radius: 18px; padding: 14px; }
body.con-pedido .pie { padding-bottom: calc(170px + var(--seguro)); }

/* ── Hojas (ventanas) ── */
#capa { display: none; }
#capa.abierta { display: block; position: fixed; inset: 0; z-index: 60; }
.velo { position: absolute; inset: 0; background: rgba(18, 30, 21, .5); animation: aparecer .18s ease; }
.hoja { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90dvh; overflow: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 26px 18px calc(22px + var(--seguro)); animation: subir .24s cubic-bezier(.2, .8, .2, 1); display: grid; gap: 12px; align-content: start; }
.hoja h2 { font-size: 21px; padding-right: 44px; }
.hoja .sub { color: var(--gris); }
.hoja-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--crema); color: var(--verde); display: grid; place-items: center; z-index: 2; }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }
@keyframes aparecer { from { opacity: 0; } }
@media (min-width: 700px) {
  .hoja { left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 48px)); border-radius: 24px; padding: 28px 26px 26px; max-height: 88vh; animation: aparecer .18s ease; }
}
.hoja-galeria { background: #0E1510; padding: 0; left: 0; right: 0; top: 0; bottom: 0; max-height: none; border-radius: 0; transform: none; width: auto; display: block; }
@media (min-width: 700px) { .hoja-galeria { left: 0; top: 0; transform: none; width: auto; } }
.hoja-galeria .hoja-x { background: rgba(255, 255, 255, .15); color: #fff; }
.galeria { height: 100%; display: grid; grid-template-rows: 1fr auto; }
.galeria-pista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
.galeria-pista::-webkit-scrollbar { display: none; }
.galeria-pista figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: 60px 12px 12px; }
.galeria-pista img { max-height: calc(100dvh - 140px); width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; }
.galeria-cont { color: #DDE6DE; text-align: center; padding: 12px 16px calc(18px + var(--seguro)); font-weight: 600; }

.burbuja { background: #DCF8C6; border-radius: 4px 14px 14px 14px; padding: 10px 12px 6px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); max-width: 92%; justify-self: start; }
.burbuja pre { margin: 0; white-space: pre-wrap; font: 500 15.5px/1.4 var(--f-txt); color: #1F2C24; }
.burbuja span { display: block; text-align: right; font-size: 12px; color: #6B8A74; }
.pedido-lista { list-style: none; padding: 0; margin: 0; border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; }
.pedido-lista li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--linea); }
.pedido-lista li:last-child { border-bottom: 0; }
.pedido-lista .total { background: var(--crema); font: 700 16px var(--f-tit); color: var(--verde); }
.domi-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--azul); color: #fff; display: grid; place-items: center; }
.domi-ico svg { width: 38px; height: 38px; }
.copiar { width: 100%; height: 48px; border: 1.5px solid var(--linea); border-radius: 12px; padding: 0 12px; font-size: 15px; }
.municipios { display: grid; gap: 10px; }
.muni { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1.5px solid var(--linea); border-radius: 16px; text-align: left; }
.muni strong { font: 600 17px var(--f-tit); color: var(--verde); }
.muni span { font-weight: 700; font-size: 13.5px; color: var(--gris); background: var(--crema); padding: 4px 10px; border-radius: 999px; }
.muni.on { border-color: var(--verde); }
.muni.on span { background: var(--verde); color: #fff; }

/* ── Formularios ── */
.form { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; }
.campo > span { font: 600 15px var(--f-txt); color: #3A463C; }
.campo small { color: var(--gris); font-size: 14px; }
.campo input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .campo select, .campo textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--linea); border-radius: 13px; padding: 0 14px; background: #fff; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.campo textarea { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.4; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(35, 80, 44, .12); }
.segmento { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.segmento legend { font: 600 15px var(--f-txt); color: #3A463C; margin-bottom: 6px; padding: 0; }
.segmento label { position: relative; }
.segmento input { position: absolute; opacity: 0; }
.segmento span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--linea); font-weight: 600; color: var(--verde); cursor: pointer; }
.segmento input:checked + span { background: var(--verde); color: #fff; border-color: var(--verde); }
.segmento input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }
.letra-chica { font-size: 14px; color: var(--gris); }
.error { color: var(--rojo); font-weight: 600; }

/* ── Aviso flotante ── */
#aviso { position: fixed; left: 50%; top: calc(74px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -12px); z-index: 80; background: var(--tinta); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; max-width: calc(100vw - 32px); width: max-content; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
#aviso.ver { opacity: 1; transform: translate(-50%, 0); }
#aviso.error { background: var(--rojo); }
#aviso.bien { background: var(--verde); }

/* ── Mapa completo ── */
.pantalla-mapa { position: relative; height: calc(100dvh - 65px); }
#mapa-full { position: absolute; inset: 0; z-index: 0; }
.mapa-botones { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 5; display: flex; gap: 8px; justify-content: space-between; pointer-events: none; }
.mapa-botones > * { pointer-events: auto; box-shadow: var(--sombra); }

/* ── Para negocios ── */
.neg-heroe { max-width: 1180px; margin: 0 auto; padding: 26px 16px 0; display: grid; gap: 24px; }
.neg-heroe h1 { font-size: 30px; font-weight: 800; max-width: 18ch; }
.neg-heroe > div > p { margin-top: 12px; font-size: 18px; color: #3A463C; max-width: 46ch; }
.neg-botones { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 14px; }
.plan-caja { background: #fff; border: 2px solid var(--verde); border-radius: 24px; padding: 22px; display: grid; gap: 12px; align-content: start; box-shadow: var(--sombra); }
.plan-nombre { font: 700 16px var(--f-tit); color: var(--naranja); }
.plan-precio { font-size: 18px; color: var(--gris); }
.plan-precio strong { font: 800 40px/1 var(--f-tit); color: var(--verde); margin-right: 4px; }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lista-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.lista-check svg { color: #fff; background: var(--abierto); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; stroke-width: 3; }
@media (min-width: 900px) {
  .neg-heroe { grid-template-columns: 1.1fr .9fr; padding: 48px 24px 0; gap: 48px; align-items: center; }
  .neg-heroe h1 { font-size: 44px; }
}
.neg-calc, .neg-pasos { max-width: 1180px; margin: 0 auto; padding: 36px 16px 0; }
@media (min-width: 760px) { .neg-calc, .neg-pasos { padding: 52px 24px 0; } }
.calc { display: grid; gap: 18px; background: #fff; border: 1px solid var(--linea); border-radius: 22px; padding: 18px; }
@media (min-width: 900px) { .calc { grid-template-columns: .9fr 1.1fr; padding: 26px; gap: 32px; align-items: center; } }
.calc-form { display: grid; gap: 18px; }
.calc-form .campo { grid-template-columns: 1fr auto; align-items: center; }
.calc-form input[type="range"] { grid-column: 1 / -1; accent-color: var(--verde); width: 100%; height: 28px; }
.calc-form output { font: 700 18px var(--f-tit); color: var(--verde); grid-row: 1; grid-column: 2; }
.calc-res { font-size: 17px; background: var(--crema); border-radius: 14px; padding: 14px; }
.calc-res strong { font-family: var(--f-tit); color: var(--verde); }
.calc-graf { height: 280px; position: relative; }
.neg-calc .letra-chica { margin-top: 10px; }
.pasos { list-style: none; counter-reset: paso; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
@media (min-width: 760px) { .pasos:not(.pasos-chicos) { grid-template-columns: repeat(4, 1fr); } }
.pasos li { counter-increment: paso; background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 16px 16px 16px 64px; position: relative; display: grid; gap: 4px; }
.pasos li::before { content: counter(paso); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--naranja); color: #fff; font: 700 16px/34px var(--f-tit); text-align: center; }
.pasos strong { font: 600 16px var(--f-tit); color: var(--verde); }
.pasos span { color: var(--gris); }

.error-carga { padding: 40px 20px; text-align: center; color: var(--gris); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ════════════ Panel (negocio y superusuario) ════════════ */
body.en-panel { background: #FBF7EF; }
body.en-panel .fab-domi { display: none; }
.cab-tit { display: grid; line-height: 1.15; min-width: 0; }
.cab-tit small { font-size: 13px; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cab-tit strong { font: 700 16px var(--f-tit); color: var(--verde); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel { max-width: 1180px; margin: 0 auto; }
.panel-main { padding: 18px 16px calc(150px + var(--seguro)); min-width: 0; }
.panel-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--linea); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: var(--seguro); box-shadow: 0 -6px 18px rgba(0, 0, 0, .05); }
.panel-nav a { display: grid; justify-items: center; gap: 2px; padding: 9px 2px 8px; font: 600 12.5px var(--f-txt); color: var(--gris); border-top: 3px solid transparent; }
.panel-nav a svg { width: 22px; height: 22px; }
.panel-nav a.on { color: var(--verde); border-top-color: var(--naranja); }
@media (min-width: 900px) {
  .panel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 0 24px; }
  .panel-nav { position: sticky; top: 84px; align-self: start; display: grid; grid-auto-flow: row; gap: 4px; background: none; border: 0; box-shadow: none; padding: 20px 0 0; }
  .panel-nav a { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; border: 0; font-size: 16px; }
  .panel-nav a.on { background: var(--verde); color: #fff; }
  .panel-main { padding: 22px 0 120px; }
}
.saludo { margin: 4px 0 16px; }
.saludo h1 { font-size: 26px; font-weight: 800; }
.saludo p { color: var(--gris); margin-top: 2px; }
.saludo-fila { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.psec { background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 18px 16px; margin-bottom: 16px; display: grid; gap: 14px; }
.psec-tit h2 { font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.psec-tit p { color: var(--gris); margin-top: 3px; }
@media (min-width: 760px) { .psec { padding: 22px; } }
.pct { font: 700 13px/1 var(--f-txt); background: var(--crema); color: var(--naranja-2); padding: 5px 9px; border-radius: 999px; }
.barra-pct { height: 10px; border-radius: 999px; background: var(--crema); overflow: hidden; }
.barra-pct i { display: block; height: 100%; background: var(--naranja); border-radius: 999px; }
.tareas { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tareas a { display: flex; gap: 10px; align-items: center; padding: 9px 4px; border-radius: 10px; font-size: 16px; }
.tareas a:hover { background: var(--crema); }
.tareas i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--linea); flex: none; }
.tareas li.ok a { color: var(--gris); text-decoration: line-through; }
.tareas li.ok svg { color: #fff; background: var(--abierto); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 3; }
.pill { display: inline-flex; align-items: center; font: 700 12.5px/1 var(--f-txt); padding: 5px 9px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.pill-ok { background: #DDEFD9; color: var(--abierto); }
.pill-alerta { background: var(--naranja-claro); color: var(--naranja-2); }
.pill-mal { background: #FBDCD9; color: var(--rojo); }
.pill-neutro { background: #EEEAE2; color: var(--gris); }
.pill-muestra { background: #E3F0FB; color: var(--azul-2); }
.pill-oro { background: #FCEBC4; color: #8A5B00; }
.banda { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.banda > svg { width: 24px; height: 24px; flex: none; }
.banda > div { flex: 1 1 200px; display: grid; gap: 2px; }
.banda strong { font: 600 15.5px var(--f-tit); }
.banda span { font-size: 15px; }
.banda-alerta { background: var(--naranja-claro); color: #7A3510; border: 1px solid #F8D3B8; }
.banda-mal { background: #FCE4E1; color: #7C1E17; border: 1px solid #F3C5BF; }
.banda-ok { background: #E3F1DF; color: #1F5A27; border: 1px solid #C7E2C0; }
.banda-info { background: #E6F2FC; color: #164E78; border: 1px solid #C6E0F6; }
.tarjeta-plan { border-radius: 22px; padding: 20px; display: grid; gap: 14px; margin-bottom: 16px; }
.tarjeta-plan h2 { font-size: 21px; }
.tp-borrador { background: var(--verde); color: #E4EFE1; }
.tp-borrador h2 { color: #fff; }
.tp-borrador .tp-et { color: var(--oro); font-weight: 700; }
.tp-ok { background: #E3F1DF; border: 1px solid #C7E2C0; }
@media (min-width: 760px) { .tarjeta-plan { grid-template-columns: 1fr auto; align-items: center; padding: 24px 26px; } }
.atajos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (min-width: 1000px) { .atajos { grid-template-columns: repeat(4, 1fr); } }
.atajo { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; text-align: left; background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 14px; color: var(--verde); min-height: 128px; }
.atajo > svg { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--crema); color: var(--naranja); }
.atajo span { display: grid; gap: 2px; }
.atajo strong { font: 600 15px/1.25 var(--f-tit); }
.atajo small { color: var(--gris); font-size: 14px; line-height: 1.3; }
.atajo-naranja { background: var(--naranja); border-color: var(--naranja); color: #fff; }
.atajo-naranja > svg { background: rgba(255, 255, 255, .2); color: #fff; }
.atajo-naranja small { color: #FFE3D1; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.kpi { background: var(--crema); border-radius: 16px; padding: 14px; display: grid; gap: 2px; }
.kpi strong { font: 800 24px/1.1 var(--f-tit); color: var(--verde); overflow-wrap: anywhere; }
.kpi span { color: var(--gris); font-size: 14.5px; line-height: 1.25; }
.kpis-admin { margin-bottom: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.kpis-admin .kpi { background: #fff; border: 1px solid var(--linea); }
.kpi-verde { background: var(--verde) !important; }
.kpi-verde strong, .kpi-verde span { color: #fff; }
.kpi-naranja { border-color: #F8D3B8 !important; background: var(--naranja-claro) !important; }
.kpi-naranja strong { color: var(--naranja-2); }
.graf { position: relative; height: 240px; }
.graf-alta { height: 280px; }
.cargando { color: var(--gris); padding: 20px 0; }
.qr-prev { width: 100%; max-width: 360px; justify-self: center; border-radius: 14px; border: 1px solid var(--linea); }
.interruptor { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.interruptor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.interruptor i { width: 48px; height: 28px; border-radius: 999px; background: #DCD6CA; position: relative; flex: none; transition: background .15s; }
.interruptor i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.interruptor input:checked + i { background: var(--verde); }
.interruptor input:checked + i::after { transform: translateX(20px); }
.interruptor input:focus-visible + i { outline: 3px solid var(--azul); outline-offset: 2px; }
.interruptor span { display: grid; font-weight: 600; font-size: 16px; }
.interruptor small { font-weight: 500; color: var(--gris); font-size: 14px; }
.dos, .tres { display: grid; gap: 14px; }
@media (min-width: 560px) { .dos { grid-template-columns: 1fr 1fr; } }
.tres { grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .tres { grid-template-columns: repeat(3, 1fr); } }
.dos-fijo { grid-template-columns: 1fr 1fr !important; align-items: end; }
.dos-col { display: grid; gap: 0 16px; }
@media (min-width: 1000px) { .dos-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.fila-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.centro-txt { text-align: center; overflow-wrap: anywhere; }
.slot-et { font: 600 15px var(--f-txt); color: #3A463C; margin-bottom: 6px; }
.fotos-neg { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.flex1 { flex: 1 1 220px; }
.slot { position: relative; border-radius: 16px; border: 2px dashed #DCCFB6; background: var(--crema); overflow: hidden; aspect-ratio: 4 / 3; }
.slot.lleno { border: 1px solid var(--linea); }
.slot > img { width: 100%; height: 100%; object-fit: cover; }
.slot-logo { width: 120px; aspect-ratio: 1; border-radius: 50%; }
.slot-chica { aspect-ratio: 1; border-radius: 14px; }
.slot-carta { aspect-ratio: 3 / 4; }
.slot-vacio { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; color: var(--verde); text-align: center; padding: 6px; font: 600 14px/1.2 var(--f-txt); }
.slot-vacio svg { width: 28px; height: 28px; color: var(--naranja); }
.slot-chica .slot-vacio { font-size: 12.5px; }
.slot-chica .slot-vacio svg { width: 22px; height: 22px; }
.slot-in { position: absolute; inset: 0; cursor: pointer; }
.slot-in input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.slot-x { position: absolute; top: 6px; right: 6px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(29, 43, 33, .78); color: #fff; display: grid; place-items: center; }
.slot-x svg { width: 16px; height: 16px; }
.slot-logo .slot-x { top: 50%; right: 50%; transform: translate(50%, -50%); opacity: 0; }
.slot-logo:hover .slot-x, .slot-logo:focus-within .slot-x { opacity: 1; }
.slot-carga { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(255, 255, 255, .85); font-weight: 700; color: var(--verde); }
.slot-off { border-style: dashed; opacity: .35; background: transparent; }
.mapa-editor { height: 280px; border-radius: 16px; overflow: hidden; border: 1px solid var(--linea); z-index: 0; }
.horario-ed { display: grid; gap: 4px; }
.dia { display: grid; grid-template-columns: 118px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #F2EBDD; }
.dia:last-child { border-bottom: 0; }
.dia-nom { display: flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
.dia-nom input { width: 20px; height: 20px; accent-color: var(--verde); }
.dia-horas { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.turno { display: inline-flex; gap: 6px; align-items: center; }
.turno i { font-style: normal; color: var(--gris); }
.turno input { height: 42px; border: 1.5px solid var(--linea); border-radius: 10px; padding: 0 8px; background: #fff; font-size: 15px; min-width: 0; width: 112px; }
.dia-cerrado { display: none; color: var(--gris-2); font-weight: 600; }
.dia.cerrado .dia-horas { display: none; }
.dia.cerrado .dia-cerrado { display: block; }
.enlace.mini { font-size: 14px; }
@media (max-width: 480px) { .dia { grid-template-columns: 1fr; gap: 6px; } .turno input { width: 104px; } }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check span { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--linea); font-weight: 600; color: var(--verde); background: #fff; }
.check input:checked + span { background: var(--verde); border-color: var(--verde); color: #fff; }
.check input:checked + span::before { content: "✓"; }
.check input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }
.check-mini span { height: 32px; padding: 0 10px; font-size: 14px; }
.barra-guardar { position: fixed; left: 12px; right: 12px; bottom: calc(76px + var(--seguro)); z-index: 32; background: var(--tinta); color: #fff; border-radius: 18px; padding: 10px 10px 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transform: translateY(160%); transition: transform .22s ease; }
.barra-guardar.ver { transform: none; }
.barra-guardar span { font-weight: 600; }
@media (min-width: 900px) { .barra-guardar { left: auto; right: 24px; bottom: 24px; width: 440px; } }
.ed-prods { display: grid; gap: 14px; }
.ed-prod { border: 1px solid var(--linea); border-radius: 18px; padding: 14px; display: grid; gap: 12px; background: #FFFDF9; }
.ed-prod-cab { display: flex; justify-content: space-between; align-items: center; }
.ed-prod-cab strong { font: 600 15px var(--f-tit); color: var(--naranja-2); }
.ed-prod-cab span { display: flex; gap: 6px; }
.ico-btn { width: 38px; height: 38px; border-radius: 11px; border: 1.5px solid var(--linea); display: grid; place-items: center; color: var(--verde); background: #fff; }
.ico-btn[disabled] { opacity: .35; }
.ico-btn.rojo { color: var(--rojo); border-color: #F1C9C5; }
.ed-prod-fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.ed-carta { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 180px)); gap: 10px; }
.promo-fotos { display: grid; gap: 12px; }
@media (min-width: 640px) { .promo-fotos { grid-template-columns: 220px 1fr; align-items: start; } }
.elegir-foto small { color: var(--gris); display: block; margin-bottom: 6px; }
.elegir-foto > div { display: flex; flex-wrap: wrap; gap: 8px; }
.elegir-foto button { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 3px solid transparent; }
.elegir-foto button.on { border-color: var(--naranja); }
.elegir-foto img { width: 100%; height: 100%; object-fit: cover; }
.plan-estado { margin: 4px 0 18px; display: grid; gap: 6px; justify-items: start; }
.plan-estado h1 { font-size: 26px; font-weight: 800; }
.plan-estado p { color: #3A463C; font-size: 16.5px; }
.opciones-pago { display: grid; gap: 12px; }
@media (min-width: 760px) { .opciones-pago { grid-template-columns: 1fr 1fr; } }
.opcion-pago { border: 1.5px solid var(--linea); border-radius: 18px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.opcion-pago h3 { font-size: 17px; }
.opcion-pago > p { color: var(--gris); }
.lista-pagos { list-style: none; padding: 0; margin: 0; }
.lista-pagos li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F2EBDD; }
.lista-pagos li:last-child { border-bottom: 0; }
.lista-pagos span { display: grid; }
.lista-pagos span:last-child { text-align: right; }
.lista-pagos small { color: var(--gris); }
.lista-pagos b { font-family: var(--f-tit); color: var(--verde); }
.girando { width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: girar .8s linear infinite; flex: none; }
@keyframes girar { to { transform: rotate(360deg); } }
.exito-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--abierto); color: #fff; display: grid; place-items: center; }
.exito-ico svg { width: 34px; height: 34px; stroke-width: 3; }
.datos { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.datos dt { color: var(--gris); }
.datos dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.lista-filas { list-style: none; margin: 0; padding: 0; }
.lista-filas li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F2EBDD; flex-wrap: wrap; }
.lista-filas li:last-child { border-bottom: 0; }
.lista-filas li > span:first-child { display: grid; }
.lista-filas strong { font: 600 15px var(--f-tit); color: var(--tinta); }
.lista-filas small { color: var(--gris); }
.acciones-fila { display: flex; gap: 6px; }
.lista-top { margin: 0; padding: 0 0 0 22px; display: grid; gap: 8px; }
.lista-top li { padding-left: 4px; }
.lista-top li span { font-weight: 600; }
.lista-top b { float: right; font-family: var(--f-tit); color: var(--wa-2); margin-left: 8px; }
.lista-top small { display: block; color: var(--gris); }
.buscador-panel { margin: 0 0 10px; box-shadow: none; border-color: var(--linea); }
.chips-panel { margin: 0 0 14px; padding: 0; flex-wrap: wrap; overflow: visible; }
.chips-panel .chip { border-color: var(--linea); }
.lista-neg { display: grid; gap: 10px; }
.fila-neg { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; }
.fila-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.fila-logo-ico { display: grid; place-items: center; background: var(--crema); }
.fila-logo-ico img { width: 36px; }
.fila-info { display: grid; gap: 3px; min-width: 0; }
.fila-info h3 { font-size: 16px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; color: var(--tinta); }
.fila-info p { color: var(--gris); font-size: 14.5px; overflow-wrap: anywhere; }
.fila-m { display: flex; gap: 12px; flex-wrap: wrap; font-weight: 600; color: var(--verde) !important; }
.fila-acc { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
@media (min-width: 900px) { .fila-neg { grid-template-columns: 56px 1fr auto; align-items: center; } .fila-acc { grid-column: auto; justify-content: flex-end; max-width: 330px; } }
.migas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-weight: 600; }
.migas a { display: inline-flex; align-items: center; gap: 2px; color: var(--verde); }
.migas span { font: 700 18px var(--f-tit); color: var(--tinta); }
.subtabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.subtabs a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--linea); background: #fff; font-weight: 600; color: var(--verde); white-space: nowrap; }
.subtabs a.on { background: var(--verde); color: #fff; border-color: var(--verde); }
.clave-grande { font: 700 26px var(--f-tit) !important; text-align: center; letter-spacing: .12em; height: 60px !important; color: var(--verde); }
.lista-vend { display: grid; gap: 12px; }
@media (min-width: 900px) { .lista-vend { grid-template-columns: 1fr 1fr; } }
.vend { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.vend.inactivo { opacity: .65; }
.vend h3 { font-size: 17px; color: var(--tinta); }
.vend > div > p { color: var(--gris); }
.vend dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.vend dl div { background: var(--crema); border-radius: 12px; padding: 10px; }
.vend dt { color: var(--gris); font-size: 13.5px; }
.vend dd { margin: 0; font: 700 16px var(--f-tit); color: var(--verde); }
.vend dd.naranja { color: var(--naranja-2); }
.filtros-pagos { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.campo-linea { grid-template-columns: auto 160px; align-items: center; }
.total-pagos { margin-bottom: 8px; color: var(--gris); }
.total-pagos strong { font-family: var(--f-tit); color: var(--verde); }
.tabla-env { overflow-x: auto; background: #fff; border: 1px solid var(--linea); border-radius: 18px; }
.tabla { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.tabla th { text-align: left; font: 600 14px var(--f-txt); color: var(--gris); padding: 12px; border-bottom: 1px solid var(--linea); background: #FFFCF6; }
.tabla td { padding: 11px 12px; border-bottom: 1px solid #F2EBDD; vertical-align: top; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla small { display: block; color: var(--gris); font-size: 13.5px; }
.tabla tr.rechazado td { color: var(--gris-2); text-decoration: line-through; }
.cats-ed { display: grid; gap: 8px; }
.cat-ed { display: grid; grid-template-columns: 36px minmax(0, 1fr) 128px 38px 38px 38px; gap: 6px; align-items: center; }
.cat-ed input, .cat-ed select { height: 42px; border: 1.5px solid var(--linea); border-radius: 10px; padding: 0 10px; background: #fff; min-width: 0; }
@media (max-width: 560px) { .cat-ed { grid-template-columns: 32px minmax(0, 1fr) 38px 38px 38px; } .cat-ed select { grid-column: 2 / 3; grid-row: 2; } }
.auth { padding: 24px 16px 60px; }
.auth-caja { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--linea); border-radius: 24px; padding: 26px 20px; display: grid; gap: 12px; box-shadow: var(--sombra); }
.auth-ancha { max-width: 560px; }
.auth-marca { width: 110px; justify-self: center; }
.auth h1 { font-size: 26px; font-weight: 800; text-align: center; }
.auth .sub { text-align: center; color: var(--gris); }
.auth-pie { text-align: center; color: var(--gris); }
.grupo { border: 1px solid var(--linea); border-radius: 18px; padding: 14px; margin: 0; display: grid; gap: 14px; }
.grupo legend { font: 600 15px var(--f-tit); color: var(--naranja-2); padding: 0 6px; }
code { background: var(--crema); padding: 2px 6px; border-radius: 6px; font-size: 14px; overflow-wrap: anywhere; }
