.tc { max-width: 1240px; }
.tc-tit { margin: 8px 0 16px; font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.5px; }
.tc-tit small { font-size: 16px; font-weight: 600; color: #6b6f85; letter-spacing: 0; }
.tc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.tc-izq { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tc-caja { background: #fff; border: 1px solid #ececf3; border-radius: 18px 18px 18px 6px; }
.tc-h2 { margin: 0 0 14px; font-size: 19px; letter-spacing: -0.3px; }
.tc-envio { margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px 14px 14px 5px; background: #e9f6ee; color: #145c2c; font-size: 14px; font-weight: 600; }
.tc-lista-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 12px 18px; border-bottom: 1px solid #ececf3; }
.tc-lista-cab form, .tc-elegir, .tc-der form, .tc-agotado-acc form { margin: 0; }
.tc-chk { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; border: 0; background: none; color: #1a1d33; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.tc-cuadro { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #c9cbd8; background: #fff; color: transparent; display: inline-flex; align-items: center; justify-content: center; }
.tc-chk[aria-pressed="true"] .tc-cuadro { border-color: var(--ac); background: var(--ac); color: #fff; }
.tc-quitar-sel { border: 0; background: none; color: #6b6f85; font: inherit; font-size: 13px; text-decoration: underline; white-space: nowrap; cursor: pointer; }
.tc-lineas { list-style: none; margin: 0; padding: 0; }
.tc-linea { display: grid; grid-template-columns: 22px 92px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 18px; border-bottom: 1px solid #ececf3; }
.tc-linea:last-child { border-bottom: 0; }
.tc-linea[data-elegido="0"] .tc-foto, .tc-linea[data-elegido="0"] .tc-subtotal { opacity: .55; }
.tc-foto { position: relative; display: block; width: 92px; height: 92px; border-radius: 12px 12px 12px 4px; overflow: hidden; background: #f4f4f6; }
.tc-foto img, .tc-reco-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-pct { position: absolute; top: 6px; left: 6px; padding: 3px 6px; border-radius: 6px 6px 6px 2px; background: #e0251b; color: #fff; font-size: 11px; font-weight: 800; line-height: 1.2; }
.tc-datos { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tc-nombre { font-weight: 700; font-size: 15px; line-height: 1.3; color: #1a1d33; text-decoration: none; }
.tc-variante { font-size: 13px; color: #6b6f85; }
.tc-precios { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.tc-precios strong { font-size: 18px; color: var(--ac); }
.tc-precios del, .tc-reco-p del { font-size: 13px; color: #9a9db0; font-weight: 400; }
.tc-etq { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: #fdecec; color: #b3141b; font-size: 12px; font-weight: 700; }
.tc-der { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tc-cantidad { display: inline-flex; align-items: center; height: 36px; border: 1px solid #d9dbe6; border-radius: 999px; }
.tc-cantidad button { width: 34px; height: 34px; padding: 0; border: 0; background: none; color: #1a1d33; font: inherit; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
.tc-cantidad button:disabled { opacity: .35; cursor: default; }
.tc-cantidad span { min-width: 22px; text-align: center; font-weight: 700; }
.tc-subtotal { font-size: 16px; font-weight: 800; }
.tc-quitar { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 0; background: none; color: #6b6f85; font: inherit; font-size: 13px; cursor: pointer; }
.tc-quitar:hover { color: #b42318; }
.tc-agotados { padding: 14px 18px; background: #fff; border: 1px solid #ececf3; border-radius: 18px 18px 18px 6px; }
.tc-agotados h2 { margin: 0 0 12px; font-size: 16px; }
.tc-agotados ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tc-agotado { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.tc-agotado .tc-foto { width: 64px; height: 64px; filter: grayscale(1); opacity: .6; }
.tc-agotado .tc-nombre { font-size: 14px; color: #6b6f85; }
.tc-razon { font-size: 13px; font-weight: 700; color: #b3141b; }
.tc-agotado-acc { display: flex; align-items: center; gap: 4px; }
.tc-btn-sec { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1.5px solid var(--ac); border-radius: 999px; background: #fff; color: var(--ac); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tc-paquetes { margin: 0; display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--acb, #e3d6ee); border-radius: 14px 14px 14px 5px; background: var(--acs, #f6f0fa); font-size: 14px; line-height: 1.45; }
.tc-paquetes svg { flex: none; color: var(--ac); }
.tc-form { padding: 18px; scroll-margin-top: 90px; }
.tc-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tc-campo { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #3a3e57; }
.tc-ancho { grid-column: 1 / -1; }
.tc-campo input { min-height: 46px; padding: 10px 12px; border: 1px solid #d9dbe6; border-radius: 10px; background: #fbfbfd; font: inherit; font-size: 16px; font-weight: 400; }
.tc-acepta { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 14px; }
.tc-error { color: #b42318; font-weight: 600; }
.tc-resumen { position: sticky; top: 86px; padding: 20px; }
.tc-fila { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; color: #3a3e57; }
.tc-fila-desc span:last-child { color: #b3141b; font-weight: 700; }
.tc-fila-envio span:last-child { color: #1d7a3d; font-weight: 800; }
.tc-total { margin: 8px 0 0; display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid #ececf3; font-weight: 700; }
.tc-total strong { font-size: 26px; letter-spacing: -0.5px; }
.tc-ahorras { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #fdecec; color: #b3141b; font-size: 14px; font-weight: 800; text-align: center; }
.tc-pagar { width: 100%; min-height: 52px; margin-top: 14px; border: 0; border-radius: 999px; background: var(--ac); color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: color-mix(in srgb, var(--ac) 35%, transparent) 0 10px 22px; }
.tc-pagar small { display: block; font-size: 12px; font-weight: 600; opacity: .9; }
.tc-nada { margin: 14px 0 0; text-align: center; color: #6b6f85; font-size: 14px; }
.tc-garantias { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #ececf3; display: flex; flex-direction: column; gap: 12px; }
.tc-garantias li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 13px; line-height: 1.4; color: #6b6f85; }
.tc-garantias b { display: block; color: #1a1d33; font-size: 14px; }
.tc-gi { width: 30px; height: 30px; border-radius: 9px; background: var(--acs, #f6f0fa); color: var(--ac); display: flex; align-items: center; justify-content: center; }
.tc-merka { margin: 14px 0 0; text-align: center; font-size: 12px; color: #6b6f85; }
.tc-merka b { color: #252b60; }
.tc-barra { display: none; }
.tc-listo { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: #e6f6ee; color: #14532d; }
.tc-listo p { margin: 4px 0 8px; }
.tc-tambien { margin: 32px 0 8px; }
.tc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tc-reco { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #ececf3; border-radius: 14px 14px 14px 5px; }
.tc-reco-foto { position: relative; display: block; aspect-ratio: 1; background: #f4f4f6; }
.tc-reco-d { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.tc-reco-n { height: 34px; overflow: hidden; color: #1a1d33; font-size: 13px; line-height: 1.3; text-decoration: none; }
.tc-reco-p { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tc-reco-p strong { color: var(--ac); font-size: 16px; }
.tc-reco-p del { display: block; font-size: 11px; }
.tc-reco form { margin: 0; }
.tc-mas { flex: none; width: 36px; height: 36px; padding: 0; border: 1.5px solid var(--ac); border-radius: 999px; background: #fff; color: var(--ac); font: inherit; font-size: 20px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.tc-ver-mas { margin: 18px 0 0; display: flex; justify-content: center; }
@media (max-width: 1000px) {
  .tc-cols { grid-template-columns: minmax(0, 1fr); }
  .tc-resumen { position: static; }
  .tc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tc { padding-bottom: 80px; }
  .tc-lista-cab { padding: 12px 14px; }
  .tc-linea { grid-template-columns: 22px 76px minmax(0, 1fr); gap: 10px; padding: 14px; }
  .tc-foto { width: 76px; height: 76px; }
  .tc-der { grid-column: 2 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .tc-agotado { grid-template-columns: 56px minmax(0, 1fr); }
  .tc-agotado .tc-foto { width: 56px; height: 56px; }
  .tc-agotado-acc { grid-column: 2; }
  .tc-campos { grid-template-columns: minmax(0, 1fr); }
  .tc-resumen .tc-pagar { display: none; }
  .tc-barra { display: flex; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 44; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border-top: 1px solid #ececf3; box-shadow: rgba(20, 20, 40, .10) 0 -6px 18px; }
  .tc-barra-t { display: flex; flex-direction: column; }
  .tc-barra-t small { font-size: 12px; font-weight: 700; color: #b3141b; }
  .tc-barra-t strong { font-size: 20px; }
  .tc-barra .tc-pagar { flex: 1; min-height: 52px; margin: 0; font-size: 16px; line-height: 1.2; }
  .tc-barra .tc-pagar small { font-size: 11px; }
  .tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tc-grid > :nth-child(n+7) { display: none; }
}
/* El pago directo a la tienda de vendedor (JC, 16 nov 2026, H). */
.tc-metodos { margin: 16px 0 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.tc-metodo { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 2px solid #e6e8f0; border-radius: 14px; background: #ffffff; cursor: pointer; font-size: 14px; }
.tc-metodo:has(input:checked) { border-color: var(--ac); background: var(--acs); }
.tc-metodo span { display: flex; flex-direction: column; }
.tc-metodo small { color: #6b6f85; }
.tc-aviso-pago { margin: 12px 0 0; padding: 12px; border-radius: 12px; background: #fff4e5; color: #6a3c00; font-size: 14px; }
.tc-pago-datos { margin: 6px 0; padding-left: 18px; font-weight: 600; }
.tc-pd { padding: 10px 0; border-top: 1px solid #eef0f5; }
.tc-pd-pasos { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; padding: 0; list-style: none; font-size: 13px; }
.tc-pd-pasos li { padding: 4px 9px; border-radius: 999px; background: #eef0f6; }
.tc-pd-pasos .tc-pd-hecho { background: #e3f4e9; color: #11743f; font-weight: 600; }
