* { 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: #1a1a1a;
  color: #fff !important;
  border-color: #1a1a1a;
}

.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;
}
