/*
 * FLEXINGZONE membership flow
 * Safe to enqueue after the Paid Memberships Pro frontend stylesheet.
 * Uses PMPro's native page/body classes and does not replace plugin templates.
 */

.fz-pmpro-page,
body.fz-membership-flow {
  --fz-accent: #ff3b1f;
  --fz-accent-hot: #ff5b2e;
  --fz-bg: #060607;
  --fz-card: #101012;
  --fz-line: rgba(255, 255, 255, 0.14);
  --fz-muted: rgba(255, 255, 255, 0.53);
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 59, 31, 0.12), transparent 28%),
    radial-gradient(circle at 8% 58%, rgba(46, 137, 190, 0.07), transparent 25%),
    var(--fz-bg);
  color: #fff;
}

.fz-pmpro-page h1,
.fz-pmpro-page h2,
.fz-pmpro-page p,
.fz-pmpro-page ol,
.fz-pmpro-page ul,
body.fz-membership-flow .pmpro h1,
body.fz-membership-flow .pmpro h2,
body.fz-membership-flow .pmpro h3,
body.fz-membership-flow .pmpro p {
  margin-top: 0;
}

.fz-pmpro-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 70px;
  padding-top: 92px;
  padding-bottom: 52px;
}

.fz-pmpro-hero > div > p:last-child {
  max-width: 630px;
  margin: 25px 0 0;
  color: var(--fz-muted);
  line-height: 1.7;
}

.fz-pmpro-hero h1,
.fz-confirmation-card h1,
.fz-billing-layout header h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.5rem, 8vw, 8rem);
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-transform: uppercase;
}

.fz-pmpro-hero h1 em,
.fz-billing-layout header h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
}

