/* Floractive · piel comun de los formularios de pedidos.floractive.cl.
   Valores copiados de la web (propio/web: studio.css y seguimiento.css), para
   que el formulario y el seguimiento se lean como parte de www.floractive.cl.
   Tamano de letra en campos = 16 px: con menos, iPhone acerca la pantalla. */

:root {
  --crema: #f4eee6;
  --crema-2: #eae2d6;
  --blanco: #ffffff;
  --tinta: #1b1917;
  --gris: #6b655e;
  --gris-2: #9a938a;
  --linea: rgba(27, 25, 23, 0.1);
  --caramelo: #c9762f;
  --caramelo-2: #b3661f;
  --verde: #1f5f46;
  --verde-fondo: #e6f1eb;
  --rojo: #b8412f;
  --rojo-fondo: #fbe9e5;
  --aviso: #8a5218;
  --aviso-fondo: #fdf1e4;
  --wa: #25d366;
  --mp: #009ee3;
  --r: 28px;
  --r-s: 18px;
  --sombra: 0 30px 60px -22px rgba(70, 45, 20, 0.2);
  --sombra-2: 0 30px 60px -22px rgba(70, 45, 20, 0.28), 0 6px 14px -8px rgba(70, 45, 20, 0.12);
  --suave: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  position: relative; margin: 0; min-height: 100vh; background: var(--crema); color: var(--tinta);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 1.55; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased;
}
/* La misma luz de fondo que la web. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(255, 236, 210, 0.95), transparent 70%),
    radial-gradient(50% 40% at 10% 100%, rgba(226, 214, 198, 0.9), transparent 70%);
}
a { color: inherit; }
button, input, select, textarea { font-family: inherit; letter-spacing: inherit; }

/* ─────────────────────────────────────────────── cabecera */
.top { position: sticky; top: 14px; z-index: 50; display: flex; justify-content: center; padding-inline: clamp(12px, 4vw, 48px); margin-top: 14px; pointer-events: none; }
.top-pill {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: min(1340px, 100%); padding: 8px 8px 8px 18px; background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 999px; box-shadow: var(--sombra-2);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.logo i { width: 19px; height: 14px; flex: none; background: var(--caramelo); -webkit-mask: url('/img/flor-iso.svg') center / contain no-repeat; mask: url('/img/flor-iso.svg') center / contain no-repeat; }
.top-nav { display: flex; align-items: center; gap: 4px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--gris); text-decoration: none; white-space: nowrap; transition: background 160ms ease, color 160ms ease; }
.top-nav a:hover { background: var(--crema); color: var(--tinta); }
.top-nav a.top-tienda { background: var(--tinta); color: #fff; font-weight: 600; }
.top-nav a.top-tienda:hover { background: var(--tinta); color: #fff; }
@media (max-width: 400px) {
  .top-pill { padding-left: 14px; }
  .logo { font-size: 16px; }
  .top-nav a { padding: 0 10px; font-size: 12.5px; }
}

/* Pantalla dividida del formulario: el video acompana, el formulario se recorre. */
.top--sobre { position: fixed; inset-inline: 0; margin-top: 0; }
.escena { position: relative; display: flex; align-items: flex-end; min-height: 500px; overflow: hidden; background: #121110; color: #fff; }
.escena-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.escena::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 7, 0.9), rgba(10, 8, 7, 0.62) 38%, rgba(10, 8, 7, 0.06) 68%); }
.escena .head { position: relative; z-index: 1; width: 100%; padding: 96px clamp(20px, 5vw, 48px) 30px; text-align: left; }
.escena .eyebrow { color: #f2b77a; }
.escena h1 { color: #fff; }
.escena .intro { margin-inline: 0; color: rgba(255, 255, 255, 0.86); }
.escena .badges { justify-content: flex-start; }
.escena .badges .badge { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.escena .badges .badge::before { background: #f2b77a; }
.split > .wrap { padding-top: 18px; }
@media (min-width: 1100px) {
  .split { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); align-items: start; }
  .escena { position: sticky; top: 0; height: 100vh; min-height: 0; }
  .escena .head { padding: 0 clamp(32px, 4vw, 64px) clamp(36px, 6vh, 64px); }
  .split > .wrap { width: 100%; max-width: 760px; padding: 100px 32px 72px; }
}

/* ─────────────────────────────────────────────── estructura */
.wrap { position: relative; max-width: 680px; margin: 0 auto; padding: 0 16px 72px; }
.wrap--angosto { max-width: 580px; }
.head { padding: clamp(36px, 7vw, 60px) 0 clamp(24px, 4vw, 36px); text-align: center; }
.eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.19em; text-transform: uppercase; color: var(--gris); }
h1 { margin: 0; font-size: clamp(2rem, 8vw, 3.375rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.intro { margin: 16px auto 0; max-width: 46ch; font-size: clamp(0.95rem, 2.3vw, 1.0625rem); line-height: 1.6; color: var(--gris); }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 0; }
.badges .badge { display: inline-flex; align-items: center; gap: 8px; height: 34px; margin: 0; padding: 0 14px; border-radius: 999px; background: var(--blanco); font-size: 12.5px; font-weight: 500; letter-spacing: normal; text-transform: none; color: var(--gris); box-shadow: 0 2px 8px -4px rgba(70, 45, 20, 0.25); white-space: nowrap; }
.badges .badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--caramelo); flex: none; }

.card { background: var(--blanco); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: var(--r); box-shadow: var(--sombra); padding: clamp(22px, 5vw, 34px); margin: 0 0 16px; scroll-margin-top: 92px; }
.card--crema { background: var(--crema-2); border-color: transparent; box-shadow: none; }

/* Los pasos se numeran solos: una tarjeta oculta no cuenta. */
#formArea { counter-reset: paso; }
#formArea > .card { counter-increment: paso; }
#formArea > .card > .sec-title::before { content: counter(paso, decimal-leading-zero); display: block; margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--caramelo); }

.sec-title { margin: 0 0 6px; font-size: clamp(1.2rem, 4.6vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
.sec-title em, .pay-alt-t em { font-style: normal; }
.sec-title--chica { margin-top: 22px; font-size: 1.125rem; }
.sec-note { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--gris); }
.sec-note strong { color: var(--tinta); font-weight: 600; }
.sec-note--cerca { margin-bottom: 12px; }
.obligatorio { color: var(--rojo); }

/* ─────────────────────────────────────────────── campos */
.field { margin: 0 0 16px; scroll-margin-top: 92px; }
.field:last-child { margin-bottom: 0; }
label { display: block; margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--gris); }
label .opt { font-weight: 400; }
label strong { color: var(--tinta); }
input[type=text], input[type=email], input[type=tel], input[type=search], textarea, select {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--linea); border-radius: 14px;
  background: var(--crema); color: var(--tinta); font-size: 16px; outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
textarea { padding-block: 12px; min-height: 64px; resize: vertical; line-height: 1.5; }
::placeholder { color: var(--gris-2); opacity: 1; }
input:focus, textarea:focus, select:focus { background: var(--blanco); border-color: var(--caramelo); box-shadow: 0 0 0 3px rgba(201, 118, 47, 0.16); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; background-repeat: no-repeat; background-position: right 16px center;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'14'%20height%3D'14'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%231b1917'%20stroke-width%3D'2.4'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M6%209l6%206%206-6'%2F%3E%3C%2Fsvg%3E");
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--rojo); }
.err { display: none; margin: 6px 0 0; font-size: 12.5px; color: var(--rojo); }
.field.invalid .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .grid-2 { grid-template-columns: 1fr; gap: 0; } .grid-2 .field:last-child { margin-bottom: 16px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; flex: 1; min-width: 120px; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 14px; border: 1px solid rgba(27, 25, 23, 0.16); border-radius: 999px; background: var(--blanco); color: var(--tinta); font-size: 14px; font-weight: 500; text-align: center; line-height: 1.2; cursor: pointer; user-select: none; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.chip span:hover { border-color: var(--tinta); }
.chip input:checked + span { background: var(--tinta); border-color: var(--tinta); color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--caramelo); outline-offset: 2px; }
.field.invalid .chips .chip span { border-color: var(--rojo); }

