/* =========================================================
   Checkout-only styles. Loaded in ADDITION to style.css —
   reuses all design tokens (colors, fonts, radius, shadows)
   defined there. Nothing here overrides the main site.
   ========================================================= */

.checkout-page { padding-bottom: 32px; }

.checkout-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- mini header ---------- */
.checkout-header {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.checkout-header .checkout-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkout-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted-foreground);
}

/* ---------- step label ---------- */
.co-eyebrow {
  display: block;
  margin: 20px 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  text-align: left;
}
.co-h1 {
  font-size: 24px;
  text-align: left;
  margin-bottom: 4px;
}
.co-sub {
  text-align: left;
  color: var(--muted-foreground);
  font-size: 15px;
}

/* ---------- order summary card ---------- */
.order-card {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -24px oklch(0.4 0.08 45 / 18%);
  padding: 16px;
  text-align: left;
}
.order-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.order-thumb {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: .55rem;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.order-title {
  flex: 1;
  min-width: 0;
}
.order-title b {
  display: block;
  font-size: 15.5px;
  line-height: 1.3;
}
.order-title span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted-foreground);
}
.order-price {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}
.order-price s {
  display: block;
  font-size: 12px;
  color: var(--muted-foreground);
}
.order-price b {
  font-family: var(--font-display);
  font-size: 18px;
}
.order-divider {
  margin: 14px 0;
  border-top: 1px dashed var(--border);
}
.order-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.order-total-row .label {
  font-weight: 800;
  font-size: 14px;
}
.order-total-row .amount {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

/* ---------- bump offer (ClickFunnels style) ---------- */
.bump-wrap {
  margin-top: 18px;
}
.bump-box {
  position: relative;
  border: 2px dashed var(--primary);
  border-radius: var(--radius);
  background: var(--secondary);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: box-shadow .15s, background .15s;
}
.bump-box:active { transform: scale(.995); }
.bump-box.is-checked {
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--gradient-brand) border-box;
  border-color: transparent;
  box-shadow: var(--shadow-pop);
}
.bump-flag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bump-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.bump-checkbox {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: .35rem;
  border: 2px solid var(--primary);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-foreground);
  transition: background .15s;
}
.bump-box.is-checked .bump-checkbox {
  background: var(--primary);
}
.bump-body { flex: 1; min-width: 0; }
.bump-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.3;
}
.bump-desc {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.bump-price-line {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.bump-price-line s { font-size: 13px; color: var(--muted-foreground); }
.bump-price-line b { font-family: var(--font-display); font-size: 17px; color: var(--primary); }
.bump-price-line span { font-size: 11px; font-weight: 700; color: var(--green); }
.bump-checkbox-input { position: absolute; opacity: 0; pointer-events: none; }
.bump-skip-note {
  margin-top: 8px;
  font-size: 11.5px;
  font-style: italic;
  color: var(--muted-foreground);
}

/* ---------- contact + payment form ---------- */
.co-form { margin-top: 22px; text-align: left; }
.co-field { margin-bottom: 12px; }
.co-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--muted-foreground);
}
.co-field input {
  width: 100%;
  padding: 12px 13px;
  border-radius: .55rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
}
.co-field input:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}
.co-field-error {
  display: none;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  color: oklch(0.55 0.2 25);
}
#err-general {
  padding: 8px 10px;
  border-radius: .5rem;
  background: oklch(0.55 0.2 25 / 10%);
}

/* ---------- pay button + trust ---------- */
.pay-btn-wrap { margin-top: 18px; }
.pay-btn-wrap .btn-cta { font-size: 1.05rem; padding: 1rem 1.4rem; }
.pay-btn-wrap .btn-cta:disabled { opacity: .6; cursor: progress; }

.trust-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.trust-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.co-secure-line {
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-foreground);
}

.co-guarantee {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border-radius: var(--radius);
  background: var(--secondary);
  text-align: left;
}
.co-guarantee .ic { font-size: 20px; flex-shrink: 0; }
.co-guarantee p { font-size: 12.5px; color: var(--muted-foreground); line-height: 1.5; }
.co-guarantee b { color: var(--foreground); }

.co-footer-note {
  margin-top: 26px;
  text-align: center;
  font-size: 11px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .co-h1 { font-size: 28px; }
  .order-card { padding: 20px; }
}
