/* =====================================================================
   PQRS — Tienda pública
   Se llega escaneando el QR de un volante, así que todo está pensado
   para un teléfono en la mano, de pie, en la calle: textos grandes,
   botones que se tocan con el pulgar y nada que dependa de pasar el
   cursor por encima.

   Colores de la marca: el cian y el carbón del logo. Cada categoría
   lleva un tono propio para que la vitrina se lea de un vistazo,
   mientras no haya fotos de los productos.
   ===================================================================== */

:root {
  --carbon:      #2E3234;
  --carbon-alto: #3C4245;
  --cian:        #00AEEF;
  --cian-hondo:  #0090C5;
  --cian-suave:  #E3F5FD;
  --fondo:       #F2F4F6;
  --panel:       #FFFFFF;
  --borde:       #DDE2E6;
  --texto:       #23282A;
  --texto-suave: #6B7478;
  --ok:          #1E9E6A;
  --wa:          #25D366;
  --error:       #D24B3E;
  --radio:       14px;
  --sombra:      0 1px 3px rgba(0,0,0,.07), 0 6px 20px rgba(0,0,0,.06);

  /* Tonos por categoría: [fondo de la tarjeta, ícono] */
  --c-fab-f: #E3F5FD;  --c-fab-i: #0090C5;   /* Aseo Fabricados */
  --c-nof-f: #E4F5EC;  --c-nof-i: #1E8A5C;   /* Aseo No Fabricados */
  --c-qui-f: #EEE9FB;  --c-qui-i: #6A4FC8;   /* Químicos */
  --c-env-f: #FDF1DF;  --c-env-i: #B8741A;   /* Envases */
  --c-otr-f: #EEF0F2;  --c-otr-i: #5B6468;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--fondo);
  color: var(--texto);
  line-height: 1.45;
  padding-bottom: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: var(--cian-hondo); }

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

/* ------------------------------------------------------------ Cabecera */

.cabecera {
  background: #fff;
  border-bottom: 1px solid var(--borde);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.logo { height: 40px; width: auto; flex-shrink: 0; }
.cab-texto { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.cab-texto strong { font-size: 16px; }
.cab-texto span { font-size: 12.5px; color: var(--texto-suave); }
.cab-wa {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--wa);
}
.cab-wa svg { width: 24px; height: 24px; fill: #fff; }

/* -------------------------------------------------------------- Portada */

.hero {
  margin: 12px 16px 2px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,174,239,.55), transparent 55%),
    linear-gradient(135deg, var(--carbon) 0%, #23303a 100%);
  box-shadow: var(--sombra);
}
/* Compacta a propósito: en un teléfono, el primer pantallazo tiene que
   alcanzar a mostrar productos. Una portada de pantalla completa hacía
   creer que la tienda era solo un anuncio. */
.hero h1 { font-size: 20px; line-height: 1.2; letter-spacing: -.2px; }
.hero p { font-size: 13.5px; color: rgba(255,255,255,.82); margin: 4px 0 10px; }
.beneficios { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.beneficios li {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.1);
  border-radius: 999px; padding: 5px 10px;
}
.b-ico { font-size: 14px; }

/* ------------------------------------------------------------- Buscador */

.barra-buscar {
  position: sticky; top: 0; z-index: 20;
  background: var(--fondo);
  padding: 12px 16px 8px;
}
.buscar-caja { position: relative; }
.lupa {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; fill: var(--texto-suave); pointer-events: none;
}
.buscar-caja input {
  width: 100%;
  padding: 14px 44px 14px 44px;
  font-size: 16px;               /* menos de 16px hace que iOS haga zoom */
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  outline: none;
}
.buscar-caja input:focus { border-color: var(--cian); box-shadow: 0 0 0 3px rgba(0,174,239,.15); }
.buscar-caja input::-webkit-search-cancel-button { display: none; }

.limpiar {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fondo); color: var(--texto-suave); font-size: 13px;
}

/* ----------------------------------------------------------- Categorías */

