body.wd-form-edd-template {
  margin: 0;
  background: #0a0a0a;
}

body.wd-form-edd-template #brx-content {
  --wd-checkout-bg: #f3f3f3;
  --wd-checkout-bg-soft: #fafafa;
  --wd-checkout-surface: #ffffff;
  --wd-checkout-surface-strong: #ffffff;
  --wd-checkout-ink: #0a0a0a;
  --wd-checkout-ink-soft: #2b2b2b;
  --wd-checkout-muted: #6b6b6b;
  --wd-checkout-line: #e4e4e4;
  --wd-checkout-line-strong: #0a0a0a;
  --wd-checkout-accent: #0a0a0a;
  --wd-checkout-accent-2: #0a0a0a;
  --wd-checkout-accent-3: #0a0a0a;
  --wd-checkout-ov: 10, 10, 10;
  --wd-checkout-on-ink: #ffffff;
  --wd-checkout-ink-hover: #2a2a2a;
  --wd-checkout-shadow-k: 0.3;
  --wd-checkout-content: 1180px;
  position: relative;
  isolation: isolate;
  width: 100% !important;
  max-width: none !important;
  min-height: 68vh;
  overflow: hidden;
  padding: calc(var(--wd-form-global-header-offset, 88px) + var(--wd-form-global-admin-bar-offset, 0px) + 58px) 0 86px;
  color: var(--wd-checkout-ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
  background: var(--wd-checkout-bg);
}

body.wd-form-edd-template #brx-content *,
body.wd-form-edd-template #brx-content *::before,
body.wd-form-edd-template #brx-content *::after {
  box-sizing: border-box;
}

body.wd-form-edd-template #brx-content a {
  color: inherit;
  text-decoration: none;
}

body.wd-form-edd-template #brx-content > h1,
body.wd-form-edd-template #edd_checkout_wrap,
body.wd-form-edd-template #edd_checkout_form_wrap,
body.wd-form-edd-template .wp-block-edd-checkout,
body.wd-form-edd-template .edd_empty_cart {
  width: min(calc(100% - 40px), var(--wd-checkout-content));
  margin-right: auto;
  margin-left: auto;
}

body.wd-form-edd-template #brx-content > h1 {
  margin-top: 0;
  margin-bottom: 26px;
  color: var(--wd-checkout-ink);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
}

body.wd-form-edd-template #brx-content > h1::before {
  content: "Stacklar";
  display: flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 9px 13px;
  border: 1px solid var(--wd-checkout-line);
  border-radius: 999px;
  color: var(--wd-checkout-muted);
  background: rgba(var(--wd-checkout-ov), 0.045);
  box-shadow: inset 0 1px 0 rgba(var(--wd-checkout-ov), 0.06);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

body.wd-form-edd-template #edd_checkout_wrap,
body.wd-form-edd-template #edd_checkout_form_wrap,
body.wd-form-edd-template .wp-block-edd-checkout {
  min-width: 0;
  margin-top: 0;
}

body.wd-form-edd-template .edd_empty_cart {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--wd-checkout-line);
  border-radius: 24px;
  color: var(--wd-checkout-ink-soft);
  background: var(--wd-checkout-surface);
  box-shadow: 0 26px 60px rgba(0, 0, 0, calc(0.32 * var(--wd-checkout-shadow-k)));
}

body.wd-form-edd-template .edd-blocks__logged-in,
body.wd-form-edd-template #edd_checkout_form_wrap > p,
body.wd-form-edd-template #edd_checkout_wrap > p {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(var(--wd-checkout-ov), 0.22);
  border-radius: 18px;
  color: var(--wd-checkout-muted);
  background: rgba(var(--wd-checkout-ov), 0.07);
  font-size: 14px;
  line-height: 1.6;
}

body.wd-form-edd-template .edd-blocks__logged-in strong,
body.wd-form-edd-template #edd_checkout_form_wrap > p strong,
body.wd-form-edd-template #edd_checkout_wrap > p strong {
  color: var(--wd-checkout-ink);
  font-weight: 600;
}

body.wd-form-edd-template .edd-blocks__logged-in a,
body.wd-form-edd-template #edd_checkout_form_wrap > p a,
body.wd-form-edd-template #edd_checkout_wrap > p a {
  color: var(--wd-checkout-ink);
  font-weight: 600;
}

body.wd-form-edd-template #edd_checkout_cart {
  overflow: hidden;
  border: 1px solid var(--wd-checkout-line);
  border-radius: 26px;
  background: var(--wd-checkout-surface);
  box-shadow: 0 30px 70px rgba(0, 0, 0, calc(0.34 * var(--wd-checkout-shadow-k)));
  backdrop-filter: blur(20px);
}

body.wd-form-edd-template table#edd_checkout_cart {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
}

body.wd-form-edd-template table#edd_checkout_cart th,
body.wd-form-edd-template table#edd_checkout_cart td {
  border: 0;
  padding: 20px 24px;
  vertical-align: middle;
}

body.wd-form-edd-template table#edd_checkout_cart thead th {
  color: var(--wd-checkout-muted);
  background: rgba(var(--wd-checkout-ov), 0.035);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

body.wd-form-edd-template table#edd_checkout_cart .edd_cart_item_price,
body.wd-form-edd-template table#edd_checkout_cart .edd_cart_actions,
body.wd-form-edd-template table#edd_checkout_cart tfoot th {
  text-align: right;
}

body.wd-form-edd-template table#edd_checkout_cart tfoot th {
  color: var(--wd-checkout-ink);
  font-size: 18px;
  font-weight: 600;
}

body.wd-form-edd-template .edd-blocks-form__cart {
  margin: 0;
}

