.bd-checkout,
.bd-stage-shell {
  --bd-bg: #fff;
  --bd-text: #0b1b3a;
  --bd-muted: #505866;
  --bd-accent: #123b91;
  --bd-segment: #efede9;
  --bd-border: #ded9d0;
  --bd-paypal: #ffd451;
  --bd-error: #b42318;
  --bd-success: #067647;
  --bd-radius: 12px;
  --bd-max-width: 620px;
  --bd-padding: 56px;
  --bd-title-size: 28px;
  --bd-amount-size: 46px;
  color: var(--bd-text);
  font: inherit;
  margin-inline: auto;
  max-width: var(--bd-max-width);
  width: 100%;
}

.bd-checkout *,
.bd-checkout *::before,
.bd-checkout *::after,
.bd-stage-shell *,
.bd-stage-shell *::before,
.bd-stage-shell *::after {
  box-sizing: border-box;
}

.bd-panel {
  background: var(--bd-bg);
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius);
  display: grid;
  gap: 28px;
  padding: var(--bd-padding);
}

.bd-heading {
  text-align: center;
}

.bd-stage-copy {
  color: var(--bd-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 12px 0 0;
}

.bd-eyebrow {
  color: var(--bd-text);
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 2px;
}

.bd-title {
  color: var(--bd-text);
  font-family: inherit;
  font-size: var(--bd-title-size);
  font-weight: 500;
  line-height: 1.16;
  margin: 0;
}

.bd-frequency {
  background: var(--bd-segment);
  border-radius: 999px;
  display: grid;
  gap: 0;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  padding: 3px;
}

.bd-frequency label {
  align-items: center;
  border-radius: 999px;
  color: var(--bd-muted);
  cursor: pointer;
  display: flex;
  font-size: 15px;
  justify-content: center;
  line-height: 1.2;
  min-height: 38px;
  padding: 8px 12px;
  position: relative;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.bd-frequency label.is-selected {
  background: var(--bd-bg);
  box-shadow: 0 1px 4px rgb(10 24 48 / 6%);
  color: var(--bd-accent);
  font-weight: 700;
}

.bd-frequency input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.bd-frequency label:focus-within {
  outline: 2px solid var(--bd-accent);
  outline-offset: 2px;
}

.bd-amount-area {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bd-amount-control {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.bd-currency-symbol,
.bd-amount-input {
  color: var(--bd-text);
  font-family: inherit;
  font-size: var(--bd-amount-size);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
}

.bd-currency-symbol {
  margin-right: 1px;
}

.bd-amount-input {
  appearance: textfield;
  background: transparent;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 1.25em;
  margin: 0;
  max-width: 7ch;
  min-width: 1.6ch;
  outline: 0;
  padding: 0 !important;
  text-align: left;
  width: 4ch;
}

.bd-amount-input[readonly] {
  cursor: default;
}

.bd-amount-error {
  align-items: center;
  align-self: stretch;
  color: var(--bd-error);
  display: flex;
  font-size: 14px;
  gap: 8px;
}

.bd-amount-error[hidden] {
  display: none;
}

.bd-amount-error > span:first-child {
  font-size: 15px;
}

.bd-currency-code {
  color: var(--bd-text);
  font-size: 16px;
  font-weight: 700;
}

.bd-fee-row {
  align-items: center;
  color: var(--bd-text);
  cursor: pointer;
  display: grid;
  font-size: 16px;
  gap: 12px;
  grid-template-columns: 26px 1fr;
  line-height: 1.35;
}

.bd-fee-row > input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.bd-fee-checkmark {
  border: 1px solid var(--bd-muted);
  border-radius: 4px;
  display: block;
  height: 26px;
  position: relative;
  width: 26px;
}

.bd-fee-row > input:checked + .bd-fee-checkmark {
  background: var(--bd-accent);
  border-color: var(--bd-accent);
}

.bd-fee-row > input:checked + .bd-fee-checkmark::after {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  height: 12px;
  left: 9px;
  position: absolute;
  top: 4px;
  transform: rotate(45deg);
  width: 6px;
}

.bd-fee-row > input:focus-visible + .bd-fee-checkmark {
  outline: 2px solid var(--bd-accent);
  outline-offset: 2px;
}

.bd-payment-actions {
  display: grid;
  gap: 14px;
}

.bd-paypal-buttons,
.bd-subscription-card-buttons {
  min-height: 0;
}

.bd-subscription-card-buttons:empty {
  display: none;
}

.bd-card-toggle,
.bd-card-submit,
.bd-dev-button,
.bd-proceed {
  appearance: none;
  border: 2px solid var(--bd-accent);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  min-height: 48px;
  padding: 10px 20px;
  transition: opacity .18s ease, transform .18s ease;
  width: 100%;
}

.bd-card-toggle {
  background: transparent;
  color: var(--bd-accent);
}

.bd-card-submit {
  background: var(--bd-accent);
  color: #fff;
}

.bd-proceed {
  appearance: none;
  background: var(--bd-accent);
  border: 2px solid var(--bd-accent);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  min-height: 48px;
  padding: 10px 24px;
  transition: opacity .18s ease, transform .18s ease;
  width: 100%;
}

.bd-card-toggle:hover,
.bd-card-submit:hover,
.bd-dev-button:hover,
.bd-proceed:hover {
  transform: translateY(-1px);
}

.bd-proceed:focus-visible {
  outline: 3px solid var(--bd-accent);
  outline-offset: 2px;
}

.bd-card {
  border: 1px solid var(--bd-border);
  border-radius: calc(var(--bd-radius) * .75);
  display: grid;
  gap: 10px;
  padding: 14px;
}

.bd-card[hidden],
.bd-card-toggle[hidden] {
  display: none;
}

.bd-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.bd-card-name,
.bd-card-number,
.bd-card-expiry,
.bd-card-cvv {
  background: var(--bd-bg);
  border: 1px solid var(--bd-border);
  border-radius: 6px;
  min-height: 46px;
  padding: 10px;
}

.bd-apple-pay apple-pay-button {
  --apple-pay-button-height: 48px;
  --apple-pay-button-width: 100%;
  display: block;
  width: 100%;
}

.bd-apple-pay-diagnostic {
	padding: 10px 12px;
	border: 1px dashed var(--bd-border);
	border-radius: 6px;
	background: #f6f8fa;
	color: var(--bd-muted);
	font-size: 12px;
	line-height: 1.4;
}

.bd-status {
  color: var(--bd-muted);
  font-size: 14px;
  min-height: 1.4em;
  text-align: center;
}

.bd-status:empty {
  display: none;
}

.bd-status.is-error {
  color: var(--bd-error);
}

.bd-status.is-success {
  color: var(--bd-success);
}

.bd-auto-submit-control {
	display: none !important;
}

.bd-diagnostics {
	margin-top: 18px;
	padding: 12px;
	border: 1px solid #b8c2cc;
	border-radius: 8px;
	background: #f6f8fa;
	color: #17202a;
	font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.bd-diagnostics summary {
	cursor: pointer;
	font-family: inherit;
	font-weight: 700;
}

.bd-diagnostics-actions {
	margin: 10px 0;
}

.bd-diagnostics button {
	padding: 6px 10px;
	cursor: pointer;
}

.bd-diagnostics pre {
	max-height: 420px;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-word;
	outline: none;
}

.bd-guided-form .elementor-form-fields-wrapper[hidden],
.bd-checkout[hidden],
.bd-stage-shell[hidden],
.bd-intro-shell[hidden] {
  display: none !important;
}

.bd-data-controls {
  width: 100%;
}

.bd-data-controls .bd-proceed {
  margin-top: 8px;
}

.bd-guided-back-control {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
  width: 100%;
}

.bd-guided-back-control[hidden] {
  display: none !important;
}

.bd-guided-back {
  appearance: none;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
  padding: 9px 22px;
}

.bd-checkout.is-payment-complete .bd-payment-actions,
.bd-checkout.is-payment-complete .bd-frequency,
.bd-checkout.is-payment-complete .bd-amount-area,
.bd-checkout.is-payment-complete .bd-fee-row {
  opacity: .55;
  pointer-events: none;
}

.bd-success-panel {
  align-items: center;
  justify-items: center;
  text-align: center;
}

.bd-success-icon {
  align-items: center;
  background: var(--bd-success);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 34px;
  font-weight: 700;
  height: 72px;
  justify-content: center;
  line-height: 1;
  width: 72px;
}

.bd-success-title {
  color: var(--bd-text);
  font-family: inherit;
  font-size: var(--bd-title-size);
  line-height: 1.2;
  margin: 0;
}

.bd-success-message,
.bd-success-transaction {
  color: var(--bd-muted);
  line-height: 1.55;
  margin: 0;
}

.bd-success-transaction {
  color: var(--bd-success);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.bd-dev-badge {
  align-items: center;
  background: #fff8e1;
  border: 1px solid #f0b429;
  border-radius: 6px;
  color: #6b4e00;
  display: flex;
  font-size: 13px;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 10px;
  padding: 10px 12px;
}

.bd-dev-badge strong {
  letter-spacing: .08em;
}

.bd-dev-badge span {
  font-weight: 500;
}

.bd-dev-methods {
  display: grid;
  gap: 12px;
}

.bd-dev-methods[hidden] {
  display: none;
}

.bd-dev-button {
  background: var(--bd-paypal);
  border-color: var(--bd-paypal);
  color: var(--bd-accent);
}

.bd-dev-button.is-card {
  background: transparent;
  border-color: var(--bd-accent);
  color: var(--bd-accent);
}

.bd-dev-button.is-apple_pay {
  background: #000;
  border-color: #000;
  color: #fff;
}

.bd-dev-button:disabled {
  cursor: wait;
  opacity: .55;
  transform: none;
}

.bd-sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 600px) {
  .bd-panel {
    gap: 23px;
    padding: min(var(--bd-padding), 8vw);
  }

  .bd-frequency label {
    font-size: 13px;
    padding-inline: 7px;
  }
}

@media (max-width: 479px) {
  .bd-card-grid {
    grid-template-columns: 1fr;
  }
}
