/* ==========================================================================
   Tienda (embudo de compra): hosting, dominios, carrito, pago y confirmación
   Todas las clases usan el prefijo "t-" para no interferir con el CSS del sitio.
   ========================================================================== */

:root {
  --t-indigo: #4b44a3;
  --t-indigo-600: #3f3891;
  --t-indigo-50: #f1f0fb;
  --t-indigo-100: #e3e1f7;
  --t-green: #0e9f58;
  --t-green-600: #0b8a4c;
  --t-green-50: #e8f7ef;
  --t-ink: #111a33;
  --t-ink-2: #3a4560;
  --t-muted: #6b7489;
  --t-line: #e6e8f0;
  --t-line-2: #d5d9e5;
  --t-bg: #f5f6fa;
  --t-white: #ffffff;
  --t-danger: #d23f45;
  --t-danger-50: #fdeced;
  --t-warning-50: #fff6e5;
  --t-radius: 16px;
  --t-radius-sm: 10px;
  --t-shadow: 0 1px 2px rgba(17, 26, 51, .04), 0 4px 16px rgba(17, 26, 51, .06);
  --t-shadow-lg: 0 12px 40px rgba(17, 26, 51, .12);
  --t-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
/* El atributo hidden siempre gana (Bootstrap usa d-flex con !important) */
.t-page [hidden], .t-barra-movil [hidden] { display: none !important; }

.t-page {
  background: var(--t-bg);
  font-family: var(--t-font);
  color: var(--t-ink);
  padding: 32px 0 96px;
  min-height: 60vh;
}
.t-page h1, .t-page h2, .t-page h3, .t-page h4, .t-page h5, .t-page h6 {
  font-family: var(--t-font);
  color: var(--t-ink);
  letter-spacing: -0.01em;
}
.t-page p { color: var(--t-ink-2); }
.t-page a { color: var(--t-indigo); }
.t-page .text-muted, .t-muted { color: var(--t-muted) !important; }

.t-banda {
  /* franja con el degradado de marca bajo el menú */
  height: 104px;
  background: linear-gradient(90deg, rgba(16, 213, 102, .92) 0%, rgba(84, 78, 154, .92) 100%);
}

.t-titulo {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 6px;
}
.t-subtitulo {
  font-size: 15px;
  color: var(--t-muted);
  margin: 0 0 24px;
}

/* ---------- Indicador de pasos ---------- */
.t-pasos {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.t-paso {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--t-muted);
  white-space: nowrap;
}
.t-paso:last-child { flex: 0; }
.t-paso::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--t-line-2);
  margin: 0 14px;
  border-radius: 2px;
}
.t-paso:last-child::after { display: none; }
.t-paso-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--t-white);
  border: 2px solid var(--t-line-2);
  color: var(--t-muted);
  flex-shrink: 0;
}
.t-paso.is-hecho { color: var(--t-ink-2); }
.t-paso.is-hecho .t-paso-num { background: var(--t-green); border-color: var(--t-green); color: #fff; }
.t-paso.is-hecho::after { background: var(--t-green); }
.t-paso.is-actual { color: var(--t-indigo); }
.t-paso.is-actual .t-paso-num {
  background: var(--t-indigo);
  border-color: var(--t-indigo);
  color: #fff;
  box-shadow: 0 0 0 4px var(--t-indigo-100);
}
.t-paso a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.t-paso a:hover .t-paso-texto { text-decoration: underline; }

/* ---------- Layout con resumen lateral ---------- */
.t-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.t-aside { position: sticky; top: 24px; }

/* ---------- Tarjetas ---------- */
.t-card {
  background: var(--t-white);
  border: 1px solid var(--t-line);
  border-radius: var(--t-radius);
  box-shadow: var(--t-shadow);
  padding: 28px;
}
.t-card + .t-card, .t-card + form, form + .t-card { margin-top: 20px; }
form > .t-card + .t-card { margin-top: 20px; }
.t-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.t-card-titulo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}
.t-card-titulo .t-badge-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--t-indigo-50);
  color: var(--t-indigo);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.t-card-desc { font-size: 14px; color: var(--t-muted); margin: -12px 0 20px; }