body.wd-form-edd-template .edd-blocks-form__cart #edd_checkout_cart {
  display: grid;
}

body.wd-form-edd-template .edd-blocks-cart__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
}

/* EDD hides the empty discount row with an inline display:none (printed by PHP,
   or set by jQuery .hide() when a code is removed); the grid rule above must
   not bring it back as a blank band. */
body.wd-form-edd-template .edd-blocks-cart__row[style*="display:none"],
body.wd-form-edd-template .edd-blocks-cart__row[style*="display: none"] {
  display: none !important;
}

body.wd-form-edd-template .edd-blocks-cart__row-header {
  color: var(--wd-checkout-muted);
  background: rgba(var(--wd-checkout-ov), 0.035);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

body.wd-form-edd-template .edd_checkout_cart_item_title,
body.wd-form-edd-template .edd_cart_item_name {
  min-width: 0;
  color: var(--wd-checkout-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

body.wd-form-edd-template .edd_cart_item_price,
body.wd-form-edd-template .edd_cart_fee_amount {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--wd-checkout-ink-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

body.wd-form-edd-template .edd_cart_total,
body.wd-form-edd-template .edd-blocks-cart__row-footer {
  justify-content: flex-end;
  color: var(--wd-checkout-ink);
  font-size: 18px;
  font-weight: 600;
}

body.wd-form-edd-template .edd_cart_amount,
body.wd-form-edd-template .edd_cart_subtotal_amount,
body.wd-form-edd-template .edd_cart_tax_amount {
  color: var(--wd-checkout-ink);
}

body.wd-form-edd-template .edd_cart_actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Remove buttons: a quiet grey cross at rest, red only on hover or focus.
   The negative margin lines the cross up with the right edge of the prices
   above and below it; the 32px circle is the hit area and the hover tint.
   #brx-content is in the selectors so the colours beat "#brx-content a". */
body.wd-form-edd-template #brx-content .edd_cart_remove_item_btn,
body.wd-form-edd-template #brx-content .edd-blocks-cart__action-remove,
body.wd-form-edd-template #brx-content .edd_discount_remove {
  position: relative;
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0 -10px 0 0;
  border: 0;
  border-radius: 999px;
  color: var(--wd-checkout-muted);
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-size: 0;
  line-height: 1;
  opacity: 1;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

body.wd-form-edd-template .edd_cart_remove_item_btn::before,
body.wd-form-edd-template .edd_cart_remove_item_btn::after,
body.wd-form-edd-template .edd-blocks-cart__action-remove::before,
body.wd-form-edd-template .edd-blocks-cart__action-remove::after,
body.wd-form-edd-template .edd_discount_remove::before,
body.wd-form-edd-template .edd_discount_remove::after {
  content: "";
  grid-area: 1 / 1;
  width: 12px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

body.wd-form-edd-template .edd_cart_remove_item_btn::after,
body.wd-form-edd-template .edd-blocks-cart__action-remove::after,
body.wd-form-edd-template .edd_discount_remove::after {
  transform: rotate(-45deg);
}

body.wd-form-edd-template #brx-content .edd_cart_remove_item_btn:hover,
body.wd-form-edd-template #brx-content .edd_cart_remove_item_btn:focus-visible,
body.wd-form-edd-template #brx-content .edd-blocks-cart__action-remove:hover,
body.wd-form-edd-template #brx-content .edd-blocks-cart__action-remove:focus-visible,
body.wd-form-edd-template #brx-content .edd_discount_remove:hover,
body.wd-form-edd-template #brx-content .edd_discount_remove:focus-visible {
  color: #b42318;
  background: #fef3f2 !important;
}

body.wd-form-edd-template .edd_cart_remove_item_btn:focus-visible,
body.wd-form-edd-template .edd-blocks-cart__action-remove:focus-visible,
body.wd-form-edd-template .edd_discount_remove:focus-visible {
  outline: 2px solid var(--wd-checkout-ink);
  outline-offset: 2px;
}

/* EDD lays the applied code, its rate and the remove button out as a nowrap
   inline-flex; let it wrap so a long code cannot push the cart wider than a
   phone screen. */
body.wd-form-edd-template .edd_cart_discount .edd_discount {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

body.wd-form-edd-template #edd_purchase_form,
body.wd-form-edd-template .edd-blocks__purchase-form {
  min-width: 0;
  margin: 20px 0 0;
}

body.wd-form-edd-template #edd_purchase_form {
  display: grid;
  gap: 16px;
}

body.wd-form-edd-template #edd_checkout_user_info,
body.wd-form-edd-template #edd_cc_fields,
body.wd-form-edd-template #edd_cc_address,
body.wd-form-edd-template #edd_register_fields,
body.wd-form-edd-template #edd_register_account_fields,
body.wd-form-edd-template #edd_login_fields,
body.wd-form-edd-template #edd_payment_mode_select,
body.wd-form-edd-template #edd_discount_code,
body.wd-form-edd-template #edd_terms_agreement,
body.wd-form-edd-template #edd-privacy-policy-agreement,
body.wd-form-edd-template .edd-checkout-block__personal-info,
body.wd-form-edd-template .edd-blocks__purchase-form .edd-blocks-form,
body.wd-form-edd-template .edd-blocks-form__purchase .edd-blocks-form {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 0 !important;
  border-radius: 24px;
  background: var(--wd-checkout-surface);
  box-shadow:
    inset 0 0 0 1px var(--wd-checkout-line),
    0 24px 54px rgba(0, 0, 0, calc(0.26 * var(--wd-checkout-shadow-k)));
}

body.wd-form-edd-template .edd-checkout-block__personal-info #edd_checkout_user_info {
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.wd-form-edd-template #edd_checkout_form_wrap #edd_purchase_submit,
body.wd-form-edd-template #edd_purchase_submit {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

body.wd-form-edd-template #edd_checkout_user_info legend,
body.wd-form-edd-template #edd_cc_fields legend,
body.wd-form-edd-template #edd_cc_address legend,
body.wd-form-edd-template #edd_register_fields legend,
body.wd-form-edd-template #edd_register_account_fields legend,
body.wd-form-edd-template #edd_login_fields legend,
body.wd-form-edd-template #edd_payment_mode_select legend,
body.wd-form-edd-template .edd-blocks__purchase-form .edd-blocks-form legend,
body.wd-form-edd-template .edd-blocks-form__purchase .edd-blocks-form legend {
  float: none;
  width: auto;
  margin: 0 0 16px;
  padding: 0;
  color: var(--wd-checkout-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

body.wd-form-edd-template #edd_purchase_form p,
body.wd-form-edd-template #edd_payment_mode_select p,
body.wd-form-edd-template #edd_discount_code p {
  margin: 0 0 16px;
}

body.wd-form-edd-template #edd_purchase_form p:last-child,
body.wd-form-edd-template #edd_payment_mode_select p:last-child,
body.wd-form-edd-template #edd_discount_code p:last-child {
  margin-bottom: 0;
}

body.wd-form-edd-template .edd-label,
body.wd-form-edd-template #edd_purchase_form label,
body.wd-form-edd-template .edd-blocks-form__group > label {
  display: block;
  margin: 0 0 8px;
  color: var(--wd-checkout-ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

body.wd-form-edd-template .edd-description {
  display: block;
  margin: -2px 0 10px;
  color: var(--wd-checkout-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.wd-form-edd-template .edd-checkout-block__personal-info #edd_checkout_user_info > legend {
  margin-bottom: 20px;
  line-height: 1.3;
}

body.wd-form-edd-template .edd-checkout-block__personal-info #edd_checkout_user_info > div {
  display: grid;
  gap: 10px;
}

body.wd-form-edd-template .edd-checkout-block__personal-info #edd_checkout_user_info > div + div {
  margin-top: 20px;
}

body.wd-form-edd-template .edd-checkout-block__personal-info #edd_checkout_user_info + .edd-blocks-form {
  margin-top: 20px;
}

body.wd-form-edd-template .edd-checkout-block__personal-info > fieldset.edd-blocks-form > legend {
  float: left;
  width: 100%;
  margin: 0 0 16px;
}

body.wd-form-edd-template .edd-checkout-block__personal-info > fieldset.edd-blocks-form > legend + * {
  clear: both;
}

body.wd-form-edd-template #edd_purchase_form .edd-checkout-block__personal-info :is(.edd-label, .edd-description) {
  margin: 0;
  line-height: 1.6;
}

body.wd-form-edd-template .edd-required-indicator {
  color: var(--wd-checkout-ink);
}

body.wd-form-edd-template .edd-input,
body.wd-form-edd-template .edd-select,
body.wd-form-edd-template #edd_purchase_form input[type="email"],
body.wd-form-edd-template #edd_purchase_form input[type="password"],
body.wd-form-edd-template #edd_purchase_form input[type="tel"],
body.wd-form-edd-template #edd_purchase_form input[type="text"],
body.wd-form-edd-template #edd_purchase_form input[type="number"],
body.wd-form-edd-template #edd_purchase_form select,
body.wd-form-edd-template #edd_purchase_form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(var(--wd-checkout-ov), 0.12) !important;
  border-radius: 16px !important;
  padding: 11px 13px;
  color: var(--wd-checkout-ink) !important;
  background: rgba(var(--wd-checkout-ov), 0.055) !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
}

body.wd-form-edd-template .edd-input:focus,
body.wd-form-edd-template .edd-select:focus,
body.wd-form-edd-template #edd_purchase_form input:focus,
body.wd-form-edd-template #edd_purchase_form select:focus,
body.wd-form-edd-template #edd_purchase_form textarea:focus {
  border-color: rgba(var(--wd-checkout-ov), 0.62) !important;
  box-shadow: 0 0 0 4px rgba(var(--wd-checkout-ov), 0.16) !important;
}

body.wd-form-edd-template .edd-item-quantity {
  width: 72px !important;
  min-height: 38px;
  padding: 8px 10px;
}

body.wd-form-edd-template .card-expiration {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body.wd-form-edd-template .card-expiration .edd-label,
body.wd-form-edd-template .card-expiration .edd-description {
  flex: 0 0 100%;
}

body.wd-form-edd-template .card-expiration select {
  width: 92px;
}

body.wd-form-edd-template .exp-divider {
  color: var(--wd-checkout-muted);
  font-weight: 600;
}

body.wd-form-edd-template #edd_secure_site_wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 11px;
  border: 1px solid rgba(var(--wd-checkout-ov), 0.22);
  border-radius: 999px;
  color: var(--wd-checkout-ink);
  background: rgba(var(--wd-checkout-ov), 0.08);
  font-size: 12px;
  font-weight: 600;
}

body.wd-form-edd-template .edd-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

body.wd-form-edd-template .edd-payment-icons img,
body.wd-form-edd-template .edd-payment-icons .payment-icon {
  max-height: 24px;
  width: auto;
  margin: 0;
  border-radius: 6px;
}

body.wd-form-edd-template #edd-payment-mode-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

body.wd-form-edd-template .edd-gateway-option {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 !important;
  border: 1px solid var(--wd-checkout-line);
  border-radius: 16px;
  padding: 10px 14px;
  color: var(--wd-checkout-ink-soft);
  background: rgba(var(--wd-checkout-ov), 0.045);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

body.wd-form-edd-template .edd-gateway-option:hover,
body.wd-form-edd-template .edd-gateway-option:focus-within,
body.wd-form-edd-template .edd-gateway-option-selected {
  transform: translateY(-1px);
  border-color: rgba(var(--wd-checkout-ov), 0.46);
  color: var(--wd-checkout-ink);
  background:
    linear-gradient(135deg, rgba(var(--wd-checkout-ov), 0.2), rgba(var(--wd-checkout-ov), 0.12)),
    rgba(var(--wd-checkout-ov), 0.055);
}

body.wd-form-edd-template .edd-gateway-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

body.wd-form-edd-template .edd-discount-code-field-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.wd-form-edd-template .edd-discount-code-field-wrap .edd-input {
  flex: 1 1 220px;
}

body.wd-form-edd-template #brx-content .edd-submit,
body.wd-form-edd-template #brx-content .edd-button-secondary,
body.wd-form-edd-template #edd_purchase_form input[type="submit"],
body.wd-form-edd-template #edd_payment_mode_submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  min-width: 150px;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid rgba(var(--wd-checkout-ov), 0.8) !important;
  border-radius: 999px !important;
  padding: 11px 20px;
  color: var(--wd-checkout-on-ink) !important;
  background: var(--wd-checkout-ink) !important;
  box-shadow: 0 18px 34px rgba(var(--wd-checkout-ov), 0.08) !important;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

body.wd-form-edd-template #edd-purchase-button {
  align-self: start;
  justify-self: start;
  width: fit-content !important;
  min-width: 180px;
}

body.wd-form-edd-template #brx-content .edd-submit:hover,
body.wd-form-edd-template #brx-content .edd-submit:focus-visible,
body.wd-form-edd-template #brx-content .edd-button-secondary:hover,
body.wd-form-edd-template #brx-content .edd-button-secondary:focus-visible,
body.wd-form-edd-template #edd_purchase_form input[type="submit"]:hover,
body.wd-form-edd-template #edd_purchase_form input[type="submit"]:focus-visible,
body.wd-form-edd-template #edd_payment_mode_submit input[type="submit"]:hover,
body.wd-form-edd-template #edd_payment_mode_submit input[type="submit"]:focus-visible {
  transform: translateY(-2px);
  border-color: var(--wd-checkout-ink) !important;
  box-shadow: 0 18px 34px rgba(var(--wd-checkout-ov), 0.13) !important;
}