.cond { display: none; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--linea); }
.cond.show { display: block; }
.cond-title { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); }
.cond-title--aire { margin-top: 20px; }
.field--aire { margin-top: 6px; }
.warn { margin: 12px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--crema); font-size: 13px; line-height: 1.55; }
.warn a { font-weight: 600; text-decoration: underline; }
.warn__suave { color: var(--gris); }
.ship-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--gris); }
.addr-alert { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--aviso-fondo); font-size: 13px; line-height: 1.55; }
.addr-alert strong { color: var(--aviso); font-weight: 600; }

/* ─────────────────────────────────────────────── productos */
.prod-search { margin: 0 0 12px; }
/* Vitrina: la lista se recorre dentro de su marco, para no alejar el resto del formulario. */
.prod-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 10px; max-height: 620px; padding: 2px 2px 44px; overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-s);
  /* El borde inferior se desvanece: asi se lee «hay mas abajo» y no un boton cortado. */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
}

/* Lo nuevo: carrusel horizontal, con el hilo de oro de la marca. */
.novedades { margin: 0 0 16px; }
.novedades[hidden], .novedades.buscando { display: none; }
.nov-t { margin: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.nov-l { display: flex; gap: 10px; padding: 2px 2px 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: thin; }
.prow.nov-c { flex: 0 0 168px; scroll-snap-align: start; border-color: #d4b888; background: #fffdf9; }
.prow.nov-c.picked { border-color: var(--tinta); }
.sello--nuevo { background: #af8520; }

/* Acordeon de los pasos */
.paso > .sec-title { position: relative; padding-right: 34px; cursor: pointer; border-radius: 8px; }
.paso > .sec-title:focus-visible { outline: 2px solid var(--caramelo); outline-offset: 4px; }
.paso > .sec-title::after { content: ''; position: absolute; right: 2px; bottom: 7px; width: 10px; height: 10px; border-right: 2px solid var(--tinta); border-bottom: 2px solid var(--tinta); transform: rotate(-135deg); transition: transform 200ms var(--suave); }
.paso.plegada > .sec-title::after { bottom: 11px; transform: rotate(45deg); }
.paso.plegada > :not(.sec-title):not(.paso-resumen) { display: none; }
.paso.plegada > .sec-title { margin-bottom: 0; }
.paso-resumen { display: none; margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--gris); overflow-wrap: anywhere; }
.paso.plegada > .paso-resumen:not(:empty) { display: block; }
@media (min-width: 560px) { .prod-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 680px; } }
.prow { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border: 1px solid var(--linea); border-radius: var(--r-s); background: var(--blanco); transition: border-color 160ms ease, box-shadow 160ms ease; }
.prow-foto { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--blanco); }
.prow-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sello { position: absolute; top: 4px; left: 4px; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--caramelo); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.prow-info { flex: 1; min-width: 0; }
.prow-name { display: -webkit-box; margin: 0 0 4px; overflow: hidden; font-size: 12.5px; font-weight: 500; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.prow-price { margin: 0; font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; }
.prow.off .prow-foto, .prow.off .prow-info { opacity: 0.55; }
.prow-sin { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; font-size: 12px; font-weight: 600; color: var(--rojo); white-space: nowrap; }
.prow-sin::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); }
.prow-none { grid-column: 1 / -1; padding: 18px; text-align: center; font-size: 14px; color: var(--gris); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 2px; min-height: 38px; }
.stepper button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--tinta); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; transition: transform 200ms ease; }
.stepper button.minus { background: var(--crema-2); color: var(--tinta); }
.stepper .qty { min-width: 26px; text-align: center; font-size: 14px; font-weight: 600; }
/* Sin agregar: un solo boton ancho «+ Agregar». Agregado: − n +. */
.prow:not(.picked) .stepper .minus, .prow:not(.picked) .stepper .qty { display: none; }
.prow:not(.picked) .stepper .plus { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border-radius: 999px; font-size: 13px; font-weight: 600; }
.prow:not(.picked) .stepper .plus::before { content: '+'; font-size: 16px; font-weight: 500; }
.prow:not(.picked) .stepper .plus { font-size: 0; }
.prow:not(.picked) .stepper .plus::before { font-size: 16px; }
.prow:not(.picked) .stepper .plus::after { content: 'Agregar'; font-size: 13px; }
.prow.picked { border-color: var(--tinta); box-shadow: inset 0 0 0 1px var(--tinta); }
.field.invalid .prod-list { outline: 1px solid var(--rojo); }