/* ---------- Botones ---------- */
.t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--t-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
  white-space: nowrap;
}
.t-btn:active { transform: translateY(1px); }
.t-btn:disabled, .t-btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.t-btn-primario { background: var(--t-green); color: #fff !important; box-shadow: 0 6px 16px rgba(14, 159, 88, .25); }
.t-btn-primario:hover { background: var(--t-green-600); color: #fff; }
.t-btn-indigo { background: var(--t-indigo); color: #fff !important; }
.t-btn-indigo:hover { background: var(--t-indigo-600); color: #fff; }
.t-btn-secundario { background: var(--t-white); color: var(--t-ink) !important; border-color: var(--t-line-2); }
.t-btn-secundario:hover { border-color: var(--t-indigo); color: var(--t-indigo) !important; }
.t-btn-texto { background: transparent; color: var(--t-indigo) !important; height: auto; padding: 6px 4px; }
.t-btn-texto:hover { text-decoration: underline !important; }
.t-btn-bloque { width: 100%; }
.t-btn-lg { height: 54px; font-size: 16px; border-radius: 14px; }
.t-btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* ---------- Formularios ---------- */
.t-page .form-label, .t-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--t-ink-2);
  margin-bottom: 6px;
}
.t-page .form-control, .t-page .form-select {
  height: 48px;
  border-radius: var(--t-radius-sm);
  border: 1px solid var(--t-line-2);
  font-size: 15px;
  color: var(--t-ink);
  padding: 0 14px;
  box-shadow: none;
  font-family: var(--t-font);
}
.t-page .form-select { padding-right: 38px; }
.t-page .form-control:focus, .t-page .form-select:focus {
  border-color: var(--t-indigo);
  box-shadow: 0 0 0 4px var(--t-indigo-100);
}
.t-page .form-control:disabled, .t-page .form-control[readonly] { background: #f7f8fb; }
.t-page .form-control.is-invalid, .t-page .form-select.is-invalid { border-color: var(--t-danger); }
.t-page .invalid-feedback, .t-error { font-size: 13px; color: var(--t-danger); margin-top: 6px; }
.t-ayuda { font-size: 13px; color: var(--t-muted); margin-top: 6px; }
.t-page .select2-container .select2-selection--single {
  height: 48px;
  border-radius: var(--t-radius-sm);
  border: 1px solid var(--t-line-2);
}
.t-page .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; }
.t-page .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }

/* ---------- Selector segmentado (Mensual / Anual, Linux / Windows) ---------- */
.t-segmentado {
  display: inline-flex;
  padding: 4px;
  background: #eceef5;
  border-radius: 12px;
  gap: 4px;
}
.t-segmentado input { position: absolute; opacity: 0; pointer-events: none; }
.t-segmentado label {
  margin: 0;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--t-ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.t-segmentado input:checked + label { background: var(--t-white); color: var(--t-ink); box-shadow: 0 1px 3px rgba(17, 26, 51, .12); }
.t-segmentado input:focus-visible + label { outline: 2px solid var(--t-indigo); outline-offset: 2px; }
.t-chip-ahorro {
  font-size: 11px;
  font-weight: 700;
  background: var(--t-green-50);
  color: var(--t-green-600);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Tarjetas de plan (radio) ---------- */
.t-planes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.t-plan { position: relative; }
.t-plan input { position: absolute; opacity: 0; pointer-events: none; }
.t-plan label {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 20px;
  border: 1.5px solid var(--t-line);
  border-radius: 14px;
  background: var(--t-white);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.t-plan label:hover { border-color: var(--t-line-2); box-shadow: var(--t-shadow); }
.t-plan input:checked + label { border-color: var(--t-indigo); box-shadow: 0 0 0 4px var(--t-indigo-100); }
.t-plan input:focus-visible + label { outline: 2px solid var(--t-indigo); outline-offset: 2px; }
.t-plan-check {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--t-line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 13px;
  background: #fff;
}
.t-plan input:checked + label .t-plan-check { background: var(--t-indigo); border-color: var(--t-indigo); color: #fff; }
.t-plan-nombre { font-size: 17px; font-weight: 700; margin: 0 28px 2px 0; }
.t-plan-desc { font-size: 13px; color: var(--t-muted); margin: 0 0 14px; min-height: 36px; }
.t-plan-precio { display: flex; align-items: baseline; gap: 4px; margin-bottom: 2px; }
.t-plan-precio .moneda { font-size: 15px; font-weight: 600; color: var(--t-ink-2); }
.t-plan-precio .monto { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.t-plan-precio .periodo { font-size: 14px; color: var(--t-muted); }
.t-plan-nota { font-size: 12px; color: var(--t-muted); margin-bottom: 14px; min-height: 18px; }
.t-plan-features { list-style: none; padding: 14px 0 0; margin: auto 0 0; border-top: 1px dashed var(--t-line); }
.t-plan-features li { display: flex; gap: 8px; font-size: 13px; color: var(--t-ink-2); padding: 4px 0; }
.t-plan-features li i { color: var(--t-green); font-size: 15px; line-height: 1.2; }
.t-plan-features li.is-extra { display: none; }
.t-planes.is-expandido .t-plan-features li.is-extra { display: flex; }
.t-badge-popular {
  position: absolute;
  top: -11px;
  left: 18px;
  z-index: 1;
  background: var(--t-indigo);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Opciones de dominio (tiles) ---------- */
.t-opciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.t-opcion { position: relative; }
.t-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.t-opcion label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  height: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--t-line);
  border-radius: 12px;
  cursor: pointer;
  background: var(--t-white);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.t-opcion label:hover { border-color: var(--t-line-2); }
.t-opcion input:checked + label { border-color: var(--t-indigo); background: var(--t-indigo-50); }
.t-opcion input:focus-visible + label { outline: 2px solid var(--t-indigo); outline-offset: 2px; }
.t-opcion-icono {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--t-indigo-50);
  color: var(--t-indigo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.t-opcion input:checked + label .t-opcion-icono { background: var(--t-indigo); color: #fff; }
.t-opcion-titulo { font-size: 14px; font-weight: 700; color: var(--t-ink); display: block; }
.t-opcion-texto { font-size: 12px; color: var(--t-muted); display: block; margin-top: 2px; line-height: 1.35; }
.t-panel[hidden] { display: none !important; }

/* ---------- Buscador de dominios ---------- */
.t-buscador { display: flex; gap: 10px; }
.t-buscador-campo { position: relative; flex: 1; }
.t-buscador-campo i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--t-muted);
  font-size: 18px;
}
.t-page .t-buscador-campo .form-control { padding-left: 46px; height: 54px; font-size: 16px; border-radius: 14px; }
.t-buscador .t-btn { height: 54px; border-radius: 14px; }
.t-buscador-hero .t-buscador-campo .form-control { height: 60px; font-size: 17px; box-shadow: var(--t-shadow); border-color: transparent; }
.t-buscador-hero .t-btn { height: 60px; padding: 0 28px; }

.t-resultado {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--t-line);
  background: var(--t-white);
}
.t-resultado + .t-resultado { margin-top: 10px; }
.t-resultado-icono {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.t-resultado.is-disponible .t-resultado-icono { background: var(--t-green-50); color: var(--t-green); }
.t-resultado.is-ocupado .t-resultado-icono { background: var(--t-danger-50); color: var(--t-danger); }
.t-resultado-cuerpo { flex: 1; min-width: 0; }
.t-resultado-dominio { font-size: 17px; font-weight: 700; word-break: break-all; }
.t-resultado-estado { font-size: 13px; color: var(--t-muted); }
.t-resultado.is-disponible .t-resultado-estado { color: var(--t-green-600); font-weight: 600; }
.t-resultado-precio { text-align: right; white-space: nowrap; }
.t-resultado-precio strong { font-size: 18px; font-weight: 800; display: block; }
.t-resultado-precio span { font-size: 12px; color: var(--t-muted); }
.t-resultado.is-principal { padding: 22px 24px; border-width: 2px; }
.t-resultado.is-principal.is-disponible { border-color: var(--t-green); background: linear-gradient(0deg, #fff, #fff), var(--t-green-50); }
.t-resultado.is-principal .t-resultado-dominio { font-size: 22px; }
.t-resultado.is-seleccionado { border-color: var(--t-indigo); background: var(--t-indigo-50); }
.t-etiqueta {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--t-green-50);
  color: var(--t-green-600);
  margin-bottom: 4px;
}
.t-etiqueta.is-indigo { background: var(--t-indigo-50); color: var(--t-indigo); }
.t-select-anios { width: 112px; height: 40px !important; font-size: 14px !important; }

.t-cargando {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: t-giro .7s linear infinite;
}
@keyframes t-giro { to { transform: rotate(360deg); } }

/* ---------- Avisos ---------- */
.t-aviso {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  background: var(--t-indigo-50);
  color: var(--t-ink-2);
  margin-bottom: 16px;
}
.t-aviso i { font-size: 18px; color: var(--t-indigo); line-height: 1.2; }
.t-aviso.is-exito { background: var(--t-green-50); }
.t-aviso.is-exito i { color: var(--t-green); }
.t-aviso.is-error { background: var(--t-danger-50); }
.t-aviso.is-error i { color: var(--t-danger); }
.t-aviso.is-alerta { background: var(--t-warning-50); }
.t-aviso.is-alerta i { color: #c98500; }
.t-aviso p { margin: 0; color: inherit; font-size: 14px; line-height: 1.5; }

/* ---------- Resumen del pedido (aside) ---------- */
.t-resumen { padding: 24px; }
.t-resumen-titulo { font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.t-resumen-linea {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--t-ink-2);
  padding: 6px 0;
}
.t-resumen-linea .detalle { min-width: 0; }
.t-resumen-linea .detalle strong { display: block; color: var(--t-ink); font-weight: 600; }
.t-resumen-linea .detalle small { color: var(--t-muted); font-size: 12px; word-break: break-all; }
.t-resumen-linea .importe { white-space: nowrap; font-weight: 600; color: var(--t-ink); }
.t-resumen-separador { border-top: 1px solid var(--t-line); margin: 12px 0; }
.t-resumen-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 4px;
  margin-bottom: 18px;
}
.t-resumen-total span { font-size: 15px; font-weight: 700; }
.t-resumen-total strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.t-resumen-vacio { font-size: 14px; color: var(--t-muted); padding: 8px 0 14px; }
.t-confianza { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--t-line); }
.t-confianza li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--t-ink-2); padding: 4px 0; }
.t-confianza li i { color: var(--t-green); font-size: 16px; }

/* ---------- Ítems del carrito ---------- */
.t-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--t-line);
}
.t-item:first-child { padding-top: 4px; }
.t-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.t-item-icono {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--t-indigo-50);
  color: var(--t-indigo);
}
.t-item-icono.is-dominio { background: var(--t-green-50); color: var(--t-green); }
.t-item-nombre { font-size: 16px; font-weight: 700; margin: 0; }
.t-item-meta { font-size: 13px; color: var(--t-muted); word-break: break-all; }
.t-item-control .form-select { height: 40px; font-size: 14px; min-width: 128px; }
.t-item-importe { text-align: right; min-width: 104px; }
.t-item-importe strong { display: block; font-size: 17px; font-weight: 800; }
.t-item-importe span { font-size: 12px; color: var(--t-muted); }
.t-item-quitar {
  background: none;
  border: 0;
  padding: 4px 0 0;
  font-size: 13px;
  color: var(--t-muted);
  cursor: pointer;
}
.t-item-quitar:hover { color: var(--t-danger); }
.t-item.is-quitando { opacity: .4; pointer-events: none; }

.t-vacio { text-align: center; padding: 48px 16px; }
.t-vacio-icono {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--t-indigo-50);
  color: var(--t-indigo);
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Venta cruzada ---------- */
.t-upsell {
  border-radius: var(--t-radius);
  padding: 24px 28px;
  background: linear-gradient(120deg, #f1f0fb 0%, #e8f7ef 100%);
  border: 1px solid var(--t-indigo-100);
}
.t-upsell h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.t-upsell-planes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 16px; }
.t-upsell-plan {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--t-line);
  text-decoration: none !important;
  color: var(--t-ink) !important;
  transition: border-color .15s, box-shadow .15s;
}
.t-upsell-plan:hover { border-color: var(--t-indigo); box-shadow: var(--t-shadow); }
.t-upsell-plan strong { display: block; font-size: 15px; }
.t-upsell-plan span { font-size: 13px; color: var(--t-muted); }
.t-upsell-plan b { font-size: 18px; color: var(--t-ink); }