body.wd-form-edd-template #edd_final_total_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 0;
  border-top: 1px solid var(--wd-checkout-line);
  color: var(--wd-checkout-ink);
  font-size: 18px;
  font-weight: 600;
}

body.wd-form-edd-template .edd-alert,
body.wd-form-edd-template .edd_error {
  border: 1px solid rgba(var(--wd-checkout-ov), 0.32);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--wd-checkout-ink);
  background: rgba(var(--wd-checkout-ov), 0.09);
  font-size: 14px;
  line-height: 1.5;
}

body.wd-form-edd-template #brx-content > p,
body.wd-form-edd-template #brx-content > .edd-alert {
  width: min(calc(100% - 40px), var(--wd-checkout-content));
  margin: 0 auto 16px;
}

body.wd-form-edd-template #brx-content > p:not(.edd-alert) {
  padding: 22px;
  border-radius: 24px;
  color: var(--wd-checkout-ink-soft);
  background: var(--wd-checkout-surface);
  box-shadow:
    inset 0 0 0 1px var(--wd-checkout-line),
    0 24px 54px rgba(0, 0, 0, calc(0.26 * var(--wd-checkout-shadow-k)));
  font-size: 16px;
  line-height: 1.7;
}

body.wd-form-edd-template #brx-content > .edd-alert {
  max-width: var(--wd-checkout-content);
  padding: 18px 20px;
}