.categorias {
  display: flex; gap: 10px;
  padding: 4px 16px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.categorias::-webkit-scrollbar { display: none; }

.cat {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 88px; padding: 9px 5px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radio);
  font-size: 12px; line-height: 1.2; text-align: center;
  color: var(--texto);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.cat .c-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
}
.cat .c-ico svg { width: 26px; height: 26px; }
.cat .c-num { font-size: 11px; color: var(--texto-suave); }
.cat.activa { border-color: var(--carbon); font-weight: 700; }

/* ------------------------------------------------------------- Productos */

.lista { padding: 0 16px 24px; }

.grilla {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 560px) { .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 860px) { .grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.producto {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  transition: transform .12s ease;
}
.producto.recien { animation: latido .35s ease; }
@keyframes latido { 50% { transform: scale(1.03); } }

/* La "foto": un recuadro del color de la categoría con su ícono y la
   presentación grande. Cuando haya fotos reales, va la imagen. */
.p-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
}
.p-visual svg { width: 42%; height: 42%; opacity: .9; }
.p-visual img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.p-tam {
  position: absolute; right: 8px; bottom: 8px;
  background: #fff; color: var(--texto);
  font-size: 12px; font-weight: 800; letter-spacing: .2px;
  padding: 3px 8px; border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.p-en-carrito {
  position: absolute; left: 8px; top: 8px;
  background: var(--carbon); color: #fff;
  font-size: 12px; font-weight: 700;
  min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center;
}

.p-datos { padding: 10px 12px 4px; flex: 1; display: flex; flex-direction: column; }
.p-nombre {
  font-size: 13.5px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-meta { font-size: 12px; color: var(--texto-suave); margin-top: 2px; }
.p-precio { font-size: 17px; font-weight: 800; margin-top: auto; padding-top: 6px; }

.p-accion { padding: 6px 10px 10px; }

.btn-agregar {
  width: 100%; height: 44px; border-radius: 11px;
  background: var(--cian); color: #fff;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-agregar span { font-size: 22px; font-weight: 400; line-height: 1; }
.btn-agregar:active { background: var(--cian-hondo); transform: scale(.97); }

/* Contador cuando ya está en el carrito */
.contador {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; border-radius: 11px;
  background: var(--cian-suave);
}
.contador button {
  width: 44px; height: 44px; border-radius: 11px;
  font-size: 22px; line-height: 1; color: var(--cian-hondo); font-weight: 600;
  display: grid; place-items: center;
}
.contador button:active { background: rgba(0,144,197,.12); }
.contador .cant { min-width: 30px; text-align: center; font-weight: 800; font-size: 16px; }

/* Estados de la lista */
.cargando { text-align: center; padding: 60px 20px; color: var(--texto-suave); }
.giro {
  width: 32px; height: 32px; margin: 0 auto 14px;
  border: 3px solid var(--borde); border-top-color: var(--cian);
  border-radius: 50%; animation: gira .8s linear infinite;
}
@keyframes gira { to { transform: rotate(360deg); } }

.vacio { text-align: center; padding: 48px 20px; color: var(--texto-suave); }
.vacio strong { display: block; color: var(--texto); margin-bottom: 6px; font-size: 16px; }

.grupo-titulo {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 800;
  margin: 22px 2px 10px;
}
.grupo-titulo:first-child { margin-top: 6px; }
.grupo-titulo button { font-size: 13px; font-weight: 600; color: var(--cian-hondo); padding: 6px 0; }
.grupo-titulo small {
  display: block; font-size: 12px; font-weight: 500; color: var(--texto-suave); margin-top: 2px;
}

/* «Lo más vendido»: una fila que gira sola (ver girarCarrusel) y que
   también se desliza con el dedo. Las tarjetas miden exactamente lo de la
   grilla de abajo, así nunca queda una cortada en el borde: con 44 % se
   veían mochas. */
.carrusel {
  display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 0 6px;
  scrollbar-width: none;
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel .producto { flex: 0 0 calc((100% - 10px) / 2); scroll-snap-align: start; }
@media (min-width: 560px) { .carrusel .producto { flex-basis: calc((100% - 20px) / 3); } }
@media (min-width: 860px) { .carrusel .producto { flex-basis: calc((100% - 30px) / 4); } }
.puntos { display: flex; justify-content: center; gap: 6px; margin: 4px 0 2px; }
.puntos span { width: 7px; height: 7px; border-radius: 50%; background: var(--borde); transition: background .2s, width .2s; }
.puntos span.activo { width: 18px; border-radius: 999px; background: var(--cian); }

/* ------------------------------------------------------------------ Pie */

.pie {
  padding: 24px 16px 32px;
  font-size: 12.5px; color: var(--texto-suave);
  border-top: 1px solid var(--borde);
  background: #fff;
}
.pie p { margin-bottom: 8px; }
.pie-mayor { padding-top: 6px; }
.pie-local { line-height: 1.6; color: var(--texto); }

/* ----------------------------------------------- ¿Cómo va tu pedido? */
.hero-consulta {
  display: inline-block; margin-top: 12px;
  font-size: 13.5px; font-weight: 600; color: var(--cian-hondo); text-decoration: none;
}
.consulta-pedido {
  margin: 8px 16px 20px; padding: 16px;
  background: #fff; border-radius: var(--radio);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.consulta-pedido h2 { font-size: 16px; margin-bottom: 10px; }
.cp-fila { display: flex; align-items: center; gap: 8px; }
.cp-prefijo { font-weight: 800; font-size: 16px; }
.cp-fila input {
  flex: 1; min-width: 0; height: 46px; padding: 0 12px;
  border: 1.5px solid var(--borde); border-radius: 11px;
  font-size: 16px; background: var(--fondo);
}
.cp-fila .btn { flex: 0 0 auto; width: auto; padding: 0 18px; height: 46px; }
.cp-resultado { margin-top: 12px; font-size: 14px; color: var(--texto-suave); }
.cp-resultado.mal { color: #B3261E; }
.cp-estado { display: flex; gap: 12px; align-items: flex-start; color: var(--texto); }
.cp-ico { font-size: 28px; line-height: 1; }
.cp-estado strong { display: block; font-size: 15px; }
.cp-estado p { margin: 4px 0; }
.cp-estado small { color: var(--texto-suave); }
.cp-wa { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--cian-hondo); }
.pie-local a { color: var(--cian-hondo); font-weight: 600; }

/* -------------------------------------------------------- Barra carrito */

.barra-carrito {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--fondo) 70%, rgba(242,244,246,0));
}
.bc-envio {
  max-width: 560px; margin: 0 auto 8px;
  background: #fff; border-radius: 12px;
  padding: 8px 12px 10px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.bc-envio.gratis { color: var(--ok); }
.bc-progreso {
  height: 6px; border-radius: 999px; background: var(--fondo);
  margin-top: 6px; overflow: hidden;
}
#bc-progreso-lleno {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--cian), var(--ok));
  transition: width .3s ease;
}
.bc-ver {
  width: 100%; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  background: var(--carbon); color: #fff;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  font-size: 16px; font-weight: 600;
}
.bc-ver:active { background: var(--carbon-alto); }
.bc-ver strong { margin-left: auto; font-size: 17px; }
.bc-burbuja {
  min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 999px; background: var(--cian);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.bc-burbuja.salta { animation: salta .35s ease; }
@keyframes salta { 40% { transform: scale(1.35); } }

/* ------------------------------------------------------------ Hojas */

.hoja {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(20,24,26,.5);
  display: none;
  align-items: flex-end; justify-content: center;
}
.hoja.abierta { display: flex; }

.hoja-caja {
  width: 100%; max-width: 560px;
  max-height: 94vh;
  background: var(--fondo);
  border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column;
  animation: sube .22s ease-out;
}
@keyframes sube { from { transform: translateY(100%); } }

@media (min-width: 600px) {
  .hoja { align-items: center; }
  .hoja-caja { border-radius: 20px; }
  @keyframes sube { from { transform: translateY(24px); opacity: 0; } }
}

.hoja-cabeza {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 16px 18px 10px;
}
.hoja-cabeza h2 { font-size: 20px; }
.hoja-cerrar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--borde); color: var(--texto);
  display: grid; place-items: center; font-size: 15px;
}

/* Indicador de pasos */
.pasos { display: flex; gap: 6px; margin-bottom: 6px; }
.pasos span {
  font-size: 11.5px; font-weight: 700; color: var(--texto-suave);
  background: var(--borde); padding: 3px 9px; border-radius: 999px;
}
.pasos span.activo { background: var(--carbon); color: #fff; }
.pasos span.hecho { background: var(--cian-suave); color: var(--cian-hondo); }

.hoja-cuerpo { padding: 0 18px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.hoja-cuerpo.centrado { text-align: center; padding: 30px 22px 24px; }

.hoja-pie {
  display: flex; gap: 10px;
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--borde);
  background: #fff;
}
.hoja-pie .btn { flex: 1; }
.hoja-pie .btn.primario { flex: 1.6; }

/* Líneas del carrito */
.linea {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border-radius: 12px; padding: 10px; margin-bottom: 8px;
}
.l-ico {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
}
.l-ico svg { width: 26px; height: 26px; }
.l-datos { flex: 1; min-width: 0; }
.l-nombre { font-size: 14px; font-weight: 600; line-height: 1.3; }
.l-unit { font-size: 12.5px; color: var(--texto-suave); margin-top: 2px; }
.l-sub { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.linea .contador { height: 38px; background: var(--fondo); }
.linea .contador button { width: 36px; height: 38px; }

.total-fila {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 4px 6px; font-size: 16px;
}
.total-fila strong { font-size: 24px; }

.envio-nota {
  margin: 4px 0 10px; padding: 10px 12px;
  background: var(--cian-suave); color: var(--cian-hondo);
  border-radius: 10px; font-size: 13.5px; font-weight: 600;
}
.envio-nota.gratis { background: #E4F5EC; color: var(--ok); }
.envio-nota:empty { display: none; }

.nota-legal { font-size: 12px; color: var(--texto-suave); padding: 0 4px; }

/* Opciones (entrega y pago) como tarjetas grandes */
.opciones { display: grid; gap: 10px; margin-bottom: 16px; }
.opcion {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 2px solid var(--borde);
  border-radius: var(--radio);
  padding: 14px;
  cursor: pointer;
}
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion:has(input:checked) { border-color: var(--cian); background: #F4FBFE; }
.opcion.elegida { border-color: var(--cian); background: #F4FBFE; }
.opcion.deshabilitada { opacity: .5; cursor: default; }
.op-ico { font-size: 24px; }
.op-texto { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.op-texto strong { font-size: 15px; }
.op-texto small { font-size: 12.5px; color: var(--texto-suave); }
.op-precio { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.op-precio.gratis { color: var(--ok); }

.grupo-campos {
  background: #fff; border-radius: var(--radio);
  padding: 14px 14px 2px; margin: -4px 0 16px;
}
.subtitulo { font-size: 15px; margin: 6px 0 10px; }

/* Formulario */
.campo { margin-bottom: 14px; }
.campo label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.opcional { font-weight: 400; color: var(--texto-suave); }
.campo input, .campo textarea, .campo select {
  width: 100%; padding: 13px 14px;
  font-size: 16px;
  background: #fff; border: 1px solid var(--borde);
  border-radius: 10px; outline: none; resize: vertical;
}
.grupo-campos .campo input, .grupo-campos .campo select { background: var(--fondo); }
.campo input:focus, .campo textarea:focus, .campo select:focus {
  border-color: var(--cian); box-shadow: 0 0 0 3px rgba(0,174,239,.15);
}
.campo-doble { display: flex; gap: 10px; }
.campo-doble .campo { flex: 1; min-width: 0; }
.campo-doble .campo-corto { flex: 0 0 38%; }
.ayuda-campo { display: block; font-size: 12.5px; color: var(--texto-suave); margin-top: 5px; }

/* Lo que encontró la consulta del documento. */
.consulta-doc {
  border-radius: 10px; padding: 10px 12px; margin: -4px 0 14px;
  font-size: 13.5px; line-height: 1.35;
  background: var(--fondo); color: var(--texto-suave);
}
.consulta-doc.existe { background: #E4F5EC; color: var(--ok); font-weight: 600; }
.consulta-doc.rues { background: var(--cian-suave); color: var(--cian-hondo); }
.consulta-doc.alerta { background: #FDF1DF; color: #8A5A10; }
/* En Siigo los nombres van en mayúsculas: se ven así desde que se escriben. */
#f-nombre, #f-apellidos { text-transform: uppercase; }

.casilla {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--radio);
  padding: 14px; margin-bottom: 14px;
  font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.casilla input { width: 22px; height: 22px; accent-color: var(--cian); flex-shrink: 0; }

.error-caja {
  background: rgba(210,75,62,.1); color: var(--error);
  border: 1px solid rgba(210,75,62,.3);
  border-radius: 10px; padding: 12px 14px;
  font-size: 14px; margin-bottom: 4px;
}

/* Resumen del pago */
.resumen {
  background: #fff; border-radius: var(--radio);
  padding: 14px 16px; margin-bottom: 12px;
}
.r-fila { display: flex; justify-content: space-between; font-size: 14.5px; padding: 4px 0; }
.r-fila.r-total { border-top: 1px solid var(--borde); margin-top: 6px; padding-top: 10px; font-size: 16px; }
.r-fila.r-total strong { font-size: 22px; }
.r-entrega { font-size: 13px; color: var(--texto-suave); margin-top: 8px; }

/* Botones */
.btn {
  padding: 15px 18px; border-radius: var(--radio);
  font-size: 16px; font-weight: 700; text-align: center;
  display: block; text-decoration: none;
}
.btn.primario { background: var(--cian); color: #fff; }
.btn.primario:active { background: var(--cian-hondo); }
.btn.primario:disabled { opacity: .5; }
.btn.plano { background: #fff; border: 1px solid var(--borde); color: var(--texto); }
.btn.wa { background: var(--wa); color: #fff; margin: 4px 0 10px; }
.btn.ancho { width: 100%; }

/* Confirmación */
.marca-ok {
  width: 68px; height: 68px; margin: 0 auto 14px;
  border-radius: 50%; background: rgba(30,158,106,.13); color: var(--ok);
  display: grid; place-items: center; font-size: 36px; font-weight: 700;
  animation: aparece .35s ease;
}
@keyframes aparece { from { transform: scale(.6); opacity: 0; } }
/* El pedido no quedó anotado: falta que el cliente lo mande por WhatsApp. */
.marca-ok.pendiente { background: rgba(232,145,42,.15); color: #B86A12; }
.hoja-cuerpo.centrado h2 { font-size: 22px; margin-bottom: 6px; }
.numero-pedido {
  font-size: 28px; font-weight: 800; letter-spacing: 1px;
  color: var(--carbon); margin-bottom: 10px;
}
.listo-texto { color: var(--texto-suave); font-size: 14.5px; margin-bottom: 16px; }

.listo-pago {
  text-align: left;
  background: #fff; border-radius: var(--radio);
  padding: 14px 16px; margin-bottom: 14px;
  font-size: 14px;
}
.listo-pago .lp-titulo { font-weight: 800; margin-bottom: 6px; }
.lp-llave {
  display: flex; align-items: center; gap: 10px;
  background: var(--fondo); border-radius: 10px;
  padding: 10px 12px; margin: 8px 0;
}
.lp-llave strong { font-size: 20px; letter-spacing: 1px; flex: 1; }
.lp-llave button {
  background: var(--carbon); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 9px 12px; border-radius: 9px;
}
.lp-total { font-weight: 800; }

/* Aviso flotante */
.aviso {
  position: fixed; left: 50%; bottom: 150px; transform: translateX(-50%) translateY(14px);
  z-index: 80; pointer-events: none;
  max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 999px;
  background: var(--carbon); color: #fff;
  font-size: 14px; text-align: center;
  opacity: 0; transition: opacity .18s, transform .18s;
}
.aviso.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.aviso.mal { background: var(--error); }
