/* Beiko Pedidos — app de clientes. Colores de la marca y letras grandes. */
:root {
  --naranja: #ff5100;
  --naranja-osc: #e04600;
  --nav: #1c2f4f;
  --fondo: #f5f3ef;
  --texto: #111318;
  --suave: #5b6372;
  --borde: #d6dde6;
  --verde: #1e9e57;
  --verde-c: #e3f5ea;
  --rojo: #d92d20;
  /* Azul degradado de Beiko Professional: encabezados y secciones. El naranja queda
     para lo que se toca (Agregar, Enviar, +, Ofertas), así resalta más. */
  --azul: #0a5cff;
  --azul-osc: #0b2a6f;
  --grad-azul: linear-gradient(135deg, #0047ff 0%, #0a84f5 58%, #14b4ee 100%);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--fondo); color: var(--texto); font: 17px/1.3 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
button:disabled { opacity: .6; }
input, textarea { font: inherit; color: var(--texto); }
svg { display: block; }
small { color: var(--suave); font-size: 14px; }
b { font-weight: 700; }
.verde { color: var(--verde); }
.rojo { color: var(--rojo); }
.card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 2px 10px rgba(28,47,79,.07); margin-bottom: 12px; }
.contenido { max-width: 560px; margin: 0 auto; padding: 14px 14px 100px; }
.contenido.con-pie { padding-bottom: 210px; }
.vacio { text-align: center; color: var(--suave); padding: 22px 14px; }
.vacio.grande { display: grid; justify-items: center; gap: 8px; padding: 34px 18px; }
.vacio.grande svg { font-size: 44px; color: #b7c0cc; }
.vacio.grande b { color: var(--texto); font-size: 19px; }
.pie { text-align: center; color: var(--suave); font-size: 14px; }

/* Botones */
.btn-naranja { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; border-radius: 16px; background: var(--naranja); color: #fff; font-size: 19px; font-weight: 800; text-align: center; box-shadow: 0 6px 14px rgba(255,102,0,.28); }
.btn-naranja:active { background: var(--naranja-osc); }
.btn-naranja.chico { width: auto; height: 44px; padding: 0 20px; font-size: 16px; box-shadow: none; }
.btn-naranja svg { font-size: 22px; }
.btn-borde { display: block; width: 100%; height: 52px; margin-top: 10px; border-radius: 16px; border: 2px solid var(--nav); color: var(--nav); font-weight: 800; text-align: center; background: #fff; }
.btn-gris { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; margin-top: 10px; border-radius: 12px; background: #f5f3ef; font-weight: 700; color: var(--nav); }
.btn-volver { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px 0 8px; border-radius: 12px; background: rgba(255,255,255,.2); color: #fff; font-weight: 700; flex: 0 0 auto; }
.btn-volver svg { font-size: 20px; }
.btn-volver.blanco { position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 12px; background: #fff; color: var(--texto); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.link { color: var(--nav); font-weight: 700; text-decoration: underline; font-size: 15px; }
.link.salir { display: flex; align-items: center; gap: 8px; margin: 26px auto 0; color: var(--suave); text-decoration: none; }
.link.rojo-l { display: block; margin: 4px auto 0; color: var(--rojo); }

/* Entrar */
.entrar { min-height: 100vh; display: flex; flex-direction: column; }
.entrar-top { background: var(--naranja); color: #fff; text-align: center; padding: calc(40px + env(safe-area-inset-top)) 20px 70px; border-radius: 0 0 28px 28px; }
.entrar-logo { width: 116px; height: 116px; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.entrar-top h1 { margin: 16px 0 4px; font-size: 27px; }
.entrar-top p { margin: 0; font-size: 16px; opacity: .95; }
.entrar-form { margin: -48px 18px 14px; display: grid; gap: 14px; padding: 20px 16px; }
.entrar-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.entrar-form input { height: 54px; padding: 0 14px; border: 2px solid var(--borde); border-radius: 12px; font-size: 18px; width: 100%; }
.entrar-form input:focus { outline: none; border-color: var(--nav); }
.clave { position: relative; display: block; }
.clave input { padding-right: 84px; }
.clave button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 700; text-decoration: underline; color: var(--nav); }
.entrar-ayuda { display: flex; align-items: center; gap: 12px; margin: auto 18px 10px; color: var(--texto); text-decoration: none; font-size: 15px; }
.ic-verde { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--verde-c); color: var(--verde); display: grid; place-items: center; font-size: 20px; }

/* Barra naranja */
.top-naranja { background: var(--naranja); color: #fff; padding: calc(14px + env(safe-area-inset-top)) 16px 18px; border-radius: 0 0 22px 22px; }
.top-naranja.fila { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 5; }
.top-naranja.tit { display: flex; align-items: center; justify-content: space-between; }
.top-naranja.tit.col { display: grid; gap: 8px; justify-items: start; }
.top-naranja.tit.col .sec-fila { width: 100%; }
.top-naranja h1 { margin: 0; font-size: 25px; }
.top-naranja.tit small { color: rgba(255,255,255,.9); font-weight: 700; }
.logo-blanco { height: 42px; display: block; }
.top-naranja h2 { margin: 10px 0 12px; font-size: 22px; }
.buscador { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; background: #fff; color: var(--suave); font-size: 16px; }
.buscador svg { font-size: 22px; color: var(--nav); flex: 0 0 auto; }
.buscador.input { flex: 1; }
.buscador input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 17px; height: 100%; background: none; }

/* Inicio */
.card-repetir { background: var(--nav); color: #fff; border-radius: 18px; padding: 14px; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(28,47,79,.25); }
.rep-cab { display: flex; gap: 12px; align-items: center; }
.rep-cab > div { display: grid; }
.rep-cab b { font-size: 18px; }
.rep-cab small { color: rgba(255,255,255,.75); }
.rep-ic { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--naranja); display: grid; place-items: center; font-size: 22px; }
.rep-fila { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.1); }
.rep-fila > b { font-size: 22px; }
.sec { margin: 18px 2px 10px; font-size: 19px; }
.sec-fila { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rubros { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.rubros::-webkit-scrollbar, .carrusel::-webkit-scrollbar { display: none; }
.rubro { flex: 0 0 84px; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.15; }
.rubro span { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 28px; color: var(--naranja); box-shadow: 0 2px 8px rgba(28,47,79,.1); }
.carrusel { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.carrusel .tarj-p { flex: 0 0 172px; }

/* Tarjetas de producto */
.grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tarj-p { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(28,47,79,.07); }
.tarj-foto { position: relative; display: block; width: 100%; }
.tarj-t { display: grid; gap: 3px; padding: 10px 12px 6px; flex: 1; align-content: start; }
.tarj-t b { font-size: 15.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tarj-t small { font-size: 12.5px; }
.precio { font-size: 18px; font-weight: 800; margin-top: 2px; }
.precio small { font-size: 13px; font-weight: 500; }
.badge { position: absolute; top: 8px; left: 8px; background: var(--naranja); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 8px; }
.badge.nuevo { background: var(--nav); }
.sin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(91,99,114,.9); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 8px; }
.btn-agregar { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 10px 12px; height: 42px; border-radius: 12px; background: var(--naranja); color: #fff; font-weight: 800; }
.btn-agregar svg { font-size: 18px; }
.btn-agregar.en { background: var(--verde-c); color: var(--verde); font-size: 14.5px; }
.btn-avisame { margin: 4px 10px 12px; min-height: 42px; padding: 4px 10px; border-radius: 12px; background: #e9edf2; color: var(--suave); font-weight: 700; font-size: 13.5px; text-align: center; }
.btn-avisame.grande { width: 100%; margin: 14px 0 0; height: 52px; font-size: 16px; background: var(--verde-c); color: var(--verde); }

/* Fotos */
.foto { position: relative; aspect-ratio: 1 / 1; width: 100%; background: #f4f6f9; display: grid; place-items: center; overflow: hidden; }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; z-index: 1; }
.foto-vacia { font-size: 42px; color: #c3cad5; }
.foto.mini { flex: 0 0 58px; width: 58px; border-radius: 10px; }
.foto.mini .foto-vacia { font-size: 24px; }
.foto.grande { aspect-ratio: auto; height: min(46vh, 360px); }
.foto.grande .foto-vacia { font-size: 80px; }

/* Lista */
.titulo { margin: 4px 2px 0; font-size: 23px; }
.orden { margin: 10px 0 14px; }
.orden small { display: block; margin: 0 2px 6px; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--borde); background: #fff; font-size: 14.5px; font-weight: 700; }
.chip.act { background: var(--nav); border-color: var(--nav); color: #fff; }

/* Detalle */
.det-foto { position: relative; background: #fff; }
.det { margin-top: -26px; position: relative; z-index: 2; padding-bottom: 170px; }
.det-card { padding: 18px 16px; }
.det-cod { font-weight: 600; }
.det-card h2 { margin: 6px 0 8px; font-size: 23px; line-height: 1.2; }
.det-precio { font-size: 30px; font-weight: 800; }
.det-precio small { font-size: 16px; }
.det-bulto { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px; border-radius: 12px; background: #f5f3ef; }
.det-bulto > span { font-size: 26px; color: var(--nav); }
.det-bulto div { display: grid; }
.det-et { display: block; margin: 16px 0 8px; font-weight: 700; }
.stepper { display: flex; gap: 10px; align-items: center; }
.stepper button { flex: 0 0 56px; height: 56px; border-radius: 14px; border: 2px solid var(--nav); display: grid; place-items: center; font-size: 24px; color: var(--nav); background: #fff; }
.stepper button.osc { background: var(--nav); color: #fff; }
.stepper input { flex: 1; min-width: 0; height: 56px; border: 0; border-radius: 14px; background: #f5f3ef; text-align: center; font-size: 26px; font-weight: 800; }
.stepper.chico button { flex-basis: 40px; height: 40px; font-size: 19px; border-radius: 10px; }
.stepper.chico span { min-width: 40px; text-align: center; font-size: 19px; font-weight: 800; }
.btn-bulto { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; margin-top: 12px; border: 2px dashed var(--nav); border-radius: 14px; font-weight: 800; color: var(--nav); }
.btn-bulto svg { font-size: 20px; }

/* Pie fijo (total + botón) */
.pie-fijo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; max-width: 560px; margin: 0 auto; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e7e2dc; box-shadow: 0 -4px 14px rgba(28,47,79,.08); }
.pie-fijo.sobre-nav { bottom: calc(66px + env(safe-area-inset-bottom)); padding-bottom: 12px; }
.pie-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.pie-total span { color: var(--suave); font-size: 16px; }
.pie-total b { font-size: 25px; font-weight: 800; }

/* Carrito */
.linea-cab { display: flex; gap: 12px; align-items: center; width: 100%; }
.linea-cab > span { display: grid; flex: 1; }
.linea-cab b { font-size: 16px; line-height: 1.2; }
.linea-pie { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.linea-pie > b { font-size: 19px; }
.notas { display: grid; gap: 8px; }
.notas textarea { border: 2px solid var(--borde); border-radius: 12px; padding: 10px; font-size: 16px; resize: vertical; }

/* Enviado */
.enviado { text-align: center; padding-top: calc(40px + env(safe-area-inset-top)); }
.ok-circulo { width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-size: 56px; box-shadow: 0 0 0 14px var(--verde-c); }
.enviado h1 { font-size: 25px; margin: 26px 0 6px; }
.enviado p { margin: 0 0 18px; color: var(--suave); }
.resumen { text-align: left; display: grid; gap: 8px; }
.resumen > div { display: flex; justify-content: space-between; gap: 10px; }
.resumen span { color: var(--suave); }
.resumen .tot { border-top: 1px solid #e9edf2; padding-top: 10px; margin-top: 2px; }
.resumen .tot b { font-size: 24px; }
.verde-c { display: flex; align-items: center; gap: 10px; background: var(--verde-c); color: var(--verde); font-weight: 700; text-align: left; font-size: 15px; }
.verde-c svg { font-size: 22px; flex: 0 0 auto; }

/* Mis pedidos */
.ped-cab, .ped-fila { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ped-cab b { font-size: 17px; }
.ped-fila { margin-top: 6px; align-items: flex-end; }
.ped-fila span { display: grid; }
.ped-fila > b { font-size: 21px; }
.pill { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.gris { background: #e6ebf3; color: var(--nav); }
.pill.naranja { background: #ffe8d6; color: var(--naranja-osc); }
.pill.verde { background: var(--verde-c); color: var(--verde); }
.det-linea { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f5f3ef; }
.det-linea > span { flex: 1; display: grid; }
.det-linea > span b { font-size: 15px; }
.det-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.det-total b { font-size: 25px; }

/* Barra de abajo */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; max-width: 560px; margin: 0 auto; display: flex; background: #fff; border-top: 1px solid #e7e2dc; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.nav-b { flex: 1; display: grid; justify-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--suave); padding: 4px 0; }
.nav-b.act { color: var(--naranja); }
.nav-ic { position: relative; font-size: 25px; }
.nav-ic i { position: absolute; top: -6px; right: -12px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--naranja); color: #fff; font-size: 12px; font-style: normal; font-weight: 800; display: grid; place-items: center; }

/* Aviso */
.aviso { position: fixed; left: 14px; right: 14px; top: calc(14px + env(safe-area-inset-top)); z-index: 50; max-width: 530px; margin: 0 auto; padding: 14px 16px; border-radius: 14px; background: var(--nav); color: #fff; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.aviso.mal { background: var(--rojo); }

/* Entrar con Google y pantalla de espera */
.entrar-google { display: grid; gap: 8px; justify-items: center; text-align: center; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 58px; border-radius: 16px; border: 2px solid var(--borde); background: #fff; font-size: 19px; font-weight: 800; color: var(--texto); box-shadow: 0 2px 8px rgba(28,47,79,.08); }
.btn-google:active { background: #f4f6f9; }
.separador { display: flex; align-items: center; gap: 10px; margin: 2px 22px 12px; color: var(--suave); font-size: 14px; font-weight: 600; }
.separador::before, .separador::after { content: ''; flex: 1; height: 1px; background: #cfd6df; }
.entrar-form.segundo { margin-top: 0; }
.entrar-top.chico { padding-bottom: 60px; }
.entrar-top.chico .entrar-logo { width: 84px; height: 84px; }
.espera-tit { font-size: 16px; line-height: 1.35; }
.espera-ok { justify-items: center; text-align: center; gap: 10px; }
.espera-ok span { color: var(--suave); }
.ok-circulo.chico { width: 70px; height: 70px; font-size: 36px; margin: 6px auto; box-shadow: 0 0 0 10px var(--verde-c); }

/* Alta de cliente nuevo + aviso de lista general */
.entrar-form select { height: 54px; padding: 0 12px; border: 2px solid var(--borde); border-radius: 12px; font: inherit; font-size: 18px; width: 100%; background: #fff; color: var(--texto); }
.entrar-form select:focus { outline: none; border-color: var(--nav); }
.espera-chica { color: var(--suave); text-align: center; font-size: 13px; }
.btn-volver.flotante { position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 12px; z-index: 2; }
.entrar { position: relative; }
.aviso-nuevo .btn-naranja { margin-top: 6px; }

/* ===== Avisos importantes: azul oscuro para que la vista vaya ahí (contrasta con el naranja) ===== */
.card.aviso-imp { display: flex; gap: 12px; align-items: flex-start; background: var(--nav); color: #fff; border: 0; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(28,47,79,.28); }
.card.aviso-imp b { display: block; color: #ffd23f; font-size: 16px; margin-bottom: 2px; }
.card.aviso-imp span { color: #fff; font-size: 15.5px; line-height: 1.4; }
.aviso-ic { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,210,63,.18); color: #ffd23f; font-size: 22px; }
.aviso-nuevo { display: grid; gap: 4px; }
.aviso-nuevo .btn-naranja { margin-top: 8px; background: #ffd23f; color: var(--nav); box-shadow: none; }

/* ===== Ficha del producto: galería, descripción, video ===== */
.galeria { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galeria::-webkit-scrollbar { display: none; }
.galeria .foto { flex: 0 0 100%; scroll-snap-align: center; }
.galeria img { cursor: zoom-in; }
.gal-cont { position: absolute; right: 12px; bottom: 36px; z-index: 3; background: rgba(17,19,24,.62); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.det-desc, .det-video { margin-top: 12px; padding: 16px; }
.det-desc h3, .det-video h3 { margin: 0 0 8px; font-size: 18px; }
.det-desc p { margin: 0; white-space: pre-line; font-size: 16.5px; line-height: 1.5; color: var(--texto); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe, .video-tapa, .video-tapa img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-tapa { padding: 0; background: #000; }
.video-tapa img { object-fit: cover; opacity: .9; }
.video-tapa span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,81,0,.95); color: #fff; font-size: 34px; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.det-res { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 12px; padding: 14px 16px; text-align: left; font-size: 15px; }
.det-res span:not(.estrellas) { flex: 1; color: var(--suave); }
.visor { position: fixed; inset: 0; z-index: 100; background: #000; }
.visor-fotos { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.visor-fotos > div { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; }
.visor-fotos img { max-width: 100%; max-height: 100%; object-fit: contain; }
.visor-x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 22px; }

/* ===== Reseñas ===== */
.estrellas { display: inline-flex; gap: 1px; color: #d5dae2; font-size: 16px; }
.estrellas i { display: inline-flex; }
.estrellas i.on { color: #f5a524; }
.estrellas.grandes { font-size: 22px; }
.resumen-res { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; }
.resumen-res b { font-size: 22px; }
.resumen-res span:last-child { color: var(--suave); font-weight: 600; }
.resena { display: grid; gap: 4px; padding: 14px; }
.resenas-car .resena { flex: 0 0 260px; align-content: start; }
.resena-cab { display: flex; justify-content: space-between; align-items: center; }
.resena-cab small, .resena > small { color: var(--suave); }
.resena p { margin: 4px 0; font-size: 15.5px; line-height: 1.45; color: var(--texto); }
.resena-pend { color: #c4520c; font-size: 13px; font-weight: 700; font-style: normal; }
.resena-resp { margin-top: 6px; padding: 8px 10px; border-left: 3px solid var(--naranja); background: #f6f7f9; border-radius: 0 8px 8px 0; font-size: 14.5px; color: var(--texto); }
.resena-resp b { display: block; font-size: 13px; margin-bottom: 2px; }
.contenido > .resena { margin-bottom: 10px; }
.invitar-res { display: grid; gap: 4px; text-align: center; padding: 16px; margin: 4px 0 16px; }
.invitar-res b { font-size: 17px; }
.invitar-res span { color: var(--suave); }
.form-res { display: grid; gap: 12px; }
.form-res label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form-res textarea, .form-res input { width: 100%; padding: 12px 14px; border: 2px solid var(--borde); border-radius: 12px; font: inherit; font-size: 17px; resize: vertical; }
.form-res input { height: 54px; }
.elegir-est { display: flex; justify-content: center; gap: 6px; }
.elegir-est button { font-size: 44px; color: #d5dae2; padding: 0; line-height: 1; background: none; }
.elegir-est button.on { color: #f5a524; }
.elegir-txt { text-align: center; font-weight: 700; color: var(--suave); }
.det-foto .btn-volver.blanco { z-index: 4; }
.invitar-res .btn-borde, .contenido > .btn-naranja { display: flex; align-items: center; justify-content: center; gap: 8px; }
.contenido > .btn-naranja { width: 100%; margin-top: 6px; }

/* ===== Videos tipo reels ===== */
.reels { position: fixed; left: 0; right: 0; top: 0; bottom: calc(62px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; overflow-y: auto; scroll-snap-type: y mandatory; background: #000; scrollbar-width: none; overscroll-behavior: contain; }
.reels::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; }
.reel-video { position: absolute; inset: 0; display: grid; place-items: center; }
.reel-video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); }
.reel-video iframe { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.reel-toque { position: absolute; inset: 0; z-index: 2; }
.reel.pausa .reel-toque::after { content: ''; position: absolute; left: 50%; top: 45%; width: 0; height: 0; transform: translate(-30%, -50%); border-left: 46px solid rgba(255,255,255,.85); border-top: 28px solid transparent; border-bottom: 28px solid transparent; }
.reel-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 70px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.82) 55%); color: #fff; display: grid; gap: 6px; }
.reel-tit { font-size: 19px; line-height: 1.25; text-shadow: 0 1px 4px rgba(0,0,0,.6); cursor: pointer; }
.reel-precio { font-size: 28px; font-weight: 800; }
.reel-precio small { font-size: 14px; font-weight: 600; opacity: .9; }
.reel-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.reel-btns button { height: 52px; border-radius: 14px; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.reel-agregar { background: #fff; color: var(--nav); }
.reel-comprar { background: var(--naranja); color: #fff; }
.reel-sonido { position: fixed; z-index: 10; top: calc(14px + env(safe-area-inset-top)); right: max(14px, calc(50% - 266px)); width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 24px; display: grid; place-items: center; }
.reel-pista { position: fixed; z-index: 10; top: calc(20px + env(safe-area-inset-top)); right: max(72px, calc(50% - 208px)); background: rgba(0,0,0,.55); color: #fff; font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.nav.oscura { background: #0d0f13; border-top-color: #222; }
.nav.oscura .nav-b { color: #aab1bc; }
.nav.oscura .nav-b.act { color: #fff; }
.mini-reel { position: relative; flex: 0 0 132px; height: 220px; border-radius: 16px; overflow: hidden; background: #000; padding: 0; text-align: left; }
.mini-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.mini-reel b { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; color: #fff; font-size: 13.5px; line-height: 1.25; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mini-play { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,81,0,.95); color: #fff; font-size: 24px; display: grid; place-items: center; }
.reel-precio small { color: #fff; opacity: .85; }
.nav-b { white-space: nowrap; }
.nav:has(> .nav-b:nth-child(5)) .nav-b { font-size: 12px; }

/* ===== Banners del inicio ===== */
.banners { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; margin-bottom: 6px; box-shadow: 0 6px 18px rgba(17,19,24,.12); }
.banners::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 100%; scroll-snap-align: center; position: relative; display: flex; align-items: center; gap: 10px; min-height: 148px; padding: 18px 16px 18px 20px; text-align: left; color: #fff; overflow: hidden; border: 0; }
.banner.img { padding: 0; background: #fff; aspect-ratio: 12 / 5; min-height: 0; }
.banner.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-txt { flex: 1; display: grid; gap: 6px; position: relative; z-index: 1; }
.banner-txt b { font-size: 22px; line-height: 1.12; letter-spacing: -.01em; }
.banner-txt span { font-size: 15px; line-height: 1.3; opacity: .95; }
.banner-txt em { justify-self: start; margin-top: 4px; font-style: normal; font-weight: 800; font-size: 14px; background: rgba(255,255,255,.95); color: #111318; padding: 6px 12px; border-radius: 999px; }
.banner-ic { flex: 0 0 auto; font-size: 74px; opacity: .95; position: relative; z-index: 1; }
.banner::after { content: ''; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.12); }
.banner.c-naranja { background: linear-gradient(120deg, #ff5100, #ff8a3d); }
.banner.c-azul { background: linear-gradient(120deg, #1c2f4f, #2f5d9a); }
.banner.c-verde { background: linear-gradient(120deg, #13804a, #2fb36b); }
.banner.c-violeta { background: linear-gradient(120deg, #5b2c9f, #8a52d6); }
.banner.c-oscuro { background: linear-gradient(120deg, #111318, #3a3f4a); }
.banner.c-oscuro .banner-ic { color: #25d366; }
.banner-puntos { display: flex; justify-content: center; gap: 6px; margin: 0 0 14px; }
.banner-puntos i { width: 7px; height: 7px; border-radius: 4px; background: #c9d0da; transition: width .25s; }
.banner-puntos i.on { width: 20px; background: var(--naranja); }
.reparto .rep-linea { display: block; font-size: 16px; }
.reparto .rep-linea strong { color: #ffd23f; text-transform: capitalize; }
.reparto small { display: block; margin-top: 4px; color: #c9d3e3; font-size: 13.5px; }
.card.aviso-imp .aviso-ic { background: #ffd23f; color: var(--nav); }

/* ===== Menú "Más" ===== */
.top-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.btn-mas { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px 0 10px; border-radius: 12px; background: rgba(255,255,255,.22); color: #fff; font-weight: 800; font-size: 16px; }
.btn-mas svg { font-size: 24px; }
.mas { position: fixed; inset: 0; z-index: 60; }
.mas-fondo { position: absolute; inset: 0; background: rgba(17,19,24,.45); opacity: 0; transition: opacity .2s; }
.mas-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 86vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease-out; box-shadow: -8px 0 30px rgba(0,0,0,.2); }
.mas.abierto .mas-fondo { opacity: 1; }
.mas.abierto .mas-panel { transform: none; }
.mas-cab { display: flex; align-items: center; gap: 10px; padding: calc(16px + env(safe-area-inset-top)) 16px 14px; background: var(--naranja); color: #fff; }
.mas-cab > div { flex: 1; display: grid; min-width: 0; }
.mas-cab b { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mas-cab small { opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mas-x { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.22); color: #fff; font-size: 18px; }
.mas-cuerpo { flex: 1; overflow-y: auto; padding: 6px 0 calc(20px + env(safe-area-inset-bottom)); }
.mas-cuerpo h4 { margin: 14px 18px 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--suave); }
.mas-it { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 18px; font-size: 17px; font-weight: 600; color: var(--texto); text-decoration: none; text-align: left; background: none; }
.mas-it:active { background: #f3f5f8; }
.mas-it > span { display: grid; place-items: center; width: 24px; font-size: 22px; color: var(--naranja); }
.mas-pie { margin: 18px; font-size: 12.5px; color: var(--suave); }

/* ===== Aviso de cookies ===== */
.cookies { position: fixed; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 55; max-width: 540px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 16px; background: #111318; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.cookies > div { flex: 1; display: grid; gap: 2px; font-size: 14.5px; line-height: 1.35; }
.cookies b { font-size: 16px; }
.cookies a { color: #ffd23f; font-weight: 700; }
.cookies button { flex: 0 0 auto; height: 46px; padding: 0 18px; border-radius: 12px; background: #fff; color: #111318; font-weight: 800; font-size: 16px; }

/* ===== Aviso "precios de público" para los que todavía no son clientes ===== */
.det-publico { display: block; width: 100%; margin: 6px 0 4px; padding: 8px 12px; border: 2px solid #ffc9a6; border-radius: 10px; background: #fff4ec; color: #8a3a08; font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.det-publico b { color: #c4520c; }
.pie-publico { display: block; color: #c4520c; font-size: 13px; font-weight: 700; margin-bottom: 4px; text-align: center; }
.ventana { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.ventana-fondo { position: absolute; inset: 0; background: rgba(17,19,24,.55); }
.ventana-caja { position: relative; width: min(380px, 100%); background: #fff; border-radius: 18px; padding: 22px 20px 16px; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.3); display: grid; gap: 8px; }
.ventana-ic { font-size: 40px; line-height: 1; }
.ventana-caja h3 { margin: 0; font-size: 21px; color: var(--nav); }
.ventana-caja p { margin: 0; font-size: 16.5px; line-height: 1.4; color: var(--texto); }
.ventana-fuerte { background: #fff4ec; border: 2px solid #ffc9a6; border-radius: 12px; padding: 10px; font-weight: 700; color: #8a3a08 !important; }
.ventana-caja .btn-naranja { margin-top: 6px; }
.ventana-caja .link { background: none; border: 0; color: var(--suave); font: inherit; font-size: 15px; padding: 8px; cursor: pointer; text-decoration: underline; }
.card.aviso-imp.aviso-nuevo { display: grid; gap: 6px; }
.card.aviso-imp.aviso-nuevo .btn-naranja { justify-self: stretch; }

/* ===== v2.0: inicio más directo ===== */
/* Banner compacto (la mitad de alto) */
.banner { min-height: 74px; padding: 10px 14px 10px 16px; }
.banner.img { aspect-ratio: 24 / 5; }
.banner-txt { gap: 2px; }
.banner-txt b { font-size: 18px; }
/* La frase entra completa (hasta 3 renglones) */
.banner-txt span { font-size: 13.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.banner-txt em { margin-top: 2px; font-size: 12.5px; padding: 3px 10px; }
.banner-ic { font-size: 40px; }
.banner::after { width: 110px; height: 110px; right: -30px; top: -30px; }
.banner-puntos { margin: 0 0 10px; }

/* Barrita "precios minoristas" */
.barra-mino { display: block; width: 100%; padding: 9px 14px; background: #1c2f4f; color: #fff; font: inherit; font-size: 14px; line-height: 1.3; text-align: center; border: 0; }
.barra-mino b { color: #ffd23f; white-space: nowrap; }
button.barra-mino { cursor: pointer; }

/* Categorías en círculos debajo del banner */
.rubros { margin-bottom: 4px; }
.rubro.of span { background: var(--naranja); color: #fff; }

/* Tarjeta chica con "+" */
.carrusel.mini .tarj-mini { flex: 0 0 136px; }
.tarj-mini { position: relative; background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(28,47,79,.07); }
.tarj-mini .foto { aspect-ratio: 1; }
.tarj-mini .tarj-t { display: grid; gap: 4px; padding: 8px 10px 12px; text-align: left; }
.tarj-mini .tarj-t b { font-size: 14px; line-height: 1.2; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.tarj-mini .precio { font-size: 17px; font-weight: 800; color: var(--texto); }
.mini-mas { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; background: var(--naranja); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; box-shadow: 0 3px 10px rgba(255,81,0,.45); border: 0; }
.mini-mas.en { background: var(--verde, #13804a); font-size: 16px; box-shadow: 0 3px 10px rgba(19,128,74,.35); }

/* Pantalla Categorías */
.buscador.claro { width: 100%; margin-bottom: 14px; background: #fff; box-shadow: 0 2px 8px rgba(28,47,79,.08); }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat { display: grid; justify-items: start; gap: 4px; padding: 14px; background: #fff; border-radius: 16px; text-align: left; box-shadow: 0 2px 10px rgba(28,47,79,.07); border: 0; }
.cat span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff1e6; color: var(--naranja); font-size: 24px; }
.cat b { font-size: 16px; line-height: 1.2; color: var(--texto); }
.cat small { color: var(--suave); font-size: 13px; }
.cat.of span { background: var(--naranja); color: #fff; }

/* Carrito: envío */
.pie-envio { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 2px; }
.pie-envio b { color: var(--verde, #13804a); }
.pie-publico { font-weight: 600; color: var(--suave); }

/* Cookies: una línea, al ras de la barra de abajo */
.cookies { left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); padding: 8px 10px 8px 14px; border-radius: 12px 12px 0 0; gap: 10px; box-shadow: 0 -4px 14px rgba(0,0,0,.18); }
.cookies > span { flex: 1; font-size: 13.5px; line-height: 1.3; }
.cookies button { height: 34px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
body:has(.pie-fijo) .cookies { display: none; }
.cookies > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Categorías con foto real del producto */
.rubro span.con-foto, .cat span.con-foto { overflow: hidden; background: #fff; padding: 0; }
.rubro span.con-foto img, .cat span.con-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat span.con-foto { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 1px 4px rgba(28,47,79,.1); }
.mini-mas { z-index: 2; }

/* ===== Pantalla de entrada estilo "foto arriba + logo con aros" ===== */
.portada { background: #f5f6f8; }
.portada-foto { height: 44vh; min-height: 260px; background: #eef0f2 url('fondo-inicio.jpg?v=2') center 35% / cover no-repeat; }
.portada-panel { position: relative; flex: 1; display: flex; flex-direction: column; margin-top: -30px; padding-top: 74px; background: #f5f6f8; border-radius: 28px 28px 0 0; }
.portada-aros { position: absolute; left: 50%; top: -86px; transform: translateX(-50%); width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; }
.portada-aros::before, .portada-aros::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,81,0,.28); }
.portada-aros::before { inset: -46px; background: rgba(255,81,0,.18); clip-path: inset(0 0 52% 0); }
.portada-aros::after { inset: -22px; clip-path: inset(0 0 50% 0); }
.portada-aros img { position: relative; z-index: 1; width: 150px; height: 150px; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 10px 26px rgba(0,0,0,.2); background: #fff; }
.portada-tit { margin: 6px 20px 2px; text-align: center; font-size: 26px; color: var(--texto); }
.portada-sub { margin: 0 20px 18px; text-align: center; font-size: 16px; color: var(--suave); font-weight: 600; }
.portada .entrar-form { margin: 0 18px 14px; }

/* ===== Pantalla de entrada v2.3 (diseño elegido en Claude Design) ===== */
.portada { background: #F5F6F8; }
.portada-foto { position: relative; height: auto; min-height: 0; aspect-ratio: 390 / 424; max-height: 52vh; background: #EDF1F5 url('fondo-inicio.jpg?v=3') center bottom / cover no-repeat; }
.portada-logo { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); width: 120px; height: 120px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.10); display: grid; place-items: center; z-index: 2; }
.portada-logo img { width: 112px; height: 112px; border-radius: 50%; }
.portada-panel { position: relative; flex: 1; display: flex; flex-direction: column; margin: 0; padding: 76px 0 18px; background: #F5F6F8; border-radius: 0; }
.portada-tit { margin: 0 20px 4px; text-align: center; font-size: 23px; font-weight: 800; color: #2B2F36; }
.portada-sub { margin: 0 20px 14px; text-align: center; font-size: 16px; font-weight: 500; color: #5B616B; }
.portada-sub b { font-weight: 800; color: #2B2F36; }
.portada-benef { display: flex; margin: 0 22px 16px; padding: 12px 4px; background: #fff; border: 1px solid #ECEEF2; border-radius: 14px; }
.portada-benef > div { flex: 1; display: grid; justify-items: center; gap: 5px; text-align: center; color: #F47B20; }
.portada-benef > div + div { border-left: 1px solid #ECEEF2; }
.portada-benef span { font-size: 13px; font-weight: 600; line-height: 1.2; color: #3A3F47; }
.portada .entrar-google { margin: 0 22px 12px; padding: 0; background: none; box-shadow: none; }
.portada .btn-google { width: 100%; height: 52px; border-radius: 12px; border: 1px solid #E3E5EA; background: #fff; box-shadow: none; }
.portada-usuario { margin: 0 22px; width: auto; height: 52px; border-radius: 12px; background: #F47B20; box-shadow: none; }
.portada .entrar-form.segundo { margin: 0 22px; }
.portada-ayuda { margin: 16px 20px 0; text-align: center; font-size: 15px; color: #5B616B; }
.portada-ayuda a { color: #C2560E; font-weight: 700; }
.portada-aros, .portada-tit + .portada-sub + .entrar-google small { display: none; }

/* ===== Carrito: entrega y forma de pago ===== */
.card.entrega { display: grid; gap: 10px; }
.ent-tit { font-size: 17px; }
.ent-opc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ent-opc button { min-height: 48px; padding: 6px 8px; border-radius: 12px; border: 2px solid var(--borde); background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--texto); }
.ent-opc button.act { border-color: var(--naranja); background: #fff4ec; color: #B4500C; }
.ent-loc { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.ent-loc select, .card.entrega input { height: 50px; padding: 0 12px; border: 2px solid var(--borde); border-radius: 12px; font: inherit; font-size: 17px; background: #fff; color: var(--texto); width: 100%; box-sizing: border-box; }
.ent-msg { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; font-size: 15px; line-height: 1.35; }
.ent-msg.e-ok { display: flex; gap: 8px; align-items: flex-start; background: #E9F7EF; color: #11633A; }
.ent-msg.e-ok svg { flex: 0 0 auto; font-size: 20px; }
.ent-msg.e-falta { background: #FFF4EC; color: #8A3A08; }
.ent-msg.e-falta small { color: #8A3A08; opacity: .85; font-size: 13px; }
.ent-msg.e-aviso { background: #FFF8E1; color: #6B4E00; }
.ent-barra { height: 10px; border-radius: 6px; background: #FFD9BD; overflow: hidden; }
.ent-barra i { display: block; height: 100%; background: var(--naranja); border-radius: 6px; }
.ent-alias { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f5f3ef; }
.ent-alias span { color: var(--suave); font-size: 14px; }
.ent-alias b { flex: 1; font-size: 18px; letter-spacing: .02em; }
.ent-alias button { height: 38px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--nav); color: #fff; font: inherit; font-weight: 700; }
.ent-chica { color: var(--suave); font-size: 13px; }
.pie-envio.e-falta-min b, .pie-envio.e-falta b { color: #B4500C; }
.pie-envio.e-aviso b, .pie-envio.e-info b { color: var(--texto); }
.ent-opc.uno { grid-template-columns: 1fr; }
.ent-opc button:disabled { opacity: 1; cursor: default; }

/* Ficha: elegir por unidad o por bulto */
.det-modo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.det-modo button { display: grid; gap: 2px; padding: 10px 8px; border-radius: 14px; border: 2px solid var(--borde); background: #fff; font: inherit; font-size: 17px; font-weight: 800; color: var(--texto); text-align: center; }
.det-modo button small { font-size: 13px; font-weight: 600; color: var(--suave); }
.det-modo button.act { border-color: var(--naranja); background: #fff4ec; color: #B4500C; }
.det-modo button.act small { color: #B4500C; }
.det-modo.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.det-modo.n3 button { font-size: 15px; padding: 10px 4px; }
.det-modo.n3 button small { font-size: 12px; }
.det-modo button small.pr { white-space: nowrap; font-weight: 800; }

/* ===== Cumpleaños ===== */
.card.cumple-card { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; background: linear-gradient(120deg, #FFF1E0, #FFE3F0); border: 2px solid #FFC9A6; }
.cumple-card b { display: block; font-size: 17px; color: #2B2F36; margin-bottom: 2px; }
.cumple-card span { font-size: 15px; line-height: 1.4; color: #3A3F47; }
.cumple-card span b { display: inline; font-size: inherit; color: #B4500C; }
.cumple-ic { flex: 0 0 auto; font-size: 30px; line-height: 1; }
.card.cumple-pide { display: flex; gap: 12px; align-items: center; width: 100%; margin-bottom: 14px; text-align: left; font: inherit; font-size: 15px; color: var(--texto); border: 1px dashed #FFC9A6; background: #FFFAF5; }
.cumple-pide > span:nth-child(2) { flex: 1; }
.cumple-pide svg { color: var(--suave); }
.pie-envio.cumple-desc b { color: #11633A; }
.card.misdatos { display: grid; gap: 10px; margin-bottom: 14px; }
.misdatos > div { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; }
.misdatos span { color: var(--suave); }
.card.misdatos-cumple { display: flex; gap: 12px; align-items: flex-start; }
.misdatos-cumple > div { display: grid; gap: 4px; font-size: 15px; line-height: 1.4; }
.misdatos-cumple b { font-size: 17px; }
.cumple-form { flex: 1; display: grid; gap: 10px; }
.cumple-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.cumple-form input { height: 52px; padding: 0 12px; border: 2px solid var(--borde); border-radius: 12px; font: inherit; font-size: 17px; }
.cumple-form small { color: var(--suave); }
.top-naranja.fila.tit .btn-volver.blanco { position: static; margin-right: 8px; }

/* Ficha más compacta: que foto, precio, modo y cantidad entren en una pantalla */
.foto.grande { height: min(34vh, 280px); }
.det { margin-top: -18px; }
.det-card { padding: 14px 14px 16px; }
.det-card h2 { margin: 4px 0 4px; font-size: 21px; }
.det-precio { font-size: 27px; }
.det-et { margin: 12px 0 6px; }
.det-modo.n3 button { padding: 8px 4px; gap: 1px; }
.stepper button { flex-basis: 50px; height: 50px; }
.stepper input { height: 50px; font-size: 24px; }
.pie-fijo { padding-top: 10px; }

/* Categorías: círculos más grandes */
.rubro { flex-basis: 94px; }
.rubro span { width: 78px; height: 78px; }
.cat span.con-foto { width: 74px; height: 74px; }

/* "Avisame cuando llegue": lista que se manda en un solo WhatsApp */
.btn-avisame.en { background: var(--verde-c); color: var(--verde); display: flex; align-items: center; justify-content: center; gap: 6px; }
.avisos-barra { position: fixed; left: 0; right: 0; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 7; max-width: 532px; margin: 0 auto; width: calc(100% - 28px); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 14px; background: #fff; border: 2px solid var(--verde); box-shadow: 0 4px 16px rgba(28,47,79,.16); font-size: 14.5px; }
.avisos-barra span { flex: 1; line-height: 1.25; }
.avisos-barra button { border: 0; border-radius: 10px; background: var(--verde); color: #fff; font: inherit; font-weight: 800; font-size: 14px; padding: 9px 12px; white-space: nowrap; }
.avisos-barra button.x { background: none; color: var(--suave); padding: 6px; }
body:has(.avisos-barra) .contenido { padding-bottom: 170px; }

/* Fotos de categorías: las de fondo blanco entran enteras (ya vienen recortadas, así
   se ven grandes); las de fondo de color llenan el círculo, que toma ese color. */
.rubro span.con-foto img, .cat span.con-foto img { object-fit: contain; padding: 7px; box-sizing: border-box; }
.cat span.con-foto img { padding: 4px; }
.rubro span.con-foto.con-fondo img, .cat span.con-foto.con-fondo img { object-fit: cover; padding: 0; background: transparent; }

/* Tarjeta "agregá Beiko a tu pantalla de inicio" */
.inst-card { border: 2px solid var(--naranja); background: #fff8f2; display: grid; gap: 10px; }
.inst-top { display: flex; gap: 12px; align-items: center; }
.inst-logo { width: 52px; height: 52px; border-radius: 14px; flex: 0 0 52px; }
.inst-top b { display: block; font-size: 18px; }
.inst-top span { font-size: 15px; color: var(--suave); line-height: 1.35; }
.inst-pasos { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 16px; line-height: 1.35; }
.inst-ic { display: inline-grid; place-items: center; vertical-align: middle; color: #0a84ff; }
.inst-btns { display: grid; gap: 4px; }
.inst-btns .btn-naranja { width: 100%; height: 52px; font-size: 17px; }
.inst-no { border: 0; background: none; color: var(--suave); font: inherit; font-size: 14.5px; padding: 6px; text-decoration: underline; }

/* ---------- Catálogo: todos los productos juntos, como el catálogo PDF ---------- */
.catidx { position: sticky; top: 0; z-index: 6; display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; background: #fff; border-bottom: 1px solid #e7e2dc; scrollbar-width: none; }
.catidx::-webkit-scrollbar { display: none; }
.catidx button { flex: 0 0 auto; border: 1px solid #e7e2dc; background: #f6f8fb; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--texto); white-space: nowrap; }
.catalogo { padding-top: 6px; }
.catr { margin: 18px 0 6px; padding: 9px 12px; border-radius: 10px; background: var(--naranja); color: #fff; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; }
.cats-sub { margin: 10px 2px 4px; font-size: 14px; color: var(--suave); text-transform: uppercase; letter-spacing: .03em; }
.catf { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 8px; background: #fff; border-radius: 12px; margin-bottom: 6px; border: 1px solid #f5f3ef; }
.catf.en { border-color: var(--naranja); background: #fff8f2; }
.catf-foto { border: 0; padding: 0; background: none; }
.catf-foto .foto { width: 64px; height: 64px; border-radius: 10px; }
.catf-t { border: 0; background: none; padding: 0; text-align: left; font: inherit; display: grid; gap: 1px; min-width: 0; color: var(--texto); }
.catf-t b { font-size: 14.5px; line-height: 1.25; }
.catf-t small { font-size: 12.5px; color: var(--suave); }
.catf-t .precio { font-size: 16px; font-weight: 800; margin-top: 2px; }
.catf-cod { justify-self: start; font-size: 11.5px; font-weight: 800; color: #fff; background: #1c2f4f; border-radius: 6px; padding: 1px 6px; }
.catf-acc { display: flex; align-items: center; gap: 4px; }
.catf-agregar { display: flex; align-items: center; gap: 4px; border: 0; border-radius: 10px; background: var(--naranja); color: #fff; font: inherit; font-weight: 800; font-size: 14px; padding: 10px 10px; }
.catf-agregar svg { width: 16px; height: 16px; }
.catf-b { width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--naranja); background: #fff; color: var(--naranja); font-size: 22px; font-weight: 800; line-height: 1; }
.catf-b.catf-mas { background: var(--naranja); color: #fff; }
.catf-n { min-width: 40px; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.1; display: grid; }
.catf-n small { font-size: 11px; color: var(--suave); font-weight: 700; }
.catf-sin { font-size: 12.5px; color: var(--suave); font-weight: 700; }
.nav-b { font-size: 12px; }

/* Descuento fijo del cliente: precio de lista tachado y el suyo al lado */
.pfin { white-space: nowrap; }
.tachado { white-space: nowrap; color: var(--suave); font-weight: 600; font-size: .82em; margin-right: 2px; }
.dto-fijo { display: inline-block; margin-top: 4px; padding: 3px 9px; border-radius: 999px; background: #e7f6ec; color: #17733a; font-weight: 800; font-size: 13px; }
.pie-envio.dto-desc b { color: #17733a; }

/* ---------- Colores: naranja de siempre + azul de acompañante ----------
   Encabezados y botones: naranja (como siempre).
   Azul apagado (el del cartel "precios minoristas"): la tarjeta "Tené Beiko siempre a mano".
   Azul degradado: títulos del Catálogo y lo que está elegido (Por paquete, Envío, etc.). */
.catr { background: var(--grad-azul); }
.catidx button { border-color: #d6e4ff; background: #f2f7ff; color: var(--azul-osc); }
.det-modo button.act, .ent-opc button.act { border-color: var(--azul); background: #eaf2ff; color: var(--azul-osc); }

.inst-card { border: 0; background: #1c2f4f; color: #fff; box-shadow: 0 8px 20px rgba(28, 47, 79, .28); }
.inst-top b { color: #fff; font-size: 19px; }
.inst-top span { color: #d6deea; }
.inst-logo { box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.inst-pasos, .inst-pasos b, .inst-ic { color: #fff; }
.inst-btns .btn-naranja { background: #ffd23f; color: #1c2f4f; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.inst-no { color: #c3cddc; }

/* Barra finita para instalar la app (reemplaza la tarjeta grande) */
.inst-barra { position: relative; display: grid; background: #1c2f4f; color: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 6px 16px rgba(28,47,79,.25); }
.inst-fila { display: flex; align-items: center; gap: 10px; padding: 8px 44px 8px 10px; color: #fff; font-size: 15px; line-height: 1.25; text-align: left; }
.inst-fila img { width: 32px; height: 32px; border-radius: 9px; flex: 0 0 32px; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.inst-fila span { flex: 1; }
.inst-fila b { color: #ffd23f; }
.inst-fila em { font-style: normal; font-weight: 800; font-size: 14px; background: #ffd23f; color: #1c2f4f; border-radius: 10px; padding: 7px 12px; white-space: nowrap; }
.inst-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; color: #c3cddc; font-size: 16px; text-align: center; }
.inst-barra.abierta .inst-x { top: 24px; }
.inst-barra .inst-pasos { margin: 0; padding: 2px 16px 12px 34px; color: #fff; font-size: 15px; }

/* Barra de instalar: todavía más finita */
.inst-fila { padding: 6px 40px 6px 8px; font-size: 14px; gap: 8px; }
.inst-fila img { width: 26px; height: 26px; flex-basis: 26px; border-radius: 7px; }
.inst-fila em { padding: 5px 10px; font-size: 13px; }
.inst-barra { border-radius: 12px; margin-bottom: 10px; }

/* Logo de la barra de instalar: limpio, sin recuadro blanco */
.inst-fila img { box-shadow: none; border-radius: 50%; background: transparent; clip-path: circle(44.5% at 50% 50%); transform: scale(1.12); }

/* ================= Rediseño del inicio (v3) ================= */
.ini-top .top-fila { align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--naranja); font-weight: 900; font-size: 16px; display: grid; place-items: center; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ini-top h2 { margin: 10px 0 2px; font-size: 26px; }
.ini-sub { margin: 0 0 12px; font-size: 14px; opacity: .95; display: flex; align-items: center; gap: 6px; }
.ini-sub i { width: 8px; height: 8px; border-radius: 50%; background: #3ee07f; flex: 0 0 8px; box-shadow: 0 0 0 3px rgba(62,224,127,.25); }
.ini-sub b { font-weight: 800; }

/* Repetir último pedido */
.rep2 { display: flex; align-items: center; gap: 12px; padding: 12px; }
.rep2-ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: #fff1e6; color: var(--naranja); display: grid; place-items: center; }
.rep2-ic svg { width: 24px; height: 24px; }
.rep2 > div { flex: 1; min-width: 0; display: grid; }
.rep2 b { font-size: 16.5px; }
.rep2 small { color: var(--suave); font-size: 13.5px; }
.rep2-btn { background: #111318; color: #fff; font-weight: 800; border-radius: 12px; padding: 11px 16px; font-size: 15px; }

/* Ofertas relámpago */
.relampago { background: #16181d; border-radius: 22px; padding: 14px 0 12px; margin: 4px 0 16px; color: #fff; }
.rel-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px 10px; }
.rel-cab small { display: block; color: #ffd23f; font-weight: 900; letter-spacing: .06em; font-size: 13px; }
.rel-cab b { font-size: 21px; }
.rel-reloj { display: flex; gap: 4px; }
.rel-reloj span { min-width: 34px; height: 34px; padding: 0 4px; border-radius: 8px; background: #ffd23f; color: #111318; font-weight: 900; font-size: 16px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.rel-fila { padding: 0 14px; }
.relampago .tarj-mini { background: #fff; color: var(--texto); }
.rel-ver { display: block; margin: 8px 14px 0; color: #ffd23f; font-weight: 800; font-size: 14.5px; }
.tarj-foto { position: relative; }
.off { position: absolute; top: 6px; left: 6px; z-index: 1; background: var(--rojo); color: #fff; font-size: 12.5px; font-weight: 900; padding: 3px 7px; border-radius: 8px; }
.pfin.of { color: var(--rojo); }

/* Barra del pedido (flotante, arriba de la navegación) */
.ped-barra { position: fixed; left: 0; right: 0; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 8; max-width: 532px; width: calc(100% - 20px); margin: 0 auto; background: #111318; color: #fff; border-radius: 13px; box-shadow: 0 8px 22px rgba(17,19,24,.35); overflow: hidden; }
.ped-fila { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px 6px 10px; color: #fff; }
.ped-n { min-width: 24px; height: 24px; border-radius: 50%; background: var(--naranja); display: grid; place-items: center; font-weight: 900; font-size: 12.5px; }
.ped-t { flex: 1; min-width: 0; display: grid; line-height: 1.15; }
.ped-t b { font-size: 15px; }
.ped-t small { font-size: 11.5px; color: #c9cfd8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ped-t small b { font-size: 11.5px; color: #ffd23f; }
.ped-fila em { font-style: normal; font-weight: 900; background: var(--naranja); border-radius: 9px; padding: 6px 12px; font-size: 13.5px; white-space: nowrap; }
.ped-meta { height: 3px; background: #2d3139; }
.ped-meta i { display: block; height: 100%; background: #ffd23f; }
.ped-meta.ok i { background: #3ee07f; }
body:has(.ped-barra) .contenido { padding-bottom: 140px; }

/* Categorías en grilla de 4 */
.cat-grilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; margin-bottom: 14px; }
.cat-grilla .rubro { width: auto; flex: none; font-size: 12.5px; line-height: 1.15; }
.cat-grilla .rubro span { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; }
.cat-grilla .rubro span.con-foto img { padding: 6px; }

/* Lo que más comprás: tarjetas grandes de a 2 */
.grilla2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.tc { background: #fff; border-radius: 18px; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 2px 8px rgba(28,47,79,.06); }
.tc-foto { position: relative; border-radius: 14px; overflow: hidden; }
.tc-foto .foto { width: 100%; aspect-ratio: 1.15; border-radius: 14px; }
.tc-et { position: absolute; top: 6px; left: 6px; z-index: 1; background: #fff; color: var(--texto); font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.tc-et.of { background: var(--rojo); color: #fff; }
.tc-t { display: grid; gap: 2px; flex: 1; align-content: start; }
.tc-t small { color: var(--suave); font-size: 12.5px; }
.tc-t b { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.tc-t .precio { font-size: 18px; font-weight: 900; margin-top: 2px; }
.tc-t em { justify-self: start; font-style: normal; font-size: 12px; font-weight: 800; color: #17733a; background: #e7f6ec; border-radius: 6px; padding: 2px 6px; }
.tc-agregar { width: 100%; height: 42px; border-radius: 12px; background: #fff1e6; color: var(--naranja); font-weight: 900; font-size: 15.5px; text-align: center; }
.tc-cant { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tc-cant button { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--naranja); color: var(--naranja); font-size: 22px; font-weight: 900; text-align: center; background: #fff; }
.tc-cant button.tc-mas { background: var(--naranja); color: #fff; }
.tc-cant span { font-weight: 900; }
.tc .btn-avisame { font-size: 13px; }

/* Menú Cuenta (más prolijo) */
.mas-panel { width: min(360px, 90vw); background: #f6f4f0; }
.mas-cuerpo { padding: calc(14px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.mas-cuerpo > * { flex-shrink: 0; }
.mas-cab { display: flex; align-items: center; gap: 12px; padding: 4px 0 2px; background: none; color: var(--texto); }
.mas-av { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--naranja); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.mas-cab small { color: var(--suave); opacity: 1; font-size: 13px; }
.mas-cab b { font-size: 17px; }
.mas-x { background: #fff; color: var(--texto); border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.mas-ped { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 14px; border-radius: 16px; background: #1c1b1a; color: #fff; text-align: left; }
.mas-ped i { width: 9px; height: 9px; border-radius: 50%; background: #6ee7a0; flex: none; }
.mas-ped span { flex: 1; display: grid; min-width: 0; }
.mas-ped b { font-size: 14.5px; }
.mas-ped small { font-size: 12.5px; opacity: .75; }
.mas-ped em { font-style: normal; font-weight: 800; color: #ffd23f; }
.mt-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mt { display: grid; gap: 8px; justify-items: start; padding: 12px; border-radius: 16px; background: #fff; font-weight: 700; font-size: 14.5px; color: var(--texto); text-align: left; }
.mt span { width: 34px; height: 34px; border-radius: 10px; background: #fff1e6; color: var(--naranja); display: grid; place-items: center; }
.mt span svg { width: 18px; height: 18px; }
.mr-tit { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.mr-tit b { font-size: 17px; }
.mr-tit small { color: var(--suave); font-size: 12.5px; }
.mr-buscar { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; background: #fff; border-radius: 12px; border: 1px solid #e8e4dd; color: var(--suave); }
.mr-buscar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: none; color: var(--texto); min-width: 0; }
.mr-lista { background: #fff; border-radius: 16px; overflow: hidden; }
.mr-fila + .mr-fila { border-top: 1px solid #f0ece6; }
.mr-lista:not(.todas):not(.filtrando) .mr-fila.extra, .mr-fila.oculta { display: none; }
.mr-cab { display: flex; align-items: center; }
.mr-ir { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px 4px 9px 10px; text-align: left; }
.mr-ir > span:first-child { flex: none; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #f6f4f0; color: var(--naranja); font-size: 20px; }
.mr-ir > span:first-child img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; display: block; }
.mr-ir > span.con-fondo img { object-fit: cover; padding: 0; }
.mr-ir > span:last-child { display: grid; min-width: 0; }
.mr-ir b { font-size: 15px; }
.mr-ir small { color: var(--suave); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-mas { flex: none; width: 44px; height: 44px; font-size: 22px; color: var(--suave); }
.mr-subs { display: none; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px 60px; }
.mr-fila.abierta .mr-subs { display: flex; }
.mr-fila.abierta .mr-mas { color: var(--naranja); }
.mr-subs button { padding: 6px 10px; border-radius: 999px; background: #f6f4f0; font-size: 13px; font-weight: 600; color: var(--texto); }
.mr-subs button:first-child { background: #fff1e6; color: var(--naranja); }
.mr-nada { display: none; padding: 14px; color: var(--suave); font-size: 14px; }
.mr-lista.vacia .mr-nada { display: block; }
.mr-todas { width: 100%; height: 42px; border-radius: 12px; background: #fff; font-weight: 800; color: var(--naranja); }
.mas-wa { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-radius: 16px; background: #e6f4ea; }
.mas-wa span { flex: 1; display: grid; }
.mas-wa small { color: var(--suave); font-size: 12.5px; }
.mas-wa button { padding: 10px 14px; border-radius: 12px; background: #25d366; color: #fff; font-weight: 800; }
.mas-links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 4px; }
.mas-links button, .mas-links a { font-size: 14px; color: var(--suave); text-decoration: none; padding: 4px 0; }
.mas-salir { justify-self: start; padding: 2px 4px; color: #d64545; font-weight: 700; font-size: 14px; }
.mas-pie { margin: 0 4px; }
.det-fav { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--texto); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.det-fav.si { color: #e0245e; }

/* Escáner de códigos de barras */
.busca-fila { display: flex; gap: 8px; }
.busca-fila .buscador { flex: 1; }
.btn-scan { flex: none; width: 50px; height: 50px; border-radius: 14px; background: #fff; color: var(--naranja); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(28,47,79,.08); }
.btn-scan svg { width: 26px; height: 26px; }
.esc { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; }
.esc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.esc-marco { position: absolute; left: 6%; right: 6%; top: 50%; height: 30vh; max-height: 260px; transform: translateY(-50%); border: 3px solid #fff; border-radius: 18px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); }
.esc-marco i { position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: escLinea 1.6s ease-in-out infinite alternate; }
@keyframes escLinea { from { transform: translateY(-60px); } to { transform: translateY(60px); } }
.esc.mal .esc-marco { border-color: #ffd23f; }
.esc-arriba { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.esc-x { width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 20px; }
.esc-abajo { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 6px; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.75) 30%); }
.esc-msj { font-size: 18px; }
.esc.mal .esc-msj { color: #ffd23f; }
.esc-abajo small { opacity: .85; font-size: 14px; }
.esc-form { display: flex; gap: 8px; margin-top: 8px; }
.esc-form input { flex: 1; min-width: 0; height: 48px; border-radius: 12px; border: 0; padding: 0 12px; font-size: 16px; }
.esc-form button { padding: 0 16px; border-radius: 12px; background: var(--naranja); color: #fff; font-weight: 800; }

/* Encuesta en el inicio */
.enc { display: grid; gap: 12px; border: 2px solid #ffe2cc; }
.enc-cab { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.enc-cab span { font-size: 22px; }
.enc-p { display: grid; gap: 6px; }
.enc-p > b { font-size: 16px; }
.enc-p small { color: var(--suave); font-size: 13px; margin-top: -4px; }
.enc-ops { display: flex; flex-wrap: wrap; gap: 8px; }
.enc-ops button { padding: 9px 14px; border-radius: 999px; border: 2px solid #e7e2dc; background: #fff; font-size: 15px; font-weight: 600; color: var(--texto); }
.enc-ops button.si { border-color: var(--naranja); background: #fff1e6; color: var(--naranja); }
.enc-pie { display: flex; align-items: center; gap: 12px; }
.enc-pie .link { flex: none; color: var(--suave); }
.enc-pie .btn-naranja { height: 48px; font-size: 17px; }
.enc-pie .btn-naranja:disabled { opacity: .45; box-shadow: none; }

/* ¿Comprás algo en otro lado? */
.otro, .mas-otro { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.otro { border: 2px dashed #ffd0ad; background: #fffaf5; }
.otro-ic { font-size: 28px; }
.otro > span:nth-child(2), .mas-otro > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.otro b { font-size: 17px; }
.otro small, .mas-otro small { color: var(--suave); font-size: 14px; }
.otro em, .mas-otro em { font-style: normal; font-size: 26px; color: var(--naranja); }
.mas-otro { padding: 12px 14px; border-radius: 16px; background: #fff; }
.mas-otro > span:first-child { font-size: 22px; }
.mas-otro b { font-size: 15px; }
.cons { display: grid; gap: 12px; }
.cons-intro { margin: 0; font-size: 16px; line-height: 1.4; }
.cons label { display: grid; gap: 5px; font-weight: 700; font-size: 15px; }
.cons label small { font-weight: 400; color: var(--suave); }
.cons input:not([type=file]), .cons textarea { width: 100%; box-sizing: border-box; border: 2px solid #e7e2dc; border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 17px; font-weight: 400; }
.cons-arch { display: flex !important; align-items: center; gap: 10px; padding: 12px; border: 2px dashed #cfd6e0; border-radius: 12px; color: var(--nav); position: relative; }
.cons-arch svg { width: 22px; height: 22px; flex: none; }
.cons-arch input { position: absolute; inset: 0; opacity: 0; }
.cons-priv { margin: 0; font-size: 13.5px; color: var(--suave); text-align: center; }
.btn-naranja.ancho:disabled { opacity: .6; }
.cons-fila { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.cons-fila > span:first-child { display: grid; min-width: 0; }
.cons-fila small { color: var(--suave); }

/* Activar avisos */
.push { display: flex; align-items: center; gap: 10px; background: #fff8e1; border: 1px solid #ffe08a; }
.push-ic { font-size: 26px; }
.push > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.push small { color: var(--suave); font-size: 13.5px; }
.push button { padding: 10px 14px; border-radius: 12px; background: var(--nav); color: #fff; font-weight: 800; }
.push button.x { background: none; color: var(--suave); padding: 6px; font-size: 18px; }

/* Catálogo nuevo */
.cx-cab { position: sticky; top: 0; z-index: 6; background: var(--fondo, #f5f3ef); padding: calc(14px + env(safe-area-inset-top)) 16px 0; box-shadow: 0 4px 10px -8px rgba(28,47,79,.25); }
.cx-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cx-fila h1 { margin: 0; font-size: 28px; font-weight: 900; }
.cx-orden { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid #e7e2dc; font-weight: 700; font-size: 14.5px; color: var(--texto); }
.cx-orden svg { width: 18px; height: 18px; }
.cx-buscar { display: flex; align-items: center; gap: 10px; height: 48px; margin: 12px 0 10px; padding: 0 14px; border-radius: 14px; background: #fff; border: 1px solid #e7e2dc; color: var(--nav); }
.cx-buscar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16.5px; }
.cx-rubros, .cx-subs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.cx-rubros::-webkit-scrollbar, .cx-subs::-webkit-scrollbar { display: none; }
.cx-rubros button { flex: none; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #e7e2dc; font-weight: 700; font-size: 15px; color: var(--texto); white-space: nowrap; }
.cx-rubros button.act { background: #1c1b1a; border-color: #1c1b1a; color: #fff; }
.cx-subs { gap: 18px; margin-top: 10px; border-bottom: 1px solid #e7e2dc; }
.cx-subs button { flex: none; padding: 8px 0 10px; font-weight: 600; font-size: 15px; color: var(--suave); border-bottom: 3px solid transparent; white-space: nowrap; }
.cx-subs button.act { color: var(--texto); font-weight: 800; border-bottom-color: var(--naranja); }
.cx-rubros + .barra-min, .cx-cab:not(:has(.cx-subs)) { padding-bottom: 12px; }
.catalogo2 { padding-top: 10px; }
.cx-info { display: flex; align-items: center; justify-content: space-between; color: var(--suave); font-size: 14.5px; margin-bottom: 4px; }
.cx-switch { display: flex; align-items: center; gap: 8px; color: var(--texto); font-size: 14.5px; }
.cx-switch i { width: 40px; height: 24px; border-radius: 12px; background: #d9dde4; position: relative; transition: background .15s; }
.cx-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.cx-switch.si i { background: var(--naranja); }
.cx-switch.si i::after { transform: translateX(16px); }
.cx-sub { margin: 16px 2px 8px; font-size: 17px; font-weight: 800; }
.cx-sub small { color: var(--suave); font-weight: 600; margin-left: 4px; }
.cx { display: grid; grid-template-columns: 82px 1fr auto; gap: 10px; align-items: center; padding: 10px; background: #fff; border-radius: 16px; margin-bottom: 8px; border: 2px solid transparent; }
.cx.en { border-color: var(--naranja); background: #fffaf5; }
.cx-foto .foto { width: 82px; height: 82px; border-radius: 12px; }
.cx.cx-agotado .cx-foto, .cx.cx-agotado .cx-t { opacity: .5; }
.cx-t { display: grid; gap: 2px; min-width: 0; text-align: left; }
.cx-cod { display: flex; white-space: nowrap; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .06em; color: var(--suave); font-weight: 700; }
.cx-cod em { font-style: normal; letter-spacing: 0; font-size: 11.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #fff1e6; color: var(--naranja); }
.cx-cod em.of { background: #fdecec; color: var(--rojo); }
.cx-cod em.nv { background: #e7f6ec; color: #17733a; }
.cx-t b { font-size: 15.5px; line-height: 1.22; }
.cx-t small { font-size: 13px; color: var(--suave); }
.cx-precio { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 19px; font-weight: 900; margin-top: 2px; }
.cx-precio s { font-size: 13px; font-weight: 600; color: var(--suave); }
.cx-precio .rojo { color: var(--rojo); }
.cx-acc { display: grid; justify-items: end; gap: 6px; }
.cx-agregar { padding: 12px 14px; border-radius: 14px; background: var(--naranja); color: #fff; font-weight: 900; font-size: 15.5px; white-space: nowrap; box-shadow: 0 4px 10px rgba(255,102,0,.25); }
.cx-sin { font-size: 12.5px; font-weight: 700; color: var(--suave); }
.cx-avisame { padding: 10px 14px; border-radius: 14px; background: #fff; border: 1.5px solid #cfd6e0; font-weight: 700; font-size: 14.5px; color: var(--texto); white-space: nowrap; }
.cx-avisame.en { border-color: #17733a; color: #17733a; }
.cx-avisame svg { width: 14px; height: 14px; }
.cx-cant { display: flex; align-items: center; gap: 6px; }
.cx-cant button { width: 38px; height: 38px; border-radius: 12px; border: 2px solid var(--naranja); color: var(--naranja); background: #fff; font-size: 21px; font-weight: 900; }
.cx-cant button.cx-mas { background: var(--naranja); color: #fff; }
.cx-cant span { display: grid; justify-items: center; min-width: 42px; font-weight: 900; font-size: 15px; line-height: 1.05; }
.cx-cant small { font-size: 11px; font-weight: 600; color: var(--suave); }

.cx-precio > span, .cx-precio s { white-space: nowrap; }
.cx.en .cx-acc { grid-column: 2 / 4; justify-items: stretch; }
.cx.en .cx-cant { justify-content: space-between; background: #fff; border-radius: 14px; }
.cx.en .cx-cant button { width: 52px; height: 42px; }
.cx.en .cx-cant span { flex-direction: row; display: flex; align-items: baseline; gap: 6px; font-size: 17px; }
.cx-cant button { display: grid; place-items: center; padding: 0; line-height: 1; }

/* Ícono del pedido en el inicio */
.top-btns { display: flex; align-items: center; gap: 10px; }
.top-carro { position: relative; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.22); color: #fff; display: grid; place-items: center; }
.top-carro svg { width: 24px; height: 24px; }
.top-carro em { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #1c1b1a; color: #fff; font-style: normal; font-size: 12px; font-weight: 900; display: grid; place-items: center; box-sizing: border-box; border: 2px solid var(--naranja); }
.busca-fila .btn-scan { background: #1c1b1a; color: #fff; }

/* Carrito nuevo */
.cr-cab { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 16px 12px; background: var(--fondo); }
.cr-atras { flex: none; width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.08); color: var(--texto); }
.cr-atras svg { width: 22px; height: 22px; }
.cr-cab > span { flex: 1; display: grid; }
.cr-cab h1 { margin: 0; font-size: 23px; font-weight: 900; }
.cr-cab small { color: var(--suave); font-size: 14px; }
.cr-vaciar { color: var(--suave); font-weight: 700; font-size: 15px; padding: 8px; }
.cr { padding-bottom: 210px; display: grid; gap: 12px; align-content: start; }
.cr > .card, .cr > h3 { margin: 0; }
.cr-info { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #e6f4ea; color: #17532f; font-size: 15px; line-height: 1.35; }
.cr-info i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #22a35a; }
.cr-meta { padding: 12px 14px; border-radius: 14px; background: #1c1b1a; color: #fff; display: grid; gap: 8px; }
.cr-meta b { font-size: 15.5px; }
.cr-meta div { height: 7px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; }
.cr-meta i { display: block; height: 100%; background: #ffd23f; border-radius: 4px; }
.cr-lineas { padding: 4px 12px; }
.cr-l { display: flex; gap: 12px; padding: 12px 0; }
.cr-l + .cr-l { border-top: 1px solid #eef0f3; }
.cr-foto .foto { width: 64px; height: 64px; border-radius: 12px; }
.cr-d { flex: 1; min-width: 0; display: grid; gap: 6px; }
.cr-n { display: grid; text-align: left; gap: 2px; }
.cr-n b { font-size: 15.5px; line-height: 1.25; }
.cr-n small { color: var(--suave); font-size: 13px; }
.cr-n small .precio, .cr-n small span { font-size: 13px; }
.cr-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cr-f > b { font-size: 18px; font-weight: 900; white-space: nowrap; }
.cr-step { display: flex; align-items: center; gap: 4px; background: #f3f4f6; border-radius: 12px; padding: 3px; }
.cr-step button { width: 36px; height: 36px; border-radius: 10px; background: #fff; font-size: 20px; font-weight: 900; display: grid; place-items: center; padding: 0; color: var(--texto); }
.cr-step button.osc { background: #1c1b1a; color: #fff; }
.cr-step span { min-width: 30px; text-align: center; font-weight: 800; font-size: 16px; }
.cr-seguir { width: 100%; padding: 14px 0 12px; border-top: 1px solid #eef0f3; color: var(--naranja); font-weight: 800; font-size: 15px; text-align: center; }
.cr-sug { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.cr-sug::-webkit-scrollbar { display: none; }
.cr-s { flex: none; width: 230px; display: flex; align-items: center; gap: 8px; padding: 8px; background: #fff; border-radius: 14px; }
.cr-s-f .foto { width: 52px; height: 52px; border-radius: 10px; }
.cr-s-t { flex: 1; min-width: 0; display: grid; text-align: left; gap: 2px; }
.cr-s-t b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-s-t .precio { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; }
.cr-s-mas { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--naranja); color: #fff; font-size: 22px; font-weight: 900; display: grid; place-items: center; padding: 0; }
.cr-sec { display: grid; gap: 10px; }
.cr-tit { font-size: 18px; }
.cr-opcs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cr-opcs:has(> :only-child) { grid-template-columns: 1fr; }
.cr-opc { display: flex; align-items: flex-start; gap: 8px; padding: 12px 10px; border-radius: 14px; border: 1.5px solid #e7e2dc; background: #fff; text-align: left; }
.cr-opc i { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid #c9ced6; box-sizing: border-box; }
.cr-opc span { display: grid; gap: 2px; }
.cr-opc b { font-size: 15px; line-height: 1.2; }
.cr-opc small { color: var(--suave); font-size: 13px; }
.cr-opc.act { border-color: var(--naranja); background: #fff4ec; }
.cr-opc.act i { border: 5px solid var(--naranja); }
.cr-loc { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #f6f4f0; }
.cr-loc span { flex: 1; display: grid; min-width: 0; }
.cr-loc small { color: var(--suave); font-size: 13.5px; }
.cr-loc em { font-style: normal; color: var(--naranja); font-weight: 800; }
.cr-loc select { position: absolute; inset: 0; opacity: 0; width: 100%; font-size: 16px; }
.cr-otra { width: 100%; box-sizing: border-box; border: 2px solid #e7e2dc; border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; }
.cr-mas-nota { justify-self: start; color: var(--naranja); font-weight: 800; font-size: 15px; padding: 4px 2px; }
.cr-nota { display: grid; gap: 6px; }
.cr-nota textarea { width: 100%; box-sizing: border-box; border: 2px solid #e7e2dc; border-radius: 12px; padding: 10px; font: inherit; font-size: 16px; }
.cr-pie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 20px rgba(28,47,79,.12); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 4px; max-width: 560px; margin: 0 auto; }
.cr-r { display: flex; justify-content: space-between; color: var(--suave); font-size: 15px; }
.cr-r b.verde { color: #17733a; }
.cr-enviar { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 20px; border-radius: 16px; background: var(--naranja); color: #fff; font-size: 18px; font-weight: 900; box-shadow: 0 6px 14px rgba(255,102,0,.28); }
.cr-enviar b { font-size: 19px; }
.cr-enviar:disabled { opacity: .7; }

/* Mis pedidos nuevo */
.mp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) 16px 6px; max-width: 560px; margin: 0 auto; }
.mp-top h1 { margin: 0; font-size: 28px; font-weight: 900; }
.mp-top small { color: var(--suave); font-size: 14px; }
.mp-carro { position: relative; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #1c1b1a; color: #fff; display: grid; place-items: center; }
.mp-carro svg { width: 24px; height: 24px; }
.mp-carro em { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; box-sizing: border-box; border-radius: 11px; background: var(--naranja); color: #fff; font-style: normal; font-size: 12px; font-weight: 900; display: grid; place-items: center; border: 2px solid var(--fondo); }
.mp-lista { display: grid; gap: 10px; align-content: start; padding-top: 8px; }
.mp-lista > * { margin: 0; }
.mp-curso { display: grid; gap: 6px; width: 100%; text-align: left; padding: 16px; border-radius: 20px; background: #1c1b1a; color: #fff; }
.mp-c1 { display: flex; justify-content: space-between; }
.mp-c1 span { color: #ffd23f; font-weight: 900; font-size: 13px; letter-spacing: .08em; }
.mp-c1 small { color: rgba(255,255,255,.6); font-weight: 700; }
.mp-c-tit { font-size: 24px; font-weight: 900; }
.mp-c-sub { color: rgba(255,255,255,.75); font-size: 14px; }
.mp-pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 4px; }
.mp-pasos span { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.45); }
.mp-pasos i { height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); }
.mp-pasos span.si { color: #fff; }
.mp-pasos span.si i { background: #ffd23f; }
.mp-c-pie { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); }
.mp-c-pie span { color: rgba(255,255,255,.8); font-size: 14.5px; }
.mp-c-pie b { font-size: 21px; font-weight: 900; white-space: nowrap; }
.mp-c-pie span { min-width: 0; }
.mp-filtros { display: flex; gap: 8px; margin: 4px 0; }
.mp-filtros button { padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid #e7e2dc; font-weight: 700; font-size: 15px; color: var(--texto); }
.mp-filtros button.act { background: #1c1b1a; border-color: #1c1b1a; color: #fff; }
.mp-mes { margin: 8px 2px 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--suave); font-weight: 800; }
.mp { display: grid; gap: 8px; }
.mp-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mp-cab b { font-size: 17px; }
.mp-pill { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.mp-pill.gris { background: #f5f3ef; color: var(--nav); }
.mp-pill.naranja { background: #fff1e6; color: var(--naranja); }
.mp-pill.verde { background: #e7f6ec; color: #17733a; }
.mp-sub { color: var(--suave); font-size: 14px; }
.mp-sub b { color: var(--texto); }
.mp-fotos { display: flex; align-items: center; gap: 6px; }
.mp-mini .foto { width: 44px; height: 44px; border-radius: 10px; }
.mp-mas { color: var(--suave); font-weight: 700; font-size: 14px; margin-left: 2px; }
.mp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.mp-ver, .mp-rep { height: 48px; border-radius: 14px; font-weight: 800; font-size: 15.5px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.mp-ver { background: #f3f1ee; color: var(--texto); }
.mp-rep { background: var(--naranja); color: #fff; }
.mp-rep svg { width: 18px; height: 18px; }

/* Mi cuenta */
.cu { display: grid; gap: 10px; align-content: start; padding-top: 8px; }
.cu > * { margin: 0; }
.cu-perfil { display: flex; align-items: center; gap: 14px; }
.cu-av.con-logo { background: none; border-radius: 50%; }
.av-logo { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 50%; }
.cu-av { flex: none; width: 60px; height: 60px; border-radius: 18px; background: var(--naranja); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 22px; }
.cu-perfil > span:last-child { display: grid; gap: 2px; min-width: 0; }
.cu-perfil b { font-size: 19px; line-height: 1.2; }
.cu-perfil small { color: var(--suave); font-size: 14.5px; }
.cu-grupo { padding: 2px 14px; }
.cu-fila { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 0; text-align: left; color: var(--texto); }
.cu-grupo .cu-fila + .cu-fila { border-top: 1px solid #eef0f3; }
.cu-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff1e6; color: var(--naranja); display: grid; place-items: center; font-size: 19px; }
.cu-ic svg { width: 20px; height: 20px; }
.cu-t { flex: 1; display: grid; gap: 2px; min-width: 0; }
.cu-t b { font-size: 16px; }
.cu-t small { color: var(--suave); font-size: 13.5px; }
.cu-fila em { font-style: normal; font-size: 24px; color: #b8bfca; }
.cu-sw { flex: none; width: 48px; height: 28px; border-radius: 14px; background: #d9dde4; position: relative; }
.cu-sw::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,.2); transition: transform .15s; }
.cu-sw.si { background: #22a35a; }
.cu-sw.si::after { transform: translateX(20px); }
.cu-pie { display: grid; gap: 8px; justify-items: start; padding: 4px; }
.cu-pie a { color: var(--suave); font-size: 15px; }
/* Categorías */
.cat2 { display: grid; gap: 10px; align-content: start; padding-top: 8px; }
.cat2 > * { margin: 0; }
.cat2-of { padding: 6px 14px; }
.cat2 .mr-lista { border-radius: 16px; }
.cat2 .mr-ir > span:first-child { width: 52px; height: 52px; }
.cat2 .mr-ir b { font-size: 16.5px; }
.cat2 .mr-ir small { font-size: 13.5px; }
.cr-cab .mp-carro { width: 46px; height: 46px; }

/* Avisos en una línea (como la barra de instalar) */
.push-barra .push-ic { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; font-size: 20px; }
.cu-nueva { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--naranja); color: #fff; font-size: 11.5px; font-weight: 800; }
/* Pasar de rubro deslizando */
.entra-der { animation: entraDer .22s ease-out; }
.entra-izq { animation: entraIzq .22s ease-out; }
@keyframes entraDer { from { transform: translateX(40px); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes entraIzq { from { transform: translateX(-40px); opacity: .3; } to { transform: none; opacity: 1; } }

/* Categorías del inicio: círculos iguales que "flotan" */
.cat-grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-grilla .rubro { min-width: 0; }
.cat-grilla .rubro span, .cat-grilla .rubro.of span { width: 100%; max-width: 78px; height: auto; aspect-ratio: 1; margin: 0 auto 2px; border-radius: 50%; box-sizing: border-box; box-shadow: 0 6px 14px rgba(28,47,79,.16), 0 1px 3px rgba(28,47,79,.08); }
.cat-grilla .rubro span svg { width: 30px; height: 30px; }
.cat-grilla .rubro span.con-foto img { padding: 9px; }
.cat-grilla .rubro span.con-foto.con-fondo img { padding: 0; }

/* Stock real bajo */
.quedan { justify-self: start; font-style: normal; font-size: 12.5px; font-weight: 900; color: #c62828; background: #fdecec; border-radius: 6px; padding: 2px 7px; margin: 1px 0; }
.quedan.grande { display: inline-block; font-size: 15px; padding: 6px 10px; border-radius: 10px; margin-top: 6px; animation: quedanLatido 1.6s ease-in-out infinite; }
@keyframes quedanLatido { 50% { transform: scale(1.04); } }
.quedan.corto { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; box-sizing: border-box; padding: 2px 6px; }

/* Orden: menú desplegable */
.cx-ord { position: relative; }
.cx-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(28,47,79,.25); padding: 6px; display: grid; }
.cx-menu button { text-align: left; padding: 13px 14px; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--texto); }
.cx-menu button.act { background: #fff1e6; color: var(--naranja); font-weight: 800; }
.cx-velo { position: fixed; inset: 0; z-index: 5; }
/* Catálogo seguido: un rubro detrás del otro */
.cx-rub { margin: 26px 2px 4px; padding-top: 14px; border-top: 3px solid #1c1b1a; font-size: 22px; font-weight: 900; }
.cx-rub small { font-size: 14px; color: var(--suave); font-weight: 700; margin-left: 4px; }
.cx-siguiente { width: 100%; margin: 14px 0 8px; padding: 16px; border-radius: 14px; background: #1c1b1a; color: #fff; font-weight: 800; font-size: 16px; }
.cx-fin { text-align: center; color: var(--suave); margin: 18px 0; }

/* Sumar a un pedido en curso */
.sumar-barra { background: #1f8a4c; }
.sumar-barra .inst-fila b { color: #ffe680; }
.cr-suma { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #e6f4ea; color: #17532f; border: 2px solid #9fd8b4; }
.cr-suma b { font-size: 15.5px; }
.cr-suma span { font-size: 14px; }
.cr-suma button { justify-self: start; color: #17532f; text-decoration: underline; font-size: 14px; padding: 2px 0; }
.mp-agr { color: #17733a; font-weight: 800; font-size: 13.5px; }
.mp-c-sumar { justify-self: start; margin: 4px 0 2px; padding: 8px 12px; border-radius: 10px; background: rgba(255,210,63,.16); color: #ffd23f; font-weight: 800; font-size: 14.5px; }
.sumar-barra .push-ic { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; font-size: 20px; }
.mp-pill.azul { background: #e8eef7; color: #1c2f4f; }
.pill.azul { background: #e8eef7; color: #1c2f4f; }
.mp-pasos span { font-size: 12px; }
.mp-dev { color: #c62828; font-weight: 700; font-size: 13.5px; }
.det-dev { display: grid; gap: 2px; margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: #fdecec; color: #8e1d1d; font-size: 14.5px; }

/* Vacaciones Beiko */
.vacas { display: flex; gap: 12px; align-items: flex-start; background: #fff8e1; border: 2px solid #ffd23f; }
.vacas-ic { font-size: 30px; line-height: 1; }
.vacas > span:last-child { display: grid; gap: 3px; }
.vacas b { font-size: 17px; }
.vacas small { font-size: 14.5px; color: #5a4300; }
.vacas em { font-style: normal; font-size: 14.5px; color: #3d3d3d; }

/* ¿Por qué elegirnos? + pie (como el de Make) */
.pq { margin: 26px 0 8px; display: grid; gap: 18px; text-align: center; }
.pq h3 { margin: 0 0 2px; font-size: 22px; font-weight: 900; }
.pq-item { display: grid; justify-items: center; gap: 4px; }
.pq-ic { width: 52px; height: 52px; border-radius: 50%; background: #ffdccc; color: var(--naranja); display: grid; place-items: center; margin-bottom: 4px; }
.pq-ic svg { width: 24px; height: 24px; }
.pq-item b { font-size: 16px; }
.pq-item small { color: #555; font-size: 14px; max-width: 290px; line-height: 1.4; }
.pie-beiko { margin: 18px -14px -100px; padding: 28px 22px 120px; background: var(--naranja); color: #fff; display: grid; gap: 12px; }
.pie-beiko img { width: 150px; }
.pie-lema { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.2; }
.pie-wa { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: #25d366; box-shadow: 0 3px 10px rgba(0,0,0,.18); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: 14px; }
.pie-wa svg { width: 18px; height: 18px; }
.pie-links a { color: #fff; font-size: 13px; }
.pie-beiko small { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; opacity: .9; line-height: 1.5; }

.cx-cu { font-size: 11px; font-weight: 600; color: #777; margin-left: 3px; }

.enc-premio { margin: -2px 0 10px; padding: 8px 10px; border-radius: 10px; background: #e6f4ea; color: #1f6b3d; font-size: 14px; }

.enc-txt { width: 100%; box-sizing: border-box; margin-top: 8px; border: 1.5px solid #ddd; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; resize: vertical; }
.enc-txt:focus { outline: none; border-color: var(--naranja); }
.regalo-enc { text-align: center; padding: 28px 18px; display: grid; gap: 6px; justify-items: center; }
.regalo-ic { font-size: 64px; line-height: 1; animation: regalo-salto .7s ease-out; }
.regalo-enc h2 { margin: 6px 0 0; font-size: 22px; }
.regalo-enc .regalo-pct { margin: 0; font-size: 34px; font-weight: 900; color: var(--naranja); }
.regalo-enc p { margin: 0; color: #555; max-width: 300px; }
.regalo-enc .btn-naranja { margin-top: 14px; width: 100%; }
@keyframes regalo-salto { 0% { transform: scale(.3) rotate(-15deg); } 70% { transform: scale(1.15) rotate(6deg); } 100% { transform: scale(1); } }

.det-preventa { margin: 8px 0 4px; padding: 8px 10px; border-radius: 10px; background: #fff4e5; color: #8a4b00; font-size: 13.5px; }
.cx-acc .cx-sin + .cx-cant, .cx-acc .cx-sin + .cx-agregar { margin-top: 4px; }

.aviso-preventa { margin: 6px 2px 10px; padding: 9px 12px; border-radius: 12px; background: #fff4e5; color: #7a4a10; font-size: 13.5px; line-height: 1.35; }
.cr-encargo { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: #b5650d; margin-top: 2px; }

/* ---------- Inicio simple (nov 2026) ---------- */
.ini2-top { max-width: 560px; margin: 0 auto; padding: calc(18px + env(safe-area-inset-top)) 18px 4px; }
.ini2-fila { display: flex; align-items: center; justify-content: space-between; }
.ini2-logo { display: block; width: 96px; height: 39px; background: var(--naranja); -webkit-mask: url(logo-blanco.png) left center / contain no-repeat; mask: url(logo-blanco.png) left center / contain no-repeat; }
.ini2-carro { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--borde); display: grid; place-items: center; color: var(--texto); }
.ini2-carro svg { width: 22px; height: 22px; }
.ini2-carro em { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--naranja); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.ini2-hola { margin: 18px 0 14px; font-size: 27px; line-height: 1.18; font-weight: 800; color: var(--texto); }
.ini2-hola span { display: block; color: #8a8f99; font-weight: 700; }
.ini2-busca { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 6px 0 16px; border-radius: 16px; background: #fff; border: 1px solid var(--borde); }
.ini2-buscador { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 10px; color: var(--suave); font-size: 16.5px; text-align: left; }
.ini2-buscador svg { width: 20px; height: 20px; flex: none; }
.ini2-scan { height: 44px; padding: 0 12px; border-radius: 12px; background: #1c1b1a; color: #fff; font-weight: 800; font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.ini2-scan svg { width: 20px; height: 20px; }
.contenido.ini2 { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.ini2-pedir { height: 60px; border-radius: 16px; background: var(--naranja); color: #fff; font-size: 19px; font-weight: 800; box-shadow: 0 6px 16px -6px rgba(255, 81, 0, .55); }
.ini2-pedir:active { transform: scale(.98); }
.ini2-repetir { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--borde); text-align: left; color: var(--texto); }
.ini2-repetir span { display: grid; gap: 2px; }
.ini2-repetir b { font-size: 16.5px; }
.ini2-repetir small { color: var(--suave); font-size: 14px; }
.ini2-repetir i { font-style: normal; font-size: 26px; color: var(--suave); }
.ini2-sec { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; color: var(--suave); font-size: 15px; }
.ini2-sec .link { font-weight: 700; color: var(--texto); }
.ini2-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 6px; }
.ini2-cats button { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--texto); text-align: center; }
.ini2-cats button > span { width: 66px; height: 66px; border-radius: 50%; background: #fff; border: 1px solid var(--borde); overflow: hidden; display: grid; place-items: center; }
.ini2-cats button > span img { width: 58px; height: 58px; object-fit: contain; }
.ini2-cats button > span svg { width: 28px; height: 28px; }
.ini2-cats .ini2-of { background: var(--naranja); border-color: var(--naranja); color: #fff; }

/* ---------- Catálogo: unidad / paquete / bulto a la vista ---------- */
.cx-pide { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.cx-modos { flex: 1; min-width: 0; display: grid; gap: 0; padding: 3px; border-radius: 12px; background: #f5f3ef; }
.cx-modos button { height: 46px; border-radius: 9px; color: var(--suave); display: grid; place-content: center; line-height: 1.1; }
.cx-modos button b { font-size: 14.5px; }
.cx-modos button small { font-size: 11.5px; font-weight: 600; }
.cx-modos button.act { background: #fff; color: var(--naranja-osc); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.cx-mas2 { flex: none; width: 54px; height: 52px; border-radius: 12px; background: var(--naranja); color: #fff; font-size: 28px; font-weight: 700; line-height: 1; }
.cx-cant2 { flex: none; display: flex; align-items: center; gap: 4px; }
.cx-cant2 button { width: 42px; height: 52px; border-radius: 12px; border: 1.5px solid var(--borde); background: #fff; font-size: 24px; font-weight: 700; color: var(--texto); }
.cx-cant2 button.cx-sumar { border: 0; background: var(--naranja); color: #fff; }
.cx-cant2 span { min-width: 30px; text-align: center; font-size: 18px; font-weight: 900; }
.cx-res { grid-column: 1 / -1; padding: 8px 10px; border-radius: 10px; background: var(--verde-c); color: #146c3c; font-size: 14px; font-weight: 600; }

/* ---------- ¡Listo! Recibimos tu pedido (animado) ---------- */
.ok2 { position: fixed; inset: 0; z-index: 20; overflow: hidden; background: #fff; max-width: 560px; margin: 0 auto; }
.ok2-carga { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 0 56px; opacity: 0; }
.ok2-carga span { font-size: 17px; font-weight: 700; color: var(--suave); }
.ok2-barra { width: 100%; height: 8px; border-radius: 4px; background: #e9f3ec; overflow: hidden; }
.ok2-barra i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #2fa765, #1e7a45); }
.ok2-verde { position: absolute; inset: 0; padding: calc(110px + env(safe-area-inset-top)) 28px 0; display: flex; flex-direction: column; gap: 20px; color: #fff; background: linear-gradient(170deg, #35b26e 0%, #1e7a45 55%, #155c34 100%); }
.ok2-tilde { width: 66px; height: 66px; border-radius: 50%; background: #fff; color: #1e7a45; display: grid; place-items: center; }
.ok2-tilde svg { width: 34px; height: 34px; stroke-width: 3; }
.ok2-tit h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.06; font-weight: 900; }
.ok2-tit p { margin: 0; font-size: 16px; line-height: 1.5; opacity: .95; }
.ok2-hoja { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 10px 18px calc(16px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #f5f3ef; box-shadow: 0 -8px 24px rgba(0, 0, 0, .14); }
.ok2-asa { width: 40px; height: 4px; border-radius: 2px; background: #d3cbc4; align-self: center; }
.ok2-preg { display: grid; gap: 2px; }
.ok2-preg b { font-size: 17.5px; }
.ok2-preg span { color: var(--suave); font-size: 14.5px; }
.ok2-sems { display: flex; flex-wrap: wrap; gap: 8px; }
.ok2-sems button { height: 46px; padding: 0 16px; border-radius: 23px; border: 1px solid #ddd5ce; background: #fff; font-size: 15.5px; font-weight: 600; color: var(--texto); }
.ok2-volver { height: 58px; margin-top: 4px; border-radius: 16px; background: #1c1b1a; color: #fff; font-size: 17.5px; font-weight: 800; }
.ok2-det { height: 44px; font-size: 15.5px; font-weight: 600; color: var(--texto); }
.ok2.anim .ok2-carga { animation: ok2carga 1.6s ease forwards; }
.ok2.anim .ok2-barra i { animation: ok2barra 1.3s ease-in-out forwards; }
.ok2.anim .ok2-verde { animation: ok2verde .7s 1.3s cubic-bezier(.3, .7, .3, 1) both; }
.ok2.anim .ok2-tilde { animation: ok2tilde .45s 1.8s ease-out both; }
.ok2.anim .ok2-tit { animation: ok2sube .5s 2s ease-out both; }
.ok2.anim .ok2-hoja { animation: ok2hoja .5s 2.5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ok2barra { from { width: 0 } to { width: 100% } }
@keyframes ok2carga { 0%, 80% { opacity: 1 } 100% { opacity: 0 } }
@keyframes ok2verde { from { clip-path: circle(0% at 50% 100%) } to { clip-path: circle(150% at 50% 100%) } }
@keyframes ok2tilde { 0% { transform: scale(0) } 70% { transform: scale(1.15) } 100% { transform: scale(1) } }
@keyframes ok2sube { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes ok2hoja { from { transform: translateY(100%) } to { transform: none } }
@media (prefers-reduced-motion: reduce) { .ok2.anim * { animation-duration: .01s !important; animation-delay: 0s !important; } }
.ini2-pedir { display: flex; align-items: center; justify-content: center; width: 100%; text-align: center; }
.cx { grid-template-columns: 82px minmax(0, 1fr) auto; }
.cx-pide, .cx-res { min-width: 0; }
.cx-modos button { padding: 0 2px; min-width: 0; }
.cx-acc:empty { display: none; }
.cx-cant2 { flex: 0 0 128px; width: 128px; justify-content: space-between; }
.cx-cant2 button { flex: 0 0 42px; }
.cx-mas2 { flex: 0 0 54px; }
.ok2-volver, .ok2-det { display: flex; align-items: center; justify-content: center; width: 100%; }
.cx-modos button { text-align: center; justify-items: center; } .cx-cant2 button { display: grid; place-items: center; }

/* Inicio v2: logo solo BEIKO, categorías en tarjetas, sin franjas */
.ini2-logo { width: 110px; height: 34px; -webkit-mask-image: url(logo-beiko.png); mask-image: url(logo-beiko.png); }
.ini2-mino { margin: -2px 0 0; text-align: center; color: var(--suave); font-size: 14.5px; }
.ini2-mino button { color: var(--texto); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: 14.5px; }
.ini2-cats { display: flex; grid-template-columns: none; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 2px 14px 6px; scroll-snap-type: x proximity; }
.ini2-cats::-webkit-scrollbar { display: none; }
.ini2-cats button { flex: none; width: 104px; height: 128px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--borde); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; text-align: left; scroll-snap-align: start; }
.ini2-cats button > span { width: 100%; height: 64px; border: 0; border-radius: 0; background: none !important; display: grid; place-items: center; }
.ini2-cats button > span img { width: 64px; height: 64px; object-fit: contain; }
.ini2-cats button b { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--texto); }
.ini2-cats button.ini2-of { background: var(--naranja); border-color: var(--naranja); color: #fff; font-size: 15px; font-weight: 800; }
.ini2-cats button.ini2-of > span { place-items: start; height: auto; }
.ini2-cats button.ini2-of svg { width: 22px; height: 22px; color: #fff; }
.ini2-wa { display: flex; align-items: center; gap: 12px; width: 100%; height: 58px; padding: 0 16px; margin-top: 4px; border-radius: 16px; background: #fff; border: 1px solid var(--borde); font-size: 16px; font-weight: 600; color: var(--texto); text-align: left; }
.ini2-wa-ic { width: 28px; height: 28px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; }
.ini2-wa-ic svg { width: 17px; height: 17px; }
.ini2-wa i { margin-left: auto; font-style: normal; font-size: 24px; color: var(--suave); }
.ini2-toast { position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 8; max-width: 536px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); font-size: 15px; color: var(--texto); animation: ini2toast 11s ease forwards; }
.ini2-toast.fijo { animation: none; }
.ini2-toast > span { flex: 1; display: grid; gap: 4px; }
.ini2-toast small { color: var(--suave); font-size: 13px; }
.ini2-toast-b { height: 40px; padding: 0 14px; border-radius: 10px; background: #1c1b1a; color: #fff; font-weight: 800; font-size: 14.5px; }
.ini2-toast-x { width: 36px; height: 40px; color: var(--suave); font-size: 18px; }
@keyframes ini2toast { 0% { opacity: 0; transform: translateY(16px) } 4% { opacity: 1; transform: none } 90% { opacity: 1; transform: none } 100% { opacity: 0; transform: translateY(16px); visibility: hidden } }
.ini2-cats button { width: 122px; height: 150px; padding: 12px; border-radius: 18px; }
.ini2-cats button > span { height: 80px; }
.ini2-cats button > span img { width: 80px; height: 80px; }
.ini2-cats button b { font-size: 14px; }
.ini2-cats button.ini2-of { font-size: 16px; }
.ini2-cats { scroll-padding-inline: 14px; }
.ini2-hola { font-size: 30px; letter-spacing: -0.5px; line-height: 1.15; } .ini2-hola span { color: #8a847e; }
/* Paleta cálida (nov 2026): fondo blanco grisáceo y naranja más suave, más fácil de leer. */
:root { --fondo: #f5f3ef; --naranja: #e8561c; --naranja-osc: #c9461a; --borde: #e7e2dc; }
.ini2-cats button.ini2-of { box-shadow: 0 6px 14px -8px rgba(232, 86, 28, .6); }
.ini2-pedir { box-shadow: 0 6px 16px -8px rgba(232, 86, 28, .55); }

/* ---------- Catálogo v3 (nov 2026): más limpio ---------- */
.cx-cab { background: var(--fondo); }
.cx-busfila { display: flex; gap: 8px; align-items: center; margin: 4px 0 10px; }
.cx-busfila .cx-buscar { flex: 1; margin: 0; padding-right: 6px; }
.cx-scan { flex: none; width: 40px; height: 38px; border-radius: 10px; background: #1c1b1a; color: #fff; display: grid; place-items: center; }
.cx-scan svg { width: 20px; height: 20px; }
.cx-filtros { flex: none; width: 50px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--borde); display: grid; place-items: center; color: var(--texto); }
.cx-filtros.act { border-color: #1c1b1a; }
.cx-filtros svg { width: 20px; height: 20px; }
.cx-panel { display: grid; gap: 6px; margin: 0 0 10px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--borde); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .25); position: relative; z-index: 7; }
.cx-panel > b { font-size: 13px; color: var(--suave); font-weight: 700; }
.cx-op { text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 15.5px; font-weight: 600; color: var(--texto); }
.cx-op.act { background: var(--fondo); font-weight: 800; }
.cx-panel .cx-switch { justify-content: space-between; padding: 10px 12px 4px; border-top: 1px solid var(--borde); margin-top: 4px; font-weight: 600; font-size: 15.5px; }
.cx-rub { margin: 18px 2px 10px; padding-top: 0; border-top: 0; font-size: 22px; font-weight: 900; }
.cx-rub small { font-size: 15px; font-weight: 500; }
.cx.cx3, .cx.cx3.en { border: 1px solid var(--borde); background: #fff; padding: 12px; border-radius: 18px; row-gap: 12px; }
.cx3 .cx-cod { font-size: 13px; letter-spacing: 0; font-weight: 500; text-transform: none; }
.cx3 .cx-cod em { background: none; padding: 0; color: var(--naranja); font-weight: 700; font-size: 13px; }
.cx3 .cx-t b { font-size: 17px; line-height: 1.25; }
.cx-precio3 { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 4px; font-size: 23px; font-weight: 900; }
.cx-precio3 small { font-size: 14.5px; font-weight: 500; color: var(--suave); }
.cx-precio3 s { font-size: 14px; font-weight: 600; color: var(--suave); }
.cx-precio3 .rojo { color: var(--rojo); }
.cx-cu3 { font-size: 13px; color: var(--suave); }
.cx3 .cx-modos { background: #f0ece7; }
.cx3 .cx-modos button { color: var(--suave); }
.cx3 .cx-modos button b { font-weight: 600; }
.cx3 .cx-modos button.act { color: var(--texto); }
.cx3 .cx-modos button.act b { font-weight: 800; }
.cx-agregar3 { flex: 0 0 128px; height: 52px; border-radius: 14px; background: var(--naranja); color: #fff; font-size: 17px; font-weight: 800; }
.cx-cant3 { flex: 0 0 128px; height: 52px; display: flex; align-items: center; justify-content: space-between; border: 1.5px solid #1c1b1a; border-radius: 14px; padding: 0 4px; }
.cx-cant3 button { width: 40px; height: 46px; font-size: 24px; font-weight: 500; color: var(--texto); display: grid; place-items: center; }
.cx-cant3 span { font-size: 19px; font-weight: 800; }
.cx3 .cx-res { display: flex; align-items: center; gap: 8px; padding: 0 2px; background: none; color: var(--suave); font-weight: 500; font-size: 14.5px; }
.cx3 .cx-res svg { width: 16px; height: 16px; color: var(--verde); flex: none; }
.cx3 .cx-res b { color: var(--texto); font-weight: 800; }
/* Barra del pedido: negra, la única */
.ped-barra { background: #1c1b1a; border-radius: 16px; width: calc(100% - 24px); }
.ped-fila { padding: 12px 14px; }
.ped-t b { font-size: 18px; font-weight: 900; }
.ped-t b .ped-items { font-size: 14px; font-weight: 500; color: #cfc9c3; }
.ped-t small { font-size: 13px; color: #cfc9c3; }
.ped-t small b { font-size: 13px; color: #fff; }
.ped-fila em { background: none; padding: 0; font-size: 16px; font-weight: 800; }
.ped-meta { height: 4px; background: #3a3633; }
.ped-meta i, .ped-meta.ok i { background: var(--naranja); }
.cx-busfila .cx-buscar { flex: 1 1 0; min-width: 0; width: auto; }
.cx-busfila .cx-buscar input { min-width: 0; width: 100%; }
.cx-agregar3 { display: flex; align-items: center; justify-content: center; }
.ped-fila em { font-size: 15px; }

/* ---------- Ficha de producto como hoja (nov 2026) ---------- */
.hj-fondo { position: fixed; inset: 0; z-index: 30; background: rgba(40, 36, 32, .62); animation: hjfondo .2s ease both; }
.hj { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; max-width: 560px; max-height: 94vh; margin: 0 auto; display: flex; flex-direction: column; background: #fff; border-radius: 26px 26px 0 0; animation: hjsube .28s cubic-bezier(.2, .8, .2, 1) both; }
.hj-asa { display: block; width: 44px; height: 4px; margin: 10px auto 6px; border-radius: 2px; background: #ddd6ce; flex: none; }
.hj-scroll { flex: 1; overflow-y: auto; padding: 4px 20px 14px; overscroll-behavior: contain; }
.hj-foto { position: relative; border-radius: 20px; background: #f3f1ed; overflow: hidden; }
.hj-foto .foto.grande, .hj-foto .galeria .foto { height: 230px; background: transparent; }
.hj-foto .foto img { object-fit: contain; }
.hj-foto .gal-cont { bottom: 12px; }
.hj-x { position: absolute; top: 12px; right: 12px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); font-size: 17px; color: var(--texto); }
.hj-fav { position: absolute; top: 12px; left: 12px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; color: var(--texto); }
.hj-fav.si { color: var(--rojo); }
.hj-fav svg { width: 20px; height: 20px; }
.hj-cod { display: block; margin-top: 16px; font-size: 13.5px; color: var(--suave); }
.hj-cod .verde { color: #1e7a45; font-weight: 600; }
.hj-cod .rojo { color: var(--rojo); font-weight: 600; }
.hj-tit { margin: 4px 0 4px; font-size: 22px; line-height: 1.2; font-weight: 800; }
.hj-pu { margin: 0; font-size: 14.5px; color: var(--suave); }
.hj-pu button { font-size: 14.5px; font-weight: 700; color: var(--texto); text-decoration: underline; text-underline-offset: 3px; }
.hj-et { margin: 18px 0 8px; font-size: 14.5px; color: var(--suave); }
.hj-pres { display: grid; gap: 10px; }
.hj-pres button { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--borde); background: #fff; text-align: left; color: var(--texto); }
.hj-pres button i { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #cfc8c0; }
.hj-pres button span { flex: 1; font-size: 16.5px; }
.hj-pres button span b { font-weight: 600; }
.hj-pres button small { color: var(--suave); font-size: 14px; }
.hj-pres button em { font-style: normal; font-weight: 800; font-size: 16.5px; }
.hj-pres button.act { border: 1.5px solid #1c1b1a; }
.hj-pres button.act i { border: 6px solid #1c1b1a; }
.hj-cant { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.hj-cant > span { display: grid; gap: 2px; }
.hj-cant b { font-size: 16.5px; }
.hj-cant small { color: var(--suave); font-size: 13.5px; }
.hj-step { flex: 0 0 140px; height: 52px; display: flex; align-items: center; justify-content: space-between; border: 1.5px solid #1c1b1a; border-radius: 14px; padding: 0 4px; }
.hj-step button { width: 42px; height: 46px; font-size: 24px; color: var(--texto); display: grid; place-items: center; }
.hj-step input { width: 44px; border: 0; outline: 0; background: none; text-align: center; font: inherit; font-size: 19px; font-weight: 800; -moz-appearance: textfield; }
.hj-step input::-webkit-outer-spin-button, .hj-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hj-desc { margin-top: 18px; display: grid; gap: 6px; }
.hj-desc p { margin: 0; color: var(--suave); font-size: 15px; line-height: 1.45; }
.hj-agregar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 20px calc(16px + env(safe-area-inset-bottom)); height: 60px; padding: 0 22px; border-radius: 18px; background: var(--naranja); color: #fff; font-size: 17px; font-weight: 800; }
.hj-agregar b { font-size: 18px; }
@keyframes hjsube { from { transform: translateY(100%) } to { transform: none } }
@keyframes hjfondo { from { opacity: 0 } to { opacity: 1 } }
.hj-foto { padding: 10px; border: 1px solid var(--borde); } .hj-foto .foto { border-radius: 14px; overflow: hidden; }
.ini2-cats button.ini2-of { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 14px 12px; color: #fff; }
.ini2-of small { font-size: 13px; font-weight: 600; opacity: .9; }
.ini2-of strong { font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -1px; margin-top: 2px; }
.ini2-of strong.chico { font-size: 24px; letter-spacing: 0; margin-top: 4px; }
.ini2-of b { margin-top: auto; font-size: 16px; font-weight: 800; color: #fff !important; }
.ini2-of em { font-style: normal; font-size: 12.5px; font-weight: 500; opacity: .9; }
.ini2-of strong.chico + em { margin-top: auto; }
.ini2-cats button.ini2-of small, .ini2-cats button.ini2-of em { color: #fff; }
/* ✕ bien centrado y la hoja sobre la pantalla de antes */
.hj-x { display: grid; place-items: center; padding: 0; line-height: 1; font-size: 18px; font-weight: 600; }
body:has(.hj) { overflow: hidden; }
.hj { max-height: 92vh; }
/* Cantidad escribible en el catálogo */
.cx-num { width: 46px; border: 0; outline: 0; background: none; text-align: center; font: inherit; font-size: 19px; font-weight: 800; color: var(--texto); -moz-appearance: textfield; padding: 0; }
.cx-num::-webkit-outer-spin-button, .cx-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cx-num:focus { background: var(--fondo); border-radius: 8px; }
/* Tarjeta de ofertas sin número */
.ini2-of strong.chico { font-size: 26px; margin-top: 0; }
.ini2-of .ini2-of-ver { margin-top: auto; width: auto !important; height: auto !important; display: inline-block !important; font-size: 14px; font-weight: 800; background: rgba(255, 255, 255, .2) !important; padding: 5px 10px; border-radius: 999px; }
/* Ficha compacta: entra todo sin deslizar */
.hj-asa { margin: 8px auto 4px; width: 48px; height: 5px; }
.hj-scroll { padding: 2px 16px 8px; }
.hj-foto { padding: 6px; }
.hj-foto .foto.grande, .hj-foto .galeria .foto { height: 150px; }
.hj-x, .hj-fav { top: 8px; width: 38px; height: 38px; }
.hj-x { right: 8px; } .hj-fav { left: 8px; }
.hj-cod { margin-top: 10px; font-size: 13px; }
.hj-tit { margin: 2px 0 2px; font-size: 20px; }
.hj-pu { font-size: 14px; }
.hj-et { margin: 12px 0 6px; font-size: 13.5px; }
.hj-pres { gap: 7px; }
.hj-pres button { min-height: 48px; padding: 0 14px; border-radius: 14px; }
.hj-pres button span, .hj-pres button em { font-size: 16px; }
.hj-cant { margin-top: 12px; }
.hj-step { height: 48px; flex-basis: 132px; }
.hj-agregar { height: 56px; margin: 6px 16px calc(12px + env(safe-area-inset-bottom)); }
.hj-desc { margin-top: 14px; }

/* ---------- Detalle del pedido (nov 2026) ---------- */
.contenido.pd { display: flex; flex-direction: column; gap: 12px; padding-top: calc(16px + env(safe-area-inset-top)); padding-bottom: 190px; }
.pd-volver { align-self: flex-start; display: flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 16px; font-weight: 600; color: var(--texto); }
.pd-volver svg { width: 18px; height: 18px; }
.pd-tit { margin: 6px 0 0; font-size: 27px; font-weight: 900; letter-spacing: -.3px; }
.pd-sub { margin: -6px 0 4px; color: var(--suave); font-size: 14.5px; }
.pd-card { background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 14px 16px; }
.pd-est-fila { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pd-est-fila b { font-size: 17px; }
.pd-est-fila span { font-size: 13.5px; color: var(--suave); text-align: right; }
.pd-pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.pd-pasos div { display: grid; gap: 6px; }
.pd-pasos i { display: block; height: 4px; border-radius: 2px; background: #ece7e1; }
.pd-pasos .ok i { background: #1e7a45; }
.pd-pasos small { font-size: 12px; color: var(--suave); }
.pd-pasos .act small { color: #1e7a45; font-weight: 700; }
.pd-it { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0ebe5; }
.pd-it:first-child { padding-top: 2px; }
.pd-it .foto.mini { width: 54px; height: 54px; border-radius: 12px; flex: none; background: #f3f1ed; }
.pd-it span { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pd-it b { font-size: 15.5px; line-height: 1.25; }
.pd-it small { font-size: 13px; color: var(--suave); }
.pd-it em { font-style: normal; font-weight: 800; font-size: 15.5px; white-space: nowrap; }
.pd-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; }
.pd-total span { color: var(--suave); font-size: 15px; }
.pd-total b { font-size: 26px; font-weight: 900; }
.pd-pie .btn-naranja { height: 58px; border-radius: 16px; font-size: 17.5px; }

/* ---------- Mi cuenta (nov 2026): cabeceras claras, íconos de línea ---------- */
.contenido.mc { display: flex; flex-direction: column; gap: 20px; padding-top: calc(36px + env(safe-area-inset-top)); }
.mc-perfil { display: flex; align-items: center; gap: 14px; padding: 0 4px; }
.mc-av { width: 56px; height: 56px; border-radius: 50%; background: #1c1b1a; color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 700; flex: none; overflow: hidden; }
.mc-av.con-logo { background: #fff; border: 1px solid var(--borde); }
.mc-av .av-logo { width: 100%; height: 100%; object-fit: cover; }
.mc-perfil > span:last-child { display: grid; gap: 2px; min-width: 0; }
.mc-perfil b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.mc-perfil small { font-size: 14px; color: var(--suave); }
.mc-mino { margin: -8px 4px 0; font-size: 13.5px; color: var(--suave); }
.mc-grupo { display: grid; gap: 8px; }
.mc-gt { font-size: 13px; font-weight: 500; color: #8a8178; padding: 0 4px; }
.mc-card { background: #fff; border: 1px solid #ede8e1; border-radius: 20px; padding: 0 16px; }
.mc-fila { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid #f0ece6; text-align: left; color: var(--texto); }
.mc-card > .mc-fila:last-child { border-bottom: 0; }
.mc-ic { flex: none; width: 22px; height: 22px; color: #5a534c; display: grid; place-items: center; }
.mc-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mc-t b { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mc-t small { font-size: 13px; color: #8a8178; }
.mc-nueva { font-size: 11px; font-weight: 600; color: #b8410f; background: #fdede4; padding: 2px 7px; border-radius: 999px; }
.mc-sw { flex: none; width: 52px; height: 32px; border-radius: 999px; background: #d6d0c7; position: relative; transition: background .2s; }
.mc-sw i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .2s; }
.mc-sw.si { background: #1f7a4a; }
.mc-sw.si i { left: 23px; }
.mc-wa { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 16px; border-radius: 16px; border: 1px solid var(--borde); background: #fff; text-align: left; color: var(--texto); }
.mc-wa-ic { width: 26px; height: 26px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; }
.mc-wa-ic svg { width: 16px; height: 16px; }
.mc-wa .mc-t b { font-size: 15px; }
.mc-pie { display: grid; gap: 14px; justify-items: start; padding: 4px 4px 0; }
.mc-pie a { font-size: 14px; color: var(--texto); text-decoration: none; }
.mc-pie button { font-size: 14px; color: #b3261e; font-weight: 700; padding: 0; }
.mc-pie small { font-size: 12px; color: #b8b0a6; line-height: 1.5; }
/* Subpantallas de Cuenta */
.sb-cab { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) 16px 4px; }
.sb-cab h1 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.sb-atras { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--borde); background: #fff; display: grid; place-items: center; color: var(--texto); }
.sb-atras svg { width: 20px; height: 20px; }
.contenido.sb { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
.md-dato { display: grid; gap: 3px; padding: 14px 0; border-bottom: 1px solid #f0ece6; }
.md-dato:last-child { border-bottom: 0; }
.md-dato span { font-size: 13px; color: #8a8178; }
.md-dato b { font-size: 16px; font-weight: 600; word-break: break-word; }
.md-cumple { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.md-cumple .mc-ic { margin-top: 2px; }
.md-cumple > div, .md-cumple form { display: grid; gap: 4px; flex: 1; }
.md-cumple span { font-size: 13px; color: #8a8178; }
.md-cumple b { font-size: 16px; font-weight: 600; }
.md-cumple p { margin: 0; font-size: 14px; color: #5a534c; line-height: 1.45; }
.md-cumple label { display: grid; gap: 4px; font-size: 13.5px; color: var(--suave); margin-top: 6px; }
.md-cumple input { height: 46px; border-radius: 12px; border: 1px solid var(--borde); padding: 0 12px; font: inherit; }
.sb-boton { height: 52px; border-radius: 16px; border: 1px solid var(--borde); background: #fff; font-size: 15px; font-weight: 500; color: var(--texto); }
.sb-negro { height: 52px; padding: 0 28px; border-radius: 16px; background: #1c1b1a; color: #fff; font-size: 15px; font-weight: 700; }
.sb-intro { display: grid; gap: 6px; padding: 0 4px; }
.sb-intro h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.sb-intro p { margin: 0; font-size: 15px; color: #5a534c; line-height: 1.45; }
.cons2 { display: grid; gap: 14px; }
.cons2 label { display: grid; gap: 6px; }
.cons2 label > span { font-size: 14px; font-weight: 700; }
.cons2 label small { font-weight: 400; color: #8a8178; font-size: 14px; }
.cons2 input, .cons2 textarea { border-radius: 14px; border: 1px solid var(--borde); background: #fff; padding: 0 14px; height: 52px; font: inherit; font-size: 16px; color: var(--texto); }
.cons2 textarea { height: 84px; padding: 12px 14px; resize: none; }
.cons2-arch { position: relative; height: 52px; border-radius: 14px; border: 1.5px dashed #cfc8be; display: flex !important; align-items: center; justify-content: center; font-size: 15px; font-weight: 500 !important; cursor: pointer; }
.cons2-arch span { font-weight: 500 !important; }
.cons2-arch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cons2 .btn-naranja { height: 58px; border-radius: 18px; font-size: 17px; margin-top: 4px; }
.cons2-priv { margin: -4px 0 0; text-align: center; font-size: 12.5px; color: #8a8178; }
/* Encuesta: una pregunta por pantalla */
.contenido.enc2 { gap: 18px; padding-top: calc(28px + env(safe-area-inset-top)); padding-bottom: 130px; }
.enc2-cab { display: flex; align-items: center; gap: 12px; }
.enc2-barras { flex: 1; display: flex; gap: 4px; }
.enc2-barras i { flex: 1; height: 4px; border-radius: 2px; background: #e2ddd5; }
.enc2-barras i.si { background: var(--naranja); }
.enc2-cab > span { font-size: 13px; color: #8a8178; }
.enc2 h1 { margin: 6px 4px 0; font-size: 24px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.enc2-ayuda { margin: -10px 4px 0; font-size: 14px; color: #8a8178; }
.enc2-premio { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fdede4; color: #8a3a12; font-size: 14px; }
.enc2-txt { height: 140px; border-radius: 16px; border: 1px solid var(--borde); background: #fff; padding: 14px; font: inherit; font-size: 16px; resize: none; }
.enc2-ops { display: grid; gap: 8px; }
.enc2-ops button { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--borde); background: #fff; font-size: 16px; text-align: left; color: var(--texto); }
.enc2-ops button i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #cfc8c0; display: grid; place-items: center; color: transparent; }
.enc2-ops button.varias i { border-radius: 6px; }
.enc2-ops button i svg { width: 12px; height: 12px; }
.enc2-ops button.si { border-color: #1c1b1a; font-weight: 600; }
.enc2-ops button.si i { background: #1c1b1a; border-color: #1c1b1a; color: #fff; }
.enc2-pie { display: flex; align-items: center; gap: 12px; }
.enc2-pie .link { padding: 0 14px; height: 56px; font-size: 15px; color: #5a534c; }
.enc2-pie .btn-naranja { flex: 1; height: 56px; border-radius: 18px; font-size: 17px; }
.enc2-fin { align-items: center; justify-content: center; text-align: center; min-height: 80vh; }
.enc2-ok { width: 72px; height: 72px; border-radius: 50%; background: #1f7a4a; color: #fff; display: grid; place-items: center; }
.enc2-ok svg { width: 32px; height: 32px; }
.enc2-fin h1 { margin: 0; font-size: 26px; }
.enc2-fin p { margin: 0; color: #5a534c; }
/* Vacíos */
.vacio2 { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 24px; text-align: center; }
.vacio2-ic { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 1px solid #ede8e1; display: grid; place-items: center; color: var(--texto); }
.vacio2-ic svg { width: 30px; height: 30px; }
.vacio2 b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.vacio2 p { margin: 0; font-size: 15px; color: #5a534c; line-height: 1.45; }
.vacio2-est { display: flex; gap: 6px; margin-top: 6px; }
.vacio2-est button { width: 48px; height: 48px; display: grid; place-items: center; color: #c9c1b6; }
.vacio2-est button svg { width: 36px; height: 36px; }
.vacio2-est button:hover { color: #e8a317; }
.sb-boton { display: flex; align-items: center; justify-content: center; width: 100%; } .vacio2 { min-height: 60vh; justify-content: center; }
.enc2-pie .btn-naranja:disabled { opacity: .45; box-shadow: none; }

/* ---------- Tu pedido (carrito) nov 2026 ---------- */
.cr2-cab { gap: 12px; }
.cr2-cab .cr-vaciar { color: var(--suave); font-weight: 600; }
.cr2-ent { background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 14px 16px; display: grid; gap: 10px; }
.cr2-ent-t { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--suave); }
.cr2-ent-t svg { width: 22px; height: 22px; color: var(--texto); flex: none; }
.cr2-ent-t b { color: var(--texto); font-weight: 700; }
.cr2-barra { height: 6px; border-radius: 3px; background: #ece7e1; overflow: hidden; }
.cr2-barra i { display: block; height: 100%; background: var(--naranja); border-radius: 3px; }
.cr2-ent small { font-size: 13.5px; color: var(--suave); }
.cr-lineas { border: 1px solid var(--borde); box-shadow: none; border-radius: 18px; }
.cr2-l .cr-n small { color: var(--suave); }
.cr2-step { display: flex; align-items: center; justify-content: space-between; width: 120px; height: 44px; border: 1.5px solid #1c1b1a; border-radius: 12px; padding: 0 4px; }
.cr2-step button { width: 36px; height: 40px; font-size: 20px; color: var(--texto); display: grid; place-items: center; }
.cr2-step span { font-size: 17px; font-weight: 800; }
.cr-seguir { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 14px 0 4px; border-top: 1px solid #f0ece6; font-weight: 700; color: var(--texto); }
.cr2-sug-t { margin: 6px 4px -4px; font-size: 13.5px; color: var(--suave); }
.cr2-sug { display: grid; gap: 8px; }
.cr2-s { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--borde); border-radius: 16px; }
.cr2-s .cr-s-f .foto { width: 52px; height: 52px; border-radius: 12px; }
.cr2-s-t { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: left; color: var(--texto); }
.cr2-s-t b { font-size: 15px; line-height: 1.25; }
.cr2-s-t small { font-size: 13px; color: var(--suave); }
.cr2-sumar { flex: none; height: 40px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #1c1b1a; font-weight: 700; color: var(--texto); background: #fff; }
.cr2-sec { background: none; border: 0; box-shadow: none; padding: 4px 0 0; }
.cr2-sec .cr-tit { font-size: 17px; font-weight: 800; }
.cr2-sec .cr-opcs { display: grid; gap: 8px; margin-top: 10px; }
.cr2-sec .cr-opc { background: #fff; border: 1px solid var(--borde); border-radius: 16px; min-height: 60px; padding: 0 16px; }
.cr2-sec .cr-opc.act { border: 1.5px solid #1c1b1a; background: #fff; }
.cr2-sec .cr-opc i { border-color: #cfc8c0; }
.cr2-sec .cr-opc.act i { border: 6px solid #1c1b1a; background: #fff; }
.cr2-loc { margin-top: 12px; background: none; border: 0; padding: 0 4px; display: flex; align-items: center; justify-content: space-between; }
.cr2-loc span { display: grid; gap: 2px; }
.cr2-loc small { font-size: 13px; color: var(--suave); }
.cr2-loc b { font-size: 15.5px; }
.cr2-loc em { font-style: normal; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--texto); }
.cr-mas-nota { font-weight: 600; color: var(--texto); }
.cr-pie .cr-enviar { background: var(--naranja); border-radius: 18px; height: 60px; }
.cr2-sec .cr-opcs { grid-template-columns: 1fr !important; display: grid !important; } .cr2-sec .cr-opc { width: 100%; align-items: center; }

/* ---------- Mis pedidos (nov 2026) ---------- */
.mp2-filtros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; border-radius: 14px; background: #ece7e1; }
.mp2-filtros button { height: 42px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--suave); }
.mp2-filtros button.act { background: #fff; color: var(--texto); font-weight: 800; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.mp2 { display: grid; gap: 12px; }
.mp2-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; text-align: left; color: var(--texto); }
.mp2-t { display: grid; gap: 3px; min-width: 0; }
.mp2-t b { font-size: 18px; font-weight: 800; }
.mp2-t small { font-size: 13.5px; color: var(--suave); }
.mp2-top em { font-style: normal; font-size: 17px; font-weight: 900; white-space: nowrap; }
.mp2-pasos { margin-top: 0; }
.mp2 .mp-fotos { display: flex; gap: 6px; }
.mp2 .mp-mini .foto { width: 48px; height: 48px; border-radius: 10px; background: #f3f1ed; }
.mp2-sumar { justify-self: start; font-size: 14.5px; font-weight: 700; color: var(--naranja-osc); padding: 2px 0; }
.mp2-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mp2-ver, .mp2-rep { height: 46px; border-radius: 13px; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.mp2-ver { border: 1.5px solid #1c1b1a; background: #fff; color: var(--texto); }
.mp2-rep { background: #1c1b1a; color: #fff; }
.mp2-rep svg { width: 17px; height: 17px; }
.mp2-lista { padding-bottom: 110px; }
.mp2-filtros button { display: flex; align-items: center; justify-content: center; }
.ini2-arrep { align-self: center; font-size: 13px; color: var(--suave); text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
/* Compra segura */
.cs { margin-top: 6px; padding: 14px 14px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--borde); }
.cs-t { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; font-weight: 800; color: #1e7a45; }
.cs-t svg { width: 18px; height: 18px; }
.cs-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cs-g > div { display: grid; justify-items: center; gap: 3px; text-align: center; }
.cs-ic { width: 40px; height: 40px; border-radius: 50%; background: #eaf5ee; color: #1e7a45; display: grid; place-items: center; }
.cs-ic svg { width: 21px; height: 21px; }
.cs-g b { font-size: 13px; line-height: 1.2; }
.cs-g small { font-size: 11.5px; color: var(--suave); line-height: 1.25; }
.cr-segura { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 8px; font-size: 12.5px; color: #1e7a45; font-weight: 600; }
.cr-segura svg { width: 15px; height: 15px; }
/* Compra segura, versión simple */
.cs2 { display: grid; justify-items: center; gap: 6px; margin-top: 10px; text-align: center; color: var(--suave); }
.cs2 svg { width: 16px; height: 16px; }
.cs2 p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.ini2-arrep { margin-top: -4px; font-size: 14px; font-weight: 700; color: var(--texto); text-underline-offset: 4px; }

/* Carrito fuera de zona / por transporte (9b, nov 2026) */
.tr9 { padding: 18px 16px; border-radius: 18px; display: grid; gap: 14px; }
.tr9-cab { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--borde); }
.tr9-cab > svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.tr9-cab > span { flex: 1; display: grid; gap: 3px; min-width: 0; }
.tr9-cab b { font-size: 17px; }
.tr9-cab small { color: var(--suave); font-size: 14.5px; line-height: 1.3; }
.tr9-camb { position: relative; flex: none; border: 0; background: none; padding: 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--texto); text-decoration: underline; text-underline-offset: 3px; }
.tr9-camb select { position: absolute; inset: 0; opacity: 0; width: 100%; font-size: 16px; }
.tr9-int { margin: 0; color: var(--suave); font-size: 14px; }
.tr9-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tr9-pasos li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; }
.tr9-pasos li > i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #1c1b1a; color: #fff; font-style: normal; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tr9-pasos li > div { flex: 1; min-width: 0; }
.tr9-alias { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: #f5f3ef; }
.tr9-alias span { flex: 1; display: grid; min-width: 0; }
.tr9-alias small { color: var(--suave); font-size: 12px; }
.tr9-alias b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; overflow-wrap: anywhere; }
.tr9-alias button { flex: none; height: 38px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #1c1b1a; background: #fff; font: inherit; font-weight: 700; color: #1c1b1a; }
.cr-enviar b small { font-size: 13px; font-weight: 600; color: #fff; opacity: .85; }

/* ---- Ajustes 29/11/2026 ---- */
/* Buscador de Ofertas / categorías: no se estira más allá de la pantalla. */
.top-naranja.fila .buscador.input { flex: 1 1 auto; width: auto; min-width: 0; }
.top-naranja.fila .buscador input[type="search"] { width: 100%; min-width: 0; }
.top-naranja.fila .btn-volver.solo-ic { width: 50px; height: 50px; padding: 0; justify-content: center; border-radius: 14px; }
.top-naranja.fila .btn-volver.solo-ic svg { font-size: 24px; }

/* Tarjeta de Ofertas del inicio: que llame la atención. */
.ini2-cats button.ini2-of { position: relative; overflow: hidden; isolation: isolate; border: 0;
  background: linear-gradient(150deg, #ff8a00 0%, #ff5100 45%, #e0115f 100%);
  box-shadow: 0 10px 20px -10px rgba(224, 17, 95, .8); }
.ini2-cats button.ini2-of::before { content: '%'; position: absolute; right: -8px; bottom: 26px; z-index: -1;
  font-size: 92px; font-weight: 900; line-height: 1; color: rgba(255, 255, 255, .2); transform: rotate(-12deg); }
.ini2-cats button.ini2-of::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg);
  animation: of-brillo 3.5s ease-in-out infinite; pointer-events: none; }
.ini2-of-chip { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase;
  background: #fff; color: #e0115f; padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.ini2-cats button.ini2-of .ini2-of-ver { background: #fff !important; color: #ff5100 !important; animation: of-latido 1.8s ease-in-out infinite; }
@keyframes of-brillo { 0%, 55% { left: -80%; } 100% { left: 140%; } }
@keyframes of-latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ini2-cats button.ini2-of::after, .ini2-cats button.ini2-of .ini2-of-ver { animation: none; } }

/* Botón oficial "Acceder con Google": centrado; si no carga, queda el de siempre. */
.g-oficial { display: none; width: 100%; min-height: 44px; justify-content: center; }
.g-oficial.listo { display: flex; }
.btn-google.oculto { display: none; }
/* OFERTAS en mayúscula y la bajada pegada abajo (29/11/2026). */
.ini2-cats button.ini2-of strong.chico { font-size: 21px; letter-spacing: -.2px; line-height: 1; margin-top: 0; }
.ini2-cats button.ini2-of strong.chico + em { margin-top: 3px; font-size: 13px; line-height: 1.15; font-weight: 600; opacity: 1; }