body.wd-form-edd-template #brx-content > .edd-alert-info,
body.wd-form-edd-template #brx-content > .edd-alert-success {
  border-color: rgba(var(--wd-checkout-ov), 0.28);
  color: var(--wd-checkout-ink);
  background: rgba(var(--wd-checkout-ov), 0.08);
}

body.wd-form-edd-template .wp-block-edd-downloads,
body.wd-form-edd-template .edd_downloads_list,
body.wd-form-edd-template .edd-blocks-receipt,
body.wd-form-edd-template .wp-block-edd-receipt,
body.wd-form-edd-template .wp-block-edd-confirmation,
body.wd-form-edd-template .wp-block-edd-order-history,
body.wd-form-edd-template .wp-block-edd-login,
body.wd-form-edd-template .edd-blocks-orders,
body.wd-form-edd-template .edd-blocks__orders,
body.wd-form-edd-template #edd_user_history,
body.wd-form-edd-template #edd_purchase_receipt,
body.wd-form-edd-template #edd_purchase_receipt_products,
body.wd-form-edd-template .edd-blocks-form__guest,
body.wd-form-edd-template .edd-blocks-form__login,
body.wd-form-edd-template #brx-content .edd_download_purchase_form {
  width: min(calc(100% - 40px), var(--wd-checkout-content));
  margin-right: auto;
  margin-left: auto;
}

body.wd-form-edd-template .wp-block-edd-downloads,
body.wd-form-edd-template .edd_downloads_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  align-items: stretch;
}

body.wd-form-edd-template .edd-blocks__download,
body.wd-form-edd-template .edd_download_inner,
body.wd-form-edd-template .edd-blocks-receipt__totals,
body.wd-form-edd-template .edd-blocks-receipt__items,
body.wd-form-edd-template .edd-blocks-orders__order,
body.wd-form-edd-template .edd-blocks-form__guest,
body.wd-form-edd-template .edd-blocks-form__login {
  min-width: 0;
  border-radius: 24px;
  padding: 22px;
  background: var(--wd-checkout-surface);
  box-shadow:
    inset 0 0 0 1px var(--wd-checkout-line),
    0 24px 54px rgba(0, 0, 0, calc(0.26 * var(--wd-checkout-shadow-k)));
}

