/* ═══════════════════════════════════════════════════════
   Five Solutions — Enhancements v14 (CRO FASE 1)
   Urgency bar · WhatsApp float · Trust stack · Hero rotator
   ═══════════════════════════════════════════════════════ */

/* ── URGENCY BAR (sticky top) ─────────────────── */
.fs-urgency {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: linear-gradient(90deg, #DC2626 0%, #F59E0B 50%, #DC2626 100%);
  background-size: 200% 100%;
  animation: urgencyShine 6s linear infinite;
  color: #fff;
  padding: 9px 48px 9px 20px;
  font-size: 0.82rem; font-weight: 600;
  text-align: center;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.35);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.fs-urgency.on { transform: translateY(0); }
.fs-urgency strong { color: #FEF3C7; font-weight: 800; letter-spacing: 0.02em; }
.fs-urgency .fs-code {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px dashed rgba(255,255,255,0.5);
  padding: 1px 8px; border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-weight: 800; letter-spacing: 0.08em;
  margin: 0 4px;
}
.fs-urgency .fs-timer {
  display: inline-block;
  background: rgba(0,0,0,0.28);
  padding: 2px 8px; border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-weight: 800;
  margin-left: 6px;
  min-width: 68px; text-align: center;
}
.fs-urgency-close {
  position: absolute; top: 50%; right: 12px;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.2); border: none; color: #fff;
  width: 24px; height: 24px; border-radius: 50%;
  cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.fs-urgency-close:hover { background: rgba(0,0,0,0.4); }
@keyframes urgencyShine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Push body down when urgency bar is active */
body.fs-urgency-on nav { top: 38px; transition: top 0.3s; }
body.fs-urgency-on .hero { padding-top: 106px; }

/* ── WHATSAPP FLOATING (enhanced) ─────────────── */
.fs-wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.fs-wa-float.on { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

.fs-wa-bubble {
  background: #fff; color: #1a1a1a;
  padding: 10px 16px 10px 14px;
  border-radius: 22px 22px 6px 22px;
  font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  white-space: nowrap;
  position: relative;
  animation: waBubbleFloat 3s ease-in-out infinite;
  max-width: 260px;
}
.fs-wa-bubble small { display: block; font-size: 0.7rem; color: #25D366; font-weight: 700; margin-bottom: 1px; }
.fs-wa-bubble-close {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #1a1a1a; color: #fff; border: none;
  font-size: 0.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
@keyframes waBubbleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

.fs-wa-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  position: relative;
  transition: transform 0.25s;
}
.fs-wa-btn:hover { transform: scale(1.1); }
.fs-wa-btn svg { width: 32px; height: 32px; fill: #fff; }
.fs-wa-btn::before {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid #25D366;
  animation: waPulse 2s infinite;
}
.fs-wa-badge {
  position: absolute; top: -4px; right: -4px;
  background: #DC2626; color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  animation: waBadgeBounce 1.5s ease-in-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes waBadgeBounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

@media (max-width: 600px) {
  .fs-wa-float { bottom: 16px; right: 16px; }
  .fs-wa-bubble { display: none; }
  .fs-wa-btn { width: 56px; height: 56px; }
}

/* ── TRUST STACK (hero) ───────────────────────── */
.fs-trust-stack {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 14px 0 28px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(14,165,176,0.08));
  border: 1px solid rgba(16,185,129,0.22);
  border-radius: 14px;
}
.fs-trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  line-height: 1.3;
}
.fs-trust-item .fs-trust-ico {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(16,185,129,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #10B981; font-size: 0.9rem; flex-shrink: 0;
}
.fs-trust-item strong { color: var(--accent-light); }

/* ── HERO ANCHOR PRICE (enhanced) ─────────────── */
.fs-price-hook {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin: 0 0 20px;
  padding: 14px 18px;
  background: linear-gradient(160deg, rgba(22,35,64,0.94), rgba(15,29,50,0.96));
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.fs-price-official {
  display: flex; flex-direction: column; gap: 2px;
  padding-right: 14px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.fs-price-official .fs-lbl {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #94A3B8;
}
.fs-price-official .fs-val {
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 700;
  color: #94A3B8; text-decoration: line-through; text-decoration-color: #EF4444;
  text-decoration-thickness: 2px;
}
.fs-price-ours { display: flex; flex-direction: column; gap: 2px; }
.fs-price-ours .fs-lbl {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: #10B981;
}
.fs-price-ours .fs-val {
  font-family: var(--font-h); font-size: 1.35rem; font-weight: 800;
  color: #fff; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px;
}
.fs-price-ours .fs-val small {
  font-size: 0.65rem; font-weight: 700; color: #10B981;
  background: rgba(16,185,129,0.15);
  padding: 2px 8px; border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ── HERO CTA (primary - improved) ────────────── */
.fs-cta-primary {
  display: inline-flex !important; align-items: center; gap: 10px;
  padding: 16px 34px !important;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #fff !important;
  border-radius: 14px !important;
  font-weight: 800 !important; font-size: 1.02rem !important;
  box-shadow: 0 8px 22px rgba(16,185,129,0.38), inset 0 1px 0 rgba(255,255,255,0.18) !important;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.fs-cta-primary::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: ctaShine 3s infinite;
}
.fs-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16,185,129,0.5), inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
@keyframes ctaShine { 0% { left: -100%; } 50%, 100% { left: 150%; } }

/* ── LAST-ACTIVATION TICKER ───────────────────── */
.fs-ticker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text2);
  padding: 6px 12px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.18);
  border-radius: 100px;
  margin-bottom: 16px;
}
.fs-ticker::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.3);
  animation: pulse 2s infinite;
}
.fs-ticker strong { color: #10B981; font-weight: 700; }

/* ── MOBILE fixes for the new elements ────────── */
@media (max-width: 600px) {
  .fs-urgency { font-size: 0.72rem; padding: 8px 36px 8px 12px; }
  .fs-urgency .fs-timer { min-width: 60px; font-size: 0.72rem; }
  .fs-urgency-close { width: 20px; height: 20px; }
  body.fs-urgency-on .hero { padding-top: 116px; }
  .fs-trust-stack { padding: 12px 14px; gap: 10px; }
  .fs-trust-item { font-size: 0.72rem; }
  .fs-price-hook { padding: 12px 14px; gap: 12px; }
  .fs-price-official { padding-right: 12px; }
  .fs-price-ours .fs-val { font-size: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════
   v17 — Breakdown IGV + Cupón FIVE10 + Fix toggle inline
   ═══════════════════════════════════════════════════════ */

/* Botón clickeable del cupón en urgency bar */
.fs-urgency .fs-code-btn {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  border: 1px dashed rgba(255,255,255,0.65);
  padding: 2px 10px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 4px;
  color: #fff;
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 0.78rem;
}
.fs-urgency .fs-code-btn:hover {
  background: rgba(255,255,255,0.4);
  border-style: solid;
  transform: scale(1.04);
}
.fs-urgency .fs-code-btn:active { transform: scale(0.97); }

/* Input cupón dentro del modal checkout */
.ck-coupon {
  margin: 16px 0 12px;
  padding: 14px 16px;
  background: rgba(14, 165, 176, 0.06);
  border: 1px dashed rgba(14, 165, 176, 0.3);
  border-radius: 10px;
}
.ck-coupon-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.ck-coupon-row .ck-in {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.ck-coupon-row .ck-in::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ck-coupon-btn {
  padding: 0 18px;
  background: var(--accent, #0EA5B0);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.ck-coupon-btn:hover { filter: brightness(1.1); }
.ck-coupon-btn.ok { background: #10B981; }
.ck-coupon-btn:disabled { cursor: default; opacity: 0.85; }
.ck-coupon-status {
  font-size: 0.78rem;
  color: #10B981;
  margin-top: 8px;
  min-height: 1em;
}

/* Desglose de precios: subtotal / descuento / IGV / total */
.ck-breakdown {
  margin: 14px 0 6px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 0.88rem;
}
.ck-breakdown:empty { display: none; }
.ck-breakdown .bd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  color: var(--text2, #B8C4D0);
}
.ck-breakdown .bd-disc { color: #10B981; font-weight: 600; }
.ck-breakdown .bd-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-light, #22D3EE);
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
}
.ck-breakdown .bd-x {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
  padding: 0;
  margin-left: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.ck-breakdown .bd-x:hover { background: #ef4444; color: #fff; }

/* Toast flotante al aplicar cupón */
.fs-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.fs-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Fix: spans con price-d/price-s dentro de h2, button, hero-title deben ser inline */
body.soles h2 .price-s,
body.soles .cta-big .price-s,
body.soles button .price-s,
body.soles .hero-title .price-s,
body.soles .hero-price .price-s { display: inline; }
body:not(.soles) h2 .price-d,
body:not(.soles) .cta-big .price-d,
body:not(.soles) button .price-d,
body:not(.soles) .hero-title .price-d,
body:not(.soles) .hero-price .price-d { display: inline; }

/* Microcopy "+ IGV al cobrar" */
.fs-igv-note {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--text3, #7B8899);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════
   v18 — Step Resumen (checkout de 3 pasos)
   ═══════════════════════════════════════════════════════ */

/* Nota en step 1 */
.ck-step1-note {
  font-size: 0.76rem;
  color: var(--text3, #7B8899);
  margin: 4px 0 12px;
  padding: 8px 12px;
  background: rgba(14, 165, 176, 0.05);
  border-left: 2px solid rgba(14, 165, 176, 0.3);
  border-radius: 4px;
}

/* Header del step resumen */
.sum-hdr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sum-hdr-ic {
  font-size: 1.8rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(14,165,176,0.15), rgba(16,185,129,0.15));
  border: 1px solid rgba(14,165,176,0.25);
  border-radius: 10px;
}
.sum-hdr-title {
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white, #fff);
  line-height: 1.2;
}
.sum-hdr-sub {
  font-size: 0.78rem;
  color: var(--text3, #7B8899);
  margin-top: 2px;
}

/* Card del producto */
.sum-card {
  padding: 16px 18px;
  background: linear-gradient(160deg, rgba(14,165,176,0.06), rgba(14,165,176,0.02));
  border: 1px solid rgba(14,165,176,0.2);
  border-radius: 12px;
  margin-bottom: 14px;
}
.sum-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.sum-item-l { flex: 1; min-width: 0; }
.sum-item-name {
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--white, #fff);
  margin-bottom: 3px;
}
.sum-item-meta {
  font-size: 0.78rem;
  color: var(--text2, #B8C4D0);
}
.sum-item-r {
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-light, #22D3EE);
  white-space: nowrap;
}

/* Bloque cupón en resumen (reescrito, más claro que la versión v17) */
.sum-coupon {
  margin: 12px 0 14px;
  padding: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px dashed rgba(14, 165, 176, 0.35);
  border-radius: 10px;
}
.sum-coupon-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text, #E5E9F0);
  margin-bottom: 10px;
}
.sum-coupon-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.sum-coupon-row .ck-in {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 14px;
}
.sum-coupon-row .ck-in::placeholder {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--text3, #7B8899);
}
.sum-coupon .ck-coupon-btn {
  padding: 0 20px;
  min-width: 100px;
}

/* Legal / trust */
.sum-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin: 12px 0 16px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--text2, #B8C4D0);
}

/* Acciones */
.sum-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.ck-btn-back {
  padding: 14px 16px;
  background: transparent;
  color: var(--text2, #B8C4D0);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.ck-btn-back:hover {
  color: var(--white, #fff);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.03);
}
.ck-btn-grow { flex: 1; }

/* Breakdown más prominente en step 2 */
#s2sum .ck-breakdown {
  margin: 4px 0 14px;
  padding: 18px 20px;
  background: linear-gradient(160deg, rgba(10, 22, 40, 0.6), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
}
#s2sum .ck-breakdown .bd-total {
  font-size: 1.2rem;
}

/* Mobile */
@media (max-width: 560px) {
  .sum-hdr-ic { width: 40px; height: 40px; font-size: 1.4rem; }
  .sum-hdr-title { font-size: 0.95rem; }
  .sum-actions { flex-direction: column-reverse; }
  .sum-coupon-row { flex-direction: column; }
  .sum-coupon .ck-coupon-btn { padding: 12px; }
}

/* ═══════════════════════════════════════════════════════
   v19 — BOLETA + TABS DE PAGO
   ═══════════════════════════════════════════════════════ */

/* Boleta visual (tipo ticket) */
.boleta {
  background: linear-gradient(160deg, #0F1F3A 0%, #0A1628 100%);
  border: 1px solid rgba(14,165,176,0.2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.boleta-hdr {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(14,165,176,0.15), rgba(16,185,129,0.1));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.boleta-hdr-title {
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.2;
}
.boleta-hdr-sub {
  font-size: 0.72rem;
  color: rgba(14,165,176,0.9);
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}
.boleta-body { padding: 18px 20px; }

.boleta-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  margin-bottom: 14px;
}
.boleta-item-l { flex: 1; min-width: 0; }
.boleta-item-name {
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 3px;
}
.boleta-item-meta {
  font-size: 0.78rem;
  color: var(--text2, #B8C4D0);
}
.boleta-item-r {
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-light, #22D3EE);
  white-space: nowrap;
}

/* Cupón dentro de la boleta */
.boleta-coupon {
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(14, 165, 176, 0.4);
  border-radius: 10px;
  margin-bottom: 16px;
}
.boleta-coupon-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.boleta-coupon-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.boleta-coupon-row .ck-in {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 14px;
  background: rgba(10, 22, 40, 0.6);
}
.boleta-coupon-row .ck-in::placeholder {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--text3, #7B8899);
}
.boleta-coupon-btn {
  padding: 0 22px;
  background: var(--accent, #0EA5B0);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  min-width: 100px;
}
.boleta-coupon-btn:hover { filter: brightness(1.15); transform: translateY(-1px); }
.boleta-coupon-btn.ok { background: #10B981; cursor: default; }
.boleta-coupon-btn:disabled { opacity: 0.9; }

/* Líneas estilo ticket */
.boleta-lines {
  padding: 14px 16px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}
.bl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--text, #E5E9F0);
}
.bl-row.bl-disc { color: #10B981; font-weight: 600; }
.bl-row.bl-sub { color: var(--text2, #B8C4D0); font-size: 0.85rem; font-style: italic; }
.bl-sep {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0 4px, transparent 4px 8px);
  margin: 10px 0;
}
.bl-row.bl-total {
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-light, #22D3EE);
  padding-top: 6px;
  letter-spacing: 0.02em;
}
.bl-x {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
  padding: 0;
  margin-left: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.bl-x:hover { background: #ef4444; color: #fff; }

/* TABS DE MÉTODO DE PAGO */
.pay-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.pay-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--text2, #B8C4D0);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  line-height: 1.2;
}
.pay-tab:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.pay-tab.active {
  background: linear-gradient(135deg, rgba(14,165,176,0.15), rgba(16,185,129,0.1));
  border-color: var(--accent, #0EA5B0);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14,165,176,0.2);
}
.pay-tab-ic {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.pay-tab-name small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text3, #7B8899);
  margin-top: 2px;
  letter-spacing: 0.01em;
}
.pay-tab.active .pay-tab-name small { color: var(--accent-light, #22D3EE); }

/* Paneles de método */
.pay-panel { display: none; animation: panelIn 0.28s ease-out; }
.pay-panel.active { display: block; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pay-panel-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text, #E5E9F0);
  margin-bottom: 14px;
}
.pay-panel-total strong {
  font-family: var(--font-h, 'Plus Jakarta Sans'), sans-serif;
  font-size: 1.1rem;
  color: #10B981;
  font-weight: 800;
}

/* Nav botón volver */
.boleta-nav {
  margin-top: 12px;
  text-align: center;
}

/* Mobile */
@media (max-width: 560px) {
  .pay-tabs { grid-template-columns: 1fr; }
  .boleta-coupon-row { flex-direction: column; }
  .boleta-coupon-btn { padding: 12px; }
  .boleta-body { padding: 14px 16px; }
  .bl-row.bl-total { font-size: 1.1rem; }
}

