/* =========================================================
   CARNICERÍA PREMIUM · APP DEL CLIENTE
   ========================================================= */
.app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--fondo); padding-bottom: 110px; position: relative; }

/* cabecera */
.cabecera {
  background: radial-gradient(120% 140% at 100% 0%, #FF8A3D 0%, var(--naranja) 45%, var(--naranja-2) 100%);
  color: #fff; border-radius: 0 0 30px 30px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 22px max(18px, env(safe-area-inset-left, 0px));
  position: relative; overflow: hidden;
}
.cabecera::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cab-fila { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.logo { width: 48px; height: 48px; flex: none; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 14px rgba(120,30,0,.25); background: #fff; }
.logo svg, .logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.marca { flex: 1; min-width: 0; }
.marca h1 { font-size: 20px; font-weight: 700; }
.marca p { margin: 0; font-size: 12.5px; opacity: .9; }
.cab-acciones { display: flex; gap: 8px; }
.cab-acciones .icono-btn { background: rgba(255,255,255,.18); color: #fff; box-shadow: none; position: relative; }
.burbuja { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; border-radius: 99px; background: var(--rojo); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.saludo { position: relative; z-index: 1; margin-top: 18px; }
.saludo h2 { font-size: 25px; font-weight: 700; }
.saludo p { margin: 4px 0 0; opacity: .92; font-size: 14px; }
.cintas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; position: relative; z-index: 1; }
.cinta { background: rgba(255,255,255,.2); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 600; }
.cinta.blanca { background: #fff; color: var(--rojo); }

/* pestañas */
.pestanas {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--fondo);
  padding: 14px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  display: flex; gap: 8px;
}
.pestana { flex: 1; border: 0; border-radius: 999px; padding: 10px; font-weight: 600; background: #fff; color: var(--tinta-2); box-shadow: var(--sombra); transition: all .25s; }
.pestana.on { background: var(--tinta); color: #fff; }

.contenido { padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.titulo-sec { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 12px; }
.titulo-sec h3 { font-size: 18px; font-weight: 700; }
.titulo-sec span { font-size: 12.5px; color: var(--tinta-3); }

/* tarjetas de carne */
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prod {
  background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden;
  text-align: left; border: 0; padding: 0; display: flex; flex-direction: column;
  transition: transform .2s cubic-bezier(.3,1.5,.6,1), box-shadow .2s;
  animation: entrar .4s both;
}
.prod:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(120,50,10,.14); }
.prod:active { transform: scale(.97); }
@keyframes entrar { from { opacity: 0; transform: translateY(14px); } }
.prod-foto { position: relative; aspect-ratio: 4/3; display: grid; place-items: center; font-size: 58px; background: linear-gradient(160deg, #FFEDE3, #FFD9C6); }
.prod-foto img { width: 100%; height: 100%; object-fit: cover; }
.prod-foto.complemento { background: linear-gradient(160deg, #FFF6DD, #FFE7B3); }
.prod-foto .animal { position: absolute; top: 8px; left: 8px; font-size: 15px; background: #fff; border-radius: 99px; width: 28px; height: 28px; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.prod-info { padding: 10px 12px 12px; display: grid; gap: 2px; }
.prod-info b { font-size: 15px; font-weight: 600; line-height: 1.2; }
.prod-info small { color: var(--tinta-3); font-size: 12px; line-height: 1.3; }
.prod-precio { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.prod-precio strong { font-size: 16px; color: var(--naranja-2); }
.prod-precio strong em { font-style: normal; font-size: 12px; color: var(--tinta-3); font-weight: 500; }
.mas { width: 34px; height: 34px; border-radius: 50%; background: var(--naranja); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 500; line-height: 1; box-shadow: 0 4px 10px rgba(255,106,19,.4); transition: transform .2s cubic-bezier(.3,1.7,.5,1); }
.prod:hover .mas { transform: rotate(90deg) scale(1.08); }
.prod.agotado { filter: grayscale(1); opacity: .6; pointer-events: none; }
.prod.agotado .prod-foto::after, .veg.agotado::after { content: "Agotado"; position: absolute; inset: auto 8px 8px auto; background: var(--rojo); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }

/* verduras */
.buscador { position: relative; margin-bottom: 12px; }
.buscador svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--tinta-3); }
.buscador .input { padding-left: 42px; border-radius: 999px; }
.rejilla-veg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 360px) { .rejilla-veg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.veg { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--sombra); padding: 10px 8px 10px; text-align: center; display: grid; gap: 4px; justify-items: center; animation: entrar .35s both; }
.veg-img { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(160deg, #EEF8EA, #D8EFD0); display: grid; place-items: center; font-size: 34px; overflow: hidden; }
.veg-img img { width: 100%; height: 100%; object-fit: cover; }
.veg b { font-size: 12.5px; font-weight: 600; line-height: 1.2; min-height: 30px; display: grid; place-items: center; }
.veg small { color: var(--naranja-2); font-weight: 600; font-size: 12px; }
.veg.agotado { opacity: .55; filter: grayscale(1); }
.contador { display: flex; align-items: center; gap: 4px; background: var(--naranja-suave); border-radius: 999px; padding: 3px; }
.contador button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #fff; color: var(--naranja-2); font-size: 17px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 2px 5px rgba(0,0,0,.06); transition: transform .15s; }
.contador button:active { transform: scale(.85); }
.contador span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.agregar-mini { border: 0; background: var(--naranja); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 12.5px; transition: transform .15s; }
.agregar-mini:active { transform: scale(.9); }
.vacio { text-align: center; color: var(--tinta-3); padding: 20px; grid-column: 1 / -1; }

/* barra de carrito */
.barra-carrito {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; pointer-events: none;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.barra-carrito .btn { pointer-events: auto; width: 100%; max-width: 488px; margin: 0 auto; display: flex; justify-content: space-between; padding: 12px 14px 12px 12px; border-radius: 22px; background: var(--tinta); box-shadow: 0 12px 30px rgba(43,26,16,.35); }
.barra-carrito .cuenta { background: var(--naranja); border-radius: 14px; width: 40px; height: 40px; display: grid; place-items: center; font-weight: 700; }
.barra-carrito .btn.brinca { animation: brinca .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes brinca { 40% { transform: scale(1.06) translateY(-6px); } }
.barra-carrito .mitad { display: flex; align-items: center; gap: 12px; }

/* hoja de producto */
.hp-foto { margin: 0 -20px; height: 170px; display: grid; place-items: center; font-size: 92px; background: linear-gradient(160deg, #FFEDE3, #FFD3BE); border-radius: 0; position: relative; overflow: hidden; }
.hp-foto img { width: 100%; height: 100%; object-fit: cover; }
.hp-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 16px 0 12px; }
.hp-cab h3 { font-size: 22px; }
.hp-cab p { margin: 2px 0 0; color: var(--tinta-3); font-size: 13px; }
.hp-cab .precio { font-size: 20px; font-weight: 700; color: var(--naranja-2); white-space: nowrap; }
.hp-cab .precio small { font-size: 12px; color: var(--tinta-3); font-weight: 500; }
.segmento { display: grid; grid-template-columns: 1fr 1fr; background: #F6EEE8; border-radius: 999px; padding: 4px; margin-bottom: 14px; position: relative; }
.segmento button { border: 0; background: transparent; padding: 9px; border-radius: 999px; font-weight: 600; color: var(--tinta-2); position: relative; z-index: 1; transition: color .25s; }
.segmento button.on { color: #fff; }
.segmento .deslizador { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--naranja); transition: transform .3s cubic-bezier(.3,1.3,.5,1); box-shadow: 0 4px 10px rgba(255,106,19,.35); }
.segmento.der .deslizador { transform: translateX(100%); }
.paso-kg { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 4px 0 10px; }
.paso-kg button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--naranja-suave); color: var(--naranja-2); font-size: 28px; font-weight: 600; transition: transform .15s; }
.paso-kg button:active { transform: scale(.85); }
.paso-kg output { font-size: 34px; font-weight: 700; min-width: 140px; text-align: center; }
.monto-caja { display: flex; align-items: center; gap: 6px; border: 2px solid var(--naranja-borde); border-radius: 18px; padding: 6px 16px; background: #fff; }
.monto-caja:focus-within { border-color: var(--naranja); }
.monto-caja span { font-size: 28px; font-weight: 700; color: var(--naranja-2); }
.monto-caja input { border: 0; outline: 0; font-size: 30px; font-weight: 700; width: 100%; min-width: 0; padding: 4px 0; background: transparent; }
.equivale { text-align: center; color: var(--tinta-2); font-size: 14px; margin: 8px 0 4px; }
.equivale b { color: var(--tinta); }
.hp-nota { margin-top: 14px; }
.hp-pie { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom, 0px)); background: #fff; padding: 14px 0 4px; margin-top: 10px; }

/* carrito */
.linea { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linea); animation: entrar .3s both; }
.linea-img { width: 48px; height: 48px; border-radius: 14px; background: var(--naranja-suave); display: grid; place-items: center; font-size: 26px; overflow: hidden; }
.linea-img img { width: 100%; height: 100%; object-fit: cover; }
.linea b { font-size: 14.5px; font-weight: 600; display: block; }
.linea small { color: var(--tinta-3); font-size: 12.5px; display: block; }
.linea .nota { color: var(--naranja-2); font-style: italic; }
.linea-der { display: grid; justify-items: end; gap: 6px; }
.linea-der strong { font-size: 15px; }
.mini-acc { display: flex; gap: 4px; }
.mini-acc button { width: 30px; height: 30px; border-radius: 10px; border: 0; background: #F6EEE8; color: var(--tinta-2); display: grid; place-items: center; transition: transform .15s; }
.mini-acc button:active { transform: scale(.85); }
.mini-acc button svg { width: 15px; height: 15px; }
.mini-acc button.borrar { color: var(--rojo); background: var(--rojo-suave); }
.totales { display: grid; gap: 6px; padding: 14px 0; }
.totales div { display: flex; justify-content: space-between; color: var(--tinta-2); }
.totales .grande { color: var(--tinta); font-size: 19px; font-weight: 700; }
.gratis { color: var(--verde); font-weight: 600; }

/* pantallas internas */
.pantalla { animation: deslizar .35s cubic-bezier(.2,1,.4,1); }
@keyframes deslizar { from { transform: translateX(30px); opacity: 0; } }
.barra-sup { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--fondo); display: flex; align-items: center; gap: 12px; padding: 14px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.barra-sup h2 { font-size: 19px; font-weight: 700; flex: 1; }
.bloque { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); padding: 18px; margin-bottom: 14px; display: grid; gap: 14px; }
.bloque h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.bloque h3 .n { width: 24px; height: 24px; border-radius: 50%; background: var(--naranja); color: #fff; font-size: 13px; display: grid; place-items: center; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .dos { grid-template-columns: 1fr; } }
.gps-btn { display: flex; align-items: center; gap: 10px; border: 1.5px dashed var(--naranja); background: var(--naranja-suave); color: var(--naranja-2); border-radius: 14px; padding: 12px 14px; font-weight: 600; width: 100%; transition: transform .15s; }
.gps-btn:active { transform: scale(.98); }
.gps-btn svg { width: 22px; height: 22px; flex: none; }
.gps-btn.ok { border-style: solid; border-color: var(--verde); background: var(--verde-suave); color: var(--verde); }
.gps-btn .girando { animation: girar 1s linear infinite; }
.opciones-pago { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.op-pago { border: 2px solid var(--linea); background: #fff; border-radius: 18px; padding: 14px 12px; text-align: left; display: grid; gap: 4px; transition: all .2s; position: relative; }
.op-pago .ic { font-size: 26px; }
.op-pago b { font-size: 15px; }
.op-pago small { color: var(--tinta-3); font-size: 12px; }
.op-pago.on { border-color: var(--naranja); background: var(--naranja-suave); box-shadow: 0 0 0 4px rgba(255,106,19,.12); }
.op-pago.on::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--naranja); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 700; }
.clabe { background: linear-gradient(135deg, var(--tinta), #4A2E1E); color: #fff; border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.clabe small { opacity: .7; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.clabe .digitos { font-size: 19px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; word-break: break-all; }
.clabe .fila { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.clabe .btn { padding: 8px 14px; font-size: 13px; }
.subir { border: 2px dashed var(--naranja-borde); border-radius: 16px; padding: 16px; display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--tinta-2); cursor: pointer; transition: background .2s; }
.subir:hover { background: var(--naranja-suave); }
.subir svg { width: 28px; height: 28px; color: var(--naranja); }
.subir img { max-height: 180px; border-radius: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tinta-2); }
.check input { width: 20px; height: 20px; accent-color: var(--naranja); }

/* seguimiento */
.seg-hero { background: #fff; border-radius: 26px; box-shadow: var(--sombra); padding: 20px 18px 18px; text-align: center; display: grid; gap: 8px; overflow: hidden; }
.seg-hero .folio { font-size: 12.5px; color: var(--tinta-3); font-weight: 500; }
.seg-hero h2 { font-size: 23px; font-weight: 700; }
.seg-hero p { margin: 0; color: var(--tinta-2); font-size: 14px; }
.escena-caja { min-height: 190px; display: grid; place-items: center; }
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin: 10px 4px 0; }
.pasos::before, .pasos .relleno { content: ""; position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 4px; background: #F1E6DE; }
.pasos .relleno { background: var(--naranja); right: auto; transition: width .8s cubic-bezier(.3,1,.4,1); }
.paso { display: grid; justify-items: center; gap: 6px; position: relative; z-index: 1; font-size: 11.5px; color: var(--tinta-3); font-weight: 500; }
.paso i { width: 34px; height: 34px; border-radius: 50%; background: #F1E6DE; display: grid; place-items: center; font-style: normal; font-size: 15px; transition: all .4s; }
.paso.hecho i { background: var(--naranja); color: #fff; }
.paso.actual i { background: var(--naranja); color: #fff; box-shadow: 0 0 0 6px rgba(255,106,19,.2); animation: latido 1.4s infinite; }
.paso.hecho, .paso.actual { color: var(--tinta); font-weight: 600; }
@keyframes latido { 50% { box-shadow: 0 0 0 10px rgba(255,106,19,.05); } }
.lista-pedidos { display: grid; gap: 12px; }
.ped-card { background: #fff; border: 0; border-radius: 20px; box-shadow: var(--sombra); padding: 14px 16px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; text-align: left; transition: transform .2s; animation: entrar .3s both; }
.ped-card:active { transform: scale(.98); }
.ped-card b { font-size: 15px; }
.ped-card small { color: var(--tinta-3); }

/* compartir */
.comp-img { border-radius: 18px; overflow: hidden; box-shadow: var(--sombra); margin-bottom: 14px; background: var(--naranja); }
.comp-img img { display: block; width: 100%; }
.comp-texto { background: var(--naranja-suave); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--tinta-2); margin-bottom: 14px; white-space: pre-line; }
.rejilla-veg.quieto .veg { animation: none; }
#panelPago { display: grid; gap: 12px; }
#panelPago:empty { display: none; }
.rejilla.horizontal { grid-template-columns: 1fr; }
.rejilla.horizontal .prod { flex-direction: row; }
.rejilla.horizontal .prod-foto { width: 120px; flex: none; aspect-ratio: auto; font-size: 50px; }
.rejilla.horizontal .prod-info { flex: 1; align-content: center; }
/* estado de la tienda */
.estado-tienda { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 10px 2px 8px; font-weight: 600; font-size: 12px; cursor: pointer; }
.estado-tienda::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7CF2A9; box-shadow: 0 0 0 3px rgba(124,242,169,.35); animation: latido-v 1.6s infinite; }
.estado-tienda.cerrado { background: rgba(43,26,16,.28); }
.estado-tienda.cerrado::before { background: #FFD0CC; box-shadow: none; animation: none; }
@keyframes latido-v { 50% { box-shadow: 0 0 0 6px rgba(124,242,169,0); } }
.barra-carrito .btn.cerrado-barra { background: #5A4033; justify-content: flex-start; }
.barra-carrito .btn.cerrado-barra .cuenta { background: rgba(255,255,255,.15); }
.horario-tabla { display: grid; background: var(--naranja-suave); border-radius: 16px; padding: 6px 14px; text-align: left; }
.horario-tabla div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--naranja-borde); font-size: 14px; }
.horario-tabla div:last-child { border-bottom: 0; }
.horario-tabla span { color: var(--tinta-2); }

/* ---------- promociones ---------- */
.promos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px max(16px, env(safe-area-inset-right, 0px)) 2px max(16px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
.promos::-webkit-scrollbar { display: none; }
.promo-card { flex: 0 0 86%; max-width: 420px; scroll-snap-align: start; border: 0; padding: 0; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 108px minmax(0, 1fr); text-align: left; background: linear-gradient(135deg, #2B1A10, #4A2414); color: #fff; box-shadow: var(--sombra); transition: transform .2s; animation: entrar .4s both; }
.promo-card:active { transform: scale(.97); }
.promo-fondo { background: linear-gradient(160deg, var(--rojo), var(--naranja)); display: grid; place-items: center; min-height: 112px; }
.promo-fondo img { width: 100%; height: 100%; object-fit: cover; }
.promo-emoji { font-size: 50px; }
.promo-txt { padding: 12px 14px; display: grid; gap: 3px; align-content: center; }
.promo-txt b { font-size: 15.5px; line-height: 1.2; }
.promo-txt span { font-size: 13px; color: #FFD9C2; }
.promo-txt s { opacity: .7; }
.promo-txt small { font-size: 11.5px; color: #C9A996; }
.promo-tag { background: var(--naranja); color: #fff; border-radius: 99px; font-size: 10.5px; font-weight: 700; padding: 2px 8px; width: fit-content; text-transform: uppercase; letter-spacing: .06em; }
.promo-txt .promo-tag { color: #fff; }
.promo-badge { position: absolute; top: 8px; right: 8px; background: var(--rojo); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; z-index: 1; }
.promo-badge.grande { top: 14px; right: 14px; font-size: 12px; padding: 5px 12px; }
.precio-promo { display: inline-flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.precio-promo s { color: var(--tinta-3); font-size: 12px; }
.precio-promo strong { color: var(--rojo); font-size: 16px; }
.precio-promo em, .prod-precio strong em { font-style: normal; font-size: 12px; color: var(--tinta-3); font-weight: 500; }
.precio-promo.chico strong, strong.chico { font-size: 13px; }
.veg strong.chico { color: var(--naranja-2); }
.precio-grande .precio-promo strong { font-size: 24px; }

/* ---------- tienda por categorías ---------- */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; border: 1.5px solid var(--naranja-borde); background: #fff; color: var(--tinta-2); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13.5px; transition: all .2s; }
.cat-chip.on { background: var(--naranja); border-color: var(--naranja); color: #fff; box-shadow: 0 4px 10px rgba(255,106,19,.3); }
.cat-titulo { font-size: 15px; font-weight: 700; margin: 14px 2px 10px; }
#tienda.quieto .veg { animation: none; }
.pie-app { text-align: center; color: var(--tinta-3); font-size: 11.5px; margin: 28px 0 8px; }

/* ---------- envío gratis ---------- */
.envio-aviso { background: var(--naranja-suave); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; color: var(--tinta-2); display: grid; gap: 8px; margin: 10px 0; }
.envio-aviso.logrado { background: var(--verde-suave); color: var(--verde); }
.envio-aviso.minimo { background: var(--rojo-suave); color: #8E1E19; }
.envio-barra { height: 8px; border-radius: 9px; background: #fff; overflow: hidden; }
.envio-barra span { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--naranja), var(--rojo)); transition: width .5s cubic-bezier(.3,1,.4,1); }
.sugeridos { display: grid; gap: 8px; padding: 12px 0 2px; }
.sugeridos small { color: var(--tinta-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.sug-fila { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 400px) { .sug-fila { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sug { position: relative; border: 1.5px solid var(--linea); background: #fff; border-radius: 14px; padding: 8px 6px; display: grid; justify-items: center; gap: 2px; font-size: 11.5px; transition: transform .15s; }
.sug:active { transform: scale(.94); }
.sug-img { font-size: 26px; width: 40px; height: 40px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; }
.sug-img img { width: 100%; height: 100%; object-fit: cover; }
.sug b { font-size: 11.5px; line-height: 1.15; text-align: center; }
.sug i { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--naranja); color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 14px; }

/* ---------- ajuste del pedido ---------- */
.ajuste-caja { background: #fff; border: 2px solid var(--naranja); border-radius: 22px; padding: 16px; display: grid; gap: 10px; box-shadow: 0 10px 26px rgba(255,106,19,.18); animation: entrar .4s both; }
.ajuste-cab { display: flex; gap: 12px; align-items: center; }
.ajuste-ic { font-size: 28px; }
.ajuste-cab b { display: block; font-size: 16.5px; }
.ajuste-cab small { color: var(--tinta-3); }
.ajuste-nota { margin: 0; background: var(--naranja-suave); border-radius: 12px; padding: 10px 12px; color: var(--tinta-2); font-size: 14px; }
.ajuste-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ajuste-lista li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: #FAF6F2; }
.ajuste-lista li small { color: var(--tinta-3); }
.ajuste-lista .quitado { background: var(--rojo-suave); color: #8E1E19; }
.ajuste-lista .agregado { background: var(--verde-suave); color: #155E37; }
.ajuste-lista .cambiado { background: var(--azul-suave); color: #164C93; }
.ajuste-total { display: flex; justify-content: space-between; font-size: 15px; }
.ajuste-total s { color: var(--tinta-3); }
.ajuste-saldo { color: var(--tinta-2); }
.ajuste-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ajuste-btns .btn { padding: 13px 10px; font-size: 14.5px; }
.saldo { border-radius: 12px; padding: 8px 12px; font-size: 13.5px; }
.saldo.favor { background: var(--verde-suave); color: #155E37; }
.saldo.cobrar { background: #FFF4CF; color: #6B4A00; }
.veg strong em { font-style: normal; color: var(--tinta-3); font-weight: 500; font-size: 11px; }
.enlace { border: 0; background: none; padding: 0; font: inherit; color: var(--naranja-2); text-decoration: underline; cursor: pointer; }
.privacidad { display: grid; gap: 8px; }
.privacidad h4 { margin: 8px 0 0; font-size: 15px; }
.privacidad p { margin: 0; color: var(--tinta-2); font-size: 14px; line-height: 1.5; }

/* ---- Efectivo: ¿con cuánto pagas? (v1.5.0) ---- */
.paga-con { gap: 10px; }
.chips-billete { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-b { border: 1.5px solid var(--naranja-borde); background: #fff; color: var(--tinta); border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; transition: transform .15s, background .2s, color .2s, border-color .2s; }
.chip-b:active { transform: scale(.93); }
.chip-b.on { background: var(--naranja); border-color: var(--naranja); color: #fff; box-shadow: 0 4px 10px rgba(255,106,19,.3); }
.cambio-linea { font-size: 13.5px; color: var(--tinta-3); min-height: 20px; }
.cambio-linea.ok { color: var(--verde); font-weight: 600; }
.cambio-linea.mal { color: var(--rojo); font-weight: 600; }