body.single-download.wd-form-edd-template #brx-content > .edd_download_purchase_form {
  max-width: 720px;
  margin-top: 0;
  border-radius: 24px;
  padding: 24px;
  background: var(--wd-checkout-surface);
  box-shadow:
    inset 0 0 0 1px var(--wd-checkout-line),
    0 24px 54px rgba(0, 0, 0, calc(0.26 * var(--wd-checkout-shadow-k)));
}

body.wd-form-edd-template .edd-blocks__download {
  display: grid;
  gap: 16px;
}

body.wd-form-edd-template .edd-blocks__download-header h3,
body.wd-form-edd-template .edd_download_title {
  margin: 0;
  color: var(--wd-checkout-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.18;
}

body.wd-form-edd-template .edd-blocks__download-header h3 a,
body.wd-form-edd-template .edd_download_title a {
  color: inherit;
}

body.wd-form-edd-template .edd-blocks__download-price,
body.wd-form-edd-template .edd_price,
body.wd-form-edd-template .edd_price_range_low,
body.wd-form-edd-template .edd_price_range_high {
  color: var(--wd-checkout-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

body.wd-form-edd-template .edd_price_range_sep {
  color: var(--wd-checkout-muted);
}

body.wd-form-edd-template #brx-content .edd_download_purchase_form {
  display: grid;
  gap: 16px;
}

body.wd-form-edd-template .edd_price_options {
  margin: 0;
}

body.wd-form-edd-template .edd_price_options ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.wd-form-edd-template .edd_price_options li {
  margin: 0;
  padding: 0;
}

body.wd-form-edd-template .edd_price_options label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  margin: 0;
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--wd-checkout-ink-soft);
  background: rgba(var(--wd-checkout-ov), 0.045);
  box-shadow: inset 0 0 0 1px var(--wd-checkout-line);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

body.wd-form-edd-template .edd_price_options input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--wd-checkout-accent);
}

body.wd-form-edd-template .edd_price_option_price {
  margin-left: auto;
  color: var(--wd-checkout-ink);
  font-weight: 600;
  white-space: nowrap;
}

body.wd-form-edd-template #brx-content .edd-submit,
body.wd-form-edd-template #brx-content .button.edd-submit,
body.wd-form-edd-template #brx-content .edd-add-to-cart,
body.wd-form-edd-template #brx-content .edd_go_to_checkout,
body.wd-form-edd-template #brx-content #edd_guest_submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 150px;
  min-height: 46px;
  border: 1px solid rgba(var(--wd-checkout-ov), 0.8) !important;
  border-radius: 999px !important;
  padding: 11px 20px;
  color: var(--wd-checkout-on-ink) !important;
  background: var(--wd-checkout-ink) !important;
  box-shadow: 0 18px 34px rgba(var(--wd-checkout-ov), 0.08) !important;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

body.wd-form-edd-template #brx-content .edd-submit:hover,
body.wd-form-edd-template #brx-content .edd-submit:focus-visible,
body.wd-form-edd-template #brx-content .button.edd-submit:hover,
body.wd-form-edd-template #brx-content .button.edd-submit:focus-visible,
body.wd-form-edd-template #brx-content .edd-add-to-cart:hover,
body.wd-form-edd-template #brx-content .edd-add-to-cart:focus-visible,
body.wd-form-edd-template #brx-content .edd_go_to_checkout:hover,
body.wd-form-edd-template #brx-content .edd_go_to_checkout:focus-visible,
body.wd-form-edd-template #brx-content #edd_guest_submit:hover,
body.wd-form-edd-template #brx-content #edd_guest_submit:focus-visible {
  transform: translateY(-2px);
  border-color: var(--wd-checkout-ink) !important;
  box-shadow: 0 18px 34px rgba(var(--wd-checkout-ov), 0.13) !important;
}

body.wd-form-edd-template #brx-content .edd-cart-added-alert {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--wd-checkout-ink);
  font-size: 13px;
  font-weight: 600;
}

body.wd-form-edd-template #brx-content .edd-cart-added-alert .edd-icon {
  width: 18px;
  height: 18px;
}

/* The discount field is the one .edd-no-js element EDD reveals with an inline
   display when "Enter a discount code" is clicked, so it must stay overridable. */
body.wd-form-edd-template.edd-js .edd-no-js:not(#edd-discount-code-wrap),
body.wd-form-edd-template.edd-js input.edd-no-js {
  display: none !important;
}

body.wd-form-edd-template .edd-blocks-receipt__totals,
body.wd-form-edd-template .edd-blocks-receipt__items,
body.wd-form-edd-template .edd-blocks-orders,
body.wd-form-edd-template .edd-blocks__orders {
  display: grid;
  gap: 12px;
}

body.wd-form-edd-template .edd-blocks-receipt h3,
body.wd-form-edd-template .wp-block-edd-receipt h3,
body.wd-form-edd-template #brx-content > h3 {
  width: min(calc(100% - 40px), var(--wd-checkout-content));
  margin: 26px auto 12px;
  color: var(--wd-checkout-ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
}

body.wd-form-edd-template .edd-blocks__row,
body.wd-form-edd-template .edd-blocks-receipt__row-item,
body.wd-form-edd-template .edd-blocks-orders__order-header,
body.wd-form-edd-template .edd-blocks-orders__order-data,
body.wd-form-edd-template .edd-blocks-orders__order-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(var(--wd-checkout-ov), 0.045);
}

