/* Deli · diseño morado (celular) */
:root {
    --c: #6b2fd6; --sol: #d4f56b; --acento: #d4f56b; --tx: #24103a; --mu: #6a6178; --fondo: #f7f4fc; --linea: #e7e1f0;
    --sombra: 0 2px 10px rgba(28, 27, 34, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fondo); color: var(--tx); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-tap-highlight-color: transparent; }
#fv_app { max-width: 520px; margin: 0 auto; min-height: 100vh; position: relative; background: var(--fondo); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; }
.cargando { padding: 40vh 20px; text-align: center; color: var(--mu); }
.dl-marca { display: inline-flex; align-items: center; gap: 8px; }
.dl-ico { border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* inicio */
.v-inicio { padding-bottom: 110px; }
.hero { background: var(--c); color: #fff; padding: calc(14px + env(safe-area-inset-top)) 20px 56px; border-radius: 0 0 32px 32px; }
.hero-fila { display: flex; justify-content: space-between; align-items: center; }
.dir { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14px; font-weight: 600; max-width: 280px; }
.dir span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-car { position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; }
.btn-car i { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--sol); color: var(--tx); font-size: 12px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.buscador { margin: -34px 16px 0; position: relative; height: 54px; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(28, 27, 34, .12); display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.buscador input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; background: none; min-width: 0; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 18px 16px 2px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 74px; flex-shrink: 0; font-size: 12px; font-weight: 600; }
.cat > span { width: 68px; height: 68px; border-radius: 22px; display: flex; align-items: center; justify-content: center; padding: 8px; border: 2px solid transparent; }
.cat.on > span { border-color: var(--c); }
.promo { margin: 18px 16px 0; min-height: 124px; border-radius: 24px; background: var(--tx); color: #fff; position: relative; overflow: hidden; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; }
.promo-tag { padding: 4px 9px; border-radius: 8px; background: var(--sol); color: var(--tx); font-size: 11px; font-weight: 800; }
.promo b { font-size: 23px; line-height: 1.05; margin-top: 8px; max-width: 62%; }
.promo small { opacity: .75; margin-top: 6px; max-width: 62%; }
.promo-img { position: absolute; right: -14px; top: 8px; width: 150px; }
.tit { font-size: 20px; font-weight: 800; margin: 22px 16px 10px; }
.locales { padding: 0 16px; display: flex; flex-direction: column; gap: 14px; }
.tl { display: block; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sombra); }
.tl.cerrado { opacity: .72; }
.tl-img { height: 132px; position: relative; display: flex; align-items: center; justify-content: center; }
.tl-plato { width: 118px; }
.tl-logo { position: absolute; left: 12px; bottom: -18px; width: 46px; height: 46px; border-radius: 14px; object-fit: cover; background: #fff; border: 3px solid #fff; }
.tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12px; font-weight: 700; }
.tl-cerrado { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--tx); color: #fff; font-size: 12px; font-weight: 700; }
.tl-pie { padding: 14px 14px 14px; display: flex; gap: 10px; align-items: center; }
.tl-logo + .tl-pie, .tl-img:has(.tl-logo) + .tl-pie { padding-top: 22px; }
.tl-pie > div { flex: 1; min-width: 0; }
.tl-pie b { display: block; font-size: 16px; }
.tl-pie small { color: var(--mu); font-size: 13px; }
.chip { display: flex; align-items: center; gap: 4px; padding: 6px 9px; border-radius: 10px; background: var(--fondo); font-size: 12px; font-weight: 700; white-space: nowrap; }
.org { text-align: center; color: var(--mu); font-size: 12px; margin: 22px 16px; }
.vacio { color: var(--mu); text-align: center; padding: 24px 12px; }
.vacio.grande { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 24px; }
.vacio.grande b { color: var(--tx); font-size: 20px; }
.vacio .btn-grande { margin-top: 12px; }

/* barra inferior */
.nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; height: calc(74px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--linea); display: flex; justify-content: space-around; align-items: center; z-index: 5; }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #a3a1ab; font-size: 11px; font-weight: 600; position: relative; min-width: 60px; }
.nav a.on { color: var(--c); }
.nav .punto { position: absolute; top: -2px; right: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* local */
.v-local { background: #fff; min-height: 100vh; padding-bottom: 110px; }
.lhero { height: 220px; position: relative; display: flex; align-items: center; justify-content: center; }
.lhero-plato { width: 200px; margin-top: 10px; }
.circ { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); flex-shrink: 0; }
.circ.izq { position: absolute; left: 16px; top: calc(14px + env(safe-area-inset-top)); }
.lcuerpo { margin-top: -28px; position: relative; background: #fff; border-radius: 28px 28px 0 0; padding: 18px 16px 0; }
.lcab { display: flex; align-items: center; gap: 12px; }
.lcab h1 { font-size: 25px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.llogo { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; margin-top: -42px; border: 4px solid #fff; background: #fff; flex-shrink: 0; }
.llogo.ini { color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ldatos { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--mu); font-size: 13px; margin-top: 6px; }
.ldatos span { display: inline-flex; align-items: center; gap: 4px; }
.toggle { display: flex; margin-top: 14px; background: var(--fondo); border-radius: 14px; padding: 4px; }
.toggle button { flex: 1; padding: 10px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--mu); }
.toggle button.on { background: #fff; color: var(--tx); font-weight: 700; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.tabs { display: flex; gap: 22px; margin-top: 16px; border-bottom: 1px solid var(--linea); overflow-x: auto; white-space: nowrap; position: sticky; top: 0; background: #fff; z-index: 2; scrollbar-width: none; }
.tabs a { padding: 12px 0 10px; font-size: 15px; font-weight: 600; color: var(--mu); }
.tabs a.on { color: var(--tx); font-weight: 800; border-bottom: 3px solid var(--c); }
.v-local h3 { font-size: 18px; margin: 20px 0 0; scroll-margin-top: 56px; }
.plato { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linea); width: 100%; text-align: left; }
.pt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pt-txt b { font-size: 16px; }
.pt-txt small { color: var(--mu); font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-txt span { font-weight: 700; margin-top: 4px; }
.pt-img { position: relative; width: 104px; height: 104px; flex-shrink: 0; }
.pimg { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg > span { display: block; }
.pimg.chico { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; }
.mas { position: absolute; right: -6px; bottom: -6px; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(28, 27, 34, .18); color: var(--c); display: flex; align-items: center; justify-content: center; }
.caja-info { margin: 16px 0; padding: 14px; border-radius: 14px; background: var(--fondo); font-size: 14px; }
.caja-info.alerta { background: #f1eaff; color: #b8321a; }
.barra-car { position: fixed; left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 488px; bottom: calc(22px + env(safe-area-inset-bottom)); height: 60px; border-radius: 18px; background: var(--c); color: #fff; display: flex; align-items: center; padding: 0 18px; gap: 12px; box-shadow: 0 10px 24px rgba(255, 77, 46, .35); z-index: 6; }
.barra-car i { width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; font-weight: 800; font-style: normal; }
.barra-car span { flex: 1; font-size: 16px; font-weight: 700; }
.barra-car b { font-size: 16px; }

/* hoja del plato */
.velo { position: fixed; inset: 0; background: rgba(28, 27, 34, .45); z-index: 20; }
.hoja { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; max-height: 92vh; background: #fff; border-radius: 26px 26px 0 0; z-index: 21; display: flex; flex-direction: column; overflow: hidden; animation: sube .22s ease-out; }
@keyframes sube { from { transform: translate(-50%, 40px); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .hoja { animation: none; } }
.hoja-img { height: 220px; flex-shrink: 0; position: relative; }
.hoja-img .pimg { border-radius: 0; }
.hoja-img .pimg > span { width: 54% !important; }
.hoja-cuerpo { overflow-y: auto; padding: 18px 16px 8px; }
.hp-cab { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.hp-cab h2 { font-size: 22px; margin: 0; }
.hp-cab b { font-size: 19px; white-space: nowrap; }
.hoja-cuerpo p { color: var(--mu); font-size: 14px; line-height: 1.4; margin: 6px 0 0; }
.ex-cab { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.ex-cab small { color: var(--mu); }
.oblig { padding: 4px 9px; border-radius: 8px; background: #f1eaff; color: var(--c); font-size: 12px; font-weight: 700; }
.op { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0eff3; width: 100%; text-align: left; font-size: 15px; }
.op span { flex: 1; }
.op small { color: var(--mu); font-size: 14px; }
.radio, .caja { width: 22px; height: 22px; border: 2px solid #cfcdd6; flex-shrink: 0; display: inline-block; }
.radio { border-radius: 50%; }
.caja { border-radius: 7px; }
.radio.on { border: 7px solid var(--c); }
.caja.on { background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--c); }
.nota { display: block; margin: 16px 0 6px; }
.nota span { display: block; font-size: 13px; color: var(--mu); margin-bottom: 6px; }
.nota input, .form input { width: 100%; border: 0; background: var(--fondo); border-radius: 14px; padding: 13px 14px; font: inherit; font-size: 16px; outline: 0; }
.hoja-pie { display: flex; gap: 12px; align-items: center; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); }
.step { display: flex; align-items: center; gap: 12px; padding: 4px; border-radius: 14px; background: var(--fondo); font-weight: 800; }
.step button { width: 36px; height: 36px; border-radius: 10px; background: #fff; font-size: 20px; }
.step button + b + button { color: var(--c); }
.step.chico button { width: 28px; height: 28px; font-size: 17px; }
.btn-grande { flex: 1; width: 100%; min-height: 54px; border-radius: 16px; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; padding: 0 16px; text-align: center; }
.btn-grande:disabled { background: #d8d6de; color: #fff; }
.btn-linea { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: 14px; border: 2px solid var(--linea); font-weight: 700; margin-top: 4px; }
.btn-texto { display: block; margin: 14px auto 0; color: var(--mu); font-size: 14px; text-decoration: underline; }

/* pantallas simples: carrito, pedidos, cuenta, seguimiento */
.v-simple { min-height: 100vh; background: #fff; padding-bottom: 120px; }
.cab-s { display: flex; align-items: center; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 16px 10px; }
.cab-s h1 { font-size: 26px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.cab-s .circ { box-shadow: none; background: var(--fondo); }
.cuerpo { padding: 0 16px; }
.cuerpo h3 { font-size: 16px; margin: 20px 0 10px; }
.c-local { display: flex; align-items: center; gap: 10px; color: var(--mu); font-size: 14px; }
.mini { width: 28px; height: 28px; border-radius: 9px; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.item { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.it-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.it-txt small { color: var(--mu); font-size: 12px; }
.it-txt span { font-weight: 700; font-size: 14px; margin-top: 2px; }
.mas-cosas { display: flex; align-items: center; gap: 6px; color: var(--c); font-weight: 700; padding: 6px 0 4px; }
.form { display: flex; flex-direction: column; gap: 8px; }
.dos { display: flex; gap: 8px; }
.chips { display: flex; gap: 8px; }
.chips button { flex: 1; padding: 11px 0; border-radius: 12px; border: 2px solid var(--linea); font-weight: 700; font-size: 14px; }
.chips button.on { border-color: var(--c); background: #f1eaff; color: var(--c); }
.resumen { margin-top: 16px; padding: 10px 12px; border-radius: 14px; background: var(--fondo); }
.resumen div { display: flex; justify-content: space-between; font-size: 14px; color: var(--mu); padding: 3px 0; }
.resumen div span:last-child { color: var(--tx); }
.resumen .tot { font-size: 17px; font-weight: 800; color: var(--tx); }
.letra { text-align: center; color: var(--mu); font-size: 12px; margin: 10px 0 0; }
.pie-fijo { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; background: #fff; border-top: 1px solid var(--linea); padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); z-index: 6; }
.v-carro { padding-bottom: 110px; }
.v-carro .nav { display: none; }
.vacio-moto { display: block; }

.seg-hero { height: 250px; background: #ece4ff; display: flex; align-items: center; justify-content: center; position: relative; }
.seg-cuerpo { margin-top: -26px; background: #fff; border-radius: 26px 26px 0 0; position: relative; padding-top: 20px; }
.seg-cuerpo small { color: var(--mu); }
.seg-cuerpo h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 0; }
.sub { color: var(--mu); margin: 4px 0 0; }
.barra { display: flex; gap: 6px; margin-top: 16px; }
.barra i { flex: 1; height: 6px; border-radius: 3px; background: var(--linea); }
.barra i.on { background: var(--c); }
.pasos { display: flex; justify-content: space-between; font-size: 12px; color: var(--mu); margin-top: 6px; gap: 4px; }
.pasos .ahora { color: var(--tx); font-weight: 700; }
.rep { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; padding: 12px; border-radius: 18px; background: var(--fondo); }
.rep-ini { width: 48px; height: 48px; border-radius: 50%; background: var(--sol); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.rep div { display: flex; flex-direction: column; }
.rep small { color: var(--mu); }
.v-seg .btn-linea { margin-top: 16px; }

.v-ped { background: var(--fondo); }
.activo { display: block; position: relative; overflow: hidden; border-radius: 24px; background: var(--c); color: #fff; padding: 16px; margin-bottom: 18px; }
.activo-moto { position: absolute; right: -8px; top: 0; }
.etq { display: inline-block; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .22); font-size: 11px; font-weight: 800; }
.activo b { display: block; font-size: 20px; margin-top: 8px; max-width: 60%; }
.activo small { opacity: .9; }
.btn-blanco { display: flex; margin-top: 14px; height: 44px; border-radius: 14px; background: #fff; color: var(--c); align-items: center; justify-content: center; font-weight: 800; }
.ped { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 20px; padding: 12px; margin-bottom: 10px; }
.ped-a { flex: 1; display: flex; gap: 12px; align-items: center; min-width: 0; }
.ped-a > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ped small { color: var(--mu); font-size: 12px; }
.repetir { padding: 9px 12px; border-radius: 12px; background: #f1eaff; color: var(--c); font-size: 13px; font-weight: 700; }
.cta-marca { display: flex; align-items: center; gap: 14px; background: #ece4ff; border-radius: 22px; padding: 12px 16px; margin-top: 6px; }
.cta-marca div { display: flex; flex-direction: column; }
.cta-marca small { color: var(--mu); }
.v-simple .btn-grande { margin-top: 18px; }
.pie-fijo .btn-grande { margin-top: 0; }

.aviso { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); background: var(--tx); color: #fff; padding: 12px 16px; border-radius: 14px; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 30; max-width: 90vw; text-align: center; }
.aviso.ver { opacity: 1; transform: translate(-50%, 0); }
.cta-rep { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 12px 14px; border-radius: 18px; background: var(--tx); color: #fff; }
.cta-rep span:last-child { display: flex; flex-direction: column; }
.cta-rep small { opacity: .75; }

/* Dirección con propuestas y mapa */
.campo-dir { position: relative; width: 100%; }
.sugerencias { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 27, 34, .18); overflow: hidden; }
.sugerencias.abierta { display: block; }
.sugerencias button { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--linea); background: #fff; text-align: left; font: inherit; cursor: pointer; }
.sugerencias button:first-child { border-top: 0; }
.sugerencias button:hover, .sugerencias button:focus-visible { background: #fff4ef; outline: 0; }
.sugerencias b { display: block; font-size: 15px; }
.sugerencias small { color: var(--mu); font-size: 13px; }
.mapa-dir { height: 170px; border-radius: 14px; overflow: hidden; margin-top: 2px; z-index: 0; }
.ayuda { color: var(--mu); font-size: 13px; }
/* Cuenta con red social */
.sesion { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; padding: 14px; border-radius: 16px; background: var(--fondo); }
.sesion.col { flex-direction: column; align-items: stretch; }
.sesion small { color: var(--mu); }
.entrar-correo { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.entrar-correo input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--borde, #e3dcf2); font: inherit; background: #fff; }
.entrar-correo #l_codigo { font-size: 22px; letter-spacing: 6px; text-align: center; }
.entrar-correo #l_codigo::placeholder { font-size: 15px; letter-spacing: normal; }
.entrar-correo .btn-grande { margin: 0; }
.entrar-correo .btn-texto { margin: 0; }
.sesion .o-redes { text-align: center; margin-top: 10px; }
.sesion .btn-texto { margin: 0; width: auto; }
.redes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.btn-red { flex: 1 1 120px; display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 14px; background: #fff; border: 2px solid var(--linea); color: var(--tx); font-weight: 800; text-decoration: none; }
.campo-dir > input { width: 100%; }
/* Cuenta estilo apps de delivery */
.v-cuenta .cuerpo { padding-top: calc(18px + env(safe-area-inset-top)); }
.perfil { display: flex; align-items: center; gap: 14px; padding: 6px 2px 14px; }
.perfil > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.perfil b { font-size: 22px; letter-spacing: -.01em; }
.perfil small { color: var(--mu); font-size: 13px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.lista { background: #fff; border-radius: 18px; margin: 12px 0; overflow: hidden; }
.fila { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; border-top: 1px solid var(--linea); background: #fff; color: var(--tx); text-align: left; font: inherit; text-decoration: none; cursor: pointer; }
.lista > .fila:first-child, .lista > .dir-g:first-child { border-top: 0; }
.fi-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--fondo); display: flex; align-items: center; justify-content: center; flex: none; color: var(--tx); }
.fi-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fi-txt b { font-size: 16px; }
.fi-txt small { color: var(--mu); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila > svg:last-child { color: #b3a8c6; flex: none; }
.dir-g { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--linea); }
.dir-g.on .fi-ico { background: #ece4ff; color: var(--c); }
.tag-on { font-size: 12px; font-weight: 800; color: var(--c); background: #f1eaff; border-radius: 99px; padding: 4px 8px; }
.mini-btn { border: 2px solid var(--linea); background: #fff; border-radius: 99px; padding: 5px 12px; font: inherit; font-weight: 700; font-size: 13px; }
.mini-x { border: 0; background: transparent; color: var(--mu); padding: 6px; }
.chips.dirs { margin: 0 0 8px; }
.chips.dirs a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 99px; border: 2px dashed var(--linea); color: var(--mu); font-weight: 700; text-decoration: none; font-size: 14px; }
.vacio-t { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 26px 10px; color: var(--mu); }
.vacio-t b { color: var(--tx); }
.letra.izq { text-align: left; }
.guardar-tarjeta { display: flex; align-items: center; gap: 8px; margin: 6px 0; color: var(--c); font-weight: 700; text-decoration: none; }
.faq { background: #fff; border-radius: 14px; padding: 14px; margin: 8px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--mu); margin: 8px 0 0; }
a.btn-grande { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
/* Instalar y actualizar */
.hoja-i { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.hoja-i-top { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; }
.hoja-i-top img { width: 56px; height: 56px; border-radius: 14px; }
.hoja-i-top div { display: flex; flex-direction: column; }
.hoja-i-top b { font-size: 20px; }
.hoja-i-top small { color: var(--mu); }
.pasos-i { padding-left: 20px; line-height: 1.7; }
.pasos-i svg { vertical-align: -3px; }
.nueva-v { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); max-width: 496px; margin: 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--tx); color: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: 14px; }
.nueva-v button { border: 0; border-radius: 12px; background: var(--c); color: #fff; font: inherit; font-weight: 800; padding: 9px 14px; }
.hoja-i { padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); display: block; }
.cerrar-i { position: absolute; right: 12px; top: 12px; }
a.btn-texto { text-align: center; }
button.dir { border: 0; background: transparent; color: inherit; font: inherit; padding: 0; cursor: pointer; text-align: left; }
.hoja-tit { font-size: 22px; margin: 4px 0 12px; }
.lista.borde { border: 1px solid var(--linea); }

/* Propina (paso 2 de 3) y «Llegó tu pedido» */
.resumen a.cambiar { color: #5b21b6; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.v-propina { padding-bottom: 110px; }
.v-propina .nav { display: none; }
.cab-s .paso { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--mu); }
.progreso { display: flex; gap: 6px; padding: 0 16px 6px; }
.progreso i { flex: 1; height: 5px; border-radius: 3px; background: #d6cfe3; }
.progreso i.on { background: var(--c); }
.prop-hero { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 24px; padding: 18px; margin-top: 10px; box-shadow: var(--sombra); }
.prop-hero b { display: block; font-size: 20px; line-height: 1.15; }
.prop-hero small { display: block; color: #5d536d; font-size: 14px; margin-top: 6px; line-height: 1.35; }
.prop-moto { width: 80px; height: 80px; flex-shrink: 0; border-radius: 50%; background: #ece4ff; display: flex; align-items: center; justify-content: center; }
.prop-moto svg { width: 66%; height: auto; }
.prop-montos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.prop-montos.cuatro { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 0; }
.prop-montos button { position: relative; min-height: 70px; border-radius: 18px; border: 2px solid var(--linea); background: #fff; font-size: 19px; font-weight: 800; }
.prop-montos.cuatro button { min-height: 54px; font-size: 16px; border-radius: 16px; }
.prop-montos button.txt { font-size: 15px; font-weight: 700; }
.prop-montos button.otro { border-style: dashed; border-color: #b3a8c6; }
.prop-montos button.on { border: 3px solid var(--c); background: #f1eaff; }
.prop-montos .sug { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); padding: 2px 8px; border-radius: 99px; background: var(--c); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; white-space: nowrap; }
.prop-otro { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; background: #fff; border-radius: 16px; padding: 10px 16px; font-weight: 600; }
.prop-otro span { display: flex; align-items: center; gap: 4px; font-size: 20px; font-weight: 800; }
.prop-otro input { width: 120px; height: 44px; border: 2px solid var(--linea); border-radius: 12px; font: inherit; font-size: 20px; font-weight: 800; padding: 0 10px; text-align: right; }
.prop-recordar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-top: 12px; background: #fff; border-radius: 16px; padding: 0 16px; font-size: 15px; font-weight: 600; cursor: pointer; }
.prop-recordar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.prop-recordar i { width: 50px; height: 30px; border-radius: 99px; background: #d6cfe3; position: relative; flex-shrink: 0; transition: background .15s; }
.prop-recordar i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .15s; }
.prop-recordar input:checked + i { background: var(--tx); }
.prop-recordar input:checked + i::after { left: 23px; }
.prop-recordar input:focus-visible + i { outline: 3px solid var(--sol); outline-offset: 2px; }
.v-propina .resumen { background: #fff; }
.resumen .fuerte, .resumen .fuerte span { color: var(--tx); font-weight: 700; }
.hoja-post { max-height: 94vh; overflow-y: auto; }
.post-cab { display: flex; align-items: center; gap: 14px; margin: 6px 44px 4px 0; }
.post-cab .prop-moto { width: 62px; height: 62px; }
.post-cab b { display: block; font-size: 22px; line-height: 1.1; }
.post-cab small { display: block; color: #5d536d; font-size: 15px; margin-top: 4px; }
.hoja-post h3 { font-size: 16px; margin: 20px 0 10px; }
.hoja-post h3.con-nota { display: flex; justify-content: space-between; align-items: baseline; }
.hoja-post h3 small { font-weight: 500; color: #5d536d; font-size: 14px; }
.estrellas { display: flex; gap: 8px; }
.estrellas button { width: 52px; height: 52px; border-radius: 14px; background: #f1ecf8; display: flex; align-items: center; justify-content: center; }
.estrellas svg { fill: #c9c7cf; }
.estrellas button.on { background: #f6f0ff; }
.estrellas button.on svg { fill: #ffb400; }
.prop-tarjeta { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: #4b405c; font-size: 14px; }
.post-pie { margin-top: 18px; }
.btn-texto { width: 100%; min-height: 48px; margin-top: 6px; font-size: 16px; font-weight: 700; color: #4b405c; }

/* Deli nacional: zona en la cabecera y aviso fuera de zona */
.marca-fila { display: inline-flex; align-items: center; gap: 8px; }
.zona-chip { padding: 3px 10px; border-radius: 99px; background: var(--acento, #d4f56b); color: var(--tx); font-size: 12px; font-weight: 800; white-space: nowrap; }
.fuera-zona { margin: 6px 16px 0; padding: 22px 18px; border-radius: 22px; background: #fff; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 8px; }
.fuera-zona b { font-size: 19px; }
.fuera-zona small { color: var(--mu); font-size: 14px; line-height: 1.4; }
.fuera-zona .btn-grande { margin-top: 8px; }

/* Servicio al cliente, crédito Deli y membresías */
.resumen .beneficio span { color: #1d7a3e !important; font-weight: 700; }
.v-propina .resumen .beneficio span, .resumen div.beneficio span:last-child { color: #1d7a3e; }
.cta-membresia { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--tx); color: #fff; font-size: 14px; }
.cta-membresia b { color: var(--acento); }
.ayuda-ped { margin-top: 10px; }
.v-ayuda { padding-bottom: 110px; }
.v-ayuda .nav { display: none; }
.sub-cab { display: block; color: var(--mu); font-size: 13px; }
.asistente { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 12px 14px; box-shadow: var(--sombra); font-size: 15px; line-height: 1.4; }
.asistente .prop-moto { width: 52px; height: 52px; }
.chips-motivo { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-motivo button { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--linea); background: #fff; font-size: 14px; font-weight: 600; }
.chips-motivo button.on { border: 3px solid var(--c); background: #f1eaff; font-weight: 800; }
.campo-largo { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 700; }
.campo-largo textarea { border: 2px solid var(--linea); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 15px; resize: vertical; }
.foto-reclamo { position: relative; display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 12px; border-radius: 16px; border: 2px dashed #b3a8c6; color: #5b21b6; font-weight: 700; font-size: 15px; cursor: pointer; }
.foto-reclamo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.devolucion { margin-top: 14px; padding: 14px 16px; border-radius: 20px; background: #ece4ff; }
.devolucion b { font-size: 16px; }
.dos-op { display: flex; gap: 8px; margin-top: 10px; }
.dos-op button { flex: 1; min-height: 56px; border-radius: 14px; border: 2px solid var(--linea); background: #fff; font-weight: 800; font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dos-op button small { font-weight: 600; color: var(--mu); font-size: 12px; }
.dos-op button.on { border: 3px solid var(--c); }
.saldo-credito { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px; padding: 16px 18px; border-radius: 20px; background: var(--tx); color: #fff; }
.saldo-credito b { font-size: 26px; color: var(--acento); }
.saldo-credito small { width: 100%; color: #ddd3ee; font-size: 13px; }
.reclamo { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-top: 8px; border-radius: 16px; background: #fff; box-shadow: var(--sombra); }
.reclamo div { display: flex; flex-direction: column; gap: 2px; }
.reclamo small { color: var(--mu); font-size: 13px; line-height: 1.35; }
.est { flex-shrink: 0; padding: 4px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; background: #f1eaff; color: #5b21b6; }
.est-aprobado { background: #e4f6e9; color: #1d6b37; }
.est-rechazado { background: #f3f2f5; color: var(--mu); }

/* Deli Pro y Platinum */
.tag-dest { left: auto !important; right: 10px; background: var(--acento) !important; color: var(--tx) !important; }
.v-memb { min-height: 100vh; background: var(--tx); color: #fff; padding-bottom: 150px; }
.v-memb .nav { display: none; }
.v-memb .cab-s .circ { background: rgba(255,255,255,.12); color: #fff; }
.memb-cab { display: flex; align-items: center; gap: 12px; }
.memb-cab h1 { margin: 0; font-size: 28px; line-height: 1.05; font-weight: 900; }
.memb-cab h1 span { color: var(--acento); }
.memb-cab p { margin: 6px 0 0; color: #ddd3ee; font-size: 15px; }
.planes { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.plan { position: relative; text-align: left; border-radius: 24px; border: 2px solid #4b405c; background: #3a2257; color: #fff; padding: 18px; }
.plan.plat { background: var(--c); }
.plan.on { border: 3px solid var(--acento); }
.plan-fila { display: flex; justify-content: space-between; align-items: baseline; font-size: 21px; }
.plan-fila small { font-size: 13px; font-weight: 600; color: #ddd3ee; }
.plan ul { margin: 10px 0 0; padding: 0 0 0 18px; font-size: 15px; line-height: 1.7; color: #ece4ff; }
.plan .rec { position: absolute; right: 16px; top: -12px; padding: 3px 10px; border-radius: 99px; background: var(--acento); color: var(--tx); font-size: 12px; font-weight: 900; font-style: normal; }
.plan .tuyo { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 99px; background: #fff; color: var(--tx); font-size: 12px; font-weight: 800; }
.memb-nota { margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; background: #3a2257; color: #ddd3ee; font-size: 14px; line-height: 1.45; }
.memb-pie { background: var(--tx) !important; border-top: 0 !important; }
.memb-pie .memb-nota { background: none; padding: 6px 0 0; text-align: center; }
.btn-grande.lima { background: var(--acento); color: var(--tx); }
.btn-texto.claro { color: #ddd3ee; }

.mapa-seg { height: 220px; margin: 14px 0 6px; }
.pin-seg span { display: inline-block; transform: translate(-50%, -100%); white-space: nowrap; padding: 4px 9px; border-radius: 999px; font: 700 12px/1.2 inherit; color: #fff; background: #6B2FD6; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.pin-seg.pin-local span { background: #2B1450; }
.pin-seg.pin-tu span { background: #6B2FD6; }
.pin-seg.pin-rep span { background: #D4F56B; color: #2B1450; }
.plato.agotado { opacity: .55; }
.plato.agotado .pt-img { filter: grayscale(1); }
em.agotado { font-style: normal; font-weight: 700; color: #b42318; }
.ex-cab > div { display: flex; flex-direction: column; }
.ex-cab > div small { font-size: 13px; margin-top: 2px; }
.oblig.listo { background: #e8f7d0; color: #2f6b0f; }
.op:disabled { opacity: .45; }
.op.agotado span { text-decoration: line-through; }
.op.agotado small { color: #b42318; font-weight: 700; }
.devol { background: #f1eaff; border-radius: 18px; padding: 16px; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.devol b { font-size: 18px; color: var(--t, #24103a); }
.devol p { margin: 4px 0 0; }
.devol small { color: var(--mu, #6b6680); }
.devol.listo { background: #e8f7d0; }
.devol-op { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: #fff; border: 2px solid #c4a8ff; border-radius: 14px; padding: 12px 14px; font: inherit; text-align: left; }
.devol-op span { font-weight: 700; font-size: 16px; color: #5b21b6; }
.devol-op:disabled { opacity: .5; }
.rep .rep-chat { margin-left: auto; display: flex; align-items: center; gap: 6px; border: 0; background: var(--c, #6b2fd6); color: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; position: relative; }
.rep .rep-chat .badge { position: absolute; top: -6px; right: -4px; background: #d4f56b; color: #24103a; border-radius: 999px; font-style: normal; font-size: 12px; padding: 1px 6px; }
.instr { display: flex; align-items: center; gap: 10px; background: #f7f4fc; border-radius: 14px; padding: 12px 14px; margin: 10px 0; flex-wrap: wrap; }
.instr > div { flex: 1; display: flex; flex-direction: column; }
.instr span { color: var(--mu, #6b6680); }
.instr input { flex: 1 1 100%; border: 2px solid #c4a8ff; border-radius: 12px; padding: 10px; font: inherit; }
.instr .fila-b { display: flex; gap: 8px; width: 100%; }
.instr .fila-b > * { flex: 1; }
.instr .link { border: 0; background: none; color: #6b2fd6; font: inherit; font-weight: 700; }
.minuto { margin: 12px 0; }
.minuto .mm { display: grid; grid-template-columns: 14px 56px 1fr; align-items: center; gap: 6px; position: relative; padding: 6px 0; }
.minuto .mm i { width: 10px; height: 10px; border-radius: 50%; background: #c4a8ff; }
.minuto .mm:last-child i { background: #6b2fd6; }
.minuto .mm span { font-weight: 700; font-size: 14px; }
.minuto .mm p { margin: 0; font-size: 14px; }
.hoja-chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; max-height: 82vh; }
.hc-cab { display: flex; justify-content: space-between; align-items: center; }
.hoja-chat .msgs { flex: 1; min-height: 160px; max-height: 46vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.hoja-chat .msg { max-width: 80%; padding: 8px 12px; border-radius: 14px; font-size: 15px; display: flex; flex-direction: column; }
.hoja-chat .msg small { font-size: 11px; opacity: .7; align-self: flex-end; }
.hoja-chat .msg.mio { align-self: flex-end; background: #6b2fd6; color: #fff; border-bottom-right-radius: 4px; }
.hoja-chat .msg.otro { align-self: flex-start; background: #ece4ff; color: #24103a; border-bottom-left-radius: 4px; }
.hoja-chat .msg.sis { align-self: center; background: #f1f1f4; color: #555; font-size: 13px; }
.hoja-chat .rapidas { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.hoja-chat .rap { flex: 0 0 auto; border: 1.5px solid #c4a8ff; background: #fff; color: #5b21b6; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; }
.hoja-chat .chat-form { display: flex; gap: 8px; }
.hoja-chat .chat-form input { flex: 1; border: 2px solid #ece4ff; border-radius: 12px; padding: 12px; font: inherit; }
.hoja-chat .chat-form .btn-grande { flex: 0 0 auto; width: auto; padding: 0 18px; }
.afines { margin: 18px 0 8px; }
.afines h2 { font-size: 20px; margin: 0 0 8px; }
.af-local { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 6px; }
.af-local a { color: #6b2fd6; font-weight: 700; font-size: 14px; }
.af-fila { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.af-prod { flex: 0 0 128px; display: flex; flex-direction: column; gap: 4px; text-align: left; background: #fff; border: 1px solid #eee8f6; border-radius: 16px; padding: 8px; font: inherit; }
.af-prod .pimg { width: 100%; height: 96px; border-radius: 12px; }
.af-prod .pimg > span { width: 80px !important; height: 80px; display: flex; }
.af-prod .pimg > span svg { width: 80px; height: 80px; }
.af-prod span { font-size: 13px; line-height: 1.2; max-height: 2.4em; overflow: hidden; }
.af-prod b { font-size: 14px; }
.cod-banner { display: flex; align-items: center; gap: 10px; width: 100%; background: #24103a; color: #fff; border: 0; border-radius: 18px; padding: 14px 16px; margin: 12px 0; font: inherit; text-align: left; }
.cod-banner span { flex: 1; display: flex; flex-direction: column; }
.cod-banner small { opacity: .8; font-size: 13px; }
.cod-banner b { font-size: 15px; }
.cod-banner .cod { font-style: normal; background: #d4f56b; color: #24103a; border-radius: 999px; padding: 6px 16px; font-size: 22px; font-weight: 800; letter-spacing: .08em; }
.hoja-codigo { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.cod-grande { align-self: center; background: #24103a; color: #fff; border-radius: 999px; padding: 12px 28px; font-size: 26px; }
.cod-grande b { color: #d4f56b; letter-spacing: .08em; }
.cod-punto { display: flex; align-items: center; gap: 14px; }
.cod-punto svg { flex: 0 0 auto; background: #f1eaff; border-radius: 50%; padding: 10px; width: 44px; height: 44px; box-sizing: border-box; }
.cod-punto p { margin: 0; font-size: 16px; }
.cod-aviso { background: #fff7d6; color: #8a5a00; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.hoja-chat .msg img { display: block; max-width: 100%; border-radius: 10px; margin-bottom: 4px; }
.foto-ent { margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.foto-ent img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 16px; }

/* ---------- Refresco de diseño 20.0.17 (16-11): más denso y limpio, como las apps grandes ---------- */
h1, h2, .tit { letter-spacing: -.02em; }
.tit { font-size: 21px; font-weight: 800; margin: 22px 16px 10px; }
/* buscador pegado arriba al bajar */
.buscador { position: sticky; top: calc(8px + env(safe-area-inset-top)); z-index: 6; }
/* tarjeta de local */
.tl { border-radius: 20px; box-shadow: 0 1px 2px rgba(36, 16, 58, .06), 0 6px 18px rgba(36, 16, 58, .05); transition: transform .12s ease; }
.tl:active { transform: scale(.985); }
.tl-img { height: 118px; }
.tl-plato { width: 92px; }
.tl-pie { padding: 12px 14px 14px; gap: 12px; }
.tl-logo, .tl-pie .tl-logo { position: static; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--linea); object-fit: cover; background: #fff; }
.tl-ini { display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--c); background: #f1eaff; }
.tl-pie b { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; }
.tl-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tl-meta svg { opacity: .7; }
.tag { font-size: 12px; padding: 5px 10px; }
.tl-cerrado { background: rgba(36, 16, 58, .86); backdrop-filter: blur(4px); }
.tl.cerrado { opacity: 1; }
.tl.cerrado .tl-img { filter: grayscale(.7); opacity: .75; }
/* carrusel de destacados */
.carrusel { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carrusel::-webkit-scrollbar { display: none; }
.tl.tl-mini { flex: 0 0 76%; scroll-snap-align: start; }
.tl-mini .tl-img { height: 104px; }
.tl-mini .tl-plato { width: 78px; }
/* categorías: la elegida se marca con el color de la marca */
.cat.on > span { border-color: var(--c); box-shadow: 0 0 0 3px #ece4ff; }
/* esqueletos de carga */
.esq-fila { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.esq-fila > div { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.esq-fila i, .esq-fila span { display: block; border-radius: 8px; background: linear-gradient(90deg, #eee9f6 0%, #f8f5fc 50%, #eee9f6 100%); background-size: 200% 100%; animation: brillo 1.2s linear infinite; }
.esq-fila i { height: 14px; width: 70%; }
.esq-fila i.c { width: 30%; }
.esq-fila span { width: 96px; height: 96px; border-radius: 18px; flex: 0 0 auto; }
@keyframes brillo { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .esq-fila i, .esq-fila span { animation: none; } .tl { transition: none; } }
/* hojas: tirador arriba, como en iOS y Android */
.hoja::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(36, 16, 58, .18); z-index: 3; }
/* seguimiento: cabecera compacta con «Llega en» */
.seg-hero { height: auto; min-height: 176px; padding: calc(70px + env(safe-area-inset-top)) 20px 44px; background: linear-gradient(160deg, #6b2fd6 0%, #5b21b6 100%); color: #fff; align-items: flex-end; justify-content: flex-start; }
.seg-hero.fin { background: #ece4ff; justify-content: center; }
.seg-hero .circ.izq { position: absolute; top: calc(14px + env(safe-area-inset-top)); left: 16px; }
.eta { width: 100%; }
.eta small { display: block; font-size: 15px; opacity: .85; }
.eta b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #d4f56b; }
.eta-pista { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); margin: 26px 34px 4px 0; }
.eta-pista > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #d4f56b; transition: width .6s ease; }
.eta-moto { position: absolute; top: -34px; margin-left: -22px; transition: left .6s ease; }
.eta-casa { position: absolute; right: -34px; top: -13px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #5b21b6; display: flex; align-items: center; justify-content: center; }
.seg-cuerpo { margin-top: -22px; }
.carrusel .tl { margin: 0; }
.lhero { height: 168px; }
.lhero-plato { width: 120px; }
.seg-hero .circ { color: #241337; }
.carrusel { scroll-padding-inline: 16px; }
.carrusel .tl { scroll-snap-align: start; }
/* Patrocinado: a la vista, en castellano y del mismo tamaño que el texto (circular SERNAC publicidad nativa) */
.pat { display: inline-block; font-size: 13px; font-weight: 600; line-height: 1; color: #5b21b6; background: #efe7ff; border: 1px solid #d9c8ff; border-radius: 6px; padding: 3px 6px; margin: 0 0 4px; }
.af-local .pat { margin: 0 0 0 6px; vertical-align: middle; }

/* ---------- 20.0.21: pedido en curso en el inicio y seguimiento sin quedar pegado ---------- */
.en-curso { display: block; margin: 14px 16px 4px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 2px solid var(--c);
    box-shadow: 0 1px 2px rgba(36, 16, 58, .06), 0 6px 18px rgba(36, 16, 58, .06); }
.en-curso .ec-top { display: flex; justify-content: space-between; align-items: center; color: var(--mu); font-size: 14px; }
.en-curso b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; line-height: 1.15; }
.en-curso .barra { margin-top: 12px; }
.en-curso span { display: block; margin-top: 10px; font-size: 15px; color: var(--tx); font-weight: 600; }
.en-curso:active { transform: scale(.99); }
.seg-cuerpo .caja-info { margin-top: 12px; }
/* ---------- 20.0.21: seguimiento ---------- */
.ayuda-top { position: absolute; top: calc(18px + env(safe-area-inset-top)); right: 16px; z-index: 3; background: rgba(255, 255, 255, .95); color: var(--tx);
    font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.seg-cuerpo .rango { color: var(--mu); }
.seg-cuerpo .rango b { color: var(--tx); font-size: 18px; }
.hitos { display: flex; align-items: center; margin: 18px 0 6px; }
.hitos .hito { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    background: var(--fondo); color: var(--mu); border: 1px solid var(--linea); }
.hitos .hito.hecho { background: #ece4ff; color: var(--c); border-color: transparent; }
.hitos .hito.ahora { background: var(--c); color: #fff; border-color: transparent; box-shadow: 0 0 0 5px rgba(107, 47, 214, .15); }
.hitos .tramo { flex: 1; height: 4px; border-radius: 2px; background: var(--linea); margin: 0 6px; }
.hitos .tramo.on { background: var(--c); }
.rep { align-items: center; }
.rep-acc { margin-left: auto; display: flex; gap: 8px; }
.rep-tel { width: 44px; padding: 0; justify-content: center; }
.rep-prop { margin-top: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--fondo); color: var(--tx); font-weight: 700; font-size: 15px; }
.rep-prop b { color: var(--c); font-size: 18px; margin-left: 4px; }
.entrega-op { margin-top: 16px; }
.entrega-op > b { display: block; font-size: 16px; margin-bottom: 8px; }
.entrega-op .modos { display: flex; flex-direction: column; gap: 8px; }
.entrega-op .modos button { text-align: left; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--linea); background: #fff; font-size: 15px; font-weight: 600; color: var(--tx); }
.entrega-op .modos button.on { border-color: var(--c); background: #f4efff; color: var(--c); }
.resumen-ped { margin-top: 18px; border-top: 1px solid var(--linea); padding-top: 6px; }
.res-cab { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 56px; text-align: left; }
.res-cab small { display: block; color: var(--mu); font-size: 13px; }
.res-cab b { font-size: 17px; }
.res-cab[aria-expanded="true"] svg { transform: rotate(180deg); }
.res-lin { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.res-lin img, .res-lin .res-dib { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--fondo); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.res-lin .res-dib svg { width: 44px; height: 44px; }
.res-lin > div { flex: 1; min-width: 0; }
.res-lin b { display: block; font-size: 15px; }
.res-lin small { color: var(--mu); font-size: 13px; }
.res-lin > span { font-weight: 700; white-space: nowrap; }
.res-desglose { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.res-desglose > div { display: flex; justify-content: space-between; }
.res-desglose s { color: var(--mu); margin-right: 4px; }
.res-desglose .fuerte { font-weight: 800; font-size: 17px; margin-top: 4px; }
.res-desglose .beneficio span:last-child { color: #1a7f4b; }
.res-pago { display: flex; gap: 10px; align-items: center; margin: 12px 0; font-weight: 600; }
.res-dir { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0; }
.res-dir small { display: block; color: var(--mu); font-size: 13px; }
.dir-lista { display: flex; flex-direction: column; margin: 10px 0; max-height: 46vh; overflow: auto; }
.dir-op { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--linea); min-height: 56px; }
.dir-op small { display: block; color: var(--mu); }
.hoja-dir-sg input { width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--linea); padding: 0 14px; font: inherit; font-size: 16px; }
.pin-local span { background: var(--tx); color: #fff; }
/* llamada */
.llamada { position: fixed; inset: 0; z-index: 60; background: linear-gradient(160deg, #24103a, #3b1d66); color: #fff; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.llamada .ll-ini { width: 112px; height: 112px; border-radius: 50%; background: #6b2fd6; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; }
.llamada b { font-size: 26px; margin-top: 10px; }
.llamada small { font-size: 16px; color: #d9cfe8; }
.llamada .ll-priv { font-size: 13px; max-width: 260px; }
.ll-bot { display: flex; gap: 48px; margin-top: 48px; }
.ll-bot button { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.ll-si { background: #1fa463; }
.ll-no { background: #e5484d; }
.llamada[hidden] { display: none; }
.rep-acc { flex-direction: row; align-items: center; }
.rep-acc .rep-chat { margin: 0; }
.res-dir .link, .entrega-op .link { color: var(--c); font-weight: 700; min-height: 44px; padding: 0 4px; }
.rep .rep-acc { display: flex; flex-direction: row; gap: 8px; margin-left: auto; flex: 0 0 auto; }
/* ---------- 20.0.23: inicio y tiendas ---------- */
.tl-img { position: relative; }
.tl-fav { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92);
    display: flex; align-items: center; justify-content: center; color: var(--mu); cursor: pointer; }
.tl-fav.on { color: #e5484d; }
.tl-fav.on svg path { fill: #e5484d; }
.tl-nota { display: inline-flex; align-items: center; gap: 3px; font-size: 14px; font-weight: 700; color: var(--tx); margin-left: 8px; }
.tl-nota svg { color: #f5a524; fill: #f5a524; }
.tl-pie b { display: inline; }
.tl-oferta { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: #eef3ff;
    color: #2747c9; font-size: 13px; font-weight: 700; }
.envio-gratis { color: #1a7f4b; font-weight: 700; }
.sec-cab { display: flex; align-items: baseline; justify-content: space-between; padding-right: 16px; }
.sec-cab .link { color: var(--c); font-weight: 700; }
.rapido { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #1a7f4b; }
.banners { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 14px 16px 0; border-radius: 22px; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 100%; scroll-snap-align: start; min-height: 170px; border-radius: 22px; position: relative; overflow: hidden; color: #fff;
    display: flex; align-items: flex-end; padding: 18px; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .b-txt { position: relative; display: flex; flex-direction: column; gap: 4px; max-width: 80%; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.banner b { font-size: 26px; line-height: 1.05; letter-spacing: -.02em; }
.banner small { font-size: 14px; opacity: .9; }
.banner .pat { font-style: normal; align-self: flex-start; background: rgba(255, 255, 255, .9); color: var(--tx); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.puntos { display: flex; justify-content: center; gap: 6px; margin: 10px 0 4px; }
.puntos i { width: 7px; height: 7px; border-radius: 50%; background: var(--linea); }
.puntos i.on { background: var(--tx); }
.favs { display: flex; gap: 14px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; }
.fav-c { flex: 0 0 auto; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.fav-c img, .fav-c span { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 1px solid var(--linea); background: #fff;
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; }
.fav-c small { font-size: 12px; line-height: 1.2; color: var(--tx); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fav-c.cerrado { opacity: .55; }
.arriba { position: fixed; top: calc(14px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 15; background: var(--tx); color: #fff;
    border-radius: 999px; min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; box-shadow: 0 6px 18px rgba(36, 16, 58, .25); }
.arriba[hidden] { display: none; }
.lchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.chip-gris { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--fondo); border: 1px solid var(--linea); font-size: 13px; font-weight: 600; }
.lcajas { display: flex; margin: 14px 0 6px; border: 1px solid var(--linea); border-radius: 16px; overflow: hidden; }
.lcajas > div { flex: 1; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.lcajas > div + div { border-left: 1px solid var(--linea); }
.lcajas small { color: var(--mu); font-size: 12px; }
.lcajas b { font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.lcajas svg { color: #f5a524; fill: #f5a524; }
.buscar-local { position: static; margin: 8px 0 12px; }
.vuelve { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--fondo); margin-bottom: 12px; }
.vuelve > div { flex: 1; min-width: 0; }
.vuelve small { display: block; color: var(--mu); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-chico { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; }
.plato s.antes { color: var(--mu); font-weight: 400; font-size: 13px; }
.plato .pct, .dcto i { font-style: normal; background: var(--sol); color: var(--tx); font-weight: 800; font-size: 12px; padding: 1px 6px; border-radius: 6px; }
.prods { gap: 12px; }
.prod { flex: 0 0 150px; display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--sombra); }
.prod-img { height: 110px; border-radius: 12px; background: var(--fondo); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prod-img img, .prod-img svg { max-width: 100%; max-height: 100%; }
.prod b { font-size: 17px; }
.dcto { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--mu); }
.prod small { font-size: 14px; line-height: 1.25; }
.prod-local { font-size: 12px; color: var(--mu); }
/* 20.0.24: pedidos guardados para cuando abra */
.prog-nota{display:flex;gap:8px;align-items:flex-start;margin:0 0 10px;font-size:13px;line-height:1.35;color:#5b4a6e}
.prog-nota svg{flex:none;margin-top:1px}
.guardado{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #eee}
.guardado b{display:block}.guardado small{display:block;color:#6d6478;font-size:13px;margin-top:2px}
.guardado .g-acc{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}
/* 20.0.24: Tiendas */
.cats-cab{display:flex;justify-content:space-between;align-items:baseline;padding-right:16px}
.cats-cab .tit{margin-bottom:4px}
.t-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.t-celda{position:relative;display:block;min-height:112px;border-radius:16px;padding:14px;color:#24103a;text-decoration:none;overflow:hidden}
.t-celda b{display:block;font-size:15px;max-width:70%}
.t-celda small{display:block;font-size:12px;color:#5b4a6e;margin-top:4px}
.t-celda .t-dib{position:absolute;right:-6px;bottom:-8px;width:76px;height:76px}
.t-celda .t-dib svg{width:100%;height:100%}
.chips-sub{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.chips-sub button{flex:none;border:1px solid #ddd3ea;background:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-size:13px;color:#24103a}
.chips-sub button.on{background:#24103a;border-color:#24103a;color:#fff}
.p-unidad{color:#7a7085;font-size:12px}
/* 20.0.25: menú de servicios del inicio */
.srv{padding:14px 16px 0}
.srv-grandes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.srv-g{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:150px;border-radius:20px;padding:14px;color:#24103a;text-decoration:none;overflow:hidden;box-shadow:0 6px 18px rgba(36,16,58,.06)}
.srv-comida{background:linear-gradient(160deg,#efe6ff 0%,#e2d3ff 100%)}
.srv-mercado{background:linear-gradient(160deg,#f2fbd7 0%,#e2f5b0 100%)}
.srv-g .srv-dib{position:absolute;top:6px;right:6px;width:96px;height:96px}
.srv-g .srv-dib svg{width:100%;height:100%}
.srv-g b{font-size:17px;font-weight:800;letter-spacing:-.01em;position:relative}
.srv-g small{font-size:12px;color:#5b4a6e;margin-top:2px;position:relative}
.srv-fila{display:flex;gap:10px;overflow-x:auto;margin:12px -16px 0;padding:2px 16px 4px;scrollbar-width:none}
.srv-fila::-webkit-scrollbar{display:none}
.srv-c{flex:none;width:76px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#24103a;text-decoration:none;text-align:center;line-height:1.2}
.srv-c>span{position:relative;width:72px;height:72px;border-radius:20px;display:flex;align-items:center;justify-content:center;padding:8px}
.srv-c>span svg{width:100%;height:100%}
.srv-oferta{background:#6b2fd6;color:#d4f56b}
.srv-oferta svg,.srv-guard svg{width:30px!important;height:30px!important}
.srv-guard{background:#24103a;color:#fff}
.srv-guard i{position:absolute;top:6px;right:6px;min-width:18px;height:18px;border-radius:9px;background:#d4f56b;color:#24103a;font-size:11px;font-style:normal;font-weight:800;display:flex;align-items:center;justify-content:center}
.srv-pro{display:flex;align-items:center;gap:10px;margin-top:14px;padding:12px 14px;border-radius:16px;background:#24103a;color:#fff;text-decoration:none}
.srv-pro>svg:first-child{color:#d4f56b;flex:none}
.srv-pro span{flex:1}.srv-pro b{display:block;font-size:14px}.srv-pro small{display:block;font-size:12px;color:#cbbfe0}
.srv .tit{padding-left:0}
.srv-cerca{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 8px;margin-top:4px}
.srv-cerca a{display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:#24103a}
.srv-cerca img,.srv-ini{width:72px;height:72px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 4px 12px rgba(36,16,58,.08)}
.srv-ini{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:20px}
.srv-cerca b{font-size:13px;margin-top:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srv-cerca small{font-size:12px;color:#6d6478}
.srv-cerca a.cerrado img,.srv-cerca a.cerrado .srv-ini{filter:grayscale(1);opacity:.55}
.rapidos{padding:0 16px 10px}
.srv h2.tit{margin:22px 0 10px}
.srv-g .srv-dib{width:84px;height:84px}
/* 20.0.26: línea común — Inter en títulos y barra de navegación flotante tipo píldora */
h1, h2, h3, .tit { letter-spacing: -0.02em; }
.nav { bottom: calc(12px + env(safe-area-inset-bottom)); width: calc(100% - 32px); max-width: 488px; height: 64px; padding: 0 8px;
  border: 0; border-radius: 32px; background: #24103a; box-shadow: 0 10px 30px rgba(36,16,58,.28); justify-content: space-between; }
.nav a { flex-direction: row; gap: 8px; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 24px; color: #b9aed0; justify-content: center; }
.nav a span { display: none; font-size: 14px; font-weight: 700; }
.nav a.on { background: #d4f56b; color: #24103a; }
.nav a.on span { display: inline; }
.nav .punto { top: 8px; right: 8px; background: #d4f56b; border: 2px solid #24103a; }
.nav a.on .punto { background: #6b2fd6; border-color: #d4f56b; }
/* 20.0.27: forma de pago visible en el último paso, con «Cambiar» y crédito Deli */
.tit-pago { font-size: 17px; font-weight: 800; margin: 18px 0 8px; }
.pago-elegido { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; border-radius: 14px; background: #f5f2fb; font: inherit; color: var(--tx); text-align: left; }
.pago-elegido > svg { color: var(--c); flex: none; }
.pago-elegido span { flex: 1; } .pago-elegido b { display: block; font-size: 15px; } .pago-elegido small { display: block; font-size: 12px; color: #6d6478; }
.pago-elegido em { font-style: normal; font-weight: 700; color: var(--c); font-size: 14px; }
.pago-credito { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 8px; padding: 14px; border: 0; border-radius: 14px; background: #f5f2fb; font: inherit; color: var(--tx); text-align: left; }
.pago-credito span { flex: 1; } .pago-credito b { display: block; font-size: 15px; } .pago-credito small { display: block; font-size: 12px; color: #6d6478; }
.pago-credito.on { background: #eef9d0; }
.interruptor { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #d6d0e2; flex: none; transition: background .15s; }
.interruptor::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .15s; }
.interruptor.on { background: #6b2fd6; } .interruptor.on::after { left: 21px; }
.hoja-pago .hp-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
/* 20.0.27: repartidor de prueba (QA): chat y llamada simulados */
.rep .rep-acc { display: flex; gap: 8px; margin-left: auto; }
.rep .rep-acc .btn-chico { display: inline-flex; align-items: center; gap: 6px; }
.hoja-demo .chat-msgs { display: flex; flex-direction: column; gap: 8px; min-height: 160px; margin: 8px 0 12px; }
.hoja-demo .hp-cab { display: flex; justify-content: space-between; align-items: center; }
.hoja-demo .hp-cab small { font-size: 12px; font-weight: 600; color: #6d6478; }
.llamada-demo { position: fixed; inset: auto 16px 24px 16px; z-index: 30; max-width: 488px; margin: 0 auto; padding: 28px 20px 20px; border-radius: 24px; background: #24103a; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.llamada-demo .rep-ini { width: 72px; height: 72px; border-radius: 50%; background: #d4f56b; color: #24103a; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; }
.llamada-demo b { font-size: 20px; } .llamada-demo small { color: #cbbfe0; }
.llamada-demo .letra { color: #cbbfe0; font-size: 12px; }
.btn-colgar { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 24px; border: 0; border-radius: 999px; background: #e5484d; color: #fff; font: inherit; font-weight: 700; }
.btn-colgar svg { transform: rotate(135deg); }
/* 20.0.27: calificar todos los pedidos y «¿llegó hasta tu puerta?» */
.puerta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.puerta button { padding: 12px 10px; border: 1.5px solid #ddd3ea; border-radius: 14px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--tx); }
.puerta button.on { border-color: #6b2fd6; background: #f1eaff; color: #24103a; }
.btn-calificar { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 14px 0 0; padding: 14px; border: 0; border-radius: 14px; background: #24103a; color: #fff; font: inherit; font-weight: 700; }
.btn-calificar svg { color: #d4f56b; }
.rep:has(.rep-acc) { flex-wrap: wrap; }
.rep .rep-acc { width: 100%; margin-left: 0; }
.rep .rep-acc .btn-chico { flex: 1; justify-content: center; }
.btn-calificar { width: calc(100% - 32px); margin: 14px 16px 0; }

/* 20.0.29 — límites del inicio: nada se sale del ancho de la pantalla */
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.srv-cerca { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.srv-cerca a { min-width: 0; }
.srv-cerca b { display: block; width: 100%; padding: 0 2px; box-sizing: border-box; }
.srv-cerca img { object-fit: contain; padding: 8px; box-sizing: border-box; background: #fff; }
.srv-grandes > * { min-width: 0; }
.srv-g { min-height: 168px; padding-top: 86px; }
.srv-g .srv-dib { top: 4px; right: 4px; width: 78px; height: 78px; }
.srv-g b { line-height: 1.15; }
.srv-g small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srv-cerca b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; overflow-wrap: anywhere; }

/* 20.0.30 — Servicios a domicilio */
.srv-dom { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sombra); }
.srv-dom > span:nth-child(2) { flex: 1; min-width: 0; }
.srv-dom b { display: block; font-size: 16px; font-weight: 800; }
.srv-dom small { display: block; font-size: 13px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srv-dom-ico { width: 48px; height: 48px; border-radius: 14px; background: #f3ecff; display: flex; align-items: center; justify-content: center; flex: none; }
.v-srv { background: #f5f5f7; }
.srv-cab { background: var(--c); color: #fff; padding: calc(16px + env(safe-area-inset-top)) 20px 50px; border-radius: 0 0 28px 28px; }
.srv-cab-fila { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #e6dcff; min-width: 0; }
.srv-cab-fila span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.circ.claro { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.srv-cab h1 { margin: 18px 0 4px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.srv-cab p { margin: 0; font-size: 15px; color: #e6dcff; }
.srv-cuerpo { margin-top: -28px; }
.srv-prueba { display: flex; align-items: center; gap: 8px; margin: 0 16px 12px; padding: 10px 12px; border-radius: 12px; background: #fff6d6; color: #6b4a00; font-size: 13px; font-weight: 600; }
.srv-prueba svg { flex: none; }
.srv-activa { display: flex; align-items: center; gap: 10px; margin: 0 16px 10px; padding: 12px 14px; border-radius: 16px; background: #24103a; color: #fff; }
.srv-activa b { flex: 1; min-width: 0; font-size: 15px; }
.srv-activa small { color: #d4f56b; font-size: 13px; font-weight: 700; }
.srv-mosaicos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
.srv-mosaicos a { border-radius: 20px; padding: 14px; min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.srv-mosaicos b { display: block; font-size: 17px; font-weight: 800; line-height: 1.15; }
.srv-mosaicos small { display: block; font-size: 13px; color: #5b4a6e; margin-top: 2px; }
.srv-pronto { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.srv-pronto span { padding: 9px 14px; border-radius: 20px; background: #fff; font-size: 14px; font-weight: 600; color: #5b4a6e; }
.srv-seguro { display: flex; gap: 12px; align-items: center; margin: 18px 16px 0; padding: 14px 16px; border-radius: 16px; background: #24103a; color: #fff; }
.srv-seguro b { display: block; font-size: 15px; }
.srv-seguro small { font-size: 13px; color: #cbbfe0; }
.srv-seguro svg { flex: none; }
.prest { display: flex; gap: 12px; margin: 0 16px 12px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: var(--sombra); }
.prest-ini { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; color: #24103a; flex: none; }
.prest-ini.chico { width: 46px; height: 46px; font-size: 15px; }
.prest-txt { flex: 1; min-width: 0; }
.prest-nom { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.prest-nom b { font-size: 16px; }
.prest-ok { display: inline-flex; }
.prest-ej, .prest-nuevo { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 10px; background: #f3ecff; color: var(--c); }
.prest-ej { background: #fff6d6; color: #6b4a00; }
.prest-txt > small { display: block; font-size: 13px; color: var(--mu); margin-top: 2px; }
.prest-pie { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.prest-pie b { font-size: 14px; }
.prest-hora { font-size: 13px; font-weight: 700; color: #3f6b00; background: #eefad2; padding: 5px 10px; border-radius: 12px; white-space: nowrap; }
.prest-hora.sin { color: var(--mu); background: #f1eff4; }
.srv-nota { margin: 12px 20px 0; font-size: 13px; line-height: 1.45; color: var(--mu); }
.cab-prest b { display: block; font-size: 18px; font-weight: 800; }
.cab-prest small { font-size: 13px; color: var(--mu); }
.v-reservar .cuerpo, .v-reserva .cuerpo { padding-bottom: 150px; }
.srv-ofertas { display: flex; flex-direction: column; gap: 8px; padding: 0 16px; }
.srv-of { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; background: #fff; border: 2px solid transparent; cursor: pointer; }
.srv-of.on { border-color: var(--c); }
.srv-of input { width: 20px; height: 20px; accent-color: var(--c); margin: 0; flex: none; }
.srv-of > span { flex: 1; min-width: 0; }
.srv-of span b { display: block; font-size: 15px; }
.srv-of small { font-size: 13px; color: var(--mu); }
.srv-dias { display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.srv-dias button { flex: none; width: 62px; border-radius: 14px; padding: 9px 0; background: #fff; font-size: 13px; font-weight: 600; }
.srv-dias button b { display: block; font-size: 18px; font-weight: 800; }
.srv-dias button.on { background: #24103a; color: #fff; }
.srv-dias button:disabled { opacity: .4; }
.srv-horas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 16px 0; }
.srv-horas button { border: 2px solid transparent; border-radius: 12px; padding: 11px 0; background: #fff; font-size: 15px; font-weight: 700; }
.srv-horas button.on { border-color: var(--c); background: #f3ecff; color: var(--c); }
.v-srv .campo { display: flex; flex-direction: column; gap: 6px; margin: 0 16px 10px; font-size: 14px; font-weight: 700; }
.v-srv .campo input, .v-srv .campo textarea { border: 2px solid var(--linea); border-radius: 14px; padding: 12px; font: inherit; font-size: 16px; background: #fff; }
.srv-pie { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; background: #fff; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(36,16,58,.06); z-index: 6; display: flex; flex-direction: column; gap: 8px; }
.srv-pie-fila { display: flex; justify-content: space-between; font-size: 14px; color: var(--mu); }
.srv-pie-fila b { color: var(--tx); font-size: 16px; }
.btn-blanco-grande { width: 100%; min-height: 48px; border-radius: 16px; background: #f1eff4; color: var(--tx); font-size: 15px; font-weight: 700; }
.btn-blanco-grande.rojo { color: #b3261e; background: #fff; border: 2px solid #f1d6d4; }
.srv-auto { text-align: center; font-size: 12px; color: var(--mu); }
.srv-res-cab { margin: 0 0 14px; padding: calc(16px + env(safe-area-inset-top)) 20px 20px; border-radius: 0 0 24px 24px; background: radial-gradient(120% 90% at 100% 0%, #6b2fd6 0%, #24103a 60%); color: #fff; }
.srv-res-cab .etq { margin-top: 14px; color: #d4f56b; }
.srv-res-cab h1 { margin: 8px 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.srv-res-cab p { margin: 0; font-size: 15px; color: #e6dcff; }
.srv-res-acc { display: flex; gap: 10px; margin-top: 14px; }
.srv-res-acc a { flex: 1; height: 46px; border-radius: 23px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.v-srv .tarjeta { margin: 0 16px 12px; padding: 16px; border-radius: 18px; background: #fff; }
.v-srv .tarjeta > b { display: block; font-size: 15px; }
.v-srv .tarjeta > small { display: block; font-size: 13px; color: var(--mu); margin-top: 4px; }
.srv-pasos .paso { display: flex; gap: 12px; position: relative; padding-bottom: 18px; }
.srv-pasos .paso:last-child { padding-bottom: 0; }
.srv-pasos .paso i { width: 22px; height: 22px; border-radius: 50%; background: #e2dde9; flex: none; position: relative; z-index: 1; }
.srv-pasos .paso:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: #e2dde9; }
.srv-pasos .paso.hecho i { background: #2f8a3e; }
.srv-pasos .paso.hecho::after { background: #2f8a3e; }
.srv-pasos .paso.ahora i { background: var(--c); box-shadow: 0 0 0 5px #ece3ff; }
.srv-pasos .paso b { display: block; font-size: 15px; }
.srv-pasos .paso small { font-size: 13px; color: var(--mu); }
.srv-pasos .paso:not(.hecho):not(.ahora) b { color: var(--mu); }
.srv-codigo { display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.4; }
.srv-codigo b { font-size: 17px; letter-spacing: .08em; }
.srv-codigo svg { flex: none; }
.srv-cal .estrellas { display: flex; justify-content: center; gap: 4px; margin: 10px 0; }
.srv-cal .estrellas button { width: 48px; height: 48px; color: #ddd6e6; display: flex; align-items: center; justify-content: center; }
.srv-cal .estrellas button.on { color: #f2a516; }
.srv-cal .estrellas button.on svg { fill: currentColor; }
.srv-cal .chips-sub { flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.srv-propinas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0 8px; }
.srv-propinas button { border: 2px solid transparent; border-radius: 12px; padding: 10px 0; background: #f5f5f7; font-size: 14px; font-weight: 700; }
.srv-propinas button.on { border-color: var(--c); background: #f3ecff; color: var(--c); }
.srv-cal small { font-size: 13px; color: var(--mu); }
.srv-ped { display: flex; gap: 12px; align-items: center; margin: 0 0 10px; }
.srv-ped b { display: block; }
.srv-ped small { display: block; font-size: 13px; color: var(--mu); }
.srv-prest-cab { display: flex; justify-content: space-between; align-items: center; padding: calc(16px + env(safe-area-inset-top)) 16px 10px; }
.srv-prest-cab small { font-size: 13px; color: var(--mu); }
.srv-prest-cab b { display: block; font-size: 22px; font-weight: 800; }
.srv-disp { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #2f8a3e; }
.srv-disp input { width: 24px; height: 24px; accent-color: #2f8a3e; margin: 0; }
.srv-sol { margin: 0 16px 12px; padding: 18px; border-radius: 22px; background: radial-gradient(120% 90% at 100% 0%, #6b2fd6 0%, #24103a 60%); color: #fff; }
.srv-sol .etq { background: none; padding: 0; color: #d4f56b; font-size: 13px; }
.srv-sol > b { display: block; font-size: 19px; margin-top: 6px; }
.srv-sol > small { display: block; font-size: 14px; color: #e6dcff; margin: 2px 0 8px; }
.srv-sol-acc { display: flex; gap: 10px; margin-top: 12px; }
.srv-sol-acc button { flex: 1; height: 48px; border-radius: 24px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 15px; }
.srv-sol-acc button.lima { flex: 1.4; background: #d4f56b; color: #24103a; font-weight: 800; }
.srv-ag { margin: 0 16px 10px; padding: 14px; border-radius: 16px; background: #fff; }
.srv-ag-top { display: flex; gap: 12px; align-items: flex-start; }
.srv-ag-cod { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; }
.srv-ag-h { font-size: 16px; width: 52px; flex: none; }
.srv-ag-t { flex: 1; min-width: 0; }
.srv-ag-t b { display: block; font-size: 15px; }
.srv-ag-t small { display: block; font-size: 13px; color: var(--mu); }
.srv-ag-cod input { width: 100%; border: 2px solid var(--linea); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 20px; letter-spacing: .3em; text-align: center; }
.srv-ag-b { width: 100%; min-height: 48px; margin-top: 12px; border-radius: 24px; background: var(--c); color: #fff; font-size: 15px; font-weight: 800; }
.srv-ag-tel { width: 44px; height: 44px; border-radius: 22px; background: #f3ecff; color: var(--c); display: flex; align-items: center; justify-content: center; flex: none; }
.srv-num { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 16px 0; }
.srv-num div { background: #fff; border-radius: 16px; padding: 12px; min-width: 0; }
.srv-num small { display: block; font-size: 12px; color: var(--mu); }
.srv-num b { display: block; font-size: 18px; margin-top: 4px; }
.srv-codigo b { white-space: nowrap; }
.srv-ag-c { width: 100%; min-height: 44px; margin-top: 8px; border-radius: 22px; background: #fff; border: 2px solid #f1d6d4; color: #b3261e; font-size: 14px; font-weight: 700; }