/* Completa tu rutina: lo decide el motor de recomendaciones de la web. */
.rutina { margin-top: 16px; padding: 16px; border-radius: var(--r-s); background: var(--crema); }
.rutina[hidden] { display: none; }
.rutina-t { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.rutina-c { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--linea); }
.rutina-c img, .rutina-c .rutina-sinfoto { width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--blanco); object-fit: contain; }
.rutina-i { flex: 1; min-width: 0; }
.rutina-n { display: -webkit-box; margin: 0 0 2px; overflow: hidden; font-size: 12.5px; font-weight: 500; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.rutina-p { margin: 0; font-size: 13px; font-weight: 700; }
.rutina-add { flex: none; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--tinta); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.rutina-add:focus-visible { outline: 2px solid var(--caramelo); outline-offset: 2px; }

/* Resumen flotante: acompana al formulario hasta que aparece «Confirmar pedido». */
.barra { position: sticky; bottom: 14px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--tinta); color: #fff; box-shadow: var(--sombra-2); transition: opacity 180ms ease, transform 180ms ease; }
.barra[hidden] { display: none; }
.barra--fuera { opacity: 0; pointer-events: none; transform: translateY(8px); }
.barra-tx { min-width: 0; font-size: 12.5px; line-height: 1.25; }
.barra-tx span { display: block; color: rgba(255, 255, 255, 0.7); }
.barra-tx strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.barra-btn { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--caramelo); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.barra-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.cart { margin-top: 16px; }
.cart-empty { margin: 0; font-size: 13.5px; color: var(--gris); }
.cart-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13.5px; }
.cart-line .cl-amt { font-weight: 600; white-space: nowrap; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--linea); }
.cart-total .ct-label { font-size: 14px; font-weight: 600; }
.cart-total .ct-amt { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }

/* ─────────────────────────────────────────────── botones */
.btn, .btn-mp {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 8px 24px;
  border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 200ms var(--suave), box-shadow 200ms ease, background 160ms ease, opacity 160ms ease;
}
.btn:focus-visible, .btn-mp:focus-visible, .stepper button:focus-visible, .top-nav a:focus-visible, .logo:focus-visible, .mayor-cta:focus-visible { outline: 2px solid var(--caramelo); outline-offset: 3px; }
@media (hover: hover) {
  .btn:hover, .btn-mp:hover { transform: translateY(-2px); box-shadow: var(--sombra-2); }
  .stepper button:hover { transform: scale(1.06); }
  .mayor-cta:hover { transform: translateY(-2px); box-shadow: var(--sombra-2); }
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: var(--caramelo); color: #fff; }
.btn-tinta { background: var(--tinta); color: #fff; }
.btn-ghost { margin-top: 12px; background: transparent; color: var(--tinta); border-color: rgba(27, 25, 23, 0.16); }
.btn-track { margin-top: 12px; background: var(--verde); color: #fff; }
.btn-wa { margin-top: 12px; background: var(--wa); color: var(--tinta); }
.btn-mp { background: var(--mp); color: #fff; }
.btn--aire { margin-top: 16px; }
.submit-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--gris); }

/* Acceso mayorista: el acento oscuro de la pagina, con la luz de estudio de la web. */
.mayor-cta { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 18px 18px 18px 20px; border-radius: var(--r); background: radial-gradient(70% 120% at 92% 0%, rgba(201, 118, 47, 0.38), transparent 70%), #121110; color: var(--crema); box-shadow: var(--sombra-2); text-decoration: none; transition: transform 200ms var(--suave), box-shadow 200ms ease; }
.mayor-cta .mc-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: rgba(242, 183, 122, 0.16); }
.mayor-cta .mc-ic svg { width: 19px; height: 19px; color: #f2b77a; }
.mayor-cta .mc-tx { flex: 1; min-width: 0; }
.mayor-cta .mc-tx b { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: #fff; }
.mayor-cta .mc-tx small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: rgba(244, 238, 230, 0.72); }
.mayor-cta .mc-ar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: #fff; color: var(--tinta); font-size: 16px; font-weight: 600; }

.top-err { display: none; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--rojo-fondo); color: var(--rojo); font-size: 14px; }
.top-err.show { display: block; }

/* ─────────────────────────────────────────────── paso de pago y confirmacion */
.result { display: none; }
.result.show { display: block; }
.ok-badge { display: inline-flex; align-items: center; height: 30px; margin: 0 0 14px; padding: 0 14px; border-radius: 999px; background: var(--verde-fondo); color: var(--verde); font-size: 12.5px; font-weight: 600; }
.ok-num { margin: 0 0 6px; font-size: clamp(1.45rem, 5vw, 1.875rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; }
.pay-name { margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.pay-grid { margin: 6px 0 0; font-size: 14px; }
.pay-grid .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linea); }
.pay-grid .row:last-child { border-bottom: 0; }
.pay-grid .k { color: var(--gris); }
.pay-grid .v { font-weight: 600; text-align: right; }
#salida { margin-top: 8px; min-height: 180px; padding: 14px 16px; background: var(--blanco); font-size: 14px; line-height: 1.55; white-space: pre-wrap; }

.retiro-info { display: none; margin-top: 16px; padding: 16px 18px; border-radius: var(--r-s); background: var(--crema); font-size: 13.5px; line-height: 1.55; }
.retiro-info.show { display: block; }
.retiro-info strong { font-weight: 600; }
.retiro-info .ri-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.retiro-info .ri-row:last-child { margin-bottom: 0; }
.retiro-info .ri-row::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--caramelo); }
.retiro-info .ri-tx { flex: 1; }
#addressCard.d-none { display: none; }