body.wd-form-edd-template .edd-blocks__row,
body.wd-form-edd-template .edd-blocks-receipt__row-item,
body.wd-form-edd-template .edd-blocks-orders__order-header,
body.wd-form-edd-template .edd-blocks-orders__order-data,
body.wd-form-edd-template .edd-blocks-orders__order-details,
body.wd-form-edd-template .edd-order-item,
body.wd-form-edd-template .edd-order-item__row,
body.wd-form-edd-template .edd-order-items__row {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.wd-form-edd-template .edd-blocks__receipt .edd-blocks__row,
body.wd-form-edd-template .edd-blocks__receipt .edd-blocks__row::before,
body.wd-form-edd-template .edd-blocks__receipt .edd-blocks__row::after,
body.wd-form-edd-template .edd-blocks__receipt .edd-blocks-receipt__row-item,
body.wd-form-edd-template .edd-blocks__receipt .edd-blocks-receipt__row-item::before,
body.wd-form-edd-template .edd-blocks__receipt .edd-blocks-receipt__row-item::after,
body.wd-form-edd-template .edd-blocks__receipt .edd-blocks-receipt__item,
body.wd-form-edd-template .edd-blocks__receipt .edd-blocks-receipt__item::before,
body.wd-form-edd-template .edd-blocks__receipt .edd-blocks-receipt__item::after {
  border: 0 !important;
  border-block-end: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.wd-form-edd-template .edd-blocks-orders__order {
  display: grid;
  gap: 10px;
}

body.wd-form-edd-template .edd-blocks__row-label,
body.wd-form-edd-template .edd-blocks-orders__order-id,
body.wd-form-edd-template .edd-blocks-orders__order-date {
  min-width: 0;
  color: var(--wd-checkout-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

body.wd-form-edd-template .edd-blocks__row-value,
body.wd-form-edd-template .edd-blocks-orders__order-amount,
body.wd-form-edd-template .edd-blocks-receipt__item-price {
  min-width: 0;
  color: var(--wd-checkout-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.wd-form-edd-template .edd_receipt_payment_status,
body.wd-form-edd-template .edd-blocks-orders__order-status {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--wd-checkout-ink);
  background: rgba(var(--wd-checkout-ov), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--wd-checkout-ov), 0.34);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

body.wd-form-edd-template .edd_receipt_payment_status.failed,
body.wd-form-edd-template .edd-blocks-orders__order-status.failed,
body.wd-form-edd-template .edd-blocks-orders__order-status.revoked,
body.wd-form-edd-template .edd-blocks-orders__order-status.cancelled {
  color: var(--wd-checkout-ink);
  background: rgba(var(--wd-checkout-ov), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--wd-checkout-ov), 0.34);
}

body.wd-form-edd-template .edd-blocks-form__guest,
body.wd-form-edd-template .edd-blocks-form__login {
  display: grid;
  gap: 16px;
}

body.wd-form-edd-template .edd-blocks-form__guest label,
body.wd-form-edd-template .edd-blocks-form__login label {
  display: block;
  margin: 0 0 8px;
  color: var(--wd-checkout-ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

body.wd-form-edd-template .edd-blocks-form__guest input[type="email"],
body.wd-form-edd-template .edd-blocks-form__guest input[type="text"],
body.wd-form-edd-template .edd-blocks-form__login input[type="email"],
body.wd-form-edd-template .edd-blocks-form__login input[type="password"],
body.wd-form-edd-template .edd-blocks-form__login input[type="text"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(var(--wd-checkout-ov), 0.12) !important;
  border-radius: 16px !important;
  padding: 11px 13px;
  color: var(--wd-checkout-ink) !important;
  background: rgba(var(--wd-checkout-ov), 0.055) !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}

body.wd-form-edd-template #edd_user_history,
body.wd-form-edd-template #edd_purchase_receipt,
body.wd-form-edd-template #edd_purchase_receipt_products {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--wd-checkout-surface);
  box-shadow:
    inset 0 0 0 1px var(--wd-checkout-line),
    0 24px 54px rgba(0, 0, 0, calc(0.26 * var(--wd-checkout-shadow-k)));
}

body.wd-form-edd-template #edd_user_history th,
body.wd-form-edd-template #edd_user_history td,
body.wd-form-edd-template #edd_purchase_receipt th,
body.wd-form-edd-template #edd_purchase_receipt td,
body.wd-form-edd-template #edd_purchase_receipt_products th,
body.wd-form-edd-template #edd_purchase_receipt_products td {
  border: 0;
  padding: 16px 18px;
  color: var(--wd-checkout-ink-soft);
  background: transparent;
  text-align: left;
}

body.wd-form-edd-template #edd_user_history th,
body.wd-form-edd-template #edd_purchase_receipt th,
body.wd-form-edd-template #edd_purchase_receipt_products th {
  color: var(--wd-checkout-muted);
  background: rgba(var(--wd-checkout-ov), 0.035);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

body.wd-form-edd-template .edd-terms,
body.wd-form-edd-template #edd-privacy-policy {
  max-height: 220px;
  overflow: auto;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid var(--wd-checkout-line);
  border-radius: 16px;
  color: var(--wd-checkout-muted);
  background: rgba(var(--wd-checkout-ov), 0.045);
}

body.wd-form-edd-template .edd-terms-agreement,
body.wd-form-edd-template .edd-privacy-policy-agreement {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--wd-checkout-ink-soft);
}

body.wd-form-edd-template .edd-terms-agreement input,
body.wd-form-edd-template .edd-privacy-policy-agreement input {
  flex: 0 0 auto;
  margin-top: 4px;
}

@media (min-width: 900px) {
  body.wd-form-edd-template .wp-block-edd-checkout:not(.edd-checkout__layout--full) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    gap: 20px;
    align-items: start;
  }

  body.wd-form-edd-template .wp-block-edd-checkout:is(
      :has(> .edd-blocks__logged-in),
      :has(> p:first-child)
    ) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    grid-template-rows: max-content max-content minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  body.wd-form-edd-template .wp-block-edd-checkout:is(
      :has(> .edd-blocks__logged-in),
      :has(> p:first-child)
    ) > :is(.edd-blocks__logged-in, p:first-child) {
    grid-column: 1 !important;
    grid-row: 1;
    margin-bottom: 0 !important;
  }

  body.wd-form-edd-template .wp-block-edd-checkout:is(
      :has(> .edd-blocks__logged-in),
      :has(> p:first-child)
    ) > :is(.edd-blocks__cart, .edd-blocks-form__cart) {
    grid-column: 1 !important;
    grid-row: 2;
  }

  body.wd-form-edd-template .wp-block-edd-checkout:is(
      :has(> .edd-blocks__logged-in),
      :has(> p:first-child)
    ) > :is(.edd-blocks__purchase-form, .edd-blocks-form__purchase) {
    grid-column: 2 !important;
    grid-row: 1 / -1 !important;
    align-self: start;
    margin-top: 0 !important;
  }
}

@media (max-width: 720px) {
  body.wd-form-edd-template #brx-content {
    padding: calc(var(--wd-form-global-header-offset, 86px) + var(--wd-form-global-admin-bar-offset, 0px) + 38px) 0 64px;
  }

  body.wd-form-edd-template #brx-content > h1,
  body.wd-form-edd-template #brx-content > p,
  body.wd-form-edd-template #brx-content > .edd-alert,
  body.wd-form-edd-template #edd_checkout_wrap,
  body.wd-form-edd-template #edd_checkout_form_wrap,
  body.wd-form-edd-template .wp-block-edd-checkout,
  body.wd-form-edd-template .edd_empty_cart,
  body.wd-form-edd-template .wp-block-edd-downloads,
  body.wd-form-edd-template .edd_downloads_list,
  body.wd-form-edd-template .edd-blocks-receipt,
  body.wd-form-edd-template .wp-block-edd-receipt,
  body.wd-form-edd-template .wp-block-edd-confirmation,
  body.wd-form-edd-template .wp-block-edd-order-history,
  body.wd-form-edd-template .wp-block-edd-login,
  body.wd-form-edd-template .edd-blocks-orders,
  body.wd-form-edd-template .edd-blocks__orders,
  body.wd-form-edd-template #edd_user_history,
  body.wd-form-edd-template #edd_purchase_receipt,
  body.wd-form-edd-template #edd_purchase_receipt_products,
  body.wd-form-edd-template .edd-blocks-form__guest,
  body.wd-form-edd-template .edd-blocks-form__login,
  body.wd-form-edd-template #brx-content .edd_download_purchase_form {
    width: min(calc(100% - 24px), var(--wd-checkout-content));
  }

  body.wd-form-edd-template #brx-content > h1 {
    margin-bottom: 20px;
    font-size: 36px;
  }

  body.wd-form-edd-template .edd-blocks-cart__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  body.wd-form-edd-template #brx-content > p:not(.edd-alert),
  body.wd-form-edd-template .edd-blocks__download,
  body.wd-form-edd-template .edd_download_inner,
  body.wd-form-edd-template .edd-blocks-receipt__totals,
  body.wd-form-edd-template .edd-blocks-receipt__items,
  body.wd-form-edd-template .edd-blocks-orders__order,
  body.wd-form-edd-template .edd-blocks-form__guest,
  body.wd-form-edd-template .edd-blocks-form__login,
  body.single-download.wd-form-edd-template #brx-content > .edd_download_purchase_form {
    border-radius: 20px;
    padding: 18px;
  }

  body.wd-form-edd-template .edd-blocks__row,
  body.wd-form-edd-template .edd-blocks-receipt__row-item,
  body.wd-form-edd-template .edd-blocks-orders__order-header,
  body.wd-form-edd-template .edd-blocks-orders__order-data,
  body.wd-form-edd-template .edd-blocks-orders__order-details {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.wd-form-edd-template .edd_receipt_payment_status,
  body.wd-form-edd-template .edd-blocks-orders__order-status {
    justify-self: start;
  }

  body.wd-form-edd-template #edd_user_history,
  body.wd-form-edd-template #edd_purchase_receipt,
  body.wd-form-edd-template #edd_purchase_receipt_products {
    display: block;
    overflow-x: auto;
  }

  body.wd-form-edd-template .edd-blocks-cart__row-header {
    display: none !important;
  }

  body.wd-form-edd-template .edd_cart_item_price,
  body.wd-form-edd-template .edd_cart_fee_amount,
  body.wd-form-edd-template .edd_cart_actions {
    justify-content: flex-start;
  }

  body.wd-form-edd-template table#edd_checkout_cart,
  body.wd-form-edd-template table#edd_checkout_cart thead,
  body.wd-form-edd-template table#edd_checkout_cart tbody,
  body.wd-form-edd-template table#edd_checkout_cart tfoot,
  body.wd-form-edd-template table#edd_checkout_cart tr,
  body.wd-form-edd-template table#edd_checkout_cart th,
  body.wd-form-edd-template table#edd_checkout_cart td {
    display: block;
    width: 100%;
  }

  body.wd-form-edd-template table#edd_checkout_cart thead {
    display: none;
  }

  body.wd-form-edd-template table#edd_checkout_cart th,
  body.wd-form-edd-template table#edd_checkout_cart td {
    padding: 16px 18px;
    text-align: left !important;
  }

  body.wd-form-edd-template #edd_checkout_user_info,
  body.wd-form-edd-template #edd_cc_fields,
  body.wd-form-edd-template #edd_cc_address,
  body.wd-form-edd-template #edd_register_fields,
  body.wd-form-edd-template #edd_register_account_fields,
  body.wd-form-edd-template #edd_login_fields,
  body.wd-form-edd-template #edd_payment_mode_select,
  body.wd-form-edd-template #edd_discount_code,
  body.wd-form-edd-template #edd_terms_agreement,
  body.wd-form-edd-template #edd-privacy-policy-agreement,
  body.wd-form-edd-template .edd-checkout-block__personal-info,
  body.wd-form-edd-template .edd-blocks__purchase-form .edd-blocks-form,
  body.wd-form-edd-template .edd-blocks-form__purchase .edd-blocks-form {
    padding: 18px;
    border-radius: 20px;
  }
}

