/* ══════════════════════════════════════════════════════════════════════
   My Account — loaded only on is_account_page() (inc/enqueue.php), after
   global.css.

   Markup: woocommerce/myaccount/* and template-parts/account/*.
   - .fpx-acct        logged-in shell (heading, sidebar nav, content column)
   - .fpx-auth        logged-out screens (login/register, lost/reset password)
   - .fpx-acct-order  View order / View subscription wrapper; the order cards
                      inside (overview strip, order details, addresses) are
                      the thank-you page styles in global.css, scoped to
                      :is(.fpx-thankyou, .fpx-acct-order).

   Form fields (inputs, selects, select2, labels, form-row widths) come from
   the shared checkout field rules in global.css ("Form rows / labels").

   Specificity: WooCommerce core floats the nav/content at (0,2,0) and styles
   buttons/tables at (0,2,1)–(0,3,1). Rules here start at
   `.woocommerce .fpx-acct …` (0,2,0)+ and add a class wherever they must
   beat a core rule of equal weight.

/* page CSS: the shortcode wrapper is made a flex row at ≥768px, which would
   put the notices wrapper beside the account shell. */
body.woocommerce-account .woocommerce:has(> .fpx-acct, > .fpx-auth) {
  display: block;
}
/* page CSS: `.woocommerce-form-row input { margin-top: .5rem }`. */
.woocommerce :is(.fpx-acct, .fpx-auth) .woocommerce-form-row input {
  margin-top: 0;
}