/* ---------- Métodos de pago ---------- */
.t-metodos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.t-metodo { position: relative; }
.t-metodo input { position: absolute; opacity: 0; pointer-events: none; }
.t-metodo label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  margin: 0;
  padding: 16px;
  border: 1.5px solid var(--t-line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.t-metodo label i { font-size: 22px; color: var(--t-indigo); }
.t-metodo label strong { font-size: 14px; }
.t-metodo label span { font-size: 12px; color: var(--t-muted); }
.t-metodo input:checked + label { border-color: var(--t-indigo); background: var(--t-indigo-50); box-shadow: 0 0 0 4px var(--t-indigo-100); }
.t-metodo input:focus-visible + label { outline: 2px solid var(--t-indigo); outline-offset: 2px; }
.t-tarjeta-preview {
  border-radius: 16px;
  padding: 22px;
  color: #fff;
  min-height: 190px;
  background: linear-gradient(135deg, #2b2a6b 0%, #4b44a3 55%, #0e9f58 140%);
  box-shadow: var(--t-shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--t-font);
}
.t-tarjeta-preview .chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #f5d77a, #c79a2e); }
.t-tarjeta-preview .numero { font-size: 20px; letter-spacing: .12em; font-weight: 600; margin: 18px 0 14px; }
.t-tarjeta-preview .fila { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; opacity: .9; }
.t-tarjeta-preview .fila b { display: block; font-size: 14px; letter-spacing: .04em; opacity: 1; }
.t-tarjeta-preview .marca { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Pestañas de cuenta (nuevo / ya registrado) ---------- */
.t-cuenta-alternar { font-size: 14px; color: var(--t-muted); }

/* ---------- Confirmación / nota de pago ---------- */
.t-estado {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border-radius: var(--t-radius);
  background: var(--t-white);
  border: 1px solid var(--t-line);
  box-shadow: var(--t-shadow);
  margin-bottom: 20px;
}
.t-estado-icono {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  background: var(--t-warning-50);
  color: #c98500;
}
.t-estado.is-pagado .t-estado-icono { background: var(--t-green-50); color: var(--t-green); }
.t-estado.is-validando .t-estado-icono { background: var(--t-indigo-50); color: var(--t-indigo); }
.t-estado h1 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.t-estado p { margin: 0; font-size: 14px; }
.t-tabla { width: 100%; font-size: 14px; }
.t-tabla th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--t-muted); font-weight: 600; padding: 0 0 10px; }
.t-tabla td { padding: 12px 0; border-top: 1px solid var(--t-line); vertical-align: top; }
.t-tabla td:last-child, .t-tabla th:last-child { text-align: right; white-space: nowrap; }
.t-datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; font-size: 14px; }
.t-datos dt { font-size: 12px; color: var(--t-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.t-datos dd { margin: 2px 0 0; color: var(--t-ink); font-weight: 600; word-break: break-word; }
.t-cuenta-banco { border: 1px dashed var(--t-line-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.t-cuenta-banco + .t-cuenta-banco { margin-top: 10px; }
.t-subida {
  border: 2px dashed var(--t-line-2);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  background: #fafbfe;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.t-subida:hover, .t-subida.is-arrastrando { border-color: var(--t-indigo); background: var(--t-indigo-50); }
.t-subida i { font-size: 28px; color: var(--t-indigo); }
.t-subida input[type=file] { display: none; }

/* ---------- Barra fija inferior (móvil) ---------- */
.t-barra-movil {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  background: var(--t-white);
  border-top: 1px solid var(--t-line);
  box-shadow: 0 -8px 24px rgba(17, 26, 51, .08);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--t-font);
}
.t-barra-movil .total small { display: block; font-size: 12px; color: var(--t-muted); }
.t-barra-movil .total strong { font-size: 20px; font-weight: 800; color: var(--t-ink); }
.t-barra-movil .t-btn { height: 46px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .t-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
}
@media (max-width: 991.98px) {
  .t-layout { grid-template-columns: 1fr; }
  .t-aside { position: static; }
  .t-aside .t-resumen-cta { display: none; }
  .t-barra-movil { display: flex; }
  .t-page { padding-bottom: 120px; }
  .t-paso-texto { display: none; }
  .t-paso.is-actual .t-paso-texto { display: inline; }
}
@media (max-width: 767.98px) {
  .t-banda { height: 88px; }
  .t-page { padding-top: 20px; }
  .t-titulo { font-size: 23px; }
  .t-card { padding: 20px; border-radius: 14px; }
  .t-item { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .t-item-control, .t-item-importe { grid-column: 2; }
  .t-item-importe { text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .t-metodos { grid-template-columns: 1fr; }
  .t-datos { grid-template-columns: 1fr; }
  .t-resultado { flex-wrap: wrap; }
  .t-resultado-precio { text-align: left; }
  .t-buscador { flex-direction: column; }
  .t-buscador .t-btn { width: 100%; }
  .t-estado { flex-direction: column; text-align: center; }
}
@media (max-width: 767.98px) {
  /* En móvil: planes más compactos, 3 características visibles */
  .t-plan-features li:nth-child(n+4) { display: none; }
  .t-planes.is-expandido .t-plan-features li:nth-child(n+4) { display: flex; }
  .t-plan-desc { min-height: 0; }
  .t-plan-nota { min-height: 0; }
}
@media (max-width: 767.98px) {
  /* Métodos de pago en filas compactas */
  .t-metodo label { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
  .t-metodo label i { font-size: 20px; }
  .t-metodo label span { margin-left: auto; text-align: right; }
}

/* Culqi: elegir tarjeta guardada u otra (pago de nota) */
.t-opcion-tarjeta { display: flex; align-items: center; gap: 10px; border: 1px solid var(--t-line, #e6e8f0); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; cursor: pointer; margin: 0; background: #fff; }
.t-opcion-tarjeta input { accent-color: #4b44a3; width: 17px; height: 17px; }
.t-opcion-tarjeta:has(input:checked) { border-color: #4b44a3; box-shadow: 0 0 0 1px #4b44a3; background: #f1f0fb; }