/* ==========================================================================
   Monochrome site style (matches the landing page)
   ========================================================================== */

/* Page title becomes a full-width black band, the content below stays light. */
body.wd-form-edd-template #brx-content > h1 {
  --wd-checkout-ink: #ffffff;
  --wd-checkout-muted: rgba(255, 255, 255, 0.6);
  --wd-checkout-line: rgba(255, 255, 255, 0.14);
  --wd-checkout-ov: 255, 255, 255;
  position: relative;
  margin-bottom: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
  color: #ffffff;
  background: #0a0a0a;
  box-shadow: 0 0 0 100vmax #0a0a0a;
  clip-path: inset(-100vmax -100vmax 0 -100vmax);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

body.wd-form-edd-template #brx-content > h1::before {
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 10px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* Buttons: solid ink. */
body.wd-form-edd-template #edd_payment_mode_submit input[type="submit"],
body.wd-form-edd-template #edd-purchase-button,
body.wd-form-edd-template #brx-content .edd-add-to-cart,
body.wd-form-edd-template #brx-content .edd_go_to_checkout,
body.wd-form-edd-template #brx-content #edd_guest_submit {
  border-color: var(--wd-checkout-ink) !important;
  border-radius: 999px !important;
  color: var(--wd-checkout-on-ink) !important;
  background: var(--wd-checkout-ink) !important;
  box-shadow: none !important;
}

