* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, sans-serif;
  background: radial-gradient(900px 500px at 20% -10%, #e4e9ff 0%, transparent 50%), #f5f7ff;
  color: #14162b;
  -webkit-font-smoothing: antialiased;
}

.checkout-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px 48px;
  min-height: 100vh;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 24px;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(20, 22, 43, 0.08);
  margin-bottom: 8px;
}

.checkout-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.checkout-layout.hidden { display: none; }

@media (min-width: 860px) {
  .checkout-layout {
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 32px;
  }
}

.checkout-summary-card {
  background: linear-gradient(160deg, #14162b 0%, #252847 100%);
  color: #f8fafc;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(20, 22, 43, 0.18);
}

.checkout-summary-eyebrow {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.65);
}

.checkout-summary-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.checkout-summary-tagline {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: #86efac;
  font-weight: 500;
}

.checkout-summary-tagline.hidden { display: none; }

.checkout-summary-features {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-summary-features li {
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.9);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}

.checkout-summary-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.checkout-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.75);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-summary-line strong {
  color: #fff;
  font-size: 1rem;
}

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.checkout-summary-total span {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.85);
}

.checkout-summary-total strong {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.checkout-summary-pix-hint {
  margin: 14px 0 0;
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.55);
  text-align: center;
}

.checkout-trust-strip {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-trust-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.checkout-trust-strip svg {
  flex-shrink: 0;
  color: #6c5ce7;
}

.checkout-panel-head {
  margin-bottom: 8px;
}

.checkout-panel-title {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #14162b;
}

.checkout-form-section-label {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.btn-checkout-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pix-success-head {
  text-align: center;
  margin-bottom: 16px;
}

.pix-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.checkout-card--solo {
  max-width: 520px;
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.checkout-back-link {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}
.checkout-back-link:hover {
  color: #374151;
}
.checkout-back-link.hidden {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  color: #14162b;
  text-decoration: none;
  cursor: default;
}

.logo:hover { color: #14162b; }

.logo-wordmark {
  height: 24px;
  max-width: 120px;
  width: auto;
  display: block;
}

.nav-btn {
  padding: 10px 20px;
  background: #1a1a1a;
  color: white;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-btn:hover { background: #333; color: white; }

.checkout-main {
  padding: 24px 0 48px;
}

.checkout-error {
  padding: 12px 16px;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 8px;
  margin-bottom: 24px;
  white-space: pre-wrap;
}

.checkout-error.hidden { display: none; }

.checkout-debug {
  margin-bottom: 24px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: monospace;
}

.checkout-debug.hidden { display: none; }

.checkout-debug-title {
  font-weight: 600;
  margin: 0 0 12px;
  color: #475569;
}

#checkoutDebugSteps .debug-step {
  margin-bottom: 12px;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  border-left: 3px solid #3b82f6;
}

#checkoutDebugSteps .debug-step.error { border-left-color: #ef4444; }

#checkoutDebugSteps .debug-step pre {
  margin: 6px 0 0;
  padding: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.8rem;
  max-height: 200px;
  overflow-y: auto;
}

.checkout-card {
  background: #fff;
  border: 1px solid rgba(20, 22, 43, 0.08);
  border-radius: 16px;
  padding: 28px 24px 32px;
  box-shadow: 0 4px 24px rgba(20, 22, 43, 0.06);
}

@media (min-width: 600px) {
  .checkout-card {
    padding: 32px 32px 36px;
  }
}

.checkout-card.hidden { display: none; }
.form-row.hidden { display: none !important; }

.checkout-card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.checkout-plan-info {
  margin: 0 0 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.checkout-plan-benefit {
  margin: 0 0 28px;
  font-size: 0.95rem;
  color: #047857;
  font-weight: 600;
}
.checkout-plan-benefit.hidden { display: none; }

.checkout-plan-total {
  margin: 0 0 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #047857;
}
.checkout-plan-total.hidden { display: none; }

/* Order bumps no checkout (pré-pagamento) — upsells pós-venda em /upsell/ */
.order-bumps {
  margin: 0 0 22px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(165deg, #080a10 0%, #12151f 55%, #0d1018 100%);
  border: 1px solid rgba(212, 168, 83, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 16px 40px rgba(8, 10, 16, 0.45);
  color: #f1f5f9;
}
.order-bumps.hidden { display: none; }
.order-bumps-header { margin-bottom: 14px; }
.order-bumps-kicker {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.35);
}
.order-bumps-kicker-icon { font-size: 1.2rem; line-height: 1; }
.order-bumps-subtitle {
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
}
.order-bumps-urgency {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.1);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #fde68a;
}
.order-bumps-urgency strong { color: #fef08a; }
.order-bumps-urgency-icon {
  color: #fbbf24;
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.order-bumps-list {
  display: grid;
  gap: 14px;
}
.order-bump-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.order-bump-card:hover { transform: translateY(-2px); }
.order-bump-card--prompts {
  border: 2px solid rgba(34, 197, 94, 0.65);
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.15);
}
.order-bump-card--scripts {
  border: 2px solid rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.15);
}
.order-bump-card--prompts:hover,
.order-bump-card--prompts.is-selected {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35), 0 14px 36px rgba(34, 197, 94, 0.22);
}
.order-bump-card--scripts:hover,
.order-bump-card--scripts.is-selected {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.35), 0 14px 36px rgba(139, 92, 246, 0.22);
}
.order-bump-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.order-bump-inner {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  padding: 16px 16px 14px;
  background: linear-gradient(155deg, #0c0e14 0%, #161a26 100%);
}
.order-bump-card--prompts .order-bump-inner {
  background: linear-gradient(155deg, #0a120e 0%, #121a18 50%, #10141c 100%);
}
.order-bump-card--scripts .order-bump-inner {
  background: linear-gradient(155deg, #100c18 0%, #181428 50%, #10141c 100%);
}
.order-bump-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-bump-product-image {
  width: 118px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.order-bump-card--prompts .order-bump-product-image {
  filter: drop-shadow(0 10px 24px rgba(34, 197, 94, 0.45));
}
.order-bump-card--scripts .order-bump-product-image {
  filter: drop-shadow(0 10px 24px rgba(139, 92, 246, 0.45));
}
.order-bump-body { min-width: 0; }
.order-bump-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 10px;
  margin-bottom: 8px;
}
.order-bump-check-wrap {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid #94a3b8;
  background: #0f172a;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.8);
}
.order-bump-card.is-selected .order-bump-check-wrap {
  border-color: #22c55e;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.55);
}
.order-bump-card.is-selected .order-bump-check-wrap::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.order-bump-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.order-bump-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.order-bump-emoji { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.order-bump-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.order-bump-pill--green {
  color: #022c22;
  background: linear-gradient(135deg, #86efac, #22c55e);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}
.order-bump-pill--purple {
  color: #1e1b4b;
  background: linear-gradient(135deg, #ddd6fe, #8b5cf6);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}
.order-bump-desc {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e2e8f0;
}
.order-bump-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}
.order-bump-features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #f8fafc;
}
.order-bump-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.order-bump-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  min-width: 108px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
}
.order-bump-old-price {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.order-bump-price-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
}
.order-bump-price-now {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.order-bump-card--prompts .order-bump-price-now {
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}
.order-bump-card--scripts .order-bump-price-now {
  color: #e9d5ff;
  text-shadow: 0 0 20px rgba(196, 181, 253, 0.35);
}
.order-bump-off-badge {
  margin-top: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
}
.order-bump-card--prompts .order-bump-off-badge {
  color: #052e16;
  background: #4ade80;
}
.order-bump-card--scripts .order-bump-off-badge {
  color: #2e1065;
  background: #c4b5fd;
}
.order-bump-footer {
  padding: 13px 16px;
  text-align: center;
}
.order-bump-footer--green {
  background: linear-gradient(90deg, #14532d 0%, #16a34a 50%, #15803d 100%);
}
.order-bump-footer--purple {
  background: linear-gradient(90deg, #4c1d95 0%, #7c3aed 50%, #6d28d9 100%);
}
.order-bump-card.is-selected .order-bump-footer--green {
  background: linear-gradient(90deg, #166534 0%, #22c55e 100%);
}
.order-bump-card.is-selected .order-bump-footer--purple {
  background: linear-gradient(90deg, #5b21b6 0%, #8b5cf6 100%);
}
.order-bump-footer-text {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: #fff;
  text-transform: uppercase;
}
.order-bump-card:not(.is-selected) .order-bump-footer-text {
  animation: order-bump-cta-pulse 2.2s ease-in-out infinite;
}
@keyframes order-bump-cta-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}
.order-bumps-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}
.order-bumps-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
}
.order-bumps-trust-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.15);
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .order-bump-inner {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 14px 14px 12px;
  }
  .order-bump-media { grid-row: 1 / 3; align-self: start; }
  .order-bump-product-image { width: 96px; }
  .order-bump-pricing {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 10px;
    min-width: 0;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
  }
  .order-bump-price-now { font-size: 1.45rem; }
  .order-bump-title { font-size: 1rem; }
  .order-bump-features { grid-template-columns: 1fr; }
  .order-bump-footer-text { font-size: 0.7rem; }
}

@media (max-width: 400px) {
  .order-bumps { padding: 14px 12px; }
  .order-bump-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .order-bump-media {
    grid-row: auto;
    justify-content: center;
    padding-bottom: 4px;
  }
  .order-bump-product-image { width: 110px; }
  .order-bump-pricing { grid-column: 1; }
}

/* Timer Oferta Relâmpago no checkout */
.checkout-offer-timer-wrap {
  margin: 0 0 20px;
  padding: 10px 16px 12px;
  background: linear-gradient(135deg, #4f46e5 0%, #6c5ce7 50%, #818cf8 100%);
  border: none;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.28);
}
.checkout-offer-timer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}
.checkout-offer-timer-label {
  display: block;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.checkout-offer-timer-sublabel {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.95;
}
.checkout-offer-timer-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.checkout-offer-timer-value.urgent {
  background: rgba(220, 38, 38, 0.9);
  padding: 2px 8px;
  border-radius: 6px;
}

.checkout-you-buying {
  margin: 28px 0 16px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.checkout-you-buying-title {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.checkout-you-buying-list {
  margin: 0;
  padding: 0 0 0 20px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.checkout-you-buying-list li {
  margin-bottom: 4px;
}

.checkout-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
}

.checkout-trust-item {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.checkout-plan-intro {
  margin: 0 0 20px;
  color: #6b6b6b;
}

.checkout-plan-picker {
  margin-top: 8px;
}

.plan-picker-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin: 20px 0 10px;
}

.plan-picker-label:first-child { margin-top: 0; }

.plan-picker-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-picker-btn {
  padding: 12px 16px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.plan-picker-btn:hover {
  border-color: #1a1a1a;
  background: #fafafa;
}

.plan-picker-btn.plan-picker-featured {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}

.plan-picker-btn.plan-picker-featured:hover {
  background: #333;
  border-color: #333;
}

.payment-method-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.pm-tab {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  background: white;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #1a1a1a;
}

.pm-tab:hover { border-color: #999; }

.pm-tab.active {
  background: #fff;
  color: #4c3fcf;
  border-color: #6c5ce7;
}

.checkout-form .form-row {
  margin-bottom: 24px;
}

.checkout-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

.checkout-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.checkout-form input:focus {
  outline: none;
  border-color: #6c5ce7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card-fields.hidden { display: none; }

.btn-checkout {
  width: 100%;
  margin-top: 24px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #6c5ce7 0%, #5b4cdb 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.35);
}

.btn-checkout:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(108, 92, 231, 0.4);
}

/* Botões mais próximos da caixa "Você está comprando/assinando" */
.btn-checkout-avulso,
.btn-checkout-mensal {
  margin-top: 16px;
}

/* CTA Pix no topo do formulário (antes dos order bumps) */
.checkout-form .form-row:last-of-type {
  margin-bottom: 12px;
}

.checkout-form .btn-checkout-avulso {
  margin-top: 0;
  margin-bottom: 22px;
  padding: 18px 22px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 14px;
  box-shadow:
    0 10px 28px rgba(16, 185, 129, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.checkout-form .btn-checkout-avulso:not(:disabled):hover {
  box-shadow:
    0 14px 34px rgba(16, 185, 129, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.checkout-form .order-bumps {
  margin-top: 0;
  margin-bottom: 0;
}

.btn-checkout.btn-pix {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}
.btn-checkout.btn-pix:not(:disabled):hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
}

.btn-checkout:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading.hidden { display: none; }

.pm-tab-pix-icon {
  display: inline-block;
  width: 28px;
  height: 20px;
  background: url('https://cdn.zermini.com/videos/2889edc1-1a70-456a-a32c-e3f050102347.png') no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}

.pm-tab-card-icon {
  font-size: 1.1em;
  line-height: 1;
}

.checkout-pix-messages {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.checkout-pix-messages.hidden {
  display: none;
}

.checkout-pix-row {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.checkout-pix-icon-col {
  width: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-pix-icon-col .pm-tab-pix-icon,
.checkout-pix-icon-col .pm-tab-card-icon {
  flex-shrink: 0;
}
.checkout-credits-icon {
  display: inline-flex;
  align-items: center;
}
.checkout-credits-icon svg {
  display: block;
}

.pix-credits-msg {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #059669;
  text-align: center;
}

.pix-credits-msg.hidden {
  display: none;
}

.checkout-trust {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  text-align: center;
}

.checkout-trust-security {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: #6b7280;
}

.checkout-trust-cards {
  margin: 0 0 4px;
  font-size: 0.75rem;
  color: #9ca3af;
}

.checkout-trust-cards.hidden {
  display: none;
}

.checkout-trust-cancel {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Oculto até o cliente clicar em Gerar Pix */
.pix-success,
#pixSuccess {
  display: none !important;
  margin: 0;
  padding: 0;
  border: none;
}

.pix-success.pix-success--open,
#pixSuccess.pix-success--open {
  display: block !important;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  scroll-margin-top: 16px;
}

#pixQrContainer {
  scroll-margin-top: 20px;
}

.pix-success.hidden { display: none !important; }

.pix-payment-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
  background: #f3f4f6;
  color: #4b5563;
}

.pix-payment-status.is-processing {
  background: #ecfdf5;
  color: #047857;
  font-weight: 500;
}

.pix-payment-status.is-waiting {
  background: #eff6ff;
  color: #1d4ed8;
}

.pix-title {
  font-weight: 600;
  margin: 0 0 16px;
}

.pix-qr {
  margin-bottom: 16px;
  text-align: center;
}

.pix-qr img { max-width: 200px; height: auto; }

.pix-copy-label {
  font-size: 0.9rem;
  color: #6b6b6b;
  margin: 0 0 8px;
}

.pix-copy-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.pix-copy-wrap input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: monospace;
}

.pix-copy-wrap button {
  padding: 10px 16px;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

.pix-copy-wrap button:hover { background: #333; }

.pix-timer-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
}

.pix-timer-icon {
  font-size: 1.1rem;
  opacity: 0.9;
}

.pix-timer-label {
  color: #6b7280;
  font-weight: 500;
}

.pix-timer-value {
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.pix-timer-wrap.pix-timer-urgent .pix-timer-value {
  color: #dc2626;
}

.pix-timer-wrap.pix-timer-urgent {
  background: #fef2f2;
  border-color: #fecaca;
  animation: pixTimerPulse 1.5s ease-in-out infinite;
}

@keyframes pixTimerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.15); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

/* Success / Thank you page */
.success-card {
  text-align: center;
  padding: 40px 32px;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.success-card h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.success-card #successMsg {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.success-redirect-msg {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0 0 20px;
}

.success-redirect-msg span {
  font-weight: 600;
  color: #10b981;
}

/* Upsell pós-compra Starter → Popular — visual premium, hierarquia clara */
.starter-upsell {
  margin: 20px 0 16px;
  padding: 14px 16px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.starter-upsell.hidden { display: none; }
.starter-upsell-urgency {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #92400e;
}
.starter-upsell-headline {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
}
.starter-upsell-price-old {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: line-through;
}
.starter-upsell-price {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #047857;
}
.starter-upsell-gain {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f766e;
}
.starter-upsell-comparison {
  margin: 0 0 14px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border: 1px solid #fde68a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.starter-upsell-comp-from {
  font-size: 0.9rem;
  color: #4b5563;
}
.starter-upsell-comp-arrow {
  font-size: 0.8rem;
  color: #9ca3af;
}
.starter-upsell-comp-to {
  font-size: 0.95rem;
  font-weight: 700;
  color: #047857;
}
.starter-upsell .btn-upsell {
  background: #ea580c;
  color: #fff;
  margin-top: 0;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 20px;
  border: none;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
.starter-upsell .btn-upsell:hover {
  background: #c2410c;
  color: #fff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.success-card .btn-checkout {
  margin-top: 0;
}

/* Cupom primeira compra — Starter */
.checkout-first-purchase {
  margin-bottom: 20px;
  padding: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #ecfdf5 100%);
  border: 2px solid #34d399;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
  overflow: hidden;
}

.checkout-first-purchase-inner {
  padding: 16px 18px;
  text-align: center;
}

.checkout-coupon-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.checkout-first-purchase-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #065f46;
}

.checkout-first-purchase-title strong {
  font-weight: 800;
  color: #047857;
  letter-spacing: 0.06em;
}

.checkout-first-purchase-save {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #064e3b;
}

.checkout-first-purchase-save strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: #059669;
}

.checkout-summary-discount {
  color: #047857;
  background: #ecfdf5;
  margin: 0 -4px 8px;
  padding: 10px 12px !important;
  border-radius: 10px;
  border: 1px solid #a7f3d0;
}

.checkout-summary-discount .checkout-discount-amount {
  color: #059669;
  font-weight: 800;
}

#summarySubtotalRow strong {
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 500;
}

/* ——— Método de pagamento: Pix | Cartão ——— */
.payment-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.pm-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s, box-shadow 0.18s;
}
.pm-tab:hover { border-color: #c4b5fd; }
.pm-tab.active {
  border-color: #6c5ce7;
  background: #fff;
  color: #4c3fcf;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}
.pm-tab-ico { font-size: 1.1rem; }

.card-fields {
  margin-bottom: 8px;
  animation: cardFieldsIn 0.18s ease-out;
}
.card-fields.hidden { display: none; }
@keyframes cardFieldsIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.card-secure-note {
  margin: 4px 0 16px;
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 480px) {
  .payment-method-tabs { gap: 8px; }
  .pm-tab { padding: 12px 8px; font-size: 0.88rem; }
}

/* ============================================================
   PREMIUM CHECKOUT REDESIGN — v premium-20260627a
   Apenas design / UX / copy. Nenhuma lógica de pagamento alterada.
   ============================================================ */
:root {
  --zc-purple: #7c5cff;
  --zc-purple-2: #6c5ce7;
  --zc-purple-3: #5b4cdb;
  --zc-ink: #0e0f1c;
}

body {
  background:
    radial-gradient(1100px 560px at 82% -8%, rgba(124, 92, 255, 0.10) 0%, transparent 55%),
    radial-gradient(900px 520px at 10% 2%, rgba(124, 92, 255, 0.07) 0%, transparent 52%),
    #f6f7fc;
}

.checkout-page { max-width: 1100px; padding: 18px 20px 72px; }
.checkout-header { border-bottom: 1px solid rgba(14, 15, 28, 0.07); margin-bottom: 20px; }

.checkout-layout { gap: 18px; }
@media (min-width: 860px) {
  .checkout-layout {
    grid-template-columns: minmax(300px, 384px) 1fr;
    column-gap: 38px;
    row-gap: 18px;
    align-items: start;
  }
  .checkout-summary { grid-column: 1; grid-row: 1; }
  .checkout-panel   { grid-column: 2; grid-row: 1 / span 2; }
  .checkout-extras  { grid-column: 1; grid-row: 2; }
}

/* Wrapper dos extras (comparativo + prova social) */
.checkout-extras { display: flex; flex-direction: column; gap: 14px; }

/* ---------- COLUNA ESQUERDA: VALOR ---------- */
.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-summary-card {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(124, 92, 255, 0.30) 0%, transparent 46%),
    linear-gradient(165deg, #16172f 0%, #1d1e3c 55%, #111126 100%);
  color: #f4f4fb;
  border: 1px solid rgba(124, 92, 255, 0.30);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 0 26px 64px rgba(16, 12, 45, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.checkout-summary-eyebrow { color: rgba(255, 255, 255, 0.6); }

.checkout-summary-title { font-size: 1.5rem; letter-spacing: -0.02em; margin: 0; }
.checkout-summary-tagline { margin: 8px 0 0; }

/* Bloco de preço — dominante */
.cs-price-block { margin: 12px 0 18px; }
.cs-credits {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}
.cs-credits strong { font-size: 0.92rem; font-weight: 800; color: rgba(255, 255, 255, 0.92); }
.cs-price {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #fff;
}

/* Economia — destaque verde */
.cs-economy {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 13px;
  padding: 8px 13px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 12px;
}
.cs-economy.hidden { display: none; }
.cs-economy-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #6ee7b7;
}
.cs-economy-badge.hidden { display: none; }
.cs-economy-per { font-size: 0.92rem; font-weight: 700; color: #fff; }

/* Chips de benefícios */
.cs-benefits {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cs-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.cs-rows:empty { display: none; }
.cs-rows .checkout-summary-line { padding: 10px 0; }

.cs-section-label {
  margin: 18px 0 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.cs-guarantees {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cs-guarantees li {
  position: relative;
  padding-left: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.cs-guarantees li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: #34d399;
  font-weight: 800;
}

/* Comparativo dos planos — compacto */
.cs-compare {
  background: #fff;
  border: 1px solid rgba(14, 15, 28, 0.08);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 26px rgba(16, 12, 45, 0.05);
}
.cs-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cs-compare-row.is-current {
  border-color: rgba(124, 92, 255, 0.45);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.09), rgba(124, 92, 255, 0.02));
  box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.10) inset;
}
.cs-cmp-name { font-size: 0.85rem; font-weight: 700; color: #334155; display: inline-flex; align-items: center; gap: 5px; }
.cs-cmp-star { font-size: 0.8rem; }
.cs-cmp-right { display: inline-flex; align-items: center; gap: 9px; }
.cs-cmp-credits { font-size: 0.82rem; font-weight: 600; color: #64748b; }
.cs-cmp-sel {
  display: none;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--zc-purple-2);
  background: rgba(124, 92, 255, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.cs-compare-row.is-current .cs-cmp-sel { display: inline-flex; }
.cs-compare-row.is-current .cs-cmp-credits { color: var(--zc-ink); font-weight: 700; }

/* Prova social discreta */
.cs-social {
  margin: 2px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}
.cs-stars { display: block; color: #fbbf24; font-size: 0.95rem; letter-spacing: 3px; margin-bottom: 5px; }

/* ---------- TIMER EXTREMAMENTE DISCRETO ---------- */
.checkout-offer-timer-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: #94a3b8;
  box-shadow: none;
}
.cot-lock { font-size: 0.78rem; line-height: 1; opacity: 0.85; }
.cot-label { font-size: 0.78rem; font-weight: 500; color: #94a3b8; }
.checkout-offer-timer-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-shadow: none;
}
.checkout-offer-timer-value.urgent {
  color: #dc2626;
}

/* ---------- CUPOM (badge verde discreta) ---------- */
.checkout-first-purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  box-shadow: none;
}
.checkout-first-purchase.hidden { display: none; }
.cfp-badge { font-size: 0.85rem; font-weight: 700; color: #047857; }
.cfp-badge strong { color: #065f46; letter-spacing: 0.04em; }
.cfp-save { font-size: 0.85rem; color: #065f46; }
.cfp-save strong { font-weight: 800; color: #059669; }

/* ---------- PAINEL / FORM ---------- */
.checkout-panel .checkout-card {
  border-radius: 22px;
  padding: 30px 28px 34px;
  border: 1px solid rgba(14, 15, 28, 0.07);
  box-shadow: 0 20px 54px rgba(16, 12, 45, 0.08);
}
.checkout-panel-head { margin-bottom: 22px; }
.checkout-panel-title { font-size: 1.5rem; letter-spacing: -0.02em; }
.checkout-panel-sub { margin: 6px 0 0; font-size: 0.92rem; color: #64748b; line-height: 1.45; }

.checkout-form-section-label {
  margin: 4px 0 14px;
  font-size: 0.7rem;
  color: #64748b;
}
.checkout-form .form-row { margin-bottom: 18px; }
.checkout-form label { color: #1e2330; font-weight: 600; margin-bottom: 8px; }
.checkout-form input {
  padding: 15px 16px;
  border: 1.5px solid #e6e8f0;
  border-radius: 13px;
  background: #fbfcff;
  font-size: 1rem;
}
.checkout-form input::placeholder { color: #aab2c5; }
.checkout-form input:focus {
  border-color: var(--zc-purple);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}

/* Tabs de pagamento estilo Stripe */
.payment-method-tabs { gap: 12px; margin-bottom: 22px; }
.pm-tab {
  padding: 15px 14px;
  border: 1.5px solid #e6e8f0;
  border-radius: 14px;
  background: #fbfcff;
  font-weight: 600;
  color: #475569;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.pm-tab:hover { border-color: #c4b5fd; background: #fff; transform: translateY(-1px); }
.pm-tab.active {
  border-color: var(--zc-purple);
  background: #fff;
  color: var(--zc-purple-2);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.14), 0 10px 24px rgba(124, 92, 255, 0.12);
}

/* Botão principal premium */
.btn-checkout {
  background: linear-gradient(135deg, #7c5cff 0%, #6c5ce7 55%, #5b4cdb 100%);
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.4);
}
.btn-checkout:not(:disabled):hover {
  box-shadow: 0 18px 42px rgba(124, 92, 255, 0.5);
}
.btn-checkout.btn-pix {
  background: linear-gradient(135deg, #7c5cff 0%, #6c5ce7 55%, #5b4cdb 100%);
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.4);
}
.btn-checkout.btn-pix:not(:disabled):hover {
  background: linear-gradient(135deg, #6c5ce7 0%, #5b4cdb 100%);
  box-shadow: 0 18px 42px rgba(124, 92, 255, 0.5);
}
.checkout-form .btn-checkout-avulso {
  margin-bottom: 14px;
  padding: 21px 24px;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(124, 92, 255, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}
.checkout-form .btn-checkout-avulso:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(124, 92, 255, 0.56), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

/* Segurança / reassurance abaixo do botão */
.checkout-reassure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 8px;
}
.cr-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #f6f7fc;
  border: 1px solid #e6e8f0;
  border-radius: 999px;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.cr-item:hover { border-color: #c4b5fd; color: var(--zc-purple-2); transform: translateY(-1px); }
.checkout-reassure-fine { margin: 0; text-align: center; font-size: 0.78rem; color: #94a3b8; }

/* ---------- MOBILE ---------- */
@media (max-width: 859px) {
  .checkout-layout { gap: 14px; }
  .checkout-summary { gap: 12px; }
  .cs-price { font-size: 3rem; }
}
@media (max-width: 600px) {
  .checkout-page { padding: 14px 14px 56px; }
  .checkout-panel .checkout-card { padding: 20px 16px 24px; border-radius: 18px; }
  .checkout-summary-card { padding: 20px 18px; border-radius: 18px; }
  .checkout-panel-head { margin-bottom: 18px; }
  .checkout-panel-title { font-size: 1.3rem; }
  .checkout-panel-sub { font-size: 0.86rem; }
  .cs-price { font-size: 3rem; }
  .cs-benefits { margin-top: 14px; padding-top: 14px; gap: 7px; }
  .cr-item { padding: 6px 10px; font-size: 0.72rem; }
  /* Botão impossível de ignorar no mobile */
  .checkout-form .btn-checkout-avulso {
    padding: 22px 22px;
    font-size: 1.26rem;
    border-radius: 16px;
  }
}
@media (max-width: 380px) {
  .form-row-inline { grid-template-columns: 1fr; }
  .cs-price { font-size: 2.7rem; }
  .cs-compare-row { padding: 8px 10px; }
  .cs-cmp-name { font-size: 0.8rem; }
  .cr-item { padding: 6px 9px; font-size: 0.7rem; }
}

/* ============================================================
   REDESIGN v3 — Premium SaaS (Stripe · Linear · Vercel · OpenAI)
   Apenas design/UX. Nenhuma lógica, ID ou classe funcional alterada.
   ============================================================ */

/* Fundo mais neutro e clean, com glow roxo discreto */
body {
  background:
    radial-gradient(1200px 620px at 88% -14%, rgba(124, 92, 255, 0.10) 0%, transparent 60%),
    radial-gradient(820px 480px at -6% 0%, rgba(124, 92, 255, 0.05) 0%, transparent 55%),
    #fbfbfe;
}

/* Header mais leve, selo de segurança na identidade roxa */
.checkout-header { padding: 4px 0 16px; }
.checkout-secure-badge {
  background: rgba(124, 92, 255, 0.07);
  border-color: rgba(124, 92, 255, 0.22);
  color: var(--zc-purple-3);
}

/* Mais respiro entre as colunas no desktop */
@media (min-width: 860px) {
  .checkout-layout { column-gap: 46px; }
}

/* ----- Card de resumo: preço dominante e layout mais limpo ----- */
.checkout-summary-card { border-radius: 24px; padding: 30px 26px; }
.checkout-summary-eyebrow { font-size: 0.66rem; letter-spacing: 0.14em; }
.checkout-summary-title { font-size: 1.42rem; }
.cs-price-block { margin: 14px 0 16px; }
.cs-credits { font-size: 0.72rem; letter-spacing: 0.1em; }
.cs-price {
  font-size: 4.2rem;
  letter-spacing: -0.045em;
  background: linear-gradient(176deg, #ffffff 0%, #cfcbff 135%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-benefits { gap: 7px; margin-top: 18px; padding-top: 16px; }
.cs-benefits li { font-size: 0.74rem; padding: 6px 10px; }

/* ----- Painel/form: mais ar, inputs maiores ----- */
.checkout-panel .checkout-card { padding: 34px 32px 30px; border-radius: 24px; }
.checkout-panel-title { font-size: 1.52rem; }
.checkout-form .form-row { margin-bottom: 16px; }
.checkout-form input { padding: 16px; border-radius: 14px; }
.checkout-form-section-label { letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }

/* ----- CTA dominante com shimmer sutil ----- */
.checkout-form .btn-checkout-avulso {
  position: relative;
  overflow: hidden;
  font-size: 1.24rem;
  border-radius: 18px;
}
.checkout-form .btn-checkout-avulso .btn-checkout-inner,
.checkout-form .btn-checkout-avulso .btn-loading { position: relative; z-index: 1; }
.checkout-form .btn-checkout-avulso::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.22) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.checkout-form .btn-checkout-avulso:not(:disabled):hover::after { transform: translateX(130%); }

/* ----- Order bumps: mais limpos e menos "barulhentos" ----- */
.order-bumps { border-radius: 18px; }
.order-bump-card { border-radius: 16px; }
.order-bumps-urgency { border-radius: 12px; }

/* ----- Selos abaixo do botão: mais discretos ----- */
.checkout-reassure { gap: 7px; }
.cr-item { font-weight: 600; }

/* ============================================================
   MOBILE — prioridade: CTA sempre visível e pouco scroll
   ============================================================ */
@media (max-width: 859px) {
  /* Card de resumo (com preço) aparece primeiro: pouco scroll até ver plano + preço */
  .checkout-summary-card { padding: 22px 18px; }
  .cs-price { font-size: 3.2rem; }
  /* CTA grande e com sombra forte para nunca passar despercebido */
  .checkout-form .btn-checkout-avulso {
    box-shadow: 0 14px 36px rgba(16, 185, 129, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  }
}
@media (max-width: 600px) {
  .checkout-panel .checkout-card { padding: 22px 16px 18px; }
  .cs-benefits { gap: 6px; }
}

/* ============================================================
   v4 — CHECKOUT ESTILO VARVOS (verde premium · confiança · conversão)
   Apenas design/UX/copy. Sem alterar lógica, Stripe/Pix, webhooks ou ids.
   ============================================================ */

:root {
  --zg-1: #10b981;
  --zg-2: #059669;
  --zg-3: #047857;
}

/* ---------- Barra fixa verde no topo ---------- */
.checkout-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28);
}
.checkout-topbar-ico { font-size: 0.92rem; line-height: 1; }

/* ---------- Timer como barra promocional verde (estilo Varvos) ---------- */
.checkout-offer-timer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
  padding: 11px 14px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.04));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-left: 4px solid var(--zg-1);
  border-radius: 12px;
  box-shadow: none;
}
.cot-lock { font-size: 0.95rem; opacity: 1; }
.cot-label { font-size: 0.85rem; font-weight: 600; color: #047857; }
.checkout-offer-timer-wrap .checkout-offer-timer-value {
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 800;
  color: #065f46;
  font-variant-numeric: tabular-nums;
}
.checkout-offer-timer-wrap .checkout-offer-timer-value.urgent { color: #dc2626; }

/* ---------- Resumo: selo "Mais vendido" ---------- */
.cs-head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cs-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #052e1f;
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}
.cs-top-badge.hidden { display: none; }

/* Card de resumo escuro com acento verde (combina com o tema Varvos) */
.checkout-summary-card {
  border-color: rgba(16, 185, 129, 0.3);
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(16, 185, 129, 0.26) 0%, transparent 46%),
    linear-gradient(165deg, #16172f 0%, #1d1e3c 55%, #111126 100%);
}

/* ---------- Formulário: inputs maiores, arredondados, ícones e feedback ---------- */
.checkout-form input {
  padding: 16px 16px;
  border-radius: 14px;
  font-size: 1rem;
}
.checkout-form input:focus {
  border-color: var(--zg-1);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}
/* Feedback visual ao preencher corretamente */
.checkout-form input:required:valid:not(:placeholder-shown) {
  border-color: rgba(16, 185, 129, 0.55);
}
/* Ícones dentro dos inputs principais */
#avulsoName, #avulsoEmail {
  padding-left: 44px;
  background-repeat: no-repeat;
  background-position: 15px center;
  background-size: 18px 18px;
}
#avulsoName {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
}
#avulsoEmail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E") !important;
}

/* Abas Pix/Cartão em verde */
.pm-tab:hover { border-color: #6ee7b7; }
.pm-tab.active {
  border-color: var(--zg-1);
  color: var(--zg-3);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16), 0 10px 24px rgba(16, 185, 129, 0.14);
}

/* ---------- Badges de garantia antes do botão ---------- */
.checkout-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 14px;
}
.cg-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 12px;
}
.cg-ico { font-size: 0.92rem; line-height: 1; }

/* ---------- Botão principal VERDE (estilo Varvos) ---------- */
.btn-checkout,
.btn-checkout.btn-pix {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.42);
}
.btn-checkout:not(:disabled):hover,
.btn-checkout.btn-pix:not(:disabled):hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 18px 44px rgba(16, 185, 129, 0.52);
}
.checkout-form .btn-checkout-avulso {
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}
.checkout-form .btn-checkout-avulso:not(:disabled):hover {
  box-shadow: 0 24px 52px rgba(16, 185, 129, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* ---------- Order bumps premium verdes ---------- */
.order-bump-card,
.order-bump-card--prompts,
.order-bump-card--scripts {
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04), #ffffff 60%);
}
.order-bump-card:hover,
.order-bump-card.is-selected,
.order-bump-card--prompts:hover,
.order-bump-card--prompts.is-selected,
.order-bump-card--scripts:hover,
.order-bump-card--scripts.is-selected {
  border-color: var(--zg-1);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.2);
}
.order-bump-card--prompts .order-bump-price-now,
.order-bump-card--scripts .order-bump-price-now,
.order-bump-price-now { color: var(--zg-2); }
.order-bump-old-price { text-decoration: line-through; color: #94a3b8; }
.order-bump-footer,
.order-bump-footer--green,
.order-bump-footer--purple {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.order-bump-pill,
.order-bump-pill--green,
.order-bump-pill--purple {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

/* ---------- Rodapé de confiança ---------- */
.checkout-trust-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 26px auto 0;
  padding: 18px 16px 0;
  max-width: 720px;
  border-top: 1px solid rgba(14, 15, 28, 0.07);
}
.ctf-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  color: #64748b;
}
.ctf-item span { color: var(--zg-2); font-weight: 800; }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .checkout-guarantees { gap: 7px; }
  .cg-item { padding: 8px 10px; font-size: 0.74rem; }
  .checkout-trust-footer { gap: 8px 16px; }
}

/* ============================================================
   v5 — Checkout simples e limpo (coluna única, sem card lateral)
   Estilo Varvos. Apenas layout/visual. Lógica e ids intactos.
   ============================================================ */

/* Remove o card escuro lateral e o comparativo de planos */
.checkout-summary { display: none !important; }
.cs-compare { display: none !important; }

/* Coluna única, centralizada e estreita */
.checkout-layout { max-width: 560px; margin-left: auto; margin-right: auto; }
@media (min-width: 860px) {
  .checkout-layout { grid-template-columns: 1fr; column-gap: 0; }
  .checkout-panel { grid-column: 1; grid-row: auto; }
  .checkout-extras { grid-column: 1; grid-row: auto; }
}

/* Resumo compacto do plano dentro do painel (créditos · preço) */
.checkout-panel-head .checkout-plan-info {
  margin: 12px 0 0;
  padding: 11px 14px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0e0f1c;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 12px;
}

/* Prova social centralizada e discreta */
.checkout-extras { align-items: center; }