.fpx-acct,
.fpx-auth {
  --fpx-acct-radius: 16px;
  --fpx-acct-shadow: 0 10px 34px rgba(17, 24, 39, 0.07), 0 2px 6px rgba(17, 24, 39, 0.04);
  --fpx-acct-border: var(--color-border, #e5e7eb);
  --fpx-acct-muted: #6b7280;
  font-family: "Inter", sans-serif;
  color: var(--color-text, #1a1a1a);
}

/* ── Shell ─────────────────────────────────────────────────────────────── */
.woocommerce .fpx-acct {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-block: 12px 48px;
}

.woocommerce .fpx-acct .fpx-acct-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 28px;
}
.woocommerce .fpx-acct .fpx-acct-top__text {
  min-width: 0;
}
.woocommerce .fpx-acct .fpx-acct-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct .fpx-acct-crumbs a {
  color: var(--fpx-acct-muted);
  font-weight: 500;
  text-decoration: none;
}
.woocommerce .fpx-acct .fpx-acct-crumbs a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.woocommerce .fpx-acct .fpx-acct-crumbs svg {
  color: #c4c9d0;
}
.woocommerce .fpx-acct h1.fpx-acct-title {
  margin: 0;
  font-family: "Glory", sans-serif;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text, #1a1a1a);
  overflow-wrap: anywhere;
}

.woocommerce .fpx-acct .fpx-acct-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--fpx-acct-border);
  border-radius: 999px;
  background: #fff;
}
.woocommerce .fpx-acct .fpx-acct-user__avatar {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--brand-grad-soft), #fff;
  font-family: "Glory", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.woocommerce .fpx-acct .fpx-acct-user__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.woocommerce .fpx-acct .fpx-acct-user__label {
  font-size: 11.5px;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct .fpx-acct-user__name {
  max-width: 220px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.woocommerce .fpx-acct .fpx-acct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
@media (min-width: 960px) {
  .woocommerce .fpx-acct .fpx-acct-layout {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 32px;
  }
}

/* Core floats these to 30% / 68% (woocommerce-layout.css). */
.woocommerce .fpx-acct .woocommerce-MyAccount-navigation,
.woocommerce .fpx-acct .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
}

/* Every block in the content column is spaced by the column, not by itself. */
.woocommerce .fpx-acct .fpx-acct-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.woocommerce .fpx-acct .fpx-acct-main > * {
  margin-top: 0;
  margin-bottom: 0;
}
/* page CSS: `.woocommerce-MyAccount-content` card. */
.woocommerce .fpx-acct .fpx-acct-main:not(.fpx-acct-main--panel) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.woocommerce .fpx-acct .fpx-acct-main::before,
.woocommerce .fpx-acct .fpx-acct-main::after {
  content: none;
  display: none;
}
/* Endpoints without their own cards (downloads, add payment method, plugin
   endpoints) get one card around the whole column. */
.woocommerce .fpx-acct .fpx-acct-main.fpx-acct-main--panel {
  display: block;
  padding: 24px;
  border: 1px solid var(--fpx-acct-border);
  border-radius: var(--fpx-acct-radius);
  background: #fff;
  box-shadow: var(--fpx-acct-shadow);
}
.woocommerce .fpx-acct .fpx-acct-main--panel > * + * {
  margin-top: 16px;
}

/* ── Sidebar navigation ────────────────────────────────────────────────── */
.woocommerce .fpx-acct .fpx-acct-nav {
  padding: 8px;
  border: 1px solid var(--fpx-acct-border);
  border-radius: var(--fpx-acct-radius);
  background: #fff;
  box-shadow: var(--fpx-acct-shadow);
}
.woocommerce .fpx-acct ul.fpx-acct-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce .fpx-acct li.fpx-acct-nav__item {
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce .fpx-acct li.fpx-acct-nav__item::before {
  content: none;
}
.woocommerce .fpx-acct a.fpx-acct-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.woocommerce .fpx-acct a.fpx-acct-nav__link svg {
  flex: 0 0 auto;
  color: #9ca3af;
  transition: color 0.15s ease;
}
.woocommerce .fpx-acct a.fpx-acct-nav__link:hover {
  background: #f3f4f6;
  color: var(--color-text, #1a1a1a);
}
.woocommerce .fpx-acct a.fpx-acct-nav__link:hover svg {
  color: var(--brand-deep);
}
.woocommerce .fpx-acct a.fpx-acct-nav__link:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
}
.woocommerce .fpx-acct li.fpx-acct-nav__item.is-active a.fpx-acct-nav__link {
  background: var(--brand-grad-soft), #fff;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.woocommerce .fpx-acct li.fpx-acct-nav__item.is-active a.fpx-acct-nav__link svg {
  color: var(--brand-deep);
}
.woocommerce .fpx-acct li.fpx-acct-nav__item--logout {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--fpx-acct-border);
}
.woocommerce .fpx-acct li.fpx-acct-nav__item--logout a.fpx-acct-nav__link:hover {
  background: #fef2f2;
  color: #b91c1c;
}
.woocommerce .fpx-acct li.fpx-acct-nav__item--logout a.fpx-acct-nav__link:hover svg {
  color: #dc2626;
}

@media (min-width: 960px) {
  .woocommerce .fpx-acct .fpx-acct-side {
    position: sticky;
    top: 100px;
  }
}

/* Phones / tablets: one scrolling row of tabs. */
@media (max-width: 959px) {
  .woocommerce .fpx-acct .fpx-acct-nav {
    margin: 0 -16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .woocommerce .fpx-acct ul.fpx-acct-nav__list {
    flex-direction: row;
    gap: 8px;
    padding: 2px 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .woocommerce .fpx-acct ul.fpx-acct-nav__list::-webkit-scrollbar {
    display: none;
  }
  .woocommerce .fpx-acct li.fpx-acct-nav__item {
    flex: 0 0 auto;
  }
  .woocommerce .fpx-acct li.fpx-acct-nav__item--logout {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .woocommerce .fpx-acct a.fpx-acct-nav__link {
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--fpx-acct-border);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    white-space: nowrap;
  }
  .woocommerce .fpx-acct li.fpx-acct-nav__item.is-active a.fpx-acct-nav__link {
    border-color: var(--brand-deep);
    background: var(--brand-deep);
    color: #fff;
  }
  .woocommerce .fpx-acct li.fpx-acct-nav__item.is-active a.fpx-acct-nav__link svg {
    color: #fff;
  }
}

/* ── Cards, headings, text ─────────────────────────────────────────────── */
.woocommerce .fpx-acct .fpx-acct-card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--fpx-acct-border);
  border-radius: var(--fpx-acct-radius);
  background: #fff;
  box-shadow: var(--fpx-acct-shadow);
}
.woocommerce .fpx-acct .fpx-acct-card.fpx-acct-card--flush {
  padding: 0;
  overflow: hidden;
}
.woocommerce .fpx-acct .fpx-acct-card__head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--fpx-acct-border);
}
.woocommerce .fpx-acct :is(h2, p).fpx-acct-section-title {
  margin: 0;
  font-family: "Glory", sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-text, #1a1a1a);
}
.woocommerce .fpx-acct p.fpx-acct-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}
.woocommerce .fpx-acct .fpx-acct-muted {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct .fpx-acct-total {
  font-weight: 600;
  color: var(--color-text, #1a1a1a);
  font-variant-numeric: tabular-nums;
}
.woocommerce .fpx-acct .fpx-acct-total .subscription-details,
.woocommerce .fpx-acct .fpx-acct-total small {
  font-weight: 400;
  color: var(--fpx-acct-muted);
}

/* ── Status pills ──────────────────────────────────────────────────────── */
.fpx-acct .fpx-acct-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  background: #f3f4f6;
  color: #4b5563;
}
.fpx-acct .fpx-acct-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.fpx-acct .fpx-acct-pill--success {
  background: #ecfdf3;
  color: #047857;
}
.fpx-acct .fpx-acct-pill--info {
  background: var(--brand-grad-soft), #fff;
  color: var(--color-primary-dark);
}
.fpx-acct .fpx-acct-pill--warning {
  background: #fffbeb;
  color: #b45309;
}
.fpx-acct .fpx-acct-pill--danger {
  background: #fef2f2;
  color: #b91c1c;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
/* !important on background / colour / padding / radius / weight / border:
   see "page CSS" in the header. */
/* Row / inline actions: compact outline pills. */
.woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 7px 14px !important;
  border: 1px solid var(--fpx-acct-border) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600 !important;
  line-height: 1.3;
  text-transform: none !important;
  letter-spacing: normal;
  color: var(--color-primary-dark) !important;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button:hover {
  border-color: var(--brand-deep) !important;
  background: var(--brand-grad-soft), #fff !important;
  color: var(--color-primary-dark) !important;
  opacity: 1;
}
.woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button:focus-visible {
  outline: 3px solid rgba(20, 141, 159, 0.35);
  outline-offset: 2px;
}
/* Pay / renew: the one action that needs doing. */
.woocommerce .fpx-acct :is(a, button).button:is(.pay, .subscription_renewal_early) {
  border-color: var(--brand-deep) !important;
  background: var(--brand-grad) !important;
  color: #fff !important;
}
.woocommerce .fpx-acct :is(a, button).button:is(.pay, .subscription_renewal_early):hover {
  background: var(--brand-grad) !important;
  filter: brightness(1.06);
  color: #fff !important;
}
/* Destructive. */
.woocommerce .fpx-acct :is(a, button).button:is(.cancel, .delete) {
  color: #b91c1c !important;
}
.woocommerce .fpx-acct :is(a, button).button:is(.cancel, .delete):hover {
  border-color: #fca5a5 !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
}

/* Primary call to action. */
.woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button.fpx-acct-btn {
  gap: 8px;
  padding: 12px 26px !important;
  border: 0 !important;
  background: var(--brand-grad) !important;
  box-shadow: 0 10px 22px rgba(20, 141, 159, 0.22);
  font-size: 15px;
  line-height: 1.2;
  color: #fff !important;
}
.woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button.fpx-acct-btn:hover {
  background: var(--brand-grad) !important;
  box-shadow: 0 12px 28px rgba(20, 141, 159, 0.34);
  color: #fff !important;
  transform: translateY(-1px);
}
.woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button.fpx-acct-btn.fpx-acct-btn--ghost {
  border: 1px solid var(--fpx-acct-border) !important;
  background: #fff !important;
  box-shadow: none;
  color: var(--color-primary-dark) !important;
}
.woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button.fpx-acct-btn.fpx-acct-btn--ghost:hover {
  border-color: var(--brand-deep) !important;
  background: var(--brand-grad-soft), #fff !important;
  color: var(--color-primary-dark) !important;
  transform: none;
}
.woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button.fpx-acct-btn--block {
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .woocommerce :is(.fpx-acct, .fpx-auth) :is(a, button).button.fpx-acct-btn:hover {
    transform: none;
  }
}

.woocommerce .fpx-acct .fpx-acct-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

/* ── Tables (orders, subscriptions, related, payment methods, downloads) ─ */
.woocommerce .fpx-acct table.shop_table.fpx-acct-table,
.woocommerce .fpx-acct .fpx-acct-main--panel table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table thead th,
.woocommerce .fpx-acct .fpx-acct-main--panel table.shop_table thead th {
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--fpx-acct-border);
  background: #f9fafb;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table tbody :is(td, th),
.woocommerce .fpx-acct .fpx-acct-main--panel table.shop_table tbody :is(td, th) {
  padding: 16px;
  border: 0;
  border-top: 1px solid var(--fpx-acct-border);
  background: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
  color: #374151;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table tbody tr:first-child :is(td, th) {
  border-top: 0;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table :is(th, td):first-child {
  padding-left: 24px;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table :is(th, td):last-child {
  padding-right: 24px;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table tbody tr {
  transition: background-color 0.15s ease;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table tbody tr:hover {
  background: #fafbfb;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table .order-number a,
.woocommerce .fpx-acct table.shop_table.fpx-acct-table .subscription-id a {
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table .order-number a:hover,
.woocommerce .fpx-acct table.shop_table.fpx-acct-table .subscription-id a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table :is(td, th).order-actions {
  text-align: right;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table td.order-actions .button + .button {
  margin-left: 8px;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-table td.order-actions .fpx-acct-actions .button + .button {
  margin-left: 0;
}

/* Phones: each row becomes a mini card (core's shop_table_responsive hides
   the thead and prints data-title labels via ::before at ≤768px). */
@media (max-width: 768px) {
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody tr {
    display: block;
    margin: 0;
    padding: 14px 18px;
    border: 0;
    border-top: 1px solid var(--fpx-acct-border);
    border-radius: 0;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody tr:first-child {
    border-top: 0;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody tr:nth-child(2n) :is(td, th) {
    background: none;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th),
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th):first-child,
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th):last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    border: 0;
    text-align: right;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th)::before {
    flex: 0 0 auto;
    float: none;
    text-transform: none;
    letter-spacing: normal;
    font-size: 13px;
    font-weight: 500;
    color: var(--fpx-acct-muted);
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th).order-total,
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody td.payment-method-method {
    flex-wrap: wrap;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th).order-total .fpx-acct-total {
    margin-left: auto;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th).order-total .fpx-acct-muted {
    flex: 0 0 auto;
  }
  /* Core's orders table names the cell `…__cell-order-actions` (no bare
     `order-actions` class); WCS tables have both. */
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th):is(.order-actions, .woocommerce-orders-table__cell-order-actions, .payment-method-actions) {
    display: block;
    padding-top: 12px;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table tbody :is(td, th):is(.order-actions, .woocommerce-orders-table__cell-order-actions, .payment-method-actions)::before {
    content: none;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table .fpx-acct-actions {
    justify-content: stretch;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table .fpx-acct-actions .button,
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table td.order-actions > .button {
    flex: 1 1 0;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table td.order-actions > .button {
    display: flex;
    width: 100%;
  }
  .woocommerce .fpx-acct table.shop_table_responsive.fpx-acct-table td.order-actions > .button + .button {
    margin: 8px 0 0;
  }
}

.woocommerce .fpx-acct .fpx-acct-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.woocommerce .fpx-acct .fpx-acct-pager .woocommerce-button--next {
  margin-left: auto;
}

/* ── Empty states ──────────────────────────────────────────────────────── */
.woocommerce .fpx-acct .fpx-acct-card.fpx-acct-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 24px;
  text-align: center;
}
.woocommerce .fpx-acct .fpx-acct-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--brand-grad-soft), #fff;
  color: var(--brand-deep);
}
.woocommerce .fpx-acct p.fpx-acct-empty__text {
  max-width: 28rem;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #374151;
}

/* ── Dashboard ─────────────────────────────────────────────────────────── */
.woocommerce .fpx-acct .fpx-acct-welcome {
  border-top: 3px solid var(--brand-deep);
}
.woocommerce .fpx-acct h2.fpx-acct-welcome__title {
  margin: 0 0 10px;
  font-family: "Glory", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text, #1a1a1a);
}
.woocommerce .fpx-acct .fpx-acct-welcome__text,
.woocommerce .fpx-acct .fpx-acct-welcome__text p {
  max-width: 44rem;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
}
.woocommerce .fpx-acct .fpx-acct-welcome__text p + p {
  margin-top: 10px;
}
.woocommerce .fpx-acct :is(.fpx-acct-welcome__text, .fpx-acct-welcome__switch) a {
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-decoration-color: rgba(20, 141, 159, 0.35);
  text-underline-offset: 3px;
}
.woocommerce .fpx-acct :is(.fpx-acct-welcome__text, .fpx-acct-welcome__switch) a:hover {
  text-decoration-color: currentColor;
}
.woocommerce .fpx-acct p.fpx-acct-welcome__switch {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--fpx-acct-border);
  font-size: 13.5px;
  color: var(--fpx-acct-muted);
}

.woocommerce .fpx-acct .fpx-acct-quick {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
@media (min-width: 640px) {
  .woocommerce .fpx-acct .fpx-acct-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .woocommerce .fpx-acct .fpx-acct-quick.fpx-acct-quick--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.woocommerce .fpx-acct a.fpx-acct-quick__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--fpx-acct-border);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}
.woocommerce .fpx-acct a.fpx-acct-quick__card:hover {
  border-color: rgba(20, 141, 159, 0.45);
  box-shadow: 0 8px 22px rgba(20, 141, 159, 0.1);
}
.woocommerce .fpx-acct a.fpx-acct-quick__card:focus-visible {
  outline: 3px solid rgba(20, 141, 159, 0.35);
  outline-offset: 2px;
}
.woocommerce .fpx-acct .fpx-acct-quick__icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-grad-soft), #fff;
  color: var(--brand-deep);
}
.woocommerce .fpx-acct .fpx-acct-quick__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.woocommerce .fpx-acct .fpx-acct-quick__title {
  font-family: "Glory", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text, #1a1a1a);
}
.woocommerce .fpx-acct .fpx-acct-quick__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct .fpx-acct-quick__arrow {
  align-self: center;
  color: #c4c9d0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.woocommerce .fpx-acct a.fpx-acct-quick__card:hover .fpx-acct-quick__arrow {
  color: var(--color-primary-dark);
  transform: translateX(2px);
}

/* ── View order / View subscription ────────────────────────────────────── */
.woocommerce .fpx-acct .fpx-acct-order {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* The shared card rules set their own bottom margins; the column's gap
   handles spacing here. */
.woocommerce .fpx-acct .fpx-acct-order > :is(ul, section, div, p, table) {
  margin: 0;
}
.woocommerce .fpx-acct .fpx-acct-order > .clear {
  display: none;
}
.woocommerce .fpx-acct .fpx-acct-order ul.fpx-ty-overview li strong.fpx-ty-value .fpx-acct-pill {
  font-size: 12.5px;
  vertical-align: 1px;
}
/* Phones: status + total share a row; the long values (date, payment
   method) get full-width rows instead of wrapping in half a column. */
@media (max-width: 767px) {
  .woocommerce .fpx-acct .fpx-acct-order ul.fpx-ty-overview li.total {
    order: 1;
    grid-column: auto;
  }
  .woocommerce .fpx-acct .fpx-acct-order ul.fpx-ty-overview li:is(.date, .method) {
    order: 2;
    grid-column: 1 / -1;
  }
  .woocommerce .fpx-acct .fpx-acct-order ul.fpx-ty-overview li.method {
    order: 3;
  }
}
@media (min-width: 768px) {
  .woocommerce .fpx-acct .fpx-acct-order ul.fpx-ty-overview.fpx-acct-overview--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.woocommerce .fpx-acct .fpx-acct-order ul.fpx-ty-overview li.total .fpx-ty-value .subscription-details {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fpx-acct-muted);
}

/* Order / subscription updates: a vertical timeline. */
.woocommerce .fpx-acct .fpx-acct-updates {
  padding: 20px 24px;
}
.woocommerce .fpx-acct ol.fpx-acct-timeline {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.woocommerce .fpx-acct ol.fpx-acct-timeline li.note {
  position: relative;
  margin: 0;
  padding: 0 0 18px 26px;
  border: 0;
  list-style: none;
}
.woocommerce .fpx-acct ol.fpx-acct-timeline li.note::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--brand-deep);
  border-radius: 999px;
  background: #fff;
}
.woocommerce .fpx-acct ol.fpx-acct-timeline li.note:first-child::before {
  background: var(--brand-deep);
}
.woocommerce .fpx-acct ol.fpx-acct-timeline li.note::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 2px;
  left: 5px;
  width: 1px;
  background: var(--fpx-acct-border);
}
.woocommerce .fpx-acct ol.fpx-acct-timeline li.note:last-child {
  padding-bottom: 0;
}
.woocommerce .fpx-acct ol.fpx-acct-timeline li.note:last-child::after {
  content: none;
}
.woocommerce .fpx-acct ol.fpx-acct-timeline :is(.comment_container, .comment-text) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.woocommerce .fpx-acct ol.fpx-acct-timeline p.meta {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct ol.fpx-acct-timeline .description,
.woocommerce .fpx-acct ol.fpx-acct-timeline .description p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}
.woocommerce .fpx-acct ol.fpx-acct-timeline .description p + p {
  margin-top: 6px;
}

/* Subscription details: label / value rows. */
.woocommerce .fpx-acct .fpx-acct-subdetails {
  padding: 20px 24px 12px;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  border: 0;
  border-radius: 0;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl tbody {
  display: block;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl tr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--fpx-acct-border);
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl tr:first-child {
  border-top: 0;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl :is(td, th) {
  padding: 0;
  border: 0;
  background: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl :is(td, th):first-child {
  font-weight: 500;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl :is(td, th):last-child {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 600;
  text-align: right;
  color: var(--color-text, #1a1a1a);
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl tr.fpx-acct-dl__actions {
  margin-top: 4px;
  padding-top: 16px;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl tr.fpx-acct-dl__actions td:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl tr.fpx-acct-dl__actions td:last-child {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 8px;
  text-align: left;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl .wcs-auto-renew-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.woocommerce .fpx-acct table.shop_table.fpx-acct-dl .subscription-auto-renew-toggle-disabled-note {
  max-width: 18rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fpx-acct-muted);
}

/* Related orders (View subscription) / related subscriptions + "Order
   again" (View order). The last two print inside the order details card via
   woocommerce_order_details_after_order_table, so there they drop their own
   card chrome and sit as a section of that card. */
.woocommerce .fpx-acct .fpx-od .fpx-acct-related {
  margin: 0 24px 24px;
  border-radius: 12px;
  box-shadow: none;
}
.woocommerce .fpx-acct .fpx-od p.order-again {
  margin: 0;
  padding: 0 24px 24px;
}
.woocommerce .fpx-acct .fpx-od p.order-again a.button {
  border: 0 !important;
  background: var(--brand-grad) !important;
  box-shadow: 0 8px 18px rgba(20, 141, 159, 0.2);
  padding: 10px 22px !important;
  font-size: 14px;
  color: #fff !important;
}
.woocommerce .fpx-acct .fpx-od p.order-again a.button:hover {
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(20, 141, 159, 0.32);
}
.woocommerce .fpx-acct .fpx-acct-related .fpx-acct-card__head {
  padding: 14px 20px;
  background: #f9fafb;
}
.woocommerce .fpx-acct .fpx-od .fpx-acct-related .fpx-acct-section-title {
  font-size: 1.0625rem;
}
@media (max-width: 640px) {
  .woocommerce .fpx-acct .fpx-od .fpx-acct-related {
    margin: 0 18px 20px;
  }
  .woocommerce .fpx-acct .fpx-od p.order-again {
    padding: 0 18px 20px;
  }
}
/* page CSS: `.woocommerce-MyAccount-content table.shop_table th` uppercases
   every th, including the order cards' totals labels. */
.woocommerce .fpx-acct .fpx-acct-order table.shop_table th {
  text-transform: none;
  letter-spacing: normal;
}
/* Remove-item "×" on subscription totals. */
.woocommerce .fpx-acct table.fpx-od-table td.remove_item {
  flex: 0 0 auto;
  order: -1;
}
.woocommerce .fpx-acct table.fpx-od-table td.remove_item a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 16px;
  line-height: 1;
  color: #6b7280 !important;
}
.woocommerce .fpx-acct table.fpx-od-table td.remove_item a.remove:hover {
  background: #fef2f2;
  color: #b91c1c !important;
}

/* ── Addresses ─────────────────────────────────────────────────────────── */
.woocommerce .fpx-acct .fpx-acct-addresses {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  margin: 0;
}
.woocommerce .fpx-acct .fpx-acct-addresses::before,
.woocommerce .fpx-acct .fpx-acct-addresses::after {
  content: none;
  display: none;
}
@media (min-width: 640px) {
  .woocommerce .fpx-acct .fpx-acct-addresses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.woocommerce .fpx-acct .fpx-acct-addresses .woocommerce-Address.fpx-acct-address {
  display: flex;
  flex-direction: column;
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 22px 24px 24px;
  border: 1px solid var(--fpx-acct-border);
  border-radius: var(--fpx-acct-radius);
  background: #fff;
  box-shadow: var(--fpx-acct-shadow);
}
.woocommerce .fpx-acct header.fpx-acct-address__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.woocommerce .fpx-acct header.fpx-acct-address__head::before,
.woocommerce .fpx-acct header.fpx-acct-address__head::after {
  content: none;
}
.woocommerce .fpx-acct .fpx-acct-address__icon,
.woocommerce .fpx-acct .fpx-acct-form__icon {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-grad-soft), #fff;
  color: var(--brand-deep);
}
.woocommerce .fpx-acct h2.fpx-acct-address__title {
  margin: 0;
  font-family: "Glory", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text, #1a1a1a);
}
.woocommerce .fpx-acct address.fpx-acct-address__body {
  flex: 1 1 auto;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  font-size: 14.5px;
  font-style: normal;
  line-height: 1.65;
  color: #374151;
  overflow-wrap: anywhere;
}
.woocommerce .fpx-acct .fpx-acct-address--empty address.fpx-acct-address__body {
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct .fpx-acct-address a.button.edit {
  align-self: flex-start;
  padding: 9px 18px !important;
  font-size: 14px;
}

/* ── Forms (edit address, account details) ─────────────────────────────── */
.woocommerce .fpx-acct form.fpx-acct-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}
.woocommerce .fpx-acct .fpx-acct-form__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--fpx-acct-border);
}
.woocommerce .fpx-acct .fpx-acct-form__head .fpx-acct-muted {
  margin-top: 3px;
}
.woocommerce .fpx-acct .fpx-acct-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}
.woocommerce .fpx-acct .fpx-acct-fields::before,
.woocommerce .fpx-acct .fpx-acct-fields::after {
  content: none;
  display: none;
}
.woocommerce .fpx-acct .fpx-acct-fields > *:not(.form-row) {
  flex: 1 1 100%;
}
.woocommerce .fpx-acct form .fpx-acct-fields .form-row:last-child {
  margin-bottom: 0 !important;
}
.woocommerce .fpx-acct fieldset.fpx-acct-card {
  min-width: 0;
  margin: 0;
}
.woocommerce .fpx-acct .fpx-acct-hint {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.45;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-acct .fpx-acct-formbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 20px;
}
.woocommerce .fpx-acct .fpx-acct-formbar.fpx-acct-formbar--start {
  justify-content: flex-start;
}
.woocommerce .fpx-acct a.fpx-acct-formbar__cancel {
  font-size: 14px;
  font-weight: 600;
  color: var(--fpx-acct-muted);
  text-decoration: none;
}
.woocommerce .fpx-acct a.fpx-acct-formbar__cancel:hover {
  color: var(--color-text, #1a1a1a);
}
@media (max-width: 640px) {
  .woocommerce .fpx-acct .fpx-acct-formbar {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .woocommerce .fpx-acct .fpx-acct-formbar :is(a, button).button.fpx-acct-btn {
    width: 100%;
  }
  .woocommerce .fpx-acct a.fpx-acct-formbar__cancel {
    text-align: center;
  }
}
/* Checkbox rows added by plugins (e.g. WC Subscriptions' "update the address
   on all subscriptions") inside the account forms. */
/* Block, not flex: the label text is mixed inline content (text + <strong>
   + <span class="optional">) that flex would split into gapped items. */
.woocommerce .fpx-acct .fpx-acct-form .form-row label.checkbox {
  display: block;
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
  color: #374151;
}
.woocommerce .fpx-acct .fpx-acct-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand-deep);
}
.woocommerce .fpx-acct .fpx-acct-form .form-row label.checkbox input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
}

/* ── Payment methods ───────────────────────────────────────────────────── */
.woocommerce .fpx-acct .fpx-acct-pm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-text, #1a1a1a);
}
.woocommerce .fpx-acct .fpx-acct-pm svg {
  color: var(--brand-deep);
}
.woocommerce .fpx-acct table.fpx-acct-table td.payment-method-method .fpx-acct-pill {
  margin-left: 8px;
}
.woocommerce .fpx-acct table.fpx-acct-table td.payment-method-actions {
  text-align: right;
}

/* Add payment method (panel card). Core paints #payment lilac-grey. */
.woocommerce .fpx-acct #add_payment_method #payment {
  padding: 0;
  border-radius: 0;
  background: none;
}
.woocommerce .fpx-acct #add_payment_method #payment ul.payment_methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.woocommerce .fpx-acct #add_payment_method #payment ul.payment_methods::before,
.woocommerce .fpx-acct #add_payment_method #payment ul.payment_methods::after {
  content: none;
}
.woocommerce .fpx-acct #add_payment_method #payment ul.payment_methods li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--fpx-acct-border);
  border-radius: 12px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}
.woocommerce .fpx-acct #add_payment_method #payment ul.payment_methods li:has(> input:checked) {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(20, 141, 159, 0.1);
}
.woocommerce .fpx-acct #add_payment_method #payment ul.payment_methods li > input {
  margin: 0 8px 0 0;
  accent-color: var(--brand-deep);
}
.woocommerce .fpx-acct #add_payment_method #payment ul.payment_methods li img {
  max-height: 24px;
  margin: 0 0 0 6px;
  vertical-align: middle;
}
.woocommerce .fpx-acct #add_payment_method #payment div.payment_box {
  margin: 12px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f9fafb;
  font-size: 14px;
  color: #374151;
}
.woocommerce .fpx-acct #add_payment_method #payment div.payment_box::before {
  content: none;
}
.woocommerce .fpx-acct #add_payment_method #payment .form-row {
  margin: 0;
  padding: 0;
}
.woocommerce .fpx-acct #add_payment_method #payment button#place_order {
  float: none;
  padding: 12px 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--brand-grad) !important;
  box-shadow: 0 10px 22px rgba(20, 141, 159, 0.22);
  font-size: 15px;
  color: #fff !important;
}