.fz-pmpro-hero ol {
  display: flex;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fz-pmpro-hero li {
  display: flex;
  min-width: 112px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--fz-line);
  padding-top: 13px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fz-pmpro-hero li span { font-size: 0.49rem; }
.fz-pmpro-hero li.is-complete { color: rgba(255, 255, 255, 0.62); }
.fz-pmpro-hero li.is-current { border-color: var(--fz-accent); color: #fff; }

.fz-pmpro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
  align-items: start;
  gap: 18px;
  padding-bottom: 130px;
}

.fz-pmpro-page .pmpro,
body.fz-membership-flow .pmpro {
  --pmpro--color--base: #0b0b0c;
  --pmpro--color--base-2: #141416;
  --pmpro--color--contrast: #fff;
  --pmpro--color--border: rgba(255,255,255,.3);
  --pmpro--color--border--variation: rgba(255,255,255,.14);
  --pmpro--color--accent: #ff3b1f;
  --pmpro--color--accent--variation: #ff573d;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.fz-pmpro-page .pmpro_section,
body.fz-membership-flow .pmpro_section {
  margin: 0;
}

.fz-pmpro-page .pmpro_form,
body.fz-membership-flow .pmpro_form {
  display: grid;
  gap: 12px;
}

.fz-pmpro-page .pmpro_form_fieldset,
body.fz-membership-flow .pmpro_form_fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.fz-pmpro-page .pmpro_card,
.fz-pmpro-page .fz-pmpro-submit-card,
body.fz-membership-flow .pmpro_card,
body.fz-membership-flow .pmpro_form_submit {
  overflow: hidden;
  border: 1px solid var(--fz-line);
  border-radius: 0;
  background: rgba(16, 16, 18, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.fz-pmpro-page .pmpro_card_content,
body.fz-membership-flow .pmpro_card_content {
  padding: 34px;
}

.fz-pmpro-page .pmpro_card_actions,
body.fz-membership-flow .pmpro_card_actions {
  border-top: 1px solid var(--fz-line);
  padding: 17px 34px;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.61rem;
}

.fz-pmpro-page .pmpro_card_actions a,
body.fz-membership-flow .pmpro_card_actions a { color: #fff; text-decoration: none; }

.fz-pmpro-card-index {
  display: block;
  margin-bottom: 20px;
  color: var(--fz-accent);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.fz-pmpro-page .pmpro_card_title,
.fz-pmpro-page .pmpro_form_heading,
.fz-pmpro-page .fz-pmpro-submit-card h2,
body.fz-membership-flow .pmpro_card_title,
body.fz-membership-flow .pmpro_form_heading,
body.fz-membership-flow .pmpro_form_submit h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.fz-pmpro-page .pmpro_card_content > p,
.fz-pmpro-section-lead,
body.fz-membership-flow .pmpro_card_content > p {
  max-width: 630px;
  color: var(--fz-muted);
  line-height: 1.65;
}

.fz-pmpro-plan-card #pmpro_level_cost,
body.fz-membership-flow #pmpro_level_cost {
  margin-top: 25px;
  border-top: 1px solid var(--fz-line);
  padding-top: 22px;
}

.fz-pmpro-plan-card #pmpro_level_cost strong,
body.fz-membership-flow #pmpro_level_cost {
  color: #fff;
  font-size: 1rem;
}

.fz-pmpro-discount {
  margin-top: 24px;
  border-top: 1px solid var(--fz-line);
  padding-top: 18px;
}

.fz-pmpro-discount summary {
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fz-pmpro-page .pmpro_form_fields,
body.fz-membership-flow .pmpro_form_fields { display: grid; gap: 18px; margin-top: 27px; }

.fz-pmpro-page .pmpro_cols-2,
body.fz-membership-flow .pmpro_cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fz-pmpro-page .pmpro_form_field,
body.fz-membership-flow .pmpro_form_field { display: grid; gap: 9px; }

.fz-pmpro-page .pmpro_form_label,
body.fz-membership-flow .pmpro_form_label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fz-pmpro-page .pmpro_form_input,
body.fz-membership-flow .pmpro_form_input,
body.fz-membership-flow .pmpro_form select,
body.fz-membership-flow .pmpro_form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 0 15px;
  background: #080809;
  box-shadow: none;
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.fz-pmpro-page .pmpro_form_input:focus,
body.fz-membership-flow .pmpro_form_input:focus,
body.fz-membership-flow .pmpro_form select:focus,
body.fz-membership-flow .pmpro_form textarea:focus {
  border-color: var(--fz-accent);
  box-shadow: 0 0 0 3px rgba(255, 59, 31, 0.12);
}

.fz-pmpro-discount .pmpro_form_fields-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px;
  margin-top: 16px;
}

body.fz-membership-flow .pmpro_form_fields-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.fz-pmpro-discount .pmpro_form_label { grid-column: 1 / -1; }

.fz-pmpro-page .pmpro_btn,
body.fz-membership-flow .pmpro_btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 0 22px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.fz-pmpro-page .pmpro_btn-submit-checkout,
body.fz-membership-flow #pmpro_btn-submit {
  border-color: var(--fz-accent);
  background: var(--fz-accent);
  box-shadow: 0 16px 42px rgba(255, 59, 31, 0.22);
}

.fz-pmpro-page .pmpro_btn:hover,
body.fz-membership-flow .pmpro_btn:hover {
  border-color: var(--fz-accent-hot);
  background: var(--fz-accent-hot);
  color: #fff;
}

.fz-pmpro-signed-in {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  border: 1px solid rgba(79, 224, 154, 0.24);
  padding: 18px;
  background: rgba(79, 224, 154, 0.055);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.fz-pmpro-signed-in i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4fe09a;
  box-shadow: 0 0 13px #4fe09a;
}

.fz-pmpro-submit-card,
body.fz-membership-flow .pmpro_form_submit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px 35px;
  padding: 34px;
  background: linear-gradient(140deg, rgba(255, 59, 31, 0.11), #101012 44%);
}

.fz-pmpro-submit-card p { max-width: 530px; margin-bottom: 0; color: var(--fz-muted); line-height: 1.55; }
.fz-pmpro-submit-card small { grid-column: 1 / -1; color: rgba(255, 255, 255, 0.35); line-height: 1.5; }

.fz-pmpro-summary {
  position: sticky;
  top: 25px;
  border: 1px solid var(--fz-line);
  padding: 31px;
  background: rgba(12, 12, 14, 0.94);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.fz-pmpro-summary > span,
.fz-billing-card > span,
.fz-confirmation-aside > span {
  color: var(--fz-accent);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fz-pmpro-summary h2,
.fz-billing-card h2 {
  margin: 23px 0 10px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3rem;
  line-height: 0.94;
  text-transform: uppercase;
}

.fz-pmpro-summary > p { color: var(--fz-muted); line-height: 1.55; }
.fz-pmpro-summary > div { display: flex; flex-direction: column; gap: 7px; margin: 25px 0; border-block: 1px solid var(--fz-line); padding: 20px 0; }
.fz-pmpro-summary small { color: rgba(255, 255, 255, 0.38); font-size: 0.54rem; text-transform: uppercase; }
.fz-pmpro-summary ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.56); font-size: 0.66rem; }
.fz-pmpro-summary li::before { margin-right: 8px; color: #4fe09a; content: "✓"; }
.fz-pmpro-summary .fz-pmpro-help { margin: 26px 0 0; border-top: 1px solid var(--fz-line); padding-top: 20px; font-size: 0.62rem; }
.fz-pmpro-summary a { color: #fff; }

/* Confirmation states */
.fz-confirmation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  min-height: 830px;
  align-items: center;
  gap: 18px;
  padding-top: 120px;
  padding-bottom: 80px;
}

.fz-confirmation-card,
.fz-confirmation-aside,
.fz-billing-card {
  border: 1px solid var(--fz-line);
  padding: clamp(28px, 5vw, 60px);
  background: rgba(16, 16, 18, 0.94);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
}

.fz-confirmation-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(79, 224, 154, 0.38);
  border-radius: 50%;
  background: rgba(79, 224, 154, 0.09);
  color: #4fe09a;
  font-size: 1.5rem;
}

.fz-confirmation-page.is-pending .fz-confirmation-icon { border-color: rgba(255, 196, 79, 0.42); background: rgba(255, 196, 79, 0.08); color: #ffc44f; }
.fz-confirmation-page.is-failed .fz-confirmation-icon { border-color: rgba(255, 59, 31, 0.5); background: rgba(255, 59, 31, 0.08); color: var(--fz-accent); }
.fz-confirmation-page.is-cancelled .fz-confirmation-icon { border-color: var(--fz-line); background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.7); }
.fz-confirmation-card h1 { font-size: clamp(4.4rem, 8vw, 8rem); }
.fz-confirmation-card > p:not(.eyebrow) { max-width: 660px; margin: 24px 0 0; color: var(--fz-muted); line-height: 1.7; }

.fz-confirmation-order { display: grid; grid-template-columns: 1.2fr 1fr 0.6fr; gap: 1px; margin-top: 32px; border: 1px solid var(--fz-line); background: var(--fz-line); }
.fz-confirmation-order > span { display: flex; min-height: 92px; flex-direction: column; justify-content: space-between; gap: 8px; padding: 17px; background: #0b0b0c; }
.fz-confirmation-order small { color: rgba(255, 255, 255, 0.35); font-size: 0.49rem; letter-spacing: 0.1em; text-transform: uppercase; }
.fz-confirmation-order strong { font-size: 0.69rem; text-transform: uppercase; }
.fz-confirmation-actions { display: flex; align-items: center; gap: 24px; margin-top: 27px; }
.fz-confirmation-actions > a:not(.button) { color: rgba(255, 255, 255, 0.58); font-size: 0.63rem; text-transform: uppercase; }
.fz-confirmation-note { display: block; margin-top: 22px; color: rgba(255, 255, 255, 0.3); line-height: 1.5; }
.fz-confirmation-aside > ol { display: grid; margin: 27px 0 0; padding: 0; list-style: none; }
.fz-confirmation-aside li { display: grid; grid-template-columns: 32px 1fr; gap: 15px; border-top: 1px solid var(--fz-line); padding: 22px 0; }
.fz-confirmation-aside li > i { color: rgba(255, 255, 255, 0.28); font-size: 0.52rem; font-style: normal; }
.fz-confirmation-aside li.is-done > i { color: #4fe09a; }
.fz-confirmation-aside li div { display: flex; flex-direction: column; gap: 7px; }
.fz-confirmation-aside li strong { font-size: 0.68rem; text-transform: uppercase; }
.fz-confirmation-aside li small { color: rgba(255, 255, 255, 0.4); line-height: 1.5; }

/* Billing */
.fz-billing-layout { display: grid; grid-template-columns: 1fr 0.72fr; min-height: 830px; align-items: center; gap: 90px; padding-top: 120px; padding-bottom: 80px; }
.fz-billing-layout header > p:last-child { max-width: 560px; margin-top: 25px; color: var(--fz-muted); line-height: 1.7; }
.fz-billing-card { display: flex; min-height: 480px; flex-direction: column; }
.fz-billing-card > p { color: var(--fz-muted); line-height: 1.65; }
.fz-billing-card .button { margin-top: auto; }
.fz-billing-card > a:last-child { margin-top: 18px; color: rgba(255, 255, 255, 0.48); font-size: 0.62rem; }
.fz-billing-method { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 18px; margin: 25px 0; border-block: 1px solid var(--fz-line); padding: 24px 0; }
.fz-billing-method i { font-size: 1.4rem; font-style: normal; letter-spacing: 0.12em; }
.fz-billing-method span { display: flex; flex-direction: column; gap: 6px; }
.fz-billing-method strong { font-size: 0.72rem; text-transform: uppercase; }
.fz-billing-method small { color: rgba(255, 255, 255, 0.38); }

/* Live WordPress/PMPro page shell. */
body.fz-membership-flow .site-content { background: transparent; }
body.fz-membership-flow .site-content > .ast-container,
body.fz-membership-flow .site-content .site-main,
body.fz-membership-flow .site-content article { max-width: 1160px; margin-inline: auto; background: transparent; }
body.fz-membership-flow .entry-header { display: none; }
body.fz-membership-flow .entry-content { padding: 70px 20px 110px; color: #fff; }
body.fz-membership-flow .pmpro_message { border: 1px solid rgba(255, 59, 31, 0.45); border-radius: 0; padding: 16px 18px; background: rgba(255, 59, 31, 0.08); color: #fff; }
body.fz-membership-flow .pmpro_message.pmpro_success { border-color: rgba(79, 224, 154, 0.4); background: rgba(79, 224, 154, 0.08); }
body.fz-membership-flow .pmpro_hidden { display: none !important; }
body.fz-membership-flow .pmpro_actionlinks { color: var(--fz-muted); }
body.fz-membership-flow .pmpro_actionlinks a { color: #fff; }

/* PMPro + Stripe Elements (onsite payment mode). Stripe still tokenizes card data. */
body.fz-membership-flow #pmpro_payment_information_fields,
body.fz-membership-flow #pmpro_billing_address_fields,
body.fz-membership-flow #pmpro_tos_fields {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

body.fz-membership-flow #pmpro_payment_information_fields .pmpro_card,
body.fz-membership-flow #pmpro_billing_address_fields .pmpro_card,
body.fz-membership-flow #pmpro_tos_fields .pmpro_card {
  border-color: var(--fz-line);
}

body.fz-membership-flow .pmpro_checkout_gateway-stripe #AccountNumber,
body.fz-membership-flow .pmpro_checkout_gateway-stripe #CVV,
body.fz-membership-flow .pmpro_checkout_gateway-stripe #ExpirationMonth,
body.fz-membership-flow .pmpro_checkout_gateway-stripe #ExpirationYear,
body.fz-membership-flow .pmpro_checkout_gateway-stripe .StripeElement,
body.fz-membership-flow .pmpro_checkout_gateway-stripe .stripe-input {
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  padding: 15px;
  background: #080809;
  box-shadow: none;
  color: #fff;
}

body.fz-membership-flow .pmpro_checkout_gateway-stripe .StripeElement--focus {
  border-color: var(--fz-accent);
  box-shadow: 0 0 0 3px rgba(255,59,31,.12);
}

body.fz-membership-flow .pmpro_checkout_gateway-stripe .StripeElement--invalid {
  border-color: #ff6a55;
}

body.fz-membership-flow #pmpro_payment_information_fields iframe {
  color-scheme: dark;
}

/* Keep the required Terms control aligned across PMPro, iOS and desktop UA styles. */
body.fz-membership-flow #pmpro_tos_fields .pmpro_form_fields {
  margin: 0;
}

body.fz-membership-flow #pmpro_tos_fields .pmpro_form_field {
  display: block;
}

body.fz-membership-flow #pmpro_tos_fields label[for="tos"] {
  display: grid !important;
  width: 100%;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--fz-line);
  padding: 16px 18px;
  background: rgba(16, 16, 18, 0.94);
  color: rgba(255, 255, 255, 0.66);
  font-size: .58rem;
  line-height: 1.5;
  cursor: pointer;
}

body.fz-membership-flow #pmpro_tos_fields #tos {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  box-sizing: border-box !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  align-self: center;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  accent-color: var(--fz-accent);
}

body.fz-membership-flow #pmpro_tos_fields .fz-terms-copy {
  display: inline;
  min-width: 0;
}

