/* Tienda pública de Agua Pure: la misma identidad de su carta en TRIVO
   (encabezado azul, hoja blanca, Manrope en títulos, Inter en el texto). */
@font-face {
  font-family: 'Manrope';
  src: url('fuentes/manrope-latin.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fuentes/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul: #0369a1;
  --azul-hondo: #07557e;
  --celeste: #0db1e7;
  --celeste-suave: #e3f3fb;
  --tinta: #142531;
  --gris: #586974;
  --gris-claro: #657580;
  --arte: #f2f4f5;
  --arte-hover: #ebf3f7;
  --borde: #e0e9ef;
  --suave: #f6f9fb;
  --verde: #047857;
  --titulos: 'Manrope', 'Inter', Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--azul);
  color: var(--tinta);
  font: 400 1rem/1.5 'Inter', Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 8px; }

.t-ancho { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.t-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-saltar { position: absolute; left: 16px; top: -60px; z-index: 50; background: #fff; color: var(--azul); padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.t-saltar:focus { top: 12px; }

.t-ceja { display: block; color: #597180; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ── Encabezado azul ───────────────────────────────────────────────────── */
.t-cabecera { background: var(--azul); color: #fff; padding: 22px 0 44px; }
.t-cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.t-marca { display: inline-flex; align-items: center; gap: 12px; }
.t-marca img { width: 56px; height: 56px; padding: 3px; background: #fff; border-radius: 17px; object-fit: contain; }
.t-marca span { font: 800 1.35rem/1 var(--titulos); letter-spacing: -.03em; text-transform: uppercase; }
.t-marca small { display: block; margin-top: 6px; font: 600 .62rem/1 'Inter', sans-serif; letter-spacing: .26em; }
.t-ayuda { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 30px; background: #fff; color: var(--azul-hondo); font-size: .82rem; font-weight: 700; }
.t-ayuda svg { width: 24px; height: 24px; }
.t-ayuda:hover { background: var(--celeste-suave); }

.t-entrega { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 22px; background: #fff; color: var(--tinta); border: 1px solid var(--borde); border-radius: 18px; }
.t-entrega > svg { width: 24px; height: 24px; color: var(--tinta); }
.t-entrega > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.t-entrega > div span { font-size: .78rem; color: var(--gris); }
.t-entrega strong { font-size: 1.02rem; font-weight: 700; }
.t-entrega > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--azul); font-size: .85rem; font-weight: 700; }
.t-entrega > a svg { width: 15px; height: 15px; }

/* ── Hoja blanca ───────────────────────────────────────────────────────── */
.t-hoja { position: relative; margin-top: -22px; padding: 26px 0 110px; background: #fff; border-radius: 30px 30px 0 0; min-height: 60vh; }

.t-intro { padding: 4px 0 20px; }
.t-intro h1 { margin-top: 8px; font: 800 clamp(1.7rem, 4.4vw, 2.6rem)/1.08 var(--titulos); letter-spacing: -.035em; max-width: 22ch; }
.t-intro p { margin-top: 10px; color: var(--gris); font-size: 1.02rem; }
.t-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.t-chips li { padding: 7px 12px; border-radius: 999px; background: var(--suave); border: 1px solid var(--borde); font-size: .8rem; color: var(--gris); }
.t-chips b { color: var(--tinta); font-weight: 600; }

.t-pregunta { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 20px; background: var(--suave); border: 1px solid #e5ecf0; border-radius: 20px; }
.t-pregunta > svg:first-child { width: 30px; height: 30px; color: var(--azul); }
.t-pregunta > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.t-pregunta strong { font-size: 1.05rem; font-weight: 500; }
.t-pregunta small { font-size: .78rem; color: var(--gris); }
.t-pregunta > svg:last-child { width: 22px; height: 22px; color: var(--azul); }
.t-pregunta:hover { background: var(--arte-hover); }

.t-encabezado { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.t-encabezado h2 { margin-top: 6px; font: 800 clamp(1.35rem, 3vw, 1.75rem)/1.12 var(--titulos); letter-spacing: -.035em; }
.t-encabezado > .t-ceja { padding-bottom: 6px; }
.t-cuenta, .t-ver-todo { flex: none; padding-bottom: 4px; color: var(--azul); font-size: .82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.t-ver-todo svg { width: 15px; height: 15px; }

/* Categorías con foto */
.t-planes { margin-top: 34px; }
.t-categorias { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .t-categorias { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; } }
.t-categoria { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.t-ficha-cat { display: grid; place-items: center; width: 100%; max-width: 140px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--celeste-suave); margin-bottom: 8px; transition: transform .18s ease; }
.t-ficha-cat img { width: 100%; height: 100%; object-fit: cover; }
.t-categoria:hover .t-ficha-cat { transform: translateY(-3px); }
.t-categoria strong { font-size: .88rem; font-weight: 600; line-height: 1.25; }
.t-categoria small { font-size: .72rem; color: var(--gris-claro); }

.t-filtro { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 34px 0 6px; }
.t-total { color: var(--gris); font-size: .9rem; }
.t-buscar { flex: 0 1 340px; }
.t-buscar input { width: 100%; height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--azul); background: var(--celeste-suave); font: inherit; font-size: .95rem; color: var(--tinta); }
.t-buscar input::placeholder { color: #4d7a93; }
.t-buscar input:focus { outline: none; background: #fff; box-shadow: 0 0 0 4px rgb(3 105 161 / .14); }
@media (max-width: 640px) { .t-buscar { flex-basis: 100%; } }

.t-aviso { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #fff7e6; border: 1px solid #f3d9a4; color: #6b4a07; font-size: .9rem; }

/* ── Productos ─────────────────────────────────────────────────────────── */
.t-seccion { padding-top: 38px; scroll-margin-top: 12px; }
.t-rejilla { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
@media (max-width: 1000px) { .t-rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 640px) { .t-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 13px; } }

.t-producto { position: relative; min-width: 0; display: flex; flex-direction: column; scroll-margin-top: 12px; }
.t-arte { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; aspect-ratio: 1.15; padding: 22px; margin: 0 0 14px; background: var(--arte); border-radius: 18px; overflow: hidden; transition: background-color .18s; }
.t-arte img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.t-producto:hover .t-arte { background: var(--arte-hover); }
.t-etiqueta { position: absolute; z-index: 2; top: 12px; left: 12px; max-width: 72%; padding: 6px 10px; border: 1px solid #e6ebee; background: #fff; border-radius: 10px; font-size: .68rem; line-height: 1.3; color: #475f6e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-cinta { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; background: var(--tinta); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .03em; }
.t-sinfoto { display: grid; place-items: center; width: 100%; height: 100%; color: #9fd3ea; }
.t-sinfoto svg { width: 34%; height: auto; max-width: 52px; }

.t-precio { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 2px; margin-bottom: 6px; }
.t-precio strong { font: 800 1.45rem/1.1 var(--titulos); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.t-precio span { font-size: .72rem; color: var(--gris-claro); }
.t-precio del { font-size: .82rem; color: var(--gris-claro); }
.t-desde { font-size: .72rem; color: var(--gris-claro); }
.t-producto :is(h3, h4) { font-size: 1rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.32; }
.t-producto :is(h3, h4) a:hover { color: var(--azul); }
.t-desc { margin-top: 5px; font-size: .8rem; line-height: 1.4; color: var(--gris-claro); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-botones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
@media (max-width: 640px) {
  .t-arte { padding: 14px; border-radius: 14px; aspect-ratio: 1; }
  .t-etiqueta { top: 9px; left: 9px; font-size: .6rem; padding: 4px 7px; }
  .t-precio strong { font-size: 1.2rem; }
  .t-precio span { width: 100%; }
  .t-producto :is(h3, h4) { font-size: .9rem; }
  .t-botones { flex-direction: column; gap: 6px; padding-top: 10px; }
  .t-botones .t-comprar, .t-botones .t-wa { min-height: 38px; font-size: .8rem; }
  .t-botones svg { width: 16px; height: 16px; }
}

/* ── Botones ───────────────────────────────────────────────────────────── */
.t-comprar, .t-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 1 1 auto;
  min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .85rem/1 'Inter', sans-serif; cursor: pointer; transition: background-color .15s, transform .1s;
}
.t-comprar svg, .t-wa svg { width: 18px; height: 18px; }
.t-comprar { background: var(--azul); color: #fff; }
.t-comprar:hover { background: var(--azul-hondo); }
.t-wa { background: #fff; color: var(--azul); border-color: var(--azul); }
.t-wa:hover { background: var(--celeste-suave); }
.t-comprar:active, .t-wa:active { transform: scale(.98); }
.t-grande { min-height: 52px; padding: 0 24px; font-size: .95rem; }
.t-agotado { margin-top: auto; padding: 11px; border-radius: 999px; background: var(--arte); color: var(--gris); text-align: center; font-weight: 600; font-size: .82rem; }
.t-no .t-arte img { filter: grayscale(1); opacity: .55; }
.t-vacio { margin: 30px 0; padding: 20px; text-align: center; color: var(--gris); background: var(--suave); border-radius: 18px; }
.t-vacio a { color: var(--azul); font-weight: 700; }

/* ── Página de un producto ─────────────────────────────────────────────── */
.t-migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .82rem; color: var(--gris); }
.t-migas li + li::before { content: '›'; margin-right: 6px; color: #9aabb6; }
.t-migas a { color: var(--azul); font-weight: 600; }
.t-migas a:hover { text-decoration: underline; }
.t-migas [aria-current] { color: var(--tinta); }
.t-ficha { display: grid; gap: 24px; }
@media (min-width: 820px) { .t-ficha { grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; } }
.t-ficha-arte { aspect-ratio: 1.1; padding: 34px; margin: 0; border-radius: 24px; }
.t-ficha-info h1 { margin-top: 8px; font: 800 clamp(1.6rem, 3.6vw, 2.4rem)/1.1 var(--titulos); letter-spacing: -.035em; }
.t-ficha-precio { margin-top: 16px; }
.t-ficha-precio strong { font-size: 2.2rem; }
.t-ficha-precio span { width: auto; font-size: .85rem; }
.t-ficha-estado { color: var(--verde); font-weight: 600; font-size: .92rem; }
.t-no .t-ficha-estado { color: var(--gris); }
.t-ficha-desc { margin-top: 12px; color: var(--gris); }
.t-ficha-botones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.t-ficha-botones a { flex: 1 1 220px; }
.t-caida { padding: 50px 0; text-align: center; }
.t-caida h1 { font: 800 1.6rem/1.2 var(--titulos); letter-spacing: -.03em; margin-bottom: 8px; }
.t-caida p { color: var(--gris); }
.t-caida p:last-child { margin-top: 18px; }

/* ── Pie ───────────────────────────────────────────────────────────────── */
.t-pie { margin-top: 48px; padding: 26px; border: 1px solid #e4eaee; border-radius: 20px; color: var(--gris); font-size: .86rem; line-height: 1.55; }
.t-pie p + p { margin-top: 6px; }
.t-pie a { color: var(--azul); font-weight: 600; }
.t-pie-marca { font: 800 1.15rem/1.2 var(--titulos); letter-spacing: -.02em; color: var(--tinta); text-transform: uppercase; }
.t-pie-lema { font-family: Georgia, serif; font-style: italic; color: var(--tinta); }
.t-pie-nota { margin-top: 14px !important; font-size: .75rem; color: var(--gris-claro); }

/* ── Barra inferior (como la carta) ────────────────────────────────────── */
.t-barra-inferior { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 56px; padding: 8px 18px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgb(255 255 255 / .97); border-top: 1px solid #e1e8ec; box-shadow: 0 -4px 20px rgb(23 59 81 / .04); }
.t-barra-inferior a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 64px; min-height: 48px; color: var(--gris-claro); font-size: .68rem; }
.t-barra-inferior svg { width: 24px; height: 24px; }
.t-barra-inferior .t-activo { color: var(--azul); }
.t-barra-inferior .t-fuerte { font-weight: 600; }
@media (max-width: 600px) {
  .t-barra-inferior { justify-content: space-between; gap: 4px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .t-barra-inferior a { min-width: 54px; font-size: .62rem; }
}

/* ── Teléfono ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .t-ancho { padding: 0 16px; }
  .t-cabecera { padding: 16px 0 40px; }
  .t-cabecera-fila { margin-bottom: 16px; }
  .t-marca { gap: 10px; }
  .t-marca img { width: 48px; height: 48px; border-radius: 14px; }
  .t-marca span { font-size: 1.15rem; }
  .t-marca small { font-size: .52rem; letter-spacing: .2em; }
  .t-ayuda { padding: 10px 14px; font-size: .75rem; }
  .t-entrega { min-height: 70px; padding: 10px 16px; gap: 12px; border-radius: 16px; }
  .t-entrega strong { font-size: .95rem; }
  .t-hoja { border-radius: 24px 24px 0 0; padding-top: 20px; }
  .t-pregunta { border-radius: 30px; }
  .t-pie { padding: 20px 18px; }
}

/* ── Presentaciones y grupos (unidad, six pack, caja) ──────────────────── */
.t-subgrupo { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--borde); font: 800 1.05rem/1.2 var(--titulos); letter-spacing: -.02em; }
.t-encabezado + .t-subgrupo { margin-top: 4px; }
.t-subgrupo span { font: 600 .75rem/1 'Inter', sans-serif; color: var(--gris-claro); }
.t-variantes { margin-top: 4px; font-size: .78rem; color: var(--azul); font-weight: 600; }
.t-presentaciones { margin: 20px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.t-presentaciones legend { padding: 0; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.t-presentaciones label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--borde); border-radius: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.t-presentaciones label:has(input:checked) { border-color: var(--azul); background: var(--celeste-suave); }
.t-presentaciones input { width: 20px; height: 20px; margin: 0; accent-color: var(--azul); }
.t-presentaciones span { flex: 1; font-weight: 600; }
.t-presentaciones b { font: 800 1.05rem/1 var(--titulos); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.t-duda { margin-top: 12px; font-size: .85rem; color: var(--gris); }
.t-duda a { color: var(--azul); font-weight: 600; }
.t-ficha-botones { align-items: center; }
.t-ficha-botones .t-contador { flex: none; }

/* ── Contador − 1 + ────────────────────────────────────────────────────── */
.t-contador { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1.5px solid var(--borde); border-radius: 999px; background: #fff; }
.t-contador button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--suave); color: var(--azul); cursor: pointer; }
.t-contador button:hover { background: var(--celeste-suave); }
.t-contador svg { width: 18px; height: 18px; }
.t-contador output { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.t-ficha-botones .t-contador button { width: 44px; height: 44px; }

/* ── Barra «Ver mi pedido» y aviso de agregado ─────────────────────────── */
.t-carrito { position: fixed; z-index: 41; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 20px; border: 0; border-radius: 18px; background: var(--tinta); color: #fff; font: 600 .95rem/1.2 'Inter', sans-serif; text-align: left; cursor: pointer; box-shadow: 0 12px 30px rgb(20 37 49 / .28); }
.t-carrito > span:not(.t-carrito-n) { flex: 1; }
.t-carrito strong { font: 800 1.05rem/1 var(--titulos); font-variant-numeric: tabular-nums; }
.t-carrito-n { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--celeste); color: var(--tinta); font-size: .8rem; font-weight: 800; }
.t-carrito:hover { background: #0d1c26; }
.t-con-carrito .t-hoja { padding-bottom: 180px; }
.t-flotante { position: fixed; z-index: 42; left: 50%; top: 16px; transform: translate(-50%, -140%); width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 14px; background: #fff; color: var(--tinta); font-size: .88rem; box-shadow: 0 10px 30px rgb(20 37 49 / .2); transition: transform .25s ease; }
.t-flotante.t-visible { transform: translate(-50%, 0); }
.t-flotante button { flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--celeste-suave); color: var(--azul); font: 700 .8rem 'Inter', sans-serif; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .t-flotante { transition: none; } }

/* ── La hoja del pedido ────────────────────────────────────────────────── */
.t-sin-scroll { overflow: hidden; }
.t-hoja-pedido { width: min(520px, 100%); max-width: 100%; max-height: min(92dvh, 860px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--tinta); display: none; flex-direction: column; overflow: hidden; }
.t-hoja-pedido[open] { display: flex; }
.t-hoja-pedido::backdrop { background: rgb(9 30 44 / .5); }
@media (max-width: 600px) {
  .t-hoja-pedido { margin: auto 0 0; width: 100%; border-radius: 24px 24px 0 0; max-height: 94dvh; }
}
.t-hoja-cabeza { flex: none; display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px 20px; border-bottom: 1px solid var(--borde); }
.t-hoja-cabeza h2 { flex: 1; font: 800 1.2rem/1.2 var(--titulos); letter-spacing: -.03em; }
.t-hoja-icono { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--suave); color: var(--tinta); cursor: pointer; }
.t-hoja-icono:hover { background: var(--celeste-suave); }
.t-hoja-cuerpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 20px; }
.t-hoja-pie { flex: none; display: grid; gap: 6px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--borde); background: #fff; }
.t-ancho-total { width: 100%; }
.t-comprar:disabled { background: #9fb4c1; cursor: not-allowed; }
.t-enlace { min-height: 44px; border: 0; background: none; color: var(--azul); font: 700 .88rem 'Inter', sans-serif; cursor: pointer; }
.t-nota { font-size: .8rem; color: var(--gris); }
.t-alerta { margin: 12px 0; padding: 11px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d9a4; color: #6b4a07; font-size: .86rem; }
.t-hoja-pie .t-alerta, .t-hoja-pie .t-error { margin: 0 0 4px; }
.t-error { margin: 12px 0 0; padding: 11px 14px; border-radius: 12px; background: #fdecec; border: 1px solid #f2c4c4; color: #8a1c1c; font-size: .86rem; }

.t-escoger-producto { display: flex; align-items: center; gap: 14px; }
.t-escoger-producto img, .t-mini-sinfoto { width: 64px; height: 64px; flex: none; border-radius: 14px; background: var(--arte); object-fit: contain; mix-blend-mode: multiply; }
.t-escoger-producto strong { font-weight: 700; line-height: 1.3; }
.t-escoger-cantidad { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-weight: 600; }

.t-lineas { list-style: none; margin: 0; padding: 0; }
.t-lineas li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--borde); }
.t-lineas img, .t-lineas .t-mini-sinfoto { width: 56px; height: 56px; padding: 4px; }
.t-linea-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.t-linea-texto a { font-size: .9rem; font-weight: 600; line-height: 1.3; }
.t-linea-texto small { font-size: .76rem; color: var(--gris); }
.t-linea-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.t-linea-lado .t-contador button { width: 32px; height: 32px; }
.t-linea-lado strong { font-size: .9rem; font-variant-numeric: tabular-nums; }
.t-vacio-pedido { padding: 30px 0; text-align: center; color: var(--gris); }
.t-vacio-pedido svg { width: 40px; height: 40px; color: #9fd3ea; margin-bottom: 8px; }

.t-resumen { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--suave); display: grid; gap: 6px; }
.t-resumen > p { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.t-resumen > p.t-nota { font-size: .78rem; }
.t-resumen strong { font-variant-numeric: tabular-nums; }
.t-resumen-total { padding-top: 8px; border-top: 1px solid var(--borde); font-weight: 700; }
.t-resumen-total strong { font: 800 1.2rem/1 var(--titulos); }

.t-form section + section { margin-top: 22px; }
.t-form h3 { margin-bottom: 10px; font: 800 1rem/1.2 var(--titulos); letter-spacing: -.02em; }
.t-campo { display: grid; gap: 5px; margin-top: 10px; }
.t-campo label { font-size: .8rem; font-weight: 600; color: var(--gris); }
.t-campo input, .t-campo textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--borde); border-radius: 12px; background: #fff; color: var(--tinta); font: 400 16px/1.4 'Inter', sans-serif; resize: vertical; }
.t-campo input:focus, .t-campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgb(3 105 161 / .12); }
.t-ubicar { width: 100%; min-height: 48px; }
.t-ubicar.t-marcada { background: var(--celeste-suave); }
.t-ubicar + .t-nota { margin-top: 6px; }
.t-pagos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.t-pago { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--borde); border-radius: 12px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.t-pago:has(input:checked) { border-color: var(--azul); background: var(--celeste-suave); }
.t-pago input { width: 18px; height: 18px; margin: 0; accent-color: var(--azul); }
.t-cuenta-pago { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--celeste-suave); font-size: .86rem; }
.t-cuenta-pago strong { font-size: 1rem; letter-spacing: .02em; }
.t-cuenta-pago .t-enlace { min-height: 32px; padding: 0 6px; }
.t-cuenta-pago small { width: 100%; color: var(--gris); }

.t-listo { padding: 10px 0 4px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.t-listo-icono { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: #e3f6ee; color: var(--verde); }
.t-listo-icono svg { width: 34px; height: 34px; }
.t-listo strong { font: 800 1.35rem/1.2 var(--titulos); letter-spacing: -.03em; }
.t-estado { margin: 18px 0 10px; text-align: center; font-weight: 700; color: var(--azul); }
.t-pasos { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.t-pasos li { position: relative; padding-top: 14px; font-size: .68rem; line-height: 1.25; text-align: center; color: var(--gris-claro); }
.t-pasos li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 999px; background: var(--borde); }
.t-pasos li.t-hecho { color: var(--tinta); font-weight: 600; }
.t-pasos li.t-hecho::before { background: var(--azul); }

/* Detalle del pedido hecho */
.t-detalle { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--borde); }
.t-detalle h3 { margin-bottom: 8px; font: 800 1rem/1.2 var(--titulos); letter-spacing: -.02em; }
.t-detalle-lineas { list-style: none; margin: 0; padding: 0; }
.t-detalle-lineas li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--borde); font-size: .88rem; }
.t-detalle-lineas b { font-weight: 700; color: var(--azul); }
.t-detalle-lineas small { display: block; color: var(--gris); font-size: .76rem; }
.t-detalle-lineas strong { flex: none; font-variant-numeric: tabular-nums; }
.t-detalle-datos { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 6px; font-size: .86rem; }
.t-detalle-datos dt { color: var(--gris); }
.t-detalle-datos dd { margin: 0; font-weight: 600; }
.t-detalle-datos dd:first-letter { text-transform: uppercase; }