body.wd-form-edd-template #edd_payment_mode_submit input[type="submit"]:hover,
body.wd-form-edd-template #edd-purchase-button:hover,
body.wd-form-edd-template #brx-content .edd-add-to-cart:hover,
body.wd-form-edd-template #brx-content .edd_go_to_checkout:hover,
body.wd-form-edd-template #brx-content #edd_guest_submit:hover {
  border-color: var(--wd-checkout-ink-hover) !important;
  background: var(--wd-checkout-ink-hover) !important;
}

/* Inputs */
body.wd-form-edd-template #edd_purchase_form :is(input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]), select, textarea):focus {
  border-color: var(--wd-checkout-ink) !important;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08) !important;
}

body.wd-form-edd-template .edd-gateway-option:focus-within,
body.wd-form-edd-template .edd-gateway-option-selected {
  border-color: var(--wd-checkout-ink);
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--wd-checkout-ink);
}

body.wd-form-edd-template .edd-required-indicator {
  color: #b42318;
}

/* States: black for done, red only for problems. */
body.wd-form-edd-template .edd-blocks-orders__order-status,
body.wd-form-edd-template .edd_receipt_payment_status {
  color: #ffffff;
  background: #0a0a0a;
  box-shadow: none;
}

body.wd-form-edd-template .edd-alert,
body.wd-form-edd-template .edd_error,
body.wd-form-edd-template .edd-blocks-orders__order-status.cancelled,
body.wd-form-edd-template .edd-blocks-orders__order-status.failed,
body.wd-form-edd-template .edd-blocks-orders__order-status.revoked,
body.wd-form-edd-template .edd_receipt_payment_status.failed {
  border-color: #f3c2bd;
  color: #b42318;
  background: #fef3f2 !important;
  box-shadow: none;
}

body.wd-form-edd-template #brx-content > .edd-alert-info,
body.wd-form-edd-template #brx-content > .edd-alert-success,
body.wd-form-edd-template #edd_secure_site_wrapper,
body.wd-form-edd-template .edd-blocks__logged-in,
body.wd-form-edd-template #edd_checkout_form_wrap > p,
body.wd-form-edd-template #edd_checkout_wrap > p {
  border-color: var(--wd-checkout-line);
  color: var(--wd-checkout-ink-soft);
  background: #ffffff;
}

body.wd-form-edd-template .edd-blocks__logged-in a,
body.wd-form-edd-template #edd_checkout_form_wrap > p a,
body.wd-form-edd-template #edd_checkout_wrap > p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* EDD positions the "Log in / Register" switch absolutely, on top of the
   fieldset legend. Keep it in the flow as a segmented control instead. */
body.wd-form-edd-template #brx-content .edd-blocks__checkout-forms {
  position: static;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 4px;
  border: 1px solid var(--wd-checkout-line);
  border-radius: 999px;
  background: #ffffff;
}

body.wd-form-edd-template #brx-content .edd-blocks__checkout-forms button {
  min-height: 34px;
  margin: 0;
  padding: 6px 14px;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--wd-checkout-ink-soft) !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}

body.wd-form-edd-template #brx-content .edd-blocks__checkout-forms button:hover:not(:disabled) {
  background: #f3f3f3 !important;
}

body.wd-form-edd-template #brx-content .edd-blocks__checkout-forms button:disabled {
  color: #ffffff !important;
  background: var(--wd-checkout-ink) !important;
  opacity: 1;
  cursor: default;
}
