/* iMAGEN Taller Creativo — tienda en línea (estructura tipo Amazon). Primero celular. */

:root {
  --t-azul: #221d4a;
  --t-azul-2: #2e2866;
  --t-naranja: #e8650f;
  --t-naranja-2: #c9530a;
  --t-amarillo: #ffd23f;
  --t-verde-wa: #1f9d55;
  --t-fondo: #eaeded;
  --t-blanco: #ffffff;
  --t-texto: #0f1111;
  --t-suave: #565959;
  --t-borde: #d5d9d9;
  --t-enlace: #2162a1;
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.45; background: var(--t-fondo); color: var(--t-texto); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; }

/* ---------- cabecera ---------- */
.t-cabecera { position: sticky; top: 0; z-index: 20; }
.t-barra { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.55rem 0.9rem; background: var(--t-azul); color: #fff; }
.t-marca { display: flex; flex-direction: column; text-decoration: none; line-height: 1; padding: 0.2rem 0.3rem; border: 1px solid transparent; border-radius: 3px; }
.t-marca:hover { border-color: var(--t-blanco); }
.t-marca-nombre { font-size: 1.5rem; font-weight: 900; letter-spacing: 0.06em; }
.t-marca-linea { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.3em; margin-top: 0.2rem; }
.t-marca-linea b { background: var(--t-naranja); padding: 0.05rem 0.3rem; border-radius: 999px; }
.t-buscador { order: 3; flex: 1 1 100%; display: flex; height: 42px; border-radius: 8px; overflow: hidden; background: var(--t-blanco); }
.t-buscador:focus-within { box-shadow: 0 0 0 3px var(--t-naranja); }
.t-buscador input { flex: 1; min-width: 0; border: 0; padding: 0 0.8rem; font: inherit; font-size: 1rem; outline: none; color: var(--t-texto); }
.t-buscador button { width: 50px; border: 0; background: var(--t-naranja); color: #fff; cursor: pointer; display: grid; place-items: center; }
.t-buscador button:hover { background: var(--t-naranja-2); }
.t-carrito-icono { margin-left: auto; position: relative; display: flex; align-items: flex-end; gap: 0.2rem; text-decoration: none; padding: 0.2rem 0.4rem; border: 1px solid transparent; border-radius: 3px; }
.t-carrito-icono:hover { border-color: var(--t-blanco); }
.t-carrito-numero { position: absolute; top: -2px; left: 16px; min-width: 20px; text-align: center; font-weight: 900; color: var(--t-amarillo); font-size: 1rem; }
.t-carrito-texto { font-weight: 800; font-size: 0.9rem; padding-bottom: 2px; }
@media (min-width: 760px) {
  .t-buscador { order: 0; flex: 1 1 auto; max-width: 820px; }
  .t-carrito-icono { margin-left: 0; }
}
.t-subbarra { display: flex; gap: 0.2rem; overflow-x: auto; padding: 0.35rem 0.6rem; background: var(--t-azul-2); scrollbar-width: none; }
.t-subbarra::-webkit-scrollbar { display: none; }
.t-subbarra a { flex: 0 0 auto; color: #fff; text-decoration: none; font-size: 0.88rem; font-weight: 600; padding: 0.25rem 0.55rem; border: 1px solid transparent; border-radius: 3px; }
.t-subbarra a:hover { border-color: var(--t-blanco); }

.t-contenido { max-width: 1500px; margin: 0 auto; padding: 0.75rem 0.6rem 2.5rem; }

/* ---------- botones ---------- */
.t-boton { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.t-boton-carrito { background: var(--t-amarillo); border-color: #f2c200; color: #0f1111; }
.t-boton-carrito:hover { background: #f7c400; }
.t-boton-comprar { background: var(--t-naranja); color: #fff; }
.t-boton-comprar:hover { background: var(--t-naranja-2); }
.t-boton-wa { background: var(--t-verde-wa); color: #fff; }
.t-boton-wa:hover { background: #188547; }
.t-boton-blanco { background: #fff; color: #221d4a; }
.t-boton-borde { background: var(--t-blanco); border-color: var(--t-borde); color: var(--t-texto); }
.t-boton-borde:hover { background: var(--t-f-azul); }
.t-boton-chico { min-height: 32px; padding: 0.3rem 0.8rem; font-size: 0.85rem; }
.t-boton-ancho { width: 100%; margin-top: 0.5rem; }
.t-enlace { background: none; border: 0; padding: 0; font: inherit; color: var(--t-enlace); cursor: pointer; text-decoration: none; }
.t-enlace:hover { text-decoration: underline; color: var(--t-naranja-2); }

/* ---------- avisos ---------- */
.t-aviso-ok, .t-aviso-error, .t-aviso-info { padding: 0.65rem 0.9rem; border-radius: 8px; margin: 0 0 0.8rem; font-weight: 600; }
.t-aviso-ok { background: var(--t-f-verde); color: var(--t-x-verde); }
.t-aviso-error { background: var(--t-f-rojo); color: var(--t-x-rojo); }
.t-aviso-info { background: var(--t-f-naranja); color: var(--t-x-naranja); }

/* ---------- portada y cajas ---------- */
.t-portada { margin: 0 0 0.75rem; padding: 2rem 1.3rem; border-radius: 8px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(232, 101, 15, 0.6), transparent 45%), linear-gradient(135deg, var(--t-azul), #3a2f7a); }
.t-portada-pre { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #ffd2b3; }
.t-portada h1 { margin: 0 0 0.6rem; font-size: clamp(1.9rem, 6vw, 3.2rem); font-weight: 900; }
.t-portada-texto { margin: 0 0 1.2rem; max-width: 34rem; font-size: 1.05rem; color: #e6e3f5; }

.t-caja { background: var(--t-blanco); border-radius: 8px; padding: 1rem; margin: 0 0 0.75rem; }
.t-caja h2 { margin: 0 0 0.75rem; font-size: 1.3rem; font-weight: 800; }
.t-caja-color { background: var(--t-f-naranja); }
.t-caja-titulo { display: flex; align-items: baseline; gap: 1rem; }
.t-caja-titulo a { color: var(--t-enlace); font-size: 0.9rem; text-decoration: none; }
.t-titulo { font-size: 1.5rem; margin: 0 0 0.9rem; }
.t-migas { margin: 0 0 0.6rem; font-size: 0.85rem; color: var(--t-suave); }
.t-migas a { text-decoration: none; }
.t-migas a:hover { text-decoration: underline; }
.t-vacio { padding: 1.5rem 0.5rem; text-align: center; color: var(--t-suave); }
.t-vacio a { color: var(--t-enlace); }

/* «Emprende con iMAGEN»: categorías con foto */
.t-mosaico { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; overflow-x: auto; scrollbar-width: thin; }
.t-mosaico li { flex: 0 0 150px; }
@media (min-width: 900px) { .t-mosaico li { flex: 1 1 0; max-width: 220px; } }
.t-mosaico a { display: block; text-decoration: none; text-align: center; }
.t-mosaico-foto { display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--t-tenue); }
.t-mosaico-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.t-mosaico a:hover img { transform: scale(1.04); }
.t-mosaico-nombre { display: block; margin-top: 0.4rem; font-weight: 600; }

/* filas horizontales y grilla */
.t-fila { list-style: none; margin: 0; padding: 0 0 0.3rem; display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.t-fila > .t-tarjeta { flex: 0 0 170px; scroll-snap-align: start; }
@media (min-width: 760px) { .t-fila > .t-tarjeta { flex-basis: 220px; } }
.t-grilla { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .t-grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .t-grilla { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.t-tarjeta { display: flex; flex-direction: column; background: var(--t-blanco); border-radius: 6px; padding: 0.5rem; border: 1px solid var(--t-borde); }
.t-tarjeta-enlace { flex: 1; text-decoration: none; display: flex; flex-direction: column; gap: 0.25rem; }
.t-tarjeta-enlace:hover h3 { color: var(--t-naranja-2); }
.t-tarjeta-foto { position: relative; aspect-ratio: 1; background: var(--t-tenue); border-radius: 4px; overflow: hidden; }
.t-tarjeta-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-tarjeta-agotada .t-tarjeta-foto img { filter: grayscale(0.7); opacity: 0.75; }
.t-tarjeta h3 { margin: 0.3rem 0 0; font-size: 0.95rem; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-tarjeta-accion { margin-top: 0.5rem; width: 100%; }
.t-tarjeta-accion .t-boton { width: 100%; }
.t-sin-foto { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px; font-weight: 900; letter-spacing: 0.1em; color: #cfcfcf; font-size: 1.2rem; }
.t-cinta { position: absolute; top: 0.4rem; left: 0.4rem; padding: 0.2rem 0.55rem; border-radius: 3px; background: #cc0c39; color: #fff; font-size: 0.72rem; font-weight: 800; }

/* precios estilo Amazon */
.t-precio { margin: 0; color: var(--t-texto); }
.t-precio s { color: var(--t-suave); font-size: 0.8rem; margin-left: 0.25rem; }
.t-monto { font-size: 1.55rem; font-weight: 500; white-space: nowrap; }
.t-monto sup { font-size: 0.55em; top: -0.65em; position: relative; vertical-align: baseline; }
.t-desde { font-size: 0.55em; color: var(--t-suave); margin-right: 0.2rem; }
.t-consultar { font-weight: 700; color: var(--t-tinta); }
.t-precio-grande .t-monto { font-size: 2rem; }
.t-antes { margin: 0.1rem 0; color: var(--t-suave); font-size: 0.9rem; }
.t-estado { margin: 0; font-size: 0.8rem; font-weight: 600; color: var(--t-suave); }
.t-estado-ok { color: var(--t-x-verde); }
.t-estado-pocas { color: var(--t-x-rojo); }
.t-estado-agotado { color: var(--t-x-rojo); }
.t-estado-grande { font-size: 1.1rem; margin: 0.3rem 0; }

/* ---------- ficha ---------- */
.t-ficha { display: grid; gap: 1rem; background: var(--t-blanco); border-radius: 8px; padding: 1rem; margin-bottom: 0.75rem; }
@media (min-width: 980px) { .t-ficha { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; } }
.t-galeria-principal { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--t-tenue); }
.t-galeria-principal img { width: 100%; height: 100%; object-fit: contain; }
.t-miniaturas { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; gap: 0.4rem; overflow-x: auto; }
.t-miniatura { padding: 0; border: 2px solid var(--t-borde); border-radius: 6px; overflow: hidden; background: none; cursor: pointer; width: 64px; height: 64px; }
.t-miniatura img { width: 100%; height: 100%; object-fit: cover; }
.t-miniatura.activa { border-color: var(--t-naranja); box-shadow: 0 0 0 2px rgba(232, 101, 15, 0.3); }
.t-ficha-texto h1 { font-size: clamp(1.35rem, 4vw, 1.8rem); font-weight: 500; margin: 0; }
.t-ficha-texto hr { border: 0; border-top: 1px solid var(--t-borde); margin: 0.7rem 0; }
.t-ficha-resumen { margin: 0.4rem 0 0; color: var(--t-suave); }
.t-personalizable { margin: 0.6rem 0; padding: 0.55rem 0.8rem; border-radius: 6px; background: var(--t-f-naranja); color: var(--t-naranja-2); font-weight: 700; }
.t-descripcion h2 { font-size: 1rem; margin: 0.8rem 0 0.3rem; }
.t-descripcion ul { margin: 0; padding-left: 1.2rem; }
.t-descripcion li { margin: 0.3rem 0; }
.t-compra { border: 1px solid var(--t-borde); border-radius: 8px; padding: 1rem; }
.t-compra-retiro, .t-compra-nota { font-size: 0.85rem; color: var(--t-suave); margin: 0.4rem 0; }
.t-compra-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.t-compra-form label { display: flex; flex-direction: column; gap: 0.2rem; font-weight: 600; font-size: 0.9rem; }
.t-compra-form label span { font-weight: 400; color: var(--t-suave); }
.t-compra-form select, .t-compra-form input, .t-formulario input, .t-formulario textarea, .t-cantidad select {
  font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--t-borde-fuerte); border-radius: 8px; background: var(--t-tenue); }
.t-compra-form select { max-width: 110px; }
.t-enlace-wa { display: block; margin-top: 0.7rem; color: var(--t-enlace); font-size: 0.9rem; text-decoration: none; }
.t-compra-garantias { list-style: none; margin: 0.9rem 0 0; padding: 0.7rem 0 0; border-top: 1px solid var(--t-borde); font-size: 0.85rem; color: var(--t-suave); display: grid; gap: 0.25rem; }

/* ---------- carrito y pedido ---------- */
.t-carrito { display: grid; gap: 0.75rem; }
@media (min-width: 900px) { .t-carrito { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.t-carrito .t-caja { margin: 0; }
.t-lineas { list-style: none; margin: 0; padding: 0; }
.t-linea { display: grid; grid-template-columns: 90px 1fr auto; gap: 0.75rem; padding: 0.9rem 0; border-top: 1px solid var(--t-borde); }
.t-linea-foto { width: 90px; height: 90px; border-radius: 6px; overflow: hidden; background: var(--t-tenue); }
.t-linea-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-linea-nombre { font-weight: 600; text-decoration: none; font-size: 1.02rem; }
.t-linea-detalle { margin: 0.15rem 0; font-size: 0.85rem; color: var(--t-suave); }
.t-linea-acciones { display: flex; gap: 0.9rem; align-items: center; margin-top: 0.3rem; flex-wrap: wrap; font-size: 0.9rem; }
.t-cantidad label { display: flex; gap: 0.3rem; align-items: center; }
.t-linea-total { margin: 0; font-weight: 800; font-size: 1.05rem; }
.t-resumen-compra h2 { font-size: 1.15rem; }
.t-subtotal { font-size: 1.1rem; margin: 0.4rem 0; }
.t-resumen-lineas { list-style: none; margin: 0 0 0.6rem; padding: 0; }
.t-resumen-lineas li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.4rem 0; border-bottom: 1px solid var(--t-borde); font-size: 0.92rem; }
.t-resumen-lineas small { color: var(--t-suave); }
.t-formulario { display: flex; flex-direction: column; gap: 0.75rem; }
.t-formulario fieldset { border: 1px solid var(--t-borde); border-radius: 8px; padding: 0.8rem; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.t-formulario legend { font-weight: 800; padding: 0 0.3rem; }
.t-formulario label { display: flex; flex-direction: column; gap: 0.2rem; font-weight: 600; }
.t-formulario label > span { font-weight: 400; color: var(--t-suave); }
.t-opcion { flex-direction: row !important; align-items: flex-start; gap: 0.5rem !important; font-weight: 500 !important; cursor: pointer; }
.t-opcion input { margin-top: 0.25rem; }
.t-opcion small { color: var(--t-suave); }
.t-codigo { font-family: ui-monospace, Consolas, monospace; background: var(--t-tenue); padding: 0.1rem 0.4rem; border-radius: 4px; }
.t-estado-pedido { display: inline-block; margin: 0 0 1rem; padding: 0.4rem 0.8rem; border-radius: 999px; font-weight: 800; background: var(--t-f-naranja); color: var(--t-x-naranja); }
.t-estado-pedido-pagado, .t-estado-pedido-listo, .t-estado-pedido-entregado { background: var(--t-f-verde); color: var(--t-x-verde); }
.t-estado-pedido-cancelado { background: var(--t-tenue); color: var(--t-suave); }
.t-pasos { list-style: none; display: flex; margin: 0 0 1.2rem; padding: 0; counter-reset: paso; }
.t-pasos li { flex: 1; position: relative; text-align: center; font-size: 0.78rem; color: var(--t-suave); padding-top: 2rem; }
.t-pasos li::before { counter-increment: paso; content: counter(paso); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--t-tenue); font-weight: 800; color: #fff; z-index: 1; }
.t-pasos li::after { content: ""; position: absolute; top: 0.8rem; left: -50%; width: 100%; height: 3px; background: var(--t-tenue); }
.t-pasos li:first-child::after { display: none; }
.t-pasos li.hecho { color: var(--t-texto); font-weight: 700; }
.t-pasos li.hecho::before, .t-pasos li.hecho::after { background: #1f9d55; }
.t-pago { border: 2px solid var(--t-naranja); border-radius: 8px; padding: 0.9rem; margin: 0 0 1rem; }
.t-pago h2 { margin-top: 0; }
.t-cuenta { white-space: pre-wrap; font: inherit; font-weight: 700; background: var(--t-tenue); padding: 0.7rem; border-radius: 6px; margin: 0.5rem 0; }

/* ---------- empresas y pie ---------- */
.t-empresas { margin: 0 0 0.75rem; padding: 1.5rem 1.2rem; border-radius: 8px; background: var(--t-blanco); border-top: 5px solid var(--t-naranja); }
.t-empresas h2 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.t-empresas p { margin: 0 0 1rem; color: var(--t-suave); }
.t-niveles { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.t-niveles li { padding: 0.8rem; border-radius: 8px; background: var(--t-tenue); text-align: center; }
.t-niveles b { display: block; font-size: 1.2rem; color: var(--t-tinta); }
.t-niveles span { display: block; font-weight: 800; color: var(--t-naranja-2); }
.t-pie { padding: 2rem 1rem; text-align: center; font-size: 0.85rem; color: #c9c5e0; background: var(--t-azul); }
.t-pie p { margin: 0.2rem 0; }
.t-pie-marca { font-size: 1.05rem; color: #fff; }

/* ---------- P9C: personalizar, carrito lateral, datos del pedido ---------- */
.t-personalizar { border: 1px solid var(--t-borde); border-radius: 8px; padding: 0.6rem; background: var(--t-f-naranja); display: flex; flex-direction: column; gap: 0.5rem; }
.t-compra-form .t-personalizar-casilla { flex-direction: row; align-items: flex-start; gap: 0.5rem; cursor: pointer; font-weight: 500; }
.t-compra-form .t-personalizar-casilla input { width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--t-naranja); flex: none; }
.t-compra-form .t-personalizar-casilla small { color: var(--t-suave); font-weight: 400; }
.t-recargo { display: inline-block; padding: 0 0.4rem; border-radius: 999px; background: var(--t-naranja); color: #fff !important; font-weight: 800 !important; font-size: 0.8rem; }
.t-personalizar:not(.activo) .t-personalizar-texto { display: none; }
.t-compra-total { margin: 0; font-size: 1.05rem; }
.t-boton[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

.t-lateral-fondo { position: fixed; inset: 0; background: rgba(15, 17, 17, 0.45); z-index: 40; }
.t-lateral { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--t-blanco); z-index: 41; display: flex; flex-direction: column; box-shadow: -6px 0 24px rgba(0, 0, 0, 0.2); animation: t-entra 0.2s ease-out; }
@keyframes t-entra { from { transform: translateX(100%); } to { transform: none; } }
.t-lateral[hidden], .t-lateral-fondo[hidden] { display: none; }
.t-lateral-cabeza { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; background: var(--t-azul); color: #fff; }
.t-lateral-cabeza h2 { margin: 0; font-size: 1.15rem; }
.t-lateral-cerrar { border: 0; background: none; color: #fff; font-size: 1.3rem; cursor: pointer; padding: 0.2rem 0.4rem; }
.t-lateral-cuerpo { flex: 1; overflow-y: auto; padding: 1rem; }
.t-lateral-lineas { list-style: none; margin: 0; padding: 0; }
.t-lateral-linea { display: grid; grid-template-columns: 72px 1fr auto; gap: 0.6rem; padding: 0.7rem 0; border-bottom: 1px solid var(--t-borde); }
.t-lateral-foto { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; background: var(--t-tenue); }
.t-lateral-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-lateral-foto .t-sin-foto { min-height: 72px; font-size: 0.7rem; }
.t-lateral-texto { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.9rem; }
.t-lateral-texto a { text-decoration: none; }
.t-lateral-texto small { color: var(--t-suave); }
.t-lateral-texto form { margin: 0; }
.t-lateral-subtotal { font-size: 0.95rem; }
.t-lateral-pie { position: sticky; bottom: -1rem; background: var(--t-blanco); padding: 0.8rem 0 1rem; border-top: 1px solid var(--t-borde); margin-top: 0.5rem; }
body.t-lateral-abierto { overflow: hidden; }
.t-carrito-icono.t-salta { animation: t-salta 0.5s; }
@keyframes t-salta { 30% { transform: scale(1.25); } 60% { transform: scale(0.95); } }

.t-carrito-principal { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.t-campos-fila { display: grid; gap: 0.55rem; }
@media (min-width: 620px) { .t-campos-fila { grid-template-columns: 1fr 1fr; } }
.t-formulario select { font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--t-borde-fuerte); border-radius: 8px; background: var(--t-tenue); }
.t-domicilio, .t-factura { display: flex; flex-direction: column; gap: 0.55rem; padding: 0.7rem; border-radius: 8px; background: var(--t-tenue); }
.t-domicilio[hidden], .t-factura[hidden] { display: none; }
.t-resumen-fila { display: flex; justify-content: space-between; gap: 0.5rem; margin: 0.3rem 0; font-size: 0.95rem; }
.t-resumen-fila[hidden] { display: none; }
@media (min-width: 900px) { .t-resumen-compra { position: sticky; top: 0.75rem; } }

/* ---------- P9F: diseño nuevo (portada con foto, ficha con opciones, tarjetas) ---------- */
:root { --t-crema: #f6e7da; --t-verde: #22c55e; }
body { font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; background: var(--t-tenue); }
.t-contenido { max-width: 1200px; }
.t-marca img { width: auto; height: 40px; }
.t-marca-linea { font-size: 0.56rem; letter-spacing: 0.32em; margin-top: 0.15rem; }
@media (min-width: 760px) { .t-subbarra { justify-content: center; gap: 1rem; } .t-subbarra a { font-size: 0.98rem; font-weight: 700; } }

/* menú ☰ */
.t-menu { position: relative; }
.t-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; padding: 0.2rem; border: 1px solid transparent; border-radius: 3px; }
.t-menu summary::-webkit-details-marker { display: none; }
.t-menu summary:hover { border-color: var(--t-blanco); }
.t-menu-panel { position: absolute; right: 0; top: calc(100% + 0.4rem); min-width: 230px; background: var(--t-blanco); color: var(--t-texto); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); padding: 0.4rem; display: flex; flex-direction: column; z-index: 30; }
.t-menu-panel a { padding: 0.6rem 0.8rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.t-menu-panel a:hover { background: var(--t-f-azul); color: var(--t-naranja-2); }

/* botones */
.t-boton-azul { background: var(--t-azul); color: #fff; }
.t-boton-azul:hover { background: var(--t-azul-2); }
.t-boton-wa { background: var(--t-verde); }
.t-boton-wa:hover { background: #16a34a; }

/* portada */
.t-portada { position: relative; overflow: hidden; padding: 2.2rem 1.4rem; border-radius: 10px; }
.t-portada-cuerpo { position: relative; z-index: 2; max-width: 34rem; }
.t-portada-botones { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.t-portada-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.t-portada-con-foto { background: var(--t-azul); }
.t-portada-con-foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(34, 29, 74, 0.96) 0%, rgba(34, 29, 74, 0.85) 45%, rgba(34, 29, 74, 0.45) 100%); }
@media (min-width: 760px) {
  .t-portada { padding: 2.6rem 2.4rem; min-height: 250px; }
  .t-portada-foto { left: auto; width: 62%; }
  .t-portada-con-foto::before { background: linear-gradient(90deg, var(--t-azul) 38%, rgba(34, 29, 74, 0.55) 62%, rgba(34, 29, 74, 0.1) 100%); }
}

/* cajas y tarjetas */
.t-caja { border-radius: 10px; padding: 1.1rem 1.2rem; }
.t-caja-color { background: var(--t-crema); }
.t-caja-titulo { justify-content: space-between; align-items: center; }
.t-caja-titulo a { color: var(--t-naranja-2); font-weight: 700; }
.t-mosaico-foto { border-radius: 8px; background: var(--t-tenue); }
.t-mosaico-nombre { font-weight: 700; }
.t-tarjeta { border-radius: 10px; padding: 0.6rem; border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.t-tarjeta-foto { border-radius: 8px; background: var(--t-tenue); }
.t-tarjeta h3 { font-weight: 700; color: var(--t-texto); }
.t-tarjeta-precio { margin: 0.1rem 0 0; font-size: 1.15rem; font-weight: 800; color: var(--t-naranja); }
.t-tarjeta-precio .t-desde { font-size: 0.75rem; font-weight: 600; color: var(--t-suave); }
.t-tarjeta-precio s { font-size: 0.8rem; font-weight: 500; color: var(--t-suave); margin-left: 0.3rem; }

/* ficha */
.t-ficha { border-radius: 10px; }
@media (min-width: 980px) { .t-ficha { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 280px; } }
.t-galeria-principal { background: var(--t-tenue); border-radius: 8px; }
.t-miniaturas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.t-miniatura { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; }
.t-coleccion { margin: 0 0 0.2rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-naranja); }
.t-ficha-texto h1 { font-weight: 800; }
.t-ficha-precio .t-antes { display: flex; align-items: center; gap: 0.5rem; margin: 0.2rem 0 0; }
.t-descuento { display: inline-block; padding: 0.05rem 0.45rem; border-radius: 999px; background: #dc2626; color: #fff; font-size: 0.78rem; font-weight: 800; }
.t-ficha-texto .t-personalizar { margin: 0.9rem 0; border: 1px solid var(--t-borde); background: var(--t-f-naranja); border-radius: 8px; padding: 0.65rem 0.8rem; }
.t-personalizar-casilla { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; color: var(--t-naranja-2); font-weight: 700; font-size: 0.92rem; }
.t-personalizar-casilla span { flex: 1; }
.t-personalizar-casilla input { width: 22px; height: 22px; accent-color: #16a34a; flex: none; margin: 0; }
.t-personalizar-icono { flex: none; color: var(--t-naranja); }
.t-ficha-texto .t-personalizar-texto { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.6rem; font-weight: 600; font-size: 0.9rem; }
.t-ficha-texto .t-personalizar-texto span { font-weight: 400; color: var(--t-suave); }
.t-ficha-texto .t-personalizar-texto input { font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--t-borde); border-radius: 8px; background: var(--t-blanco); }
.t-opciones { border: 0; padding: 0; margin: 0.8rem 0; }
.t-opciones legend { font-weight: 800; padding: 0; margin-bottom: 0.4rem; }
.t-opciones-lista { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.t-opcion-chip { position: relative; cursor: pointer; }
.t-opcion-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.t-opcion-chip span { display: flex; flex-direction: column; align-items: center; min-width: 92px; padding: 0.45rem 0.9rem; border: 1.5px solid var(--t-borde); border-radius: 12px; background: var(--t-blanco); text-align: center; }
.t-opcion-chip b { font-size: 0.9rem; }
.t-opcion-chip small { font-size: 0.72rem; color: var(--t-suave); }
.t-opcion-chip .t-opcion-precio { color: var(--t-naranja-2); font-weight: 700; }
.t-opcion-chip input:checked + span { border-color: var(--t-naranja); background: var(--t-f-naranja); box-shadow: 0 0 0 1px var(--t-naranja); }
.t-opcion-chip input:focus-visible + span { outline: 3px solid rgba(232, 101, 15, 0.4); outline-offset: 1px; }
.t-opcion-chip input:disabled + span { cursor: default; }
.t-descripcion h2 { font-weight: 800; }
.t-descripcion ul { list-style: none; padding: 0; }
.t-descripcion li { position: relative; padding-left: 1rem; font-size: 0.92rem; }
.t-descripcion li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--t-naranja); }

/* caja de compra */
.t-compra { border-radius: 10px; border-color: var(--t-borde); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); }
.t-pastilla { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0.3rem 0; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: var(--t-f-verde); color: var(--t-x-verde); }
.t-pastilla::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.t-pastilla-pocas, .t-pastilla-agotado { background: var(--t-f-rojo); color: var(--t-x-rojo); }
.t-cantidad-fila { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-weight: 700; font-size: 0.9rem; }
.t-contador { display: flex; align-items: center; border: 1px solid var(--t-borde); border-radius: 999px; overflow: hidden; background: var(--t-blanco); }
.t-contador button { width: 34px; height: 34px; border: 0; background: none; font: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer; color: var(--t-texto); }
.t-contador button:hover { background: var(--t-tenue); }
.t-compra-form .t-contador input { width: 40px; height: 34px; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.t-contador input::-webkit-outer-spin-button, .t-contador input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.t-compra .t-boton { min-height: 44px; }
.t-compra-garantias { list-style: none; gap: 0.45rem; color: var(--t-texto); }
.t-compra-garantias li { display: flex; align-items: center; gap: 0.5rem; }
.t-compra-garantias li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--t-f-naranja); color: var(--t-naranja-2); font-size: 0.75rem; font-weight: 900; flex: none; }
.t-migas b { color: var(--t-texto); }

/* ---------- P9G: cuentas ---------- */
.t-cuenta-icono { display: flex; align-items: center; gap: 0.3rem; text-decoration: none; padding: 0.2rem 0.4rem; border: 1px solid transparent; border-radius: 3px; }
.t-cuenta-icono:hover { border-color: var(--t-blanco); }
.t-cuenta-texto { display: none; font-weight: 800; font-size: 0.9rem; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 760px) { .t-cuenta-texto { display: inline; } }
.t-acceso { display: grid; gap: 0.75rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 820px) { .t-acceso { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.t-acceso .t-caja { margin: 0; }
.t-pestanas { display: flex; gap: 0.3rem; margin: 0 0 1rem; border-bottom: 2px solid var(--t-borde); }
.t-pestanas a { padding: 0.5rem 1rem; text-decoration: none; font-weight: 700; color: var(--t-suave); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.t-pestanas a.activa { color: var(--t-tinta); border-color: var(--t-naranja); }
.t-acceso-ventajas h2 { font-size: 1.1rem; }
.t-cuenta-pagina { max-width: 900px; margin: 0 auto; }
.t-cuenta-pagina h2 { font-size: 1.15rem; }
.t-cuenta-pagina form { margin: 0; }
.t-mis-pedidos { list-style: none; margin: 0; padding: 0; }
.t-mis-pedidos a { display: grid; gap: 0.2rem; padding: 0.75rem 0; border-top: 1px solid var(--t-borde); text-decoration: none; }
@media (min-width: 700px) { .t-mis-pedidos a { grid-template-columns: 1.1fr 2fr auto; align-items: center; gap: 1rem; } }
.t-mis-pedidos a:hover .t-codigo { background: var(--t-f-naranja); }
.t-mis-pedidos-items { font-size: 0.9rem; color: var(--t-suave); }
.t-mis-pedidos .t-estado-pedido { margin: 0; font-size: 0.78rem; padding: 0.2rem 0.6rem; }

/* ---------- P9H: botón listo, página de pago ---------- */
form[data-listo] button[type=submit] { background: var(--t-borde); color: var(--t-suave); transition: background 0.2s, color 0.2s; }
form[data-listo] button[type=submit].t-boton-listo { background: var(--t-verde); color: #fff; }
form[data-listo] button[type=submit].t-boton-listo:hover { background: #16a34a; }

.t-flujo { list-style: none; display: flex; margin: 0.4rem auto 1.2rem; padding: 0; max-width: 900px; }
.t-flujo li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 700; color: var(--t-suave); text-align: center; }
.t-flujo li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 3px; background: #d1d5db; z-index: 0; }
.t-flujo li:first-child::before { display: none; }
.t-flujo li.hecho::before, .t-flujo li.actual::before { background: var(--t-naranja); }
.t-flujo-punto { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--t-blanco); border: 2px solid var(--t-borde); color: var(--t-suave); font-weight: 800; }
.t-flujo li.hecho .t-flujo-punto { background: var(--t-naranja); border-color: var(--t-naranja); color: #fff; }
.t-flujo li.actual .t-flujo-punto { background: var(--t-azul); border-color: var(--t-tinta); color: #fff; }
.t-flujo li.hecho, .t-flujo li.actual { color: var(--t-texto); }

.t-pedido-cabeza { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin: 0 0 0.9rem; }
.t-pedido-cabeza h1 { margin: 0; font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 900; }
.t-pastilla-estado { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 800; border: 1.5px solid var(--t-naranja); color: var(--t-naranja-2); background: var(--t-f-naranja); }
.t-pastilla-estado::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.t-pastilla-estado-pagado, .t-pastilla-estado-listo, .t-pastilla-estado-entregado { border-color: #16a34a; color: var(--t-x-verde); background: var(--t-f-verde); }
.t-pastilla-estado-cancelado { border-color: var(--t-borde-fuerte); color: var(--t-suave); background: var(--t-tenue); }

.t-pedido { display: grid; gap: 0.9rem; }
@media (min-width: 940px) { .t-pedido { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; } }
.t-pedido .t-caja { margin: 0 0 0.9rem; }
.t-pedido-lado h2, .t-pedido-principal h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 0.5rem; }
.t-pago-caja { border: 2px solid var(--t-naranja); }
.t-pago-hecho { border-color: #16a34a; }
.t-pago-sub { margin: -0.2rem 0 0.9rem; color: var(--t-suave); font-size: 0.9rem; }
.t-pago-arriba { display: grid; gap: 0.9rem; margin-bottom: 0.9rem; }
@media (min-width: 700px) { .t-pago-arriba { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; } }
.t-pago-total { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 0.9rem 1rem; border-radius: 10px; background: var(--t-f-naranja); margin-bottom: 0.9rem; }
.t-pago-arriba .t-pago-total { margin: 0; }
.t-pago-total small { display: block; font-size: 0.78rem; font-weight: 700; color: var(--t-suave); }
.t-pago-total > div:first-child b { font-size: 2rem; font-weight: 900; line-height: 1.1; }
.t-pago-vence { display: flex; align-items: center; gap: 0.6rem; padding-left: 1rem; border-left: 1px solid var(--t-borde); color: var(--t-naranja); }
.t-pago-vence b { color: var(--t-naranja-2); font-size: 1.05rem; }
.t-pago-medios h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 800; }
.t-pago-medios ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.t-pago-medios li { padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--t-f-azul); color: var(--t-tinta); font-size: 0.78rem; font-weight: 700; }
.t-pago-datos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--t-borde); border-radius: 10px; margin-bottom: 0.9rem; }
.t-pago-datos-texto { flex: 1 1 260px; }
.t-pago-datos h3 { margin: 0 0 0.5rem; font-size: 0.95rem; font-weight: 800; }
.t-pago-tabla { margin: 0; }
.t-pago-tabla div { display: grid; grid-template-columns: 130px 1fr; gap: 0.5rem; padding: 0.35rem 0; border-bottom: 1px solid var(--t-borde); font-size: 0.9rem; }
.t-pago-tabla div:last-child { border-bottom: 0; }
.t-pago-tabla dt { color: var(--t-suave); }
.t-pago-tabla dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.t-pago-qr { margin: 0 auto; text-align: center; }
.t-pago-qr img { width: 180px; height: 180px; object-fit: contain; border-radius: 8px; background: var(--t-blanco); }
.t-pago-qr figcaption { margin-top: 0.3rem; font-size: 0.75rem; color: var(--t-suave); max-width: 180px; }
.t-pago-ref { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.8rem 1rem; border-radius: 10px; background: var(--t-tenue); margin-bottom: 1rem; }
.t-pago-ref small { display: block; font-size: 0.78rem; color: var(--t-suave); }
.t-pago-ref b { font-size: 1.35rem; font-weight: 900; color: var(--t-naranja-2); letter-spacing: 0.04em; }
.t-pago-etiqueta { margin: 0; font-weight: 800; }
.t-subir { position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem !important; min-height: 140px; padding: 1rem; border: 2px dashed #f0a46c; border-radius: 10px; background: var(--t-f-naranja); text-align: center; cursor: pointer; color: var(--t-naranja-2); }
.t-subir input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.t-subir-icono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--t-blanco); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); font-size: 1.3rem; font-weight: 900; color: var(--t-naranja); }
.t-subir small { color: var(--t-suave); font-weight: 400; }
.t-subir.encima, .t-subir:hover { background: var(--t-f-naranja); }
.t-subir.lleno { border-style: solid; border-color: #16a34a; background: var(--t-f-verde); color: var(--t-x-verde); }
.t-subir:focus-within { outline: 3px solid rgba(232, 101, 15, 0.4); outline-offset: 2px; }

.t-resumen-items { list-style: none; margin: 0 0 0.6rem; padding: 0; }
.t-resumen-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.7rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--t-borde); }
.t-resumen-foto { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--t-tenue); }
.t-resumen-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-resumen-foto .t-sin-foto { min-height: 56px; font-size: 0.6rem; color: #9ca3af; }
.t-resumen-texto { display: flex; flex-direction: column; font-size: 0.9rem; }
.t-resumen-texto small { color: var(--t-suave); }
.t-gratis { color: var(--t-x-verde); }
.t-resumen-total { display: flex; justify-content: space-between; margin: 0.6rem 0; padding-top: 0.6rem; border-top: 1px solid var(--t-borde); font-size: 1.15rem; font-weight: 800; }
.t-resumen-total b { color: var(--t-naranja); font-size: 1.35rem; }
.t-resumen-info { margin: 0; padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--t-tenue); }
.t-resumen-info div { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; padding: 0.25rem 0; font-size: 0.85rem; }
.t-resumen-info dt { color: var(--t-suave); }
.t-resumen-info dd { margin: 0; font-weight: 800; }
.t-resumen-info small { font-weight: 400; color: var(--t-suave); }
.t-pedido-lado .t-boton { margin-top: 0.5rem; }

/* ---------- P9I: elegir el banco ---------- */
.t-medios-logos { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.t-medio-boton { display: grid; place-items: center; width: 56px; height: 56px; padding: 4px; border: 2px solid var(--t-borde); border-radius: 12px; background: var(--t-blanco); cursor: pointer; }
.t-medio-boton img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.t-medio-boton:hover { border-color: #f0a46c; }
.t-medio-boton[aria-pressed="true"] { border-color: var(--t-naranja); box-shadow: 0 0 0 3px rgba(232, 101, 15, 0.2); }
.t-medio-inicial { font-weight: 900; font-size: 0.95rem; color: var(--t-tinta); }
.t-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-pago-datos[hidden] { display: none; }
.t-pago-datos h3 { display: flex; align-items: center; gap: 0.45rem; }
.t-medio-mini { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.t-copiar-mini { margin-left: 0.4rem; padding: 0.05rem 0.5rem; border: 1px solid var(--t-borde); border-radius: 999px; background: var(--t-blanco); font: inherit; font-size: 0.72rem; font-weight: 700; cursor: pointer; }
.t-copiar-mini:hover { border-color: var(--t-naranja); color: var(--t-naranja-2); }
.t-pago-qr .t-boton { margin-top: 0.4rem; }
.t-solo-celular { display: none; }
@media (pointer: coarse) {
  .t-solo-celular { display: inline-flex; }
  figcaption.t-solo-celular { display: block; }
  .t-solo-compu { display: none; }
}
@media (max-width: 420px) { .t-carrito-texto { display: none; } .t-barra { gap: 0.5rem; } }

/* ---------------------------------------------------------------- P9J: personalizar con foto y «¡Gran compra!» */
.t-ficha-texto .t-personalizar-texto label { display: flex; flex-direction: column; gap: 0.25rem; }
.t-ficha-texto .t-personalizar-texto textarea { font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--t-borde); border-radius: 8px; background: var(--t-blanco); resize: vertical; min-height: 4.5rem; }
.t-personalizar-texto .t-subir-chico { padding: 0.7rem; margin-top: 0.5rem; background: var(--t-blanco); font-weight: 600; }
.t-personalizar-texto .t-subir-chico .t-subir-icono { width: 38px; height: 38px; font-size: 1.1rem; }
.t-personalizar-texto .t-subir-chico small { font-weight: 400; }
.t-gracias { text-align: center; padding: 2rem 1.2rem; border: 2px solid #22c55e; background: var(--t-f-verde); }
.t-gracias-icono { width: 64px; height: 64px; margin: 0 auto 0.6rem; border-radius: 50%; background: #22c55e; color: #fff; font-size: 2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.t-gracias h2 { font-size: 1.7rem; margin: 0 0 0.4rem; color: var(--t-x-verde); }
.t-gracias p { margin: 0.3rem 0; font-size: 1.05rem; }
.t-gracias-dia { font-weight: 700; }
.t-gracias-boton { display: inline-flex; margin: 1rem auto 0.6rem; min-width: 220px; justify-content: center; }
.t-gracias-estado { color: var(--t-suave); font-size: 0.9rem !important; }
.t-personalizar-texto .t-subir-chico { min-height: 96px; }
.t-personalizar-texto .t-subir-chico.lleno { background: var(--t-f-verde); }

/* P10B: pagar con tarjeta (PayPhone) */
.t-tarjeta-caja { border: 2px solid var(--t-naranja); }
.t-tarjeta-caja form { margin: 0.6rem 0; }

/* P11A: promociones por días */
.t-cinta-promo { background: var(--t-naranja); }
.t-promo-quedan { margin: 0.15rem 0 0; font-size: 0.78rem; font-weight: 700; color: var(--t-x-rojo); }
.t-subbarra .t-subbarra-promo { color: var(--t-amarillo); }
.t-promo-franja { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin: 0 0 0.75rem; padding: 0.8rem 1.1rem; border-radius: 10px; background: linear-gradient(135deg, var(--t-naranja), #b42318); color: #fff; text-decoration: none; }
.t-promo-franja-boton { padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--t-blanco); color: var(--t-naranja-2); font-weight: 800; white-space: nowrap; }
.t-promo-caja { margin: 0.8rem 0; padding: 0.75rem 0.9rem; border: 2px dashed var(--t-naranja); border-radius: 10px; background: var(--t-f-naranja); }
.t-promo-caja p { margin: 0.2rem 0; }
.t-promo-titulo { font-weight: 800; color: var(--t-naranja-2); }
.t-promo-manana { font-size: 0.85rem; color: var(--t-suave); }
.t-promo-cuenta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin-top: 0.5rem !important; font-weight: 600; }
.t-propuestas-nota { margin: 0.4rem 0 0; font-size: 0.82rem; color: var(--t-suave); }
.t-tramo { display: block; }
.t-tramo-promo { color: var(--t-x-rojo); font-weight: 700; }
.t-tramos { display: flex; flex-direction: column; }
.t-ahorro { margin: 0.2rem 0 0.4rem; color: var(--t-x-verde); font-weight: 800; }
.t-promo-portada { margin: 0 0 0.75rem; padding: 1.6rem 1.3rem; border-radius: 10px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(255, 210, 63, 0.45), transparent 45%), linear-gradient(135deg, var(--t-naranja), #7a1f2b); }
.t-promo-portada h1 { margin: 0.2rem 0; font-size: clamp(1.6rem, 5vw, 2.4rem); }
.t-promo-frase { margin: 0.2rem 0 0.6rem; font-size: 1.05rem; }
.t-promo-hoy { margin: 0 0 0.8rem; font-size: 1.05rem; }
.t-promo-calendario { list-style: none; margin: 0 0 0.6rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 0.4rem; }
.t-promo-calendario li { display: flex; flex-direction: column; align-items: center; padding: 0.45rem 0.3rem; border-radius: 8px; background: rgba(255, 255, 255, 0.16); }
.t-promo-calendario li b { font-size: 1.15rem; }
.t-promo-calendario li small { opacity: 0.85; }
.t-promo-calendario li.hoy { background: var(--t-blanco); color: var(--t-naranja-2); box-shadow: 0 0 0 3px var(--t-amarillo); }
.t-promo-calendario li.paso { opacity: 0.5; }
.t-enlace-claro { color: #fff; text-decoration: underline; }

/* ---------- P11C: escaparate de inicio (carrusel sobrio) ---------- */
.t-esc { --esc-alto: 460px; position: relative; margin: 0 0 0.75rem; border-radius: 14px; overflow: hidden; background: #14112b; isolation: isolate; }
.t-esc-lamina { --esc-tinta: #14112b; --esc-acento: #f4c9a8; --esc-boton: #ffffff; --esc-boton-texto: #14112b; --esc-texto: #ffffff; color: var(--esc-texto); }
.t-esc-pista { position: relative; display: grid; }
.t-esc-lamina { grid-area: 1 / 1; position: relative; z-index: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; gap: 1.2rem; min-height: var(--esc-alto); padding: 2rem 1.3rem 4.2rem; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--esc-acento) 22%, transparent), transparent 55%), linear-gradient(140deg, color-mix(in srgb, var(--esc-tinta) 85%, #ffffff) 0%, var(--esc-tinta) 70%); }
.t-esc-lamina.activa { opacity: 1; visibility: visible; transition: opacity 0.9s ease, visibility 0s; z-index: 1; }
.t-esc-fondo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.t-esc-fondo img, .t-esc-fondo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s ease-out; }
.t-esc-lamina.activa .t-esc-fondo img, .t-esc-lamina.activa .t-esc-fondo video { transform: scale(1); }
.t-esc-fondo video { z-index: 1; }
.t-esc-con-fondo .t-esc-fondo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, color-mix(in srgb, var(--esc-tinta) 92%, transparent) 0%, color-mix(in srgb, var(--esc-tinta) 55%, transparent) 55%, color-mix(in srgb, var(--esc-tinta) 15%, transparent) 100%); }

.t-esc-cuerpo { position: relative; z-index: 1; max-width: 36rem; }
.t-esc-pre { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--esc-acento); }
.t-esc-pre::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.t-esc-titulo { margin: 0 0 0.8rem; font-size: clamp(2rem, 5.4vw, 3.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.t-esc-texto { margin: 0 0 1.4rem; max-width: 30rem; font-size: 1.02rem; line-height: 1.55; color: var(--esc-texto); opacity: 0.85; }
.t-esc-botones { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.t-esc-boton { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0 1.4rem; border-radius: 999px; background: var(--esc-boton); color: var(--esc-boton-texto); font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.2s ease, box-shadow 0.2s ease; }
.t-esc-boton::after { content: "→"; transition: transform 0.2s ease; }
.t-esc-boton:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.t-esc-boton:hover::after { transform: translateX(3px); }
.t-esc-boton-2 { background: transparent; color: var(--esc-texto); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--esc-texto) 55%, transparent); }
.t-esc-boton-2::after { content: none; }
.t-esc-boton-2:hover { background: color-mix(in srgb, var(--esc-texto) 10%, transparent); box-shadow: inset 0 0 0 1px var(--esc-texto); }
.t-esc-boton:focus-visible, .t-esc button:focus-visible, .t-esc-productos a:focus-visible { outline: 2px solid var(--esc-acento); outline-offset: 3px; }

/* el texto entra en cascada, suave */
.t-esc-cuerpo > *, .t-esc-lado, .t-esc-productos li { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.t-esc-lamina.activa .t-esc-cuerpo > *, .t-esc-lamina.activa .t-esc-lado, .t-esc-lamina.activa .t-esc-productos li { opacity: 1; transform: none; }
.t-esc-lamina.activa .t-esc-cuerpo > :nth-child(1) { transition-delay: 0.25s; }
.t-esc-lamina.activa .t-esc-cuerpo > :nth-child(2) { transition-delay: 0.35s; }
.t-esc-lamina.activa .t-esc-cuerpo > :nth-child(3) { transition-delay: 0.45s; }
.t-esc-lamina.activa .t-esc-cuerpo > :nth-child(4) { transition-delay: 0.55s; }
.t-esc-lamina.activa .t-esc-cuerpo > :nth-child(5) { transition-delay: 0.65s; }
.t-esc-lamina.activa .t-esc-lado, .t-esc-lamina.activa .t-esc-productos li:nth-child(1) { transition-delay: 0.45s; }
.t-esc-lamina.activa .t-esc-productos li:nth-child(2) { transition-delay: 0.55s; }
.t-esc-lamina.activa .t-esc-productos li:nth-child(3) { transition-delay: 0.65s; }

/* promoción: el número grande, la cuenta regresiva y lo que queda */
.t-esc-datos { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; margin: 0 0 1.4rem; }
.t-esc-reloj, .t-esc-cupo { display: flex; flex-direction: column; gap: 0.25rem; margin: 0; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--esc-texto); opacity: 0.8; }
.t-esc-reloj b { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em; color: var(--esc-texto); font-variant-numeric: tabular-nums; }
.t-esc-cupo b { color: var(--esc-texto); }
.t-esc-barra { display: block; width: 180px; height: 3px; margin-top: 0.45rem; border-radius: 3px; background: color-mix(in srgb, var(--esc-texto) 20%, transparent); overflow: hidden; }
.t-esc-barra span { display: block; height: 100%; width: var(--lleno, 0%); background: var(--esc-acento); transition: width 1.2s ease 0.6s; }
.t-esc-lado { display: none; position: relative; z-index: 1; }
.t-esc-numero { margin: 0; font-size: clamp(5rem, 13vw, 10rem); font-weight: 200; line-height: 0.85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--esc-acento); }
.t-esc-numero small { font-size: 0.4em; font-weight: 300; -webkit-text-stroke: 1px var(--esc-acento); }
.t-esc-numero-pie { margin: 0.6rem 0 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--esc-acento); }

/* productos nuevos */
.t-esc-productos { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.t-esc-productos a { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; padding: 0.45rem; border-radius: 12px; background: color-mix(in srgb, var(--esc-texto) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--esc-texto) 12%, transparent); text-decoration: none; transition: background 0.2s ease, transform 0.3s ease; }
.t-esc-productos a:hover { background: color-mix(in srgb, var(--esc-texto) 13%, transparent); transform: translateY(-3px); }
.t-esc-producto-foto { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #f4f1ec; display: grid; place-items: center; color: #999; font-weight: 800; font-size: 0.7rem; }
.t-esc-producto-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-esc-producto-nombre { font-size: 0.78rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-esc-producto-precio { margin-top: auto; font-size: 0.82rem; font-weight: 700; color: var(--esc-acento); }

/* controles: flechas y líneas que se llenan */
.t-esc-controles { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.1rem; z-index: 3; display: flex; align-items: center; gap: 0.8rem; }
.t-esc-puntos { display: flex; gap: 0.4rem; }
.t-esc-puntos button { width: 34px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.t-esc-puntos button span { display: block; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--esc-control, #fff) 28%, transparent); overflow: hidden; position: relative; }
.t-esc-puntos button span::after { content: ""; position: absolute; inset: 0; background: var(--esc-control, #fff); transform: scaleX(0); transform-origin: left; }
.t-esc-puntos button.visto span::after { transform: scaleX(1); }
.t-esc-puntos button[aria-current="true"] span::after { animation: t-esc-llenar var(--esc-tiempo, 7s) linear forwards; }
.t-esc.pausado .t-esc-puntos button[aria-current="true"] span::after { animation-play-state: paused; }
.t-esc.sin-auto .t-esc-puntos button[aria-current="true"] span::after { animation: none; transform: scaleX(1); }
@keyframes t-esc-llenar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.t-esc-flecha { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--esc-control, #fff); background: color-mix(in srgb, var(--esc-control, #fff) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--esc-control, #fff) 30%, transparent); transition: background 0.2s ease, color 0.6s ease; }
.t-esc-flecha:hover { background: color-mix(in srgb, var(--esc-control, #fff) 22%, transparent); }
.t-esc-flecha[data-esc="anterior"] { display: none; }
.t-esc-flecha[data-esc="siguiente"] { margin-left: auto; }

@media (min-width: 760px) {
  .t-esc { --esc-alto: 480px; }
  .t-esc-lamina { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; align-content: center; gap: 2rem; padding: 3rem 3.2rem 4.4rem; }
  .t-esc-con-fondo .t-esc-fondo::after { background: linear-gradient(90deg, color-mix(in srgb, var(--esc-tinta) 92%, transparent) 0%, color-mix(in srgb, var(--esc-tinta) 72%, transparent) 42%, color-mix(in srgb, var(--esc-tinta) 12%, transparent) 100%); }
  .t-esc-lado { display: block; justify-self: end; text-align: right; }
  .t-esc-productos { gap: 0.8rem; }
  .t-esc-controles { left: 3.2rem; right: 3.2rem; bottom: 1.4rem; }
  .t-esc-puntos { margin-right: auto; }
  .t-esc-flecha[data-esc="anterior"] { display: grid; order: 1; }
  .t-esc-flecha[data-esc="siguiente"] { margin-left: 0; order: 2; }
}
@media (max-width: 759px) {
  .t-esc-productos { order: -1; }
  .t-esc-titulo { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
}

/* quien pide menos movimiento: sin acercamientos ni cascadas, y no avanza sola */
@media (prefers-reduced-motion: reduce) {
  .t-esc-lamina, .t-esc-fondo img, .t-esc-fondo video, .t-esc-cuerpo > *, .t-esc-lado, .t-esc-productos li { transition: none !important; transform: none !important; }
}

/* ---------- P11D: líneas (elige tu modelo), combos y reservas ---------- */
.t-tarjeta-linea { margin: -0.15rem 0 0.25rem; font-size: 0.78rem; font-weight: 600; color: var(--t-suave); }
.t-modelos { margin: 0.9rem 0; }
.t-modelos-titulo { margin: 0 0 0.45rem; font-weight: 800; }
.t-modelos-titulo a { font-weight: 600; color: var(--t-enlace); }
.t-modelos ul { display: flex; gap: 0.55rem; margin: 0; padding: 0 0 0.3rem; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.t-modelos li a { display: flex; flex-direction: column; gap: 0.2rem; width: 104px; padding: 0.35rem; border: 1.5px solid var(--t-borde); border-radius: 12px; background: var(--t-blanco); text-decoration: none; transition: border-color 0.15s ease; }
.t-modelos li a:hover { border-color: var(--t-borde-fuerte); }
.t-modelos li a.actual { border-color: var(--t-naranja); box-shadow: 0 0 0 1px var(--t-naranja); background: var(--t-f-naranja); }
.t-modelos li a.agotado { opacity: 0.55; }
.t-modelos-foto { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--t-f-naranja); color: #aaa; font-size: 0.62rem; font-weight: 800; }
.t-modelos-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-modelos-nombre { font-size: 0.76rem; font-weight: 700; line-height: 1.2; }
.t-modelos-precio { font-size: 0.76rem; font-weight: 700; color: var(--t-naranja-2); }

.t-combo { margin: 0.9rem 0; padding: 0.8rem; border: 1.5px solid var(--t-borde); border-radius: 14px; background: var(--t-f-naranja); }
.t-combo legend { padding: 0 0.3rem; font-weight: 800; }
.t-combo-fila { display: flex; align-items: center; gap: 0.7rem; padding: 0.45rem 0; }
.t-combo-fila + .t-combo-fila { border-top: 1px dashed var(--t-borde); }
.t-combo-foto { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--t-f-naranja); color: #aaa; font-size: 0.55rem; font-weight: 800; }
.t-combo-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-combo-fila label { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.t-combo-nombre { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-suave); }
.t-combo select { font: inherit; padding: 0.5rem 0.6rem; border: 1px solid var(--t-borde); border-radius: 10px; background: var(--t-blanco); }
.t-combo-ahorro { margin: 0.5rem 0 0; font-size: 0.9rem; }
.t-combo-ahorro b { color: var(--t-x-verde); }
.t-combos-con { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.t-combos-con a { display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem; border: 1px solid var(--t-borde); border-radius: 12px; text-decoration: none; }
.t-combos-con .t-modelos-foto { width: 72px; flex: none; }
.t-combos-ir { margin-left: auto; font-weight: 700; font-size: 0.85rem; color: var(--t-naranja-2); }
.t-pastilla-reserva, .t-estado-reserva { background: var(--t-f-azul); color: var(--t-x-azul); }

/* Política de privacidad */
.t-legal { max-width: 46rem; line-height: 1.6; }
.t-legal h2 { font-size: 1.1rem; margin: 1.2rem 0 0.4rem; }
.t-legal ul { margin: 0 0 0.6rem; padding-left: 1.2rem; }
.t-legal-fecha { margin-top: 1.4rem; font-size: 0.85rem; color: var(--t-suave); }

/* Vende con nosotros (QR de la feria): las secciones se abren al marcar Productos, Servicios u Otros */
.t-vende { max-width: 680px; margin: 0 auto; }
.t-vende .fila-campos { display: grid; gap: 0 0.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.t-vende .secundario { color: var(--t-suave); font-weight: 400; font-size: 0.85rem; }
.t-vende textarea, .t-vende select { width: 100%; box-sizing: border-box; font: inherit; padding: 0.5rem 0.65rem; border: 1px solid var(--t-borde); border-radius: 8px; }
.t-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.emp-grupo { border: 1px solid var(--emp-borde, var(--t-borde)); border-radius: 10px; padding: 0.6rem 0.8rem 0.8rem; margin: 0.4rem 0 0.8rem; min-width: 0; }
.emp-grupo legend { font-weight: 700; padding: 0 0.3rem; }
.emp-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.3rem 0 0.6rem; }
.emp-chip { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 0.35rem; padding: 0.4rem 0.8rem; border: 1px solid var(--emp-borde, var(--t-borde)); border-radius: 999px; cursor: pointer; font-weight: 600; margin: 0 !important; }
.emp-chip input { width: auto !important; margin: 0; }
.emp-chip:has(input:checked) { border-color: #e8650f; background: rgba(232, 101, 15, 0.1); }
.emp-form:has(#emp-productos:not(:checked)) .emp-seccion-productos,
.emp-form:has(#emp-servicios:not(:checked)) .emp-seccion-servicios,
.emp-form:has(#emp-cat-otro:not(:checked)) .emp-otra { display: none; }

/* ---------------------------------------------------------------- extras con precio */
.t-extras { border: 0; padding: 0; margin: 0.8rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
.t-extras legend { font-weight: 800; padding: 0; margin-bottom: 0.4rem; }
.t-extra { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.75rem; border: 1.5px solid var(--t-borde); border-radius: 10px; background: var(--t-blanco); cursor: pointer; }
.t-extra span { flex: 1; font-weight: 600; }
.t-extra b { color: var(--t-naranja-2); white-space: nowrap; }
.t-extra input { width: 20px; height: 20px; margin: 0; accent-color: #16a34a; flex: none; }
.t-extra.activo, .t-extra:has(input:checked) { border-color: #16a34a; background: var(--t-f-verde); }

/* ---------------------------------------------------------------- características en pestañas */
.t-secciones { margin: 1rem 0; border: 1px solid var(--t-borde); border-radius: 10px; background: var(--t-blanco); overflow: hidden; }
.t-sec-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.t-sec-pestanas { display: flex; border-bottom: 1px solid var(--t-borde); background: var(--t-tenue); }
.t-sec-pestanas label { flex: 1; text-align: center; padding: 0.65rem 0.4rem; font-weight: 700; font-size: 0.92rem; cursor: pointer; color: var(--t-suave); border-bottom: 3px solid transparent; }
.t-sec-panel { display: none; padding: 0.4rem 1rem 0.9rem; }
.t-sec-panel h3 { font-size: 0.95rem; margin: 0.8rem 0 0.3rem; }
.t-sec-panel ul { margin: 0; padding-left: 1.2rem; }
.t-sec-panel li { margin: 0.3rem 0; }
.t-sec-panel p { margin: 0; }
.t-sec-medidas { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.4rem; margin: 0; }
.t-sec-medidas div { padding: 0.4rem 0.6rem; border-radius: 8px; background: var(--t-tenue); }
.t-sec-medidas dt { font-size: 0.78rem; color: var(--t-suave); }
.t-sec-medidas dd { margin: 0; font-weight: 700; }
.t-sec-ventajas { list-style: none; padding-left: 0 !important; }
.t-sec-ventajas li::before { content: "✓"; color: var(--t-x-verde); font-weight: 800; margin-right: 0.45rem; }
#t-sec-info:checked ~ .t-sec-panel-info,
#t-sec-para:checked ~ .t-sec-panel-para,
#t-sec-ventajas:checked ~ .t-sec-panel-ventajas { display: block; }
#t-sec-info:checked ~ .t-sec-pestanas label[for="t-sec-info"],
#t-sec-para:checked ~ .t-sec-pestanas label[for="t-sec-para"],
#t-sec-ventajas:checked ~ .t-sec-pestanas label[for="t-sec-ventajas"] { color: var(--t-tinta); background: var(--t-blanco); border-bottom-color: var(--t-naranja); }
.t-sec-radio:focus-visible ~ .t-sec-pestanas { outline: 2px solid var(--t-enlace); outline-offset: -2px; }

/* ---------------------------------------------------------------- carrito rápido en la tarjeta */
.t-tarjeta { position: relative; }
.t-carrito-rapido { position: absolute; top: calc(0.5rem + 6px); right: calc(0.5rem + 6px); z-index: 1; margin: 0; }
.t-carrito-rapido button, a.t-carrito-rapido { display: inline-flex; align-items: center; justify-content: center; gap: 1px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--t-amarillo); color: #221d4a; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); cursor: pointer; font: inherit; font-weight: 800; text-decoration: none; }
.t-carrito-rapido button span { font-size: 0.95rem; margin-left: -2px; }
.t-carrito-rapido button:hover, a.t-carrito-rapido:hover { background: #ffc400; }
.t-carrito-rapido button[aria-busy="true"] { opacity: 0.6; }

/* ---------- mercado de vendedores ---------- */
.t-vendedor-mini { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.6rem; border-top: 1px solid var(--t-borde); text-decoration: none; min-width: 0; }
.t-vendedor-mini:hover b { text-decoration: underline; }
.t-vendedor-avatar { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--t-f-naranja); color: var(--t-naranja-2); font-weight: 800; font-size: 0.78rem; }
.t-vendedor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-vendedor-avatar-taller { background: var(--t-azul); color: var(--t-amarillo); }
.t-vendedor-texto { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.t-vendedor-texto b { font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-vendedor-texto small { font-size: 0.74rem; color: var(--t-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-vendedor-mini-grande { border-top: 0; padding: 0; }
.t-vendedor-mini-grande .t-vendedor-avatar { width: 44px; height: 44px; font-size: 0.95rem; }
.t-vendedor-mini-grande .t-vendedor-texto b { font-size: 0.95rem; }
.t-vendido-por { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin: 0.7rem 0 0.4rem; padding: 0.6rem 0.75rem; border: 1px solid var(--t-borde); border-radius: 10px; background: var(--t-blanco); }
.t-vendido-etiqueta { width: 100%; font-size: 0.75rem; color: var(--t-suave); text-transform: uppercase; letter-spacing: 0.04em; }
.t-vendido-por .t-vendedor-mini { flex: 1 1 auto; }
.t-perfil-cabeza { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.t-perfil-avatar { flex: 0 0 auto; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--t-f-naranja); color: var(--t-naranja-2); font-weight: 800; font-size: 1.8rem; border: 3px solid var(--t-blanco); box-shadow: 0 0 0 1px var(--t-borde); }
.t-perfil-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-perfil-datos { flex: 1 1 220px; min-width: 0; }
.t-perfil-datos h1 { margin: 0 0 0.2rem; font-size: 1.4rem; }
.t-perfil-datos p { margin: 0.15rem 0; color: var(--t-suave); }
.t-sello { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--t-f-verde); color: var(--t-x-verde) !important; font-weight: 700; font-size: 0.85rem; }
.t-perfil-pestanas { background: transparent; border: 0; }
.t-perfil-pestanas .t-sec-panel { padding: 0.9rem 0 0; }
.t-perfil-pestanas .t-sec-panel p { margin: 0 0 0.6rem; }
#t-perfil-productos:checked ~ .t-perfil-panel-productos,
#t-perfil-proyectos:checked ~ .t-perfil-panel-proyectos,
#t-perfil-sobre:checked ~ .t-perfil-panel-sobre { display: block; }
#t-perfil-productos:checked ~ .t-sec-pestanas label[for="t-perfil-productos"],
#t-perfil-proyectos:checked ~ .t-sec-pestanas label[for="t-perfil-proyectos"],
#t-perfil-sobre:checked ~ .t-sec-pestanas label[for="t-perfil-sobre"] { color: var(--t-tinta); background: var(--t-blanco); border-bottom-color: var(--t-naranja); }
.t-grupo-vendedor { margin: 0.4rem 0 0; padding: 0.5rem 0.7rem; border-radius: 8px; background: var(--t-f-naranja); border: 1px solid var(--t-borde); font-size: 0.85rem; }
.t-partes { list-style: none; margin: 0; padding: 0; }
.t-partes li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.45rem 0; border-top: 1px solid var(--t-borde); }
.t-pago-vendedor pre { white-space: pre-wrap; font-family: inherit; margin: 0.4rem 0; padding: 0.6rem 0.75rem; background: var(--t-tenue); border-radius: 8px; }
/* portal del vendedor */
.t-portal-menu { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0 0 0.8rem; }
.t-portal-menu a { padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--t-blanco); border: 1px solid var(--t-borde); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.t-portal-menu a.activa { background: var(--t-azul); color: #fff; border-color: var(--t-tinta); }
.t-portal-cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.6rem; margin: 0.6rem 0; }
.t-portal-cifras a { display: block; padding: 0.7rem 0.8rem; border-radius: 10px; background: var(--t-tenue); text-decoration: none; }
.t-portal-cifras b { display: block; font-size: 1.5rem; }
.t-portal-lista { list-style: none; margin: 0; padding: 0; }
.t-portal-lista li { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; border-top: 1px solid var(--t-borde); }
.t-portal-lista .t-portal-foto { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--t-tenue); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--t-suave); }
.t-portal-lista .t-portal-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-portal-lista .t-portal-texto { flex: 1 1 auto; min-width: 0; }
.t-portal-lista a { text-decoration: none; }
.t-revision { display: inline-block; font-size: 0.78rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--t-tenue); white-space: nowrap; }
.t-revision-aprobado { background: var(--t-f-verde); color: var(--t-x-verde); }
.t-revision-en_revision { background: var(--t-f-naranja); color: var(--t-x-naranja); }
.t-revision-devuelto { background: var(--t-f-rojo); color: var(--t-x-rojo); }
.t-fotos-portal { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; margin: 0.5rem 0; }
.t-fotos-portal figure { margin: 0; }
.t-fotos-portal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.t-fotos-portal button { width: 100%; margin-top: 0.2rem; }
.t-mini-qr { width: 120px; border-radius: 8px; border: 1px solid var(--t-borde); }

/* ---- Semana 2: «¿Qué buscas?», Seguir y Proyectos ---- */
.t-ocasiones { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.2rem 0 0.6rem; scrollbar-width: thin; }
.t-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--t-borde); background: var(--t-blanco); color: var(--t-tinta); font-weight: 700; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.t-chip:hover, .t-chip:focus-visible { border-color: var(--t-naranja); color: var(--t-naranja-2); }
.t-chip.activa { background: var(--t-azul); border-color: var(--t-tinta); color: #fff; }
.t-chip-chico { padding: 0.25rem 0.65rem; font-size: 0.85rem; }
.t-caja-ocasiones h2 { margin-bottom: 0.5rem; }
.t-ideal-para { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0.6rem 0; }
.t-ideal-para > span { color: var(--t-suave); font-size: 0.9rem; margin-right: 0.2rem; }
.t-perfil-botones { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.t-perfil-botones form { margin: 0; }
.t-perfil-seguidores { font-size: 0.92rem; }
.t-proyectos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.t-proyecto h3 { margin: 0.5rem 0 0.3rem; font-size: 1.05rem; }
.t-proyecto-fotos { display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.t-proyecto-fotos a { flex: 0 0 auto; scroll-snap-align: start; }
.t-proyecto-fotos img { width: 220px; height: 220px; object-fit: cover; border-radius: 10px; display: block; }
.t-proyectos-portal { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.6rem; }
.t-proyectos-portal a { display: flex; gap: 0.8rem; align-items: center; color: inherit; text-decoration: none; border: 1px solid var(--t-borde); border-radius: 10px; padding: 0.5rem; }
.t-proyectos-portal img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.t-ocasiones-campo { border: 1px solid var(--t-borde); border-radius: 10px; padding: 0.6rem 0.8rem; margin: 0.6rem 0; }
.casillas-ocasiones { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
@media (max-width: 480px) { .t-proyecto-fotos img { width: 170px; height: 170px; } }

/* Cancelar el pedido (cliente) y comprobante para un vendedor */
.t-cancelar-pedido summary { cursor: pointer; color: var(--t-texto-suave, var(--t-suave)); font-size: 0.92rem; }
.t-cancelar-pedido fieldset, .t-comprobante-vendedor fieldset { border: 0; padding: 0; margin: 0 0 0.75rem; }
.t-cancelar-pedido legend, .t-comprobante-vendedor legend { font-weight: 600; margin-bottom: 0.35rem; }
.t-dato-alerta b { color: #d93025; }
.t-pastilla-estado-anticipo { border-color: #2563eb; color: #1d4ed8; background: var(--t-f-azul); }
.t-mini-redonda { border-radius: 50%; object-fit: cover; }
.t-perfil-persona { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.t-perfil-persona-foto { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--t-blanco); box-shadow: 0 0 0 1px var(--t-borde); }

/* Calculadora de precio del vendedor */
.t-calculadora { border: 1.5px dashed var(--t-borde); border-radius: 12px; padding: 0.6rem 0.9rem; margin: 0.25rem 0 1rem; background: var(--t-tenue); }
.t-calculadora[open] { border-style: solid; }
.t-calculadora summary { cursor: pointer; font-weight: 700; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.t-calculadora summary small { font-weight: 400; color: var(--t-suave); }
.t-calc-tipo { border: 0; padding: 0; margin: 0.75rem 0; }
.t-calc-ayuda { display: block; color: var(--t-suave); font-size: 0.78rem; margin-top: 0.2rem; }
.t-calc-fila { display: flex; justify-content: space-between; gap: 1rem; margin: 0.4rem 0; }
.t-calc-utilidad { display: flex; flex-wrap: wrap; align-items: end; gap: 0.75rem; }
.t-calc-rapidas { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.t-calc-consejo { background: var(--t-f-naranja); border-radius: 8px; padding: 0.5rem 0.7rem; font-size: 0.88rem; }
.t-calc-resultado { border-top: 1px solid var(--t-borde); margin-top: 0.5rem; padding-top: 0.5rem; }
.t-calc-sugerido { font-size: 1.3rem; color: var(--t-naranja-2); }
.t-calc-nota { font-size: 0.8rem; }
.t-calc-chip { display: inline-block; padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--t-f-verde); color: var(--t-x-verde); font-size: 0.78rem; font-weight: 700; }
.t-calc-chip-mal { background: var(--t-f-rojo); color: var(--t-x-rojo); }

/* Mi Tienda → Mis resultados */
.t-resumen-mes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 1rem; margin: 0.75rem 0; border-radius: 12px; background: var(--t-f-azul); text-decoration: none; color: inherit; }
.t-res-meses { display: flex; align-items: center; gap: 0.75rem; margin: 0.5rem 0; }
.t-res-meses h2 { margin: 0; }
.t-res-cifras > div { display: flex; flex-direction: column; }
.t-res-mal b { color: var(--t-x-rojo); }
.t-res-avisos li { border-left: 4px solid #f59e0b; padding-left: 0.6rem; }
.t-res-avisos li.t-res-aviso-perdida, .t-res-avisos li.t-res-aviso-agotado { border-left-color: #d93025; }
.t-res-estrella { font-size: 1.05rem; background: var(--t-f-naranja); padding: 0.6rem 0.8rem; border-radius: 10px; }
.t-res-historia { list-style: none; padding: 0; margin: 0; }
.t-res-historia li { display: grid; grid-template-columns: 3rem 1fr 4.5rem; align-items: center; gap: 0.5rem; margin: 0.3rem 0; }
.t-res-historia b { text-align: right; font-variant-numeric: tabular-nums; }
.t-res-historia progress { width: 100%; height: 10px; }
.t-res-mes { text-transform: capitalize; color: var(--t-suave); }

/* Mi Tienda → Aprende */
.t-guias { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.t-guias a { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem; border: 1px solid var(--t-borde); border-radius: 12px; text-decoration: none; color: inherit; height: 100%; box-sizing: border-box; }
.t-guias a:hover { border-color: var(--t-naranja); }
.t-guias small { display: block; color: var(--t-suave); margin-top: 0.2rem; }
.t-guias-icono { font-size: 1.6rem; line-height: 1; }
.t-guia { max-width: 46rem; }
.t-guia-num { color: var(--t-suave); font-size: 0.85rem; margin-bottom: 0.2rem; }
.t-guia li { margin: 0.35rem 0; }
.t-guia-ejemplo { background: var(--t-f-azul); border-radius: 10px; padding: 0.6rem 0.9rem; margin: 0.75rem 0; }
.t-guia-ejemplo-titulo { font-weight: 700; margin: 0 0 0.3rem; }
.t-guia-clave { background: var(--t-f-naranja); border-radius: 10px; padding: 0.6rem 0.9rem; font-weight: 600; }
.t-guia-nav { display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }

/* Mi Tienda → Inventario */
.t-inv-lista li { flex-wrap: wrap; }
.t-inv-stock { min-width: 5.5rem; text-align: right; }
.t-inv-stock b { font-size: 1.2rem; }
.t-inv-agotado { border-left: 4px solid #d93025; padding-left: 0.6rem; }
.t-inv-bajo { border-left: 4px solid #f59e0b; padding-left: 0.6rem; }
.t-inv-ajustar { flex-basis: 100%; }
.t-inv-ajustar summary { display: inline-block; list-style: none; cursor: pointer; }
.t-inv-ajustar summary::-webkit-details-marker { display: none; }
.t-inv-form { margin-top: 0.5rem; padding: 0.75rem; border-radius: 10px; background: var(--t-f-azul); }
.t-inv-cambio { font-weight: 800; font-variant-numeric: tabular-nums; }
.t-inv-mas { color: var(--t-x-verde); }
.t-inv-menos { color: var(--t-x-rojo); }
.t-inv-cancelado { opacity: 0.6; }
.t-portal-cifras small { display: block; color: var(--t-suave); font-size: 0.75rem; }

/* Mi Tienda: tomar o elegir fotos */
.t-elegir-fotos { border: 1.5px dashed var(--t-borde); border-radius: 12px; padding: 0.75rem; margin-bottom: 0.75rem; }
.t-elegir-botones { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.t-elegir-botones .t-boton { position: relative; cursor: pointer; }
.t-archivo-oculto { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.t-elegir-estado { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--t-suave); }
.t-elegir-previas { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.t-elegir-previas:empty { display: none; }
.t-elegir-previas figure { position: relative; margin: 0; }
.t-elegir-previas img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.t-elegir-previas button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #111; color: #fff; font-size: 0.7rem; cursor: pointer; }
.t-ancla { scroll-margin-top: 90px; }

/* ---------- tema claro / oscuro (botón 🌙/☀️, js/tema.js) ---------- */
:root {
  --t-tenue: #f7f7f7; --t-borde-fuerte: #888c8c;
  --t-f-verde: #effcf3; --t-f-naranja: #fff7e6; --t-f-rojo: #fdecec; --t-f-azul: #f4f7ff;
  --t-tinta: #221d4a; --t-x-verde: #15803d; --t-x-naranja: #8a4b0f; --t-x-rojo: #b42318; --t-x-azul: #2e2866;
}
:root[data-tema=claro] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema=claro]) {
    --t-fondo: #0f1115; --t-blanco: #1a1d24; --t-tenue: #232731; --t-texto: #e8eaed; --t-suave: #a6adb8;
    --t-borde: #343a46; --t-borde-fuerte: #5b6372; --t-enlace: #8ab4f8; --t-crema: #2b2320;
    --t-f-verde: #13281c; --t-f-naranja: #2e2412; --t-f-rojo: #34191a; --t-f-azul: #1a2236;
    --t-x-verde: #6ee7a0; --t-x-naranja: #ffc27a; --t-x-rojo: #ff9b93; --t-x-azul: #b8b2ff; --t-tinta: #c9c4ff;
    color-scheme: dark;
  }
}
:root[data-tema=oscuro] {
  --t-fondo: #0f1115; --t-blanco: #1a1d24; --t-tenue: #232731; --t-texto: #e8eaed; --t-suave: #a6adb8;
  --t-borde: #343a46; --t-borde-fuerte: #5b6372; --t-enlace: #8ab4f8; --t-crema: #2b2320;
  --t-f-verde: #13281c; --t-f-naranja: #2e2412; --t-f-rojo: #34191a; --t-f-azul: #1a2236;
  --t-x-verde: #6ee7a0; --t-x-naranja: #ffc27a; --t-x-rojo: #ff9b93; --t-x-azul: #b8b2ff; --t-tinta: #c9c4ff;
  color-scheme: dark;
}
.t-tema { background: none; border: 1px solid transparent; border-radius: 6px; color: #fff; font-size: 1.25rem; line-height: 1; padding: 0.3rem 0.4rem; cursor: pointer; }
.t-tema:hover { border-color: #fff; }
.t-tema-sol { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-tema=claro]) .t-tema-sol { display: inline; } :root:not([data-tema=claro]) .t-tema-luna { display: none; } }
:root[data-tema=oscuro] .t-tema-sol { display: inline; }
:root[data-tema=oscuro] .t-tema-luna { display: none; }
/* las fotos con fondo blanco no encandilan en oscuro */
@media (prefers-color-scheme: dark) { :root:not([data-tema=claro]) .t-contenido img { filter: brightness(0.94); } }
:root[data-tema=oscuro] .t-contenido img { filter: brightness(0.94); }
input, select, textarea { color: var(--t-texto); }
@media (max-width: 420px) { .t-tema { padding: 0.15rem 0.2rem; font-size: 1.05rem; } .t-barra { padding-left: 0.6rem; padding-right: 0.6rem; } }

/* Inventario: gráfica por producto + tabla editable + Excel */
.t-inv-acciones { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-start; margin: 0.4rem 0 0.8rem; }
.t-inv-subir summary { list-style: none; cursor: pointer; }
.t-inv-subir summary::-webkit-details-marker { display: none; }
.t-inv-subir[open] { flex-basis: 100%; }
.t-inv-lista li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
.t-inv-cabeza small { display: block; }
.t-inv-grafica { display: flex; align-items: center; gap: 0.6rem; }
.t-inv-grafica span { white-space: nowrap; font-size: 0.85rem; color: var(--t-suave); }
.t-inv-grafica b { color: var(--t-texto); font-size: 1.05rem; }
.t-inv-pedido { margin: 0; font-size: 0.85rem; color: var(--t-suave); }
.t-inv-barra { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 12px; border: 0; border-radius: 999px; background: var(--t-tenue); overflow: hidden; }
.t-inv-barra::-webkit-progress-bar { background: var(--t-tenue); border-radius: 999px; }
.t-inv-barra::-webkit-progress-value { background: #16a34a; border-radius: 999px; }
.t-inv-barra::-moz-progress-bar { background: #16a34a; border-radius: 999px; }
.t-inv-bajo .t-inv-barra::-webkit-progress-value { background: #f59e0b; }
.t-inv-bajo .t-inv-barra::-moz-progress-bar { background: #f59e0b; }
.t-inv-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.t-inv-campos label { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.8rem; color: var(--t-suave); }
.t-inv-campos input { font: inherit; font-size: 1rem; padding: 0.45rem 0.6rem; border: 1px solid var(--t-borde-fuerte); border-radius: 8px; background: var(--t-blanco); color: var(--t-texto); width: 100%; }
.t-inv-campos input.inv-cambiado { border-color: var(--t-naranja); box-shadow: 0 0 0 2px rgba(232, 101, 15, 0.25); }
.t-inv-guardar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 0.7rem 0; background: var(--t-blanco); border-top: 1px solid var(--t-borde); }
.t-inv-guardar small { color: var(--t-suave); }
.t-inv-revisar li { flex-wrap: wrap; }
@media (min-width: 760px) {
  .t-inv-lista li { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0.8rem; }
  .t-inv-pedido, .t-inv-grafica { grid-column: 2; }
  .t-inv-campos { grid-column: 3; grid-row: 1; }
  .t-inv-cabeza { grid-row: 1; }
}

/* Apps instalables: botón del menú, tarjeta en Mi Tienda y página «Sin conexión» */
.t-menu-instalar { display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit; color: inherit; padding: 0.6rem 1rem; cursor: pointer; font-weight: 700; }
.t-menu-instalar[hidden], .t-instalar[hidden] { display: none; }
.t-instalar { display: flex; gap: 0.8rem; align-items: center; margin: 0.9rem 0 0.3rem; padding: 0.8rem; border-radius: 12px; background: var(--t-f-azul); border: 1px solid var(--t-borde); }
.t-instalar img { border-radius: 12px; flex: none; }
.t-instalar-texto { margin: 0.2rem 0 0.4rem; font-size: 0.88rem; color: var(--t-suave); }
.t-sin-conexion { max-width: 480px; margin: 12vh auto 0; padding: 0 1rem; text-align: center; }
.t-sin-conexion-icono { font-size: 3rem; margin: 0; }


/* ---------------------------------------------------------------- Mi Tienda → 💰 Mi plata */
.t-plata-avisos { list-style: none; padding: 0.6rem 0.8rem; margin: 0.6rem 0; border-radius: 10px;
  border: 1px solid #f59e0b; background: rgba(245, 158, 11, 0.1); }
.t-plata-avisos li + li { margin-top: 0.35rem; }
.t-plata-cajas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.8rem; margin: 0.8rem 0; }
.t-plata-caja { border: 1px solid var(--t-borde-fuerte); border-radius: 12px; padding: 0.8rem 1rem; }
.t-plata-caja-negocio { border-top: 4px solid #4338ca; }
.t-plata-caja-bolsillo { border-top: 4px solid #e8650f; }
.t-plata-caja h3 { margin: 0 0 0.4rem; }
.t-plata-caja dl { margin: 0; }
.t-plata-caja dl div { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.2rem 0; }
.t-plata-caja dt, .t-plata-caja dd { margin: 0; }
.t-plata-caja dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-plata-caja dl .t-plata-sub { font-size: 0.85em; opacity: 0.8; padding-left: 0.8rem; }
.t-plata-caja dl .t-plata-total { border-top: 1px solid var(--t-borde-fuerte); margin-top: 0.3rem; padding-top: 0.4rem; font-weight: 700; font-size: 1.1em; }
.t-plata-negativo, .t-plata-negativo dd { color: #dc2626; }
.t-plata-categorias { list-style: none; padding: 0; margin: 0.6rem 0 0; font-size: 0.9em; }
.t-plata-categorias li { display: grid; grid-template-columns: minmax(0, 9rem) 1fr auto; gap: 0.5rem; align-items: center; padding: 0.15rem 0; }
.t-plata-categorias span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-plata-categorias progress { width: 100%; height: 8px; }
.t-plata-sueldo { margin: 0.6rem 0; }
.t-plata-sueldo summary { cursor: pointer; font-weight: 600; padding: 0.3rem 0; }
.t-formulario.t-plata-sueldo-form { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; align-items: flex-end; }
.t-plata-sueldo-form .t-compra-nota { flex-basis: 100%; margin: 0; }
.t-plata-form { display: grid; gap: 0.6rem; margin: 0.5rem 0; }
.t-plata-form .t-plata-tipos { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.t-plata-tipos legend { font-weight: 600; margin-bottom: 0.3rem; }
.t-plata-form .t-plata-tipo { display: inline-flex; flex-direction: row; font-weight: 500; align-items: center; gap: 0.3rem; padding: 0.45rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--t-borde-fuerte); cursor: pointer; font-size: 0.92em; }
.t-plata-tipo:has(input:checked) { background: #221d4a; color: #fff; border-color: #221d4a; }
.t-plata-tipo.t-plata-personal:has(input:checked) { background: #c2410c; border-color: #c2410c; }
.t-plata-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.5rem; }
.t-plata-campos label { display: grid; gap: 0.2rem; }
.t-plata-campos input, .t-plata-campos select { width: 100%; box-sizing: border-box; }
.t-plata-nota { grid-column: 1 / -1; }
.t-plata-lista li { display: block; }
.t-plata-lista summary { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; cursor: pointer; list-style: none; }
.t-plata-lista summary::-webkit-details-marker { display: none; }
.t-plata-lista .t-plata-personal .t-plata-monto { color: #e8650f; }
.t-plata-monto { white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-plata-borrar { margin-top: 0.3rem; }
.t-plata-diagnostico { margin-top: 1.2rem; padding: 0.8rem 1rem; border-radius: 12px; border: 1px dashed var(--t-borde-fuerte); }
.t-plata-diagnostico h3 { margin-top: 0; }
.t-plata-periodos, .t-plata-botones { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; }
.t-plata-pasos { padding-left: 1.3rem; }
.t-plata-texto { width: 100%; box-sizing: border-box; font: 0.85rem/1.4 ui-monospace, Consolas, monospace; }
.t-resumen-plata { margin-top: 0.5rem; }

/* ---------- Inicio estilo Temu: una sola grilla con todo ---------- */
.t-todos { margin: 0.75rem 0 1.5rem; }
.t-todos .t-grilla { gap: 0.5rem; }
@media (min-width: 700px) { .t-todos .t-grilla { gap: 0.75rem; } }
.t-tarjeta-vendidos { margin: 0.1rem 0 0; font-size: 0.78rem; color: var(--t-suave, #6b7280); }
.t-ver-mas { display: flex; justify-content: center; margin: 1.2rem 0 0.5rem; }
.t-siguiendo-chip { display: block; margin: 0.75rem 0 0; padding: 0.7rem 1rem; border-radius: 12px; background: var(--t-blanco, #fff);
  color: inherit; font-weight: 700; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.t-siguiendo-chip:hover { text-decoration: underline; }

/* ---------- Comunidad: pestañas (Artesanos · Vendedores · Tiendas y servicios) y sus grupos ---------- */
.t-com-pestanas { display: flex; gap: 0.25rem; overflow-x: auto; border-bottom: 1px solid var(--t-borde); margin: 0.6rem 0 0.9rem; scrollbar-width: none; }
.t-com-pestanas::-webkit-scrollbar { display: none; }
.t-com-pestanas a { flex: 1 0 auto; text-align: center; padding: 0.65rem 0.7rem; text-decoration: none; font-weight: 700; color: var(--t-suave); border-bottom: 3px solid transparent; white-space: nowrap; }
.t-com-pestanas a[aria-current="page"] { color: var(--t-texto); border-bottom-color: var(--t-naranja); }
.t-com-grupos { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 700px) { .t-com-grupos { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }
.t-com-grupo { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; height: 100%; padding: 0.7rem 0.3rem; border: 1px solid var(--t-borde); border-radius: 12px; background: var(--t-blanco); text-decoration: none; text-align: center; font-size: 0.86rem; font-weight: 700; line-height: 1.2; }
.t-com-grupo small { font-weight: 400; font-size: 0.74rem; color: var(--t-suave); }
a.t-com-grupo:hover { border-color: var(--t-borde-fuerte); }
.t-com-grupo-activo { border: 2px solid var(--t-naranja); padding: calc(0.7rem - 1px) calc(0.3rem - 1px); }
.t-com-grupo-pronto { border-style: dashed; color: var(--t-suave); }
.t-com-icono { font-size: 1.6rem; line-height: 1; margin-bottom: 0.15rem; }
.t-com-subtitulo { font-size: 1.05rem; margin: 0.4rem 0 0.5rem; }
.t-com-lista { list-style: none; margin: 0 0 0.8rem; padding: 0; display: grid; gap: 0.5rem; }
@media (min-width: 760px) { .t-com-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.t-com-lista li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; padding: 0.7rem; border: 1px solid var(--t-borde); border-radius: 12px; }
.t-com-lista li .t-vendedor-mini { flex: 1 1 200px; min-width: 0; }
.t-com-datos { flex-basis: 100%; order: 3; margin: 0; font-size: 0.82rem; color: var(--t-suave); }
.t-com-datos:empty { display: none; }

/* ---------- Cabecera blanca: el logo de Ayllu ya no queda como un cuadrito encima (en oscuro sigue azul) ---------- */
:root { --t-cab: #ffffff; --t-cab-2: #f4f5f7; --t-cab-texto: #221d4a; --t-cab-borde: #e3e5e8; --t-cab-numero: #e8650f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema=claro]) { --t-cab: #221d4a; --t-cab-2: #2e2866; --t-cab-texto: #ffffff; --t-cab-borde: #3b3577; --t-cab-numero: #ffd23f; }
}
:root[data-tema=oscuro] { --t-cab: #221d4a; --t-cab-2: #2e2866; --t-cab-texto: #ffffff; --t-cab-borde: #3b3577; --t-cab-numero: #ffd23f; }
.t-barra { background: var(--t-cab); color: var(--t-cab-texto); }
.t-subbarra { background: var(--t-cab-2); border-top: 1px solid var(--t-cab-borde); border-bottom: 1px solid var(--t-cab-borde); }
.t-subbarra a, .t-tema { color: var(--t-cab-texto); }
.t-marca:hover, .t-carrito-icono:hover, .t-cuenta-icono:hover, .t-menu summary:hover, .t-subbarra a:hover, .t-tema:hover { border-color: var(--t-cab-borde); }
.t-buscador { border: 1px solid var(--t-borde-fuerte); }
.t-carrito-numero { color: var(--t-cab-numero); }
.t-subbarra .t-subbarra-promo { color: var(--t-naranja-2); }
@media (prefers-color-scheme: dark) { :root:not([data-tema=claro]) .t-subbarra .t-subbarra-promo { color: var(--t-amarillo); } }
:root[data-tema=oscuro] .t-subbarra .t-subbarra-promo { color: var(--t-amarillo); }

/* ---------- Mi cuenta: cada parte con ícono, cerrada; se toca para abrir ---------- */
.t-cuenta-menu { display: grid; gap: 0.5rem; margin-top: 0.4rem; }
.t-cuenta-parte { border: 1px solid var(--t-borde); border-radius: 12px; background: var(--t-blanco); }
.t-cuenta-parte > summary, .t-cuenta-enlace { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 0.9rem; font-weight: 700; text-decoration: none; }
.t-cuenta-parte > summary::-webkit-details-marker { display: none; }
.t-cuenta-parte > summary::after, .t-cuenta-enlace::after { content: "›"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--t-suave); transition: transform 0.15s; }
.t-cuenta-parte[open] > summary::after { transform: rotate(90deg); }
.t-cuenta-parte > summary span:last-child, .t-cuenta-enlace span:last-child { display: flex; flex-direction: column; }
.t-cuenta-parte small, .t-cuenta-enlace small { font-weight: 400; font-size: 0.82rem; color: var(--t-suave); }
.t-cuenta-parte > summary:hover, .t-cuenta-enlace:hover { background: var(--t-tenue); border-radius: 12px; }
.t-cuenta-icono-grande { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--t-tenue); font-size: 1.35rem; }
.t-cuenta-cuerpo { padding: 0 0.9rem 0.9rem; }
.t-cuenta-vender h2 { margin-top: 0; }
.t-cuenta-mitienda { display: flex; gap: 0.9rem; align-items: flex-start; }
.t-cuenta-mitienda img { flex: none; border-radius: 14px; }
.t-cuenta-mitienda p { margin: 0.2rem 0 0; }
.t-cuenta-botones { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.t-cuenta-botones .t-boton { flex: 1 1 200px; }
.t-cuenta-quiero > summary { list-style: none; width: 100%; font-size: 1.05rem; }
.t-cuenta-quiero > summary::-webkit-details-marker { display: none; }
.t-cuenta-quiero[open] > summary { margin-bottom: 0.6rem; }
@media (max-width: 480px) { .t-com-pestanas a { flex: 1 1 0; white-space: normal; font-size: 0.85rem; padding: 0.55rem 0.3rem; line-height: 1.2; } }

/* ---------------------------------------------------------------- 🧮 ¿Cuánto gano? (Mi Tienda) */
.t-cg-empezar { margin: 0.6rem 0 1rem; padding: 0.9rem 1rem; border-radius: 12px; background: var(--t-f-azul); border: 1px solid var(--t-borde); }
.t-cg-empezar h2 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.t-cg-plantillas { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.t-cg-otros { margin: 0.2rem 0 0.4rem; }
.t-cg-otros summary { cursor: pointer; color: var(--t-enlace); font-size: 0.92rem; }
/* Mi Tienda → Inicio: «¿Qué tipo de negocio tienes?» (la primera vez) */
.t-tipo-negocio { margin: 0.6rem 0 1rem; padding: 0.9rem 1rem; border-radius: 12px; background: var(--t-f-azul); border: 1px solid var(--t-borde); }
.t-tipo-negocio h2 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.t-tipo-negocio p { margin: 0 0 0.6rem; }
.t-tipo-opciones { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem; }
.t-tipo-opciones .t-boton { text-align: left; justify-content: flex-start; white-space: normal; }
.t-cg-pestanas { display: flex; gap: 0.25rem; overflow-x: auto; border-bottom: 1px solid var(--t-borde); margin: 0.6rem 0 0.8rem; scrollbar-width: none; }
.t-cg-pestanas a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 0.1rem; text-align: center; padding: 0.55rem 0.3rem; text-decoration: none; font-weight: 700; font-size: 0.86rem; line-height: 1.2; color: var(--t-suave); border-bottom: 3px solid transparent; }
.t-cg-pestanas a span { font-size: 1.2rem; }
.t-cg-pestanas a[aria-current="page"] { color: var(--t-texto); border-bottom-color: var(--t-naranja); }
.t-cg-lista { list-style: none; margin: 0 0 0.8rem; padding: 0; }
.t-cg-lista > li { border-top: 1px solid var(--t-borde); }
.t-cg-lista summary, .t-cg-total { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.6rem 0; }
.t-cg-lista > li:not(:has(details)) { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.6rem 0; }
.t-cg-lista > li:not(:has(details)) > span { min-width: 0; }
.t-cg-lista summary { cursor: pointer; list-style: none; }
.t-cg-lista summary::-webkit-details-marker { display: none; }
.t-cg-lista small { display: block; font-size: 0.8rem; color: var(--t-suave); font-weight: 400; }
.t-cg-monto { text-align: right; white-space: nowrap; }
.t-cg-total { font-weight: 700; }
.t-cg-form { padding: 0.4rem 0 0.6rem; }
.t-cg-tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-cg-form-fijo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0.5rem; align-items: end; }
.t-cg-form-fijo button { grid-column: 1 / -1; justify-self: start; }
.t-cg-borrar { margin: 0 0 0.6rem; }
.t-cg-nuevo { margin: 0.6rem 0 1rem; }
.t-cg-nuevo > summary { display: inline-block; list-style: none; cursor: pointer; }
.t-cg-nuevo > summary::-webkit-details-marker { display: none; }
.t-cg-receta { display: grid; gap: 0.35rem; }
.t-cg-linea { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0.4rem; }
.t-cg-tarifa { border: 1px solid var(--t-borde); border-radius: 12px; padding: 0.7rem 0.9rem; margin-bottom: 0.7rem; background: var(--t-tarjeta, transparent); }
.t-cg-tarifa header { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.t-cg-tarifa h3 { margin: 0; font-size: 1rem; }
.t-cg-pill { font-size: 0.8rem; font-weight: 700; padding: 0.1rem 0.55rem; border-radius: 999px; background: #dcfce7; color: #166534; }
.t-cg-mal .t-cg-pill { background: #fee2e2; color: #991b1b; }
.t-cg-receta-lista { list-style: none; margin: 0.4rem 0; padding: 0; font-size: 0.85rem; color: var(--t-suave); }
.t-cg-receta-lista li { display: flex; justify-content: space-between; gap: 0.5rem; }
.t-cg-cuenta { margin: 0.3rem 0; }
.t-cg-cuenta div { display: flex; justify-content: space-between; gap: 0.5rem; }
.t-cg-cuenta dt, .t-cg-cuenta dd { margin: 0; }
.t-cg-gano { font-weight: 700; color: #15803d; }
.t-cg-mal .t-cg-gano { color: #b91c1c; }
.t-cg-alerta { margin: 0.3rem 0; font-size: 0.85rem; color: #b91c1c; }
.t-cg-h { font-size: 1.05rem; margin: 0.4rem 0; }
.t-cg-cifras > div { padding: 0.7rem 0.8rem; border-radius: 10px; background: var(--t-tenue); font-size: 0.85rem; }
.t-cg-cifras > div b { font-size: 1.3rem; }
.t-cg-bien { background: #dcfce7 !important; color: #166534; }
.t-cg-mal-cifra { color: #b91c1c; }
.t-cg-cifras > .t-cg-mal-cifra { background: #fee2e2; }
.t-cg-barra p { margin: 0.4rem 0 0.2rem; font-size: 0.9rem; }
.t-cg-barra progress { width: 100%; height: 10px; accent-color: #d97706; }
.t-cg-barra progress.t-cg-lleno { accent-color: #16a34a; }
.t-cg-cero { margin-top: 1.2rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) .t-cg-pill, :root:not([data-tema="claro"]) .t-cg-bien { background: #14532d !important; color: #bbf7d0; }
  :root:not([data-tema="claro"]) .t-cg-mal .t-cg-pill, :root:not([data-tema="claro"]) .t-cg-cifras > .t-cg-mal-cifra { background: #7f1d1d; color: #fecaca; }
  :root:not([data-tema="claro"]) .t-cg-gano { color: #4ade80; }
  :root:not([data-tema="claro"]) .t-cg-mal .t-cg-gano, :root:not([data-tema="claro"]) .t-cg-alerta, :root:not([data-tema="claro"]) .t-cg-mal-cifra { color: #f87171; }
}
:root[data-tema="oscuro"] .t-cg-pill, :root[data-tema="oscuro"] .t-cg-bien { background: #14532d !important; color: #bbf7d0; }
:root[data-tema="oscuro"] .t-cg-mal .t-cg-pill, :root[data-tema="oscuro"] .t-cg-cifras > .t-cg-mal-cifra { background: #7f1d1d; color: #fecaca; }
:root[data-tema="oscuro"] .t-cg-gano { color: #4ade80; }
:root[data-tema="oscuro"] .t-cg-mal .t-cg-gano, :root[data-tema="oscuro"] .t-cg-alerta, :root[data-tema="oscuro"] .t-cg-mal-cifra { color: #f87171; }

/* ------------------------------------------------------------ App Mi Tienda (gestión del vendedor)
   Cabecera azul propia (sin buscador ni carrito), pestañas abajo en el celular y arriba en la computadora. */
:root { --t-mt: #1d5fae; --t-mt-claro: #e6f1fb; }
.t-app-cabeza { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; background: var(--t-mt); color: #fff; }
.t-app-marca { display: flex; align-items: center; gap: 0.55rem; flex: 1; min-width: 0; color: #fff; text-decoration: none; }
.t-app-marca img { border-radius: 9px; flex: none; }
.t-app-marca span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.t-app-marca b { font-size: 1.05rem; }
.t-app-marca small { color: #cfe3fa; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-app-cuenta { color: #fff; display: flex; }
.t-app-barra { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--t-blanco); border-top: 1px solid var(--t-borde); padding: 0.3rem 0 calc(0.3rem + env(safe-area-inset-bottom)); }
.t-app-barra a { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; font-size: 0.74rem; font-weight: 600; color: var(--t-texto-2, #555); text-decoration: none; padding: 0.2rem 0; }
.t-app-barra a span { font-size: 1.3rem; line-height: 1; }
.t-app-barra a.activa { color: var(--t-mt); }
.t-app-con-barra .t-contenido { padding-bottom: 5.2rem; }
@media (min-width: 900px) {
  .t-app-barra { position: sticky; top: 3.6rem; bottom: auto; grid-template-columns: repeat(5, auto); justify-content: center; gap: 2rem; border-top: 0; border-bottom: 1px solid var(--t-borde); }
  .t-app-barra a { flex-direction: row; gap: 0.35rem; font-size: 0.92rem; }
  .t-app-barra a span { font-size: 1.1rem; }
  .t-app-con-barra .t-contenido { padding-bottom: 1.5rem; }
}
.t-app-titulo { justify-content: space-between; align-items: center; flex-wrap: wrap; }
.t-app-titulo a { color: var(--t-mt); }
.t-app-mes { margin: 0.8rem 0 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--t-texto-2, #666); }
.t-app-tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.55rem; }
.t-app-tarjetas a { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 0.8rem; border-radius: 10px; background: var(--t-blanco); border: 1px solid var(--t-borde); color: inherit; text-decoration: none; }
.t-app-tarjetas small { font-size: 0.8rem; color: var(--t-texto-2, #666); }
.t-app-tarjetas b { font-size: 1.35rem; }
.t-app-tarjetas a.t-app-bien b { color: #1b7a3a; }
.t-app-tarjetas a.t-app-ojo { background: #fff6e0; border-color: #f1d28a; }
.t-app-rapido { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.t-app-rapido a { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.7rem 0.3rem; border-radius: 10px; border: 1px solid var(--t-borde); background: var(--t-blanco); color: inherit; text-decoration: none; font-size: 0.82rem; font-weight: 600; text-align: center; }
.t-app-rapido a span { font-size: 1.4rem; }
@media (max-width: 560px) {
  .t-app-rapido { grid-template-columns: repeat(2, 1fr); }
  .t-app-rapido a { flex-direction: row; justify-content: flex-start; gap: 0.5rem; padding: 0.65rem 0.7rem; font-size: 0.9rem; text-align: left; }
  .t-app-rapido a span { font-size: 1.25rem; }
}
.t-app-lista { display: flex; flex-direction: column; gap: 0.5rem; }
.t-app-lista a, .t-app-lista-boton { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 0.9rem; border-radius: 10px; border: 1px solid var(--t-borde); background: var(--t-blanco); color: inherit; text-decoration: none; font: inherit; text-align: left; cursor: pointer; }
.t-app-lista-boton[hidden] { display: none; }
.t-app-lista a > span:first-child, .t-app-lista-boton > span:first-child { font-size: 1.5rem; }
.t-app-lista b { display: block; }
.t-app-lista small { color: var(--t-texto-2, #666); }
.t-app-salir { margin-top: 1.2rem; }
.t-calc-suelta [data-calc-usar] { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) .t-app-tarjetas a.t-app-ojo { background: #3a2f12; border-color: #6b5420; }
  :root:not([data-tema="claro"]) .t-app-tarjetas a.t-app-bien b { color: #6fd18f; }
  :root:not([data-tema="claro"]) .t-app-barra a.activa, :root:not([data-tema="claro"]) .t-app-titulo a { color: #85b7eb; }
}
:root[data-tema="oscuro"] .t-app-tarjetas a.t-app-ojo { background: #3a2f12; border-color: #6b5420; }
:root[data-tema="oscuro"] .t-app-tarjetas a.t-app-bien b { color: #6fd18f; }
:root[data-tema="oscuro"] .t-app-barra a.activa, :root[data-tema="oscuro"] .t-app-titulo a { color: #85b7eb; }