/* Downloads (panel card): core's "No downloads" notice inside the panel. */
.woocommerce .fpx-acct .fpx-acct-main--panel > .woocommerce-info,
.woocommerce .fpx-acct .fpx-acct-main--panel > .woocommerce-Message {
  margin: 0;
}

/* ── Logged-out screens ────────────────────────────────────────────────── */
.woocommerce .fpx-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding-block: 24px 56px;
}
.woocommerce .fpx-auth.fpx-auth--split {
  max-width: 960px;
}
@media (min-width: 820px) {
  .woocommerce .fpx-auth.fpx-auth--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
  }
}
.woocommerce .fpx-auth section.fpx-auth__card {
  padding: 32px;
  border: 1px solid var(--fpx-acct-border);
  border-top: 3px solid var(--brand-deep);
  border-radius: var(--fpx-acct-radius);
  background: #fff;
  box-shadow: var(--fpx-acct-shadow);
}
.woocommerce .fpx-auth section.fpx-auth__card.fpx-auth__card--alt {
  border-top-color: var(--fpx-acct-border);
  background: #fbfcfc;
  box-shadow: none;
}
@media (max-width: 480px) {
  .woocommerce .fpx-auth section.fpx-auth__card {
    padding: 24px 20px;
  }
}
.woocommerce .fpx-auth header.fpx-auth__head {
  margin: 0 0 22px;
}
.woocommerce .fpx-auth .fpx-auth__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 14px;
  border-radius: 14px;
  background: var(--brand-grad-soft), #fff;
  color: var(--brand-deep);
}
.woocommerce .fpx-auth :is(h1, h2).fpx-auth__title {
  margin: 0;
  font-family: "Glory", sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text, #1a1a1a);
}
.woocommerce .fpx-auth p.fpx-auth__text {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4b5563;
}
.woocommerce .fpx-auth form.fpx-auth__form > p.fpx-auth__text {
  margin: 0 0 20px;
}
/* Core boxes form.login / form.register (border, padding, 2em margin). */
.woocommerce .fpx-auth form.fpx-auth__form {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: left;
}
.woocommerce .fpx-auth form.fpx-auth__form .form-row-first,
.woocommerce .fpx-auth form.fpx-auth__form .form-row-last {
  flex: none;
  float: none;
  width: 100% !important;
}
.woocommerce .fpx-auth form.fpx-auth__form .clear {
  display: none;
}
.woocommerce .fpx-auth .fpx-auth__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 4px 0 22px;
}
.woocommerce .fpx-auth label.woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}
.woocommerce .fpx-auth label.woocommerce-form-login__rememberme input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--brand-deep);
}
.woocommerce .fpx-auth p.lost_password {
  margin: 0;
}
.woocommerce .fpx-auth :is(p.lost_password, p.fpx-auth__back) a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
}
.woocommerce .fpx-auth :is(p.lost_password, p.fpx-auth__back) a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.woocommerce .fpx-auth p.fpx-auth__note {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--brand-grad-soft), #fff;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-primary-dark);
}
/* Privacy-policy text hooked into woocommerce_register_form. */
.woocommerce .fpx-auth .woocommerce-privacy-policy-text,
.woocommerce .fpx-auth .woocommerce-privacy-policy-text p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fpx-acct-muted);
}
.woocommerce .fpx-auth .woocommerce-privacy-policy-text a {
  color: var(--color-primary-dark);
}
.woocommerce .fpx-auth p.fpx-auth__back {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--fpx-acct-border);
}
.woocommerce .fpx-auth form.fpx-auth__form .form-row:has(> button) {
  margin: 8px 0 0 !important;
}
