/* Purchase / checkout (appended) */
.ptx-billing-toggle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: #eef2f7;
  margin: 0 auto 1.75rem;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
}

.ptx-billing-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
}

.ptx-billing-toggle__btn span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f766e;
  background: #ccfbf1;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.ptx-billing-toggle__btn.is-active {
  background: #0f172a;
  color: #fff;
}

.ptx-billing-toggle__btn.is-active span {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.ptx-purchase-hero .ptx-mkt-section-title {
  margin-bottom: 0.5rem;
}

.ptx-purchase-grid {
  margin-top: 0.5rem;
}

.ptx-mkt-price-card h3 small {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

.ptx-purchase-note {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 1.75rem;
}

.ptx-checkout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .ptx-checkout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.ptx-checkout__summary {
  background: #0f172a;
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
}

.ptx-checkout__summary h1 {
  margin: 0.4rem 0;
  font-size: 1.75rem;
}

.ptx-checkout__price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.ptx-checkout__price span {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.75;
}

.ptx-checkout__form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  display: grid;
  gap: 0.45rem;
}

.ptx-checkout__form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-top: 0.35rem;
}

.ptx-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.ptx-checkout__submit {
  margin-top: 1rem;
  justify-self: start;
}

.ptx-field-error, .ptx-form-error {
  color: #b91c1c;
  font-size: 0.85rem;
}

.ptx-thanks {
  max-width: 920px;
  margin: 0 auto;
}

.ptx-thanks__lead {
  color: #475569;
  max-width: 40rem;
}

.ptx-thanks__grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 800px) {
  .ptx-thanks__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ptx-thanks__card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  background: #fff;
}

.ptx-thanks__amount {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0.25rem 0 0.75rem;
}

.ptx-thanks__ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  background: #f1f5f9;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  letter-spacing: 0.02em;
}

.ptx-thanks__hint {
  color: #b45309;
  font-size: 0.9rem;
}

.ptx-thanks__dl {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.75rem;
}

.ptx-thanks__dl dt {
  color: #64748b;
  font-size: 0.85rem;
}

.ptx-thanks__dl dd {
  margin: 0;
  font-weight: 600;
}

.ptx-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ptx-thanks__banner {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.ptx-thanks__soon {
  color: #64748b;
  font-size: 0.9rem;
}

.ptx-credits-section {
  padding-top: 0.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%);
}

.ptx-credits-grid {
  margin-top: 1rem;
}

.ptx-field-hint {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.85rem;
  color: #64748b;
}