.file-label { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 20px 16px; border: 1.5px dashed rgba(27, 25, 23, 0.22); border-radius: var(--r-s); background: var(--crema); color: var(--tinta); font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.file-label:hover { border-color: var(--caramelo); background: var(--blanco); }
.file-label::before { content: ''; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--clip) center / contain no-repeat; mask: var(--clip) center / contain no-repeat; --clip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E"); }
.comp-preview { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--linea); border-radius: 14px; background: var(--blanco); }
.comp-preview img, .comp-preview .comp-file { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 10px; object-fit: cover; }
.comp-preview .comp-file { display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--crema); }
.comp-preview .comp-info { flex: 1; min-width: 0; }
.comp-preview .comp-name { font-size: 13px; line-height: 1.3; word-break: break-all; }
.comp-preview .comp-ok { margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--verde); }
.comp-preview .comp-remove { flex: none; padding: 4px; border: 0; background: none; color: var(--gris); font-size: 13px; text-decoration: underline; cursor: pointer; }

/* ─────────────────────────────────────────────── seguimiento */
.result .badge { display: inline-flex; align-items: center; height: 30px; margin: 0 0 14px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.b-proceso { background: var(--aviso-fondo); color: var(--aviso); }
.b-enviado { background: var(--verde-fondo); color: var(--verde); }
.b-parcial { background: var(--crema-2); color: var(--verde); }
.b-aviso { background: var(--crema-2); color: var(--tinta); }
.r-order { margin: 0 0 6px; font-size: clamp(1.45rem, 5vw, 1.875rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; }
.num { font-variant-numeric: tabular-nums; }
.r-days { margin: 0 0 10px; font-size: 15px; }
.r-days:empty { display: none; }
.r-days strong { font-weight: 600; color: var(--caramelo-2); }
.r-msg { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--gris); }
.r-track { margin: 12px 0 0; padding: 16px 18px; border-radius: var(--r-s); background: var(--crema); }
.r-track .t-label { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); }
.r-track .t-num { margin: 0 0 2px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; word-break: break-all; }
.r-track .t-hint { margin: 6px 0 0; font-size: 13px; color: var(--gris); }

/* ─────────────────────────────────────────────── pie */
.foot { margin-top: 34px; text-align: center; font-size: 12.5px; color: var(--gris); }
.foot a { color: var(--tinta); font-weight: 500; text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; padding: 11px 20px; border-radius: 999px; background: var(--tinta); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); transition: all 200ms ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

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