body.fz-membership-flow #pmpro_tos_fields .fz-terms-copy a {
  color: var(--fz-accent);
  text-underline-offset: 3px;
}

/* Payment method selector. Stripe/PMPro still own tokenization and submission. */
body.fz-membership-flow .fz-payment-chooser {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--fz-line);
  padding-bottom: 26px;
}

body.fz-membership-flow .fz-payment-chooser-copy,
body.fz-membership-flow .fz-payment-panel-intro {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body.fz-membership-flow .fz-payment-chooser-copy > span {
  color: var(--fz-accent);
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

body.fz-membership-flow .fz-payment-chooser-copy > strong {
  color: #fff;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  letter-spacing: -.02em;
}

body.fz-membership-flow .fz-payment-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.fz-membership-flow .fz-payment-tab {
  display: grid;
  min-width: 0;
  min-height: 76px;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 0 !important;
  padding: 13px 15px !important;
  background: #09090a !important;
  color: #fff !important;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

body.fz-membership-flow .fz-payment-tab:hover,
body.fz-membership-flow .fz-payment-tab:focus-visible {
  border-color: rgba(255,255,255,.36) !important;
  outline: none;
}

body.fz-membership-flow .fz-payment-tab.is-active {
  border-color: var(--fz-accent) !important;
  background: linear-gradient(135deg, rgba(255,59,31,.16), #0c0c0e 62%) !important;
  box-shadow: 0 12px 32px rgba(255,59,31,.1);
}

body.fz-membership-flow .fz-payment-tab-icon {
  display: grid;
  width: 46px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

body.fz-membership-flow .fz-payment-tab > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

body.fz-membership-flow .fz-payment-tab strong {
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.fz-membership-flow .fz-payment-tab small {
  overflow: hidden;
  color: rgba(255,255,255,.43);
  font-size: .55rem;
  line-height: 1.35;
  text-overflow: ellipsis;
}

body.fz-membership-flow .fz-payment-panel[hidden],
body.fz-membership-flow .pmpro_form_submit[hidden],
body.fz-membership-flow .fz-payment-enhanced .pmpro_payment-request-button h3[hidden],
body.fz-membership-flow .fz-wallet-guard[hidden] {
  display: none !important;
}

body.fz-membership-flow .fz-payment-panel {
  min-width: 0;
}

body.fz-membership-flow .fz-payment-panel-intro {
  margin-bottom: 18px;
}

body.fz-membership-flow .fz-payment-panel-intro strong {
  color: #fff;
  font-size: .73rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.fz-membership-flow .fz-payment-panel-intro span,
body.fz-membership-flow .fz-wallet-status {
  margin: 0;
  color: rgba(255,255,255,.44);
  font-size: .59rem;
  line-height: 1.55;
}

body.fz-membership-flow .fz-payment-panel .pmpro_form_fields {
  margin: 0;
}

body.fz-membership-flow .fz-payment-panel .pmpro_payment-request-button {
  position: relative;
  margin: 0;
}

body.fz-membership-flow .fz-payment-panel .pmpro_payment-request-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: .3;
  filter: grayscale(1);
}

body.fz-membership-flow #payment-request-button {
  display: block;
  min-height: 44px;
}

body.fz-membership-flow .fz-wallet-guard {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  border: 1px solid rgba(255,196,79,.25);
  padding: 16px;
  background: rgba(255,196,79,.055);
}

body.fz-membership-flow .fz-wallet-guard-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,196,79,.34);
  color: #ffc44f;
  font-size: .55rem;
  font-weight: 900;
}

body.fz-membership-flow .fz-wallet-guard > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

body.fz-membership-flow .fz-wallet-guard strong {
  color: #fff;
  font-size: .61rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.fz-membership-flow .fz-wallet-guard > div span {
  color: rgba(255,255,255,.45);
  font-size: .55rem;
  line-height: 1.45;
}

body.fz-membership-flow .fz-wallet-guard button {
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.2) !important;
  padding: 0 14px !important;
  background: transparent !important;
  color: #fff !important;
  cursor: pointer;
  font-size: .51rem !important;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.fz-membership-flow .fz-wallet-status {
  margin-top: 12px;
}

body.fz-membership-flow .pmpro_payment-discount-code,
body.fz-membership-flow .pmpro_payment-account-number,
body.fz-membership-flow .pmpro_payment-expiration,
body.fz-membership-flow .pmpro_payment-cvv {
  min-width: 0;
}

body.fz-membership-flow table { width: 100%; border-collapse: collapse; color: #fff; }
body.fz-membership-flow th,
body.fz-membership-flow td { border-bottom: 1px solid var(--fz-line); padding: 16px 12px; text-align: left; }
body.fz-membership-flow th { color: rgba(255,255,255,.42); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; }
body.fz-membership-flow .pmpro_table,
body.fz-membership-flow .pmpro_table thead th,
body.fz-membership-flow .pmpro_table tbody th,
body.fz-membership-flow .pmpro_table tbody td,
body.fz-membership-flow .pmpro_table tfoot th,
body.fz-membership-flow .pmpro_table tfoot td {
  border-color: var(--fz-line) !important;
  background: #0b0b0c !important;
  color: #fff !important;
}
body.fz-membership-flow .pmpro_table tbody tr:nth-child(even) th,
body.fz-membership-flow .pmpro_table tbody tr:nth-child(even) td { background: #111113 !important; }
body.fz-membership-flow .pmpro_table a:not(.pmpro_btn) { color: #fff !important; text-underline-offset: 3px; }
body.fz-membership-flow .pmpro_level-current th,
body.fz-membership-flow .pmpro_level-current td { background: rgba(255,59,31,.1) !important; }

@media (max-width: 900px) {
  .fz-pmpro-hero,
  .fz-pmpro-layout,
  .fz-confirmation-layout,
  .fz-billing-layout { grid-template-columns: 1fr; }
  .fz-pmpro-hero { gap: 35px; }
  .fz-pmpro-summary { position: static; }
  .fz-confirmation-layout,
  .fz-billing-layout { gap: 18px; }
}

@media (max-width: 620px) {
  body.fz-membership-flow .fz-payment-tabs {
    grid-template-columns: 1fr;
  }

  body.fz-membership-flow .fz-payment-tab {
    min-height: 68px;
  }

  body.fz-membership-flow .fz-wallet-guard {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  body.fz-membership-flow .fz-wallet-guard button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .fz-pmpro-page > .announcement { height: 28px; padding-inline: 12px; font-size: 0.46rem; letter-spacing: 0.08em; white-space: nowrap; }
  .fz-pmpro-page > .prototype-nav { min-height: 76px; padding-top: 28px; }
  .fz-pmpro-hero { padding-top: 62px; padding-bottom: 30px; }
  .fz-pmpro-hero h1,
  .fz-billing-layout header h1 { font-size: clamp(3.3rem, 15vw, 4.5rem); }
  .fz-pmpro-hero > div > p:last-child { margin-top: 18px; font-size: 0.82rem; }
  .fz-pmpro-hero ol { width: 100%; }
  .fz-pmpro-hero li { min-width: 0; flex: 1; }
  .fz-pmpro-layout { padding-bottom: 85px; }
  .fz-pmpro-page .pmpro_card_content,
  body.fz-membership-flow .pmpro_card_content { padding: 23px 20px; }
  .fz-pmpro-page .pmpro_card_actions,
  body.fz-membership-flow .pmpro_card_actions { padding: 15px 20px; }
  .fz-pmpro-page .pmpro_cols-2,
  body.fz-membership-flow .pmpro_cols-2 { grid-template-columns: 1fr; }
  .fz-pmpro-page .pmpro_form_fields { gap: 14px; margin-top: 21px; }
  .fz-pmpro-page .pmpro_card_title,
  .fz-pmpro-page .pmpro_form_heading,
  .fz-pmpro-page .fz-pmpro-submit-card h2 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .fz-pmpro-discount .pmpro_form_fields-inline { grid-template-columns: 1fr; }
  body.fz-membership-flow .pmpro_form_fields-inline { grid-template-columns: 1fr; }
  .fz-pmpro-submit-card,
  body.fz-membership-flow .pmpro_form_submit { grid-template-columns: 1fr; padding: 23px 20px; }
  .fz-pmpro-submit-card .pmpro_btn { width: 100%; }
  .fz-pmpro-submit-card small { grid-column: auto; }
  .fz-pmpro-summary { padding: 24px 21px; }
  .fz-confirmation-layout,
  .fz-billing-layout { min-height: 0; padding-top: 105px; padding-bottom: 60px; }
  .fz-confirmation-card,
  .fz-confirmation-aside,
  .fz-billing-card { padding: 25px 21px; }
  .fz-confirmation-card h1 { font-size: clamp(3.55rem, 17vw, 5rem); }
  .fz-confirmation-order { grid-template-columns: 1fr; }
  .fz-confirmation-order > span { min-height: 74px; }
  .fz-confirmation-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .fz-confirmation-actions > a { text-align: center; }
  .fz-billing-card { min-height: 420px; }
  body.fz-membership-flow .entry-content { padding: 42px 14px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .fz-pmpro-page *,
  body.fz-membership-flow .pmpro * { scroll-behavior: auto !important; transition: none !important; }
}

/* Local hosted-payment preview. This screen does not ship payment logic. */
.secure-payment-preview {
  --stripe-ink: #15141a;
  min-height: 100svh;
  background: #f5f3ef;
  color: var(--stripe-ink);
}

.secure-payment-notice {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 18px;
  background: #15141a;
  color: rgba(255,255,255,.68);
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.secure-payment-notice span { color: #ff5b2e; }

.secure-payment-shell {
  display: grid;
  grid-template-columns: minmax(350px, .9fr) minmax(480px, 1.1fr);
  min-height: 100svh;
  padding-top: 32px;
}

.secure-payment-order {
  display: flex;
  min-height: calc(100svh - 32px);
  flex-direction: column;
  align-items: flex-end;
  padding: 54px clamp(48px, 7vw, 110px) 45px 35px;
  background:
    radial-gradient(circle at 85% 14%, rgba(255,91,46,.25), transparent 27%),
    linear-gradient(145deg,#151416,#080809 68%);
  color: #fff;
}

.secure-payment-order > * { width: min(100%, 430px); }
.secure-payment-brand { font-size: 1.05rem; font-weight: 950; letter-spacing: -.05em; }
.secure-payment-brand span,.secure-payment-mobile-brand span { color: #ff3b1f; }
.secure-payment-back { margin-top: 70px; color: rgba(255,255,255,.42); font-size: .59rem; text-transform: uppercase; }
.secure-payment-order > div { margin-top: auto; padding-top: 60px; }
.secure-payment-order > div p { margin: 0 0 13px; color: rgba(255,255,255,.45); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.secure-payment-order h1 { margin: 0; font-family: Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif; font-size: clamp(3.3rem,5vw,5.6rem); font-weight: 400; letter-spacing: -.04em; line-height: .88; text-transform: uppercase; }
.secure-payment-order > div > strong { display: block; margin-top: 26px; color: rgba(255,255,255,.8); font-size: .86rem; }
.secure-payment-order ul { margin: 42px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.13); list-style: none; }
.secure-payment-order li { display: grid; grid-template-columns: 95px 1fr; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.13); padding: 17px 0; }
.secure-payment-order li span { color: rgba(255,255,255,.36); font-size: .54rem; text-transform: uppercase; }
.secure-payment-order li b { color: rgba(255,255,255,.68); font-size: .61rem; font-weight: 600; line-height: 1.45; }
.secure-payment-order footer { margin-top: auto; padding-top: 45px; color: rgba(255,255,255,.28); font-size: .54rem; }
.secure-payment-order footer i { margin-right: 7px; color: #635bff; font-style: normal; }

.secure-payment-panel {
  width: min(100%, 620px);
  align-self: center;
  padding: 70px clamp(32px, 6vw, 95px);
}

.secure-payment-mobile-brand { display: none; }
.secure-payment-panel header .eyebrow { color: #ff3b1f; }
.secure-payment-panel header h2 { margin: 0; font-size: clamp(2rem,4vw,3rem); letter-spacing: -.045em; }
.secure-payment-panel header > p:last-child { margin: 12px 0 0; color: #77737d; font-size: .78rem; line-height: 1.55; }
.secure-payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
.secure-payment-methods button { display: flex; min-height: 58px; align-items: center; gap: 10px; border: 1px solid #d8d4db; border-radius: 8px; padding: 0 16px; background: #fff; color: #6d6872; cursor: pointer; font: inherit; font-size: .71rem; font-weight: 800; }
.secure-payment-methods button[aria-selected="true"] { border-color: #ff5b2e; box-shadow: 0 0 0 2px rgba(255,91,46,.13); color: #17151b; }
.secure-payment-methods button i { color: #ff3b1f; font-style: normal; }
.secure-payment-panel form { display: grid; margin-top: 24px; }
.secure-payment-panel form > label { margin: 16px 0 8px; color: #4d4952; font-size: .62rem; font-weight: 800; }
.secure-payment-panel input,.secure-payment-panel select { width: 100%; min-height: 50px; border: 1px solid #d7d3da; border-radius: 7px; padding: 0 13px; background: #fff; box-shadow: 0 1px 2px rgba(20,16,28,.04); color: #19171d; font: inherit; font-size: .78rem; outline: none; }
.secure-payment-panel input:focus,.secure-payment-panel select:focus { border-color: #ff5b2e; box-shadow: 0 0 0 3px rgba(255,91,46,.12); }
.secure-payment-card-fields { display: grid; grid-template-columns: 1fr 1fr; }
.secure-payment-card-fields input { border-radius: 0; }
.secure-payment-card-fields input:first-child { grid-column: 1/-1; border-radius: 7px 7px 0 0; }
.secure-payment-card-fields input:nth-child(2) { border-top: 0; border-radius: 0 0 0 7px; }
.secure-payment-card-fields input:last-child { border-top: 0; border-left: 0; border-radius: 0 0 7px 0; }
.secure-payment-wallet { display: flex; min-height: 270px; flex-direction: column; align-items: center; justify-content: center; margin-top: 16px; border: 1px solid #ddd9df; border-radius: 9px; padding: 35px; background: #fff; text-align: center; }
.secure-payment-wallet > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #111; color: #fff; font-size: 1.25rem; }
.secure-payment-wallet h3 { margin: 20px 0 8px; }
.secure-payment-wallet p { max-width: 360px; margin: 0; color: #77737d; font-size: .75rem; line-height: 1.55; }
.secure-payment-submit { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; border: 0; border-radius: 7px; padding: 0 18px; background: linear-gradient(105deg,#ff3b1f,#ff673e); box-shadow: 0 14px 32px rgba(255,59,31,.2); color: #fff; cursor: pointer; font: inherit; font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.secure-payment-submit:disabled { cursor: wait; opacity: .78; }
.secure-payment-spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.38); border-top-color: #fff; border-radius: 50%; animation: fz-payment-spin .75s linear infinite; }
.secure-payment-terms { margin: 13px auto 0; color: #96919b; font-size: .57rem; line-height: 1.5; text-align: center; }
.secure-payment-test-states { margin-top: 25px; border-top: 1px solid #dedbe1; padding-top: 17px; }
.secure-payment-test-states summary { color: #8b8790; cursor: pointer; font-size: .57rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.secure-payment-test-states > div { display: flex; justify-content: center; gap: 7px; margin-top: 13px; }
.secure-payment-test-states button { border: 1px solid #d8d4db; border-radius: 999px; padding: 7px 11px; background: transparent; color: #6e6973; cursor: pointer; font: inherit; font-size: .52rem; text-transform: uppercase; }

@keyframes fz-payment-spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .secure-payment-shell { grid-template-columns: 1fr; }
  .secure-payment-order { display: none; }
  .secure-payment-panel { width: min(100%,600px); justify-self: center; padding-top: 65px; }
  .secure-payment-mobile-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 45px; border-bottom: 1px solid #ddd9df; padding-bottom: 18px; }
  .secure-payment-mobile-brand a { font-weight: 950; letter-spacing: -.05em; }
  .secure-payment-mobile-brand small { color: #77737d; }
}

@media (max-width: 560px) {
  .secure-payment-notice { min-height: 38px; font-size: .45rem; }
  .secure-payment-shell { padding-top: 38px; }
  .secure-payment-panel { min-height: calc(100svh - 38px); padding: 25px 18px 42px; }
  .secure-payment-mobile-brand { margin-bottom: 28px; }
  .secure-payment-panel header h2 { font-size: 2rem; }
  .secure-payment-methods { margin-top: 21px; }
  .secure-payment-methods button { min-height: 52px; }
  .secure-payment-panel form { margin-top: 15px; }
  .secure-payment-wallet { min-height: 240px; }
}
