@font-face {
  font-family: Montserrat;
  src: url('/checkout-montserrat.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

.astra-ui .astra-checkout {
  --checkout-ink: #1c2034;
  --checkout-muted: #566171;
  --checkout-blue: #075fc5;
  --checkout-line: #b4bfd2;
  color-scheme: light;
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: clamp(14px, 4vw, 28px);
  border: 1px solid #dfe1ee;
  border-radius: 20px;
  background: #fdfdff;
  color: var(--checkout-ink);
  font: 400 .875rem / 1.5 var(--astra-font);
}

.astra-checkout:not([hidden]) { display: grid; gap: 18px; }
.astra-checkout :is(p, fieldset) { margin: 0; }
.astra-checkout .checkout-heading { position: relative; padding: 14px 0 0; }
.checkout-heading::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: #7862b8;
}
.astra-ui .astra-checkout .checkout-heading h2 {
  margin: 0 0 3px;
  color: var(--checkout-ink);
  font: 650 clamp(1.375rem, 3.8vw, 1.625rem) / 1.15 Montserrat, system-ui, sans-serif;
  letter-spacing: -.025em;
}
.astra-checkout .checkout-heading p { color: var(--checkout-muted); }

.checkout-price, .checkout-plan {
  padding: 12px clamp(10px, 3vw, 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #b5cafa;
  border-radius: 12px;
  background: #edf3ff;
  color: #173c85;
  line-height: 1.3;
  font-weight: 550;
}
.checkout-price small { display: block; margin-bottom: 4px; font-size: .75rem; font-weight: 400; }
.checkout-price strong { font-size: clamp(1.25rem, 4vw, 1.625rem); font-weight: 650; white-space: nowrap; }
.checkout-plans { min-inline-size: 0; display: grid; gap: 8px; padding: 0; border: 0; }
.checkout-plans legend { padding: 0 0 8px; font-weight: 700; }
.checkout-plan { justify-content: start; border-color: var(--checkout-line); background: transparent; color: var(--checkout-ink); cursor: pointer; }
.checkout-plan strong { margin-inline-start: auto; white-space: nowrap; }
.checkout-plan:has(input:checked) { border-color: var(--checkout-blue); background: #edf3ff; }
.checkout-plan:has(input:disabled) { opacity: .7; cursor: default; }
.astra-ui .astra-checkout .checkout-plan input { margin: 0; accent-color: var(--checkout-blue); }

.checkout-email:not([hidden]) { display: grid; gap: 5px; }
.checkout-email label { font-weight: 500; }
.astra-ui .astra-checkout .checkout-email input[type=email] {
  min-width: 0;
  width: 100%;
  margin: 0;
  border: 1px solid var(--checkout-line);
  border-radius: 10px;
  background: white;
  color: var(--checkout-ink);
  font: 400 1rem / 1.3 var(--astra-font);
}

.checkout-consents { display: grid; gap: 8px; }
.checkout-consent:not([hidden]) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 5px 0;
  color: var(--checkout-muted);
  font-size: .78125rem;
  line-height: 1.5;
  cursor: pointer;
}
.checkout-consent strong { font-weight: inherit; }
.astra-ui .astra-checkout a:not(.primary, .outline, .brand) {
  color: var(--checkout-blue);
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: #075fc587;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}
.astra-ui .astra-checkout a:not(.primary, .outline, .brand):is(:hover, :focus-visible) {
  text-decoration-color: currentColor;
}
.astra-ui .astra-checkout .checkout-consent input[type=checkbox] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  margin: 0;
  padding: 0;
  border: 1px solid #7e8ba6;
  border-radius: 6px;
  background: white;
  cursor: pointer;
}
.astra-ui .astra-checkout .checkout-consent input[type=checkbox]:checked {
  border-color: var(--checkout-blue);
  background: var(--checkout-blue);
}
.checkout-consent input:checked::after {
  content: '';
  width: 10px;
  height: 6px;
  border: solid white;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}
.astra-ui .astra-checkout :is(input, button, a):focus-visible {
  outline: 2px solid #183fa5;
  outline-offset: 3px;
}

.astra-ui .astra-checkout .checkout-submit {
  display: block;
  min-height: 48px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: var(--checkout-blue);
  color: white;
  font: 650 clamp(.875rem, 3.8vw, 1rem) / 1.35 var(--astra-font);
}
.astra-ui .astra-checkout .checkout-submit:hover:not(:disabled) { background: #054b9b; }
.astra-ui .astra-checkout .checkout-submit:disabled { background: #d7dfef; color: #465371; }
.astra-checkout .checkout-note, .astra-checkout .quiz-merchant { color: var(--checkout-muted); font-size: .75rem; }
.astra-checkout .checkout-note { text-align: center; }

@media (max-width: 480px) {
  .checkout-consent:not([hidden]) { font-size: .8125rem; }
}

@media (forced-colors: active) {
  .astra-ui .astra-checkout .checkout-consent input[type=checkbox] { appearance: auto; }
  .checkout-consent input:checked::after { content: none; }
}

/* Champagne checkout: preserve explicit consent controls and all payment state. */
.astra-ui .astra-checkout{--checkout-ink:#2b202c;--checkout-muted:#534753;--checkout-blue:#6b3f62;--checkout-line:#bca9a8;background:#fffbf5;border:1px solid #e6d3bc;border-radius:20px;box-shadow:0 12px 40px #0002;gap:16px}
.astra-checkout .checkout-brand{color:#7a5269;font-size:.73rem;font-weight:750;letter-spacing:.14em;margin-bottom:12px}
.astra-checkout .checkout-brand span{color:#956537;font-size:1.15rem;vertical-align:middle}
.astra-checkout .checkout-heading{padding-top:0}
.astra-checkout .checkout-heading::before{display:none}
.astra-ui .astra-checkout .checkout-heading h2{font:400 clamp(1.7rem,4vw,2.1rem)/1.12 Georgia,serif;letter-spacing:-.03em}
.astra-checkout .checkout-price{background:linear-gradient(140deg,#f8ead8,#f1dfca);border-color:#d6b38d;color:#493026;padding:16px}
.astra-checkout .checkout-price strong{font:700 clamp(1.7rem,5vw,2.1rem)/1.1 system-ui,sans-serif}
.astra-checkout .checkout-price small{font-size:.83rem;color:#5d4434}
.astra-checkout .checkout-plan:has(input:checked){background:#f4e7e9;border-color:var(--checkout-blue)}
.astra-ui .astra-checkout .checkout-consent{color:var(--checkout-muted);font-size:.86rem;line-height:1.55}
.astra-checkout .checkout-consent:has(:is(#quiz-renew,#sub-renew)):not([hidden]){padding:12px;border:1px solid #d6b38d;border-radius:12px;background:#f8eddf;color:#49382f}
.astra-checkout .checkout-consent :is(#quiz-renew-label,#sub-renew-label){font-weight:700}
.astra-ui .astra-checkout a:not(.primary,.outline,.brand){color:#6b3f62;text-decoration-color:currentColor}
.astra-ui .astra-checkout .checkout-consent input[type=checkbox]{border-color:#897786}
.astra-ui .astra-checkout :is(input,button,a):focus-visible{outline-color:#6b3f62}
.astra-ui .astra-checkout .checkout-submit{background:linear-gradient(180deg,#f2d6a9,#d4a36f);border:1px solid #a87b4b;color:#302013;min-height:54px;font-weight:750;box-shadow:0 4px 12px #9c68301a}
.astra-ui .astra-checkout .checkout-submit:hover:not(:disabled){background:#e8c38e}
.astra-ui .astra-checkout .checkout-submit:disabled{background:#e6ded6;border-color:#cfc4ba;color:#615850;box-shadow:none}
.astra-checkout .checkout-note,.astra-checkout .quiz-merchant{font-size:.82rem}

