/* =========================================================================
   Museum of Arcadia — Account suite (Phase 5)

   /my-account/  + sub-endpoints:
     /my-account/edit-account/         (My Profile)
     /my-account/change-password/      (My Password)
     /my-account/orders/               (My Orders)
     /my-account/edit-address/         (My Addresses)
     /my-account/subscriptions/        (My Subscriptions, custom endpoint)
     /my-account/lost-password/        (Forgot password)

   Layout pattern: vertical sidebar nav on desktop, collapsible accordion
   on mobile. Body content varies per screen.
   ========================================================================= */


/* =========================================================================
   PAGE WRAPPER
   ========================================================================= */

.page-account {
  background: var(--moa-white);
}

/* Kadence parent nav — we render .account-nav in my-account.php */
body.page-account .woocommerce-MyAccount-navigation {
  display: none !important;
}

body.page-account .woocommerce-MyAccount-content {
  width: 100%;
  float: none;
  max-width: none;
}

.account {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--s-7) var(--container-pad-d) var(--s-9);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-8);
  align-items: start;
}

.account__sidebar {
  position: sticky;
  top: var(--s-5);
}

.account__main {
  min-width: 0;
}

.account__title {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  font-weight: 500;
  font-size: var(--fs-page-title);
  line-height: var(--lh-tight);
  color: var(--moa-black);
  margin-bottom: var(--s-6);
}


/* =========================================================================
   SIDEBAR NAVIGATION
   ========================================================================= */

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-nav__item {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-button);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--moa-muted);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--moa-rule);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-standard);
}

.account-nav__item:hover {
  color: var(--moa-black);
}

.account-nav__item.is-active {
  color: var(--moa-black);
  font-weight: 500;
}

.account-nav__toggle {
  display: none;
  /* mobile-only */
}


/* =========================================================================
   WELCOME PANEL  (Dashboard intro)
   ========================================================================= */

.welcome-panel {
  background: var(--moa-panel-form, #f9f9f9);
  padding: var(--s-7);
  margin-bottom: var(--s-6);
}

.welcome-panel__greeting {
  font-family: var(--font-sans);
  font-size: var(--fs-section);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--moa-black);
  margin: 0 0 var(--s-3);
}

.welcome-panel__body {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--moa-black);
  margin: 0 0 var(--s-2);
}

.welcome-panel__body:last-child {
  margin-bottom: 0;
}

.account-dashboard-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.account-dashboard-links__item {
  display: block;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--moa-rule);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--t-fast) var(--ease-standard);
}

.account-dashboard-links__item:hover {
  opacity: 0.7;
}

.account-dashboard-links__label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-button);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--moa-black);
  margin-bottom: var(--s-2);
}

.account-dashboard-links__text {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--moa-muted-2);
}


/* =========================================================================
   FORM SECTION HEADINGS  (in profile / password / addresses)
   ========================================================================= */

.account-section {
  max-width: 720px;
}

.account-section+.account-section {
  margin-top: var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid var(--moa-rule);
}

.account-section__heading {
  font-family: var(--font-sans);
  font-size: var(--fs-card-title);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--moa-black);
  margin: 0 0 var(--s-5);
}

.account-section__hint {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--moa-muted-2);
  line-height: var(--lh-body);
  margin: 0 0 var(--s-5);
}

.account-section__warning {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--moa-error);
  line-height: var(--lh-body);
  margin: 0 0 var(--s-5);
}


/* =========================================================================
   DOB triplet (day / month / year)
   ========================================================================= */

.field--dob .field-dob-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: var(--s-3);
}


/* =========================================================================
   ORDERS LIST
   ========================================================================= */

.orders-empty {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--moa-muted-2);
  padding: var(--s-7) 0;
  text-align: center;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.order-card {
  background: var(--moa-panel);
  padding: var(--s-6);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: start;
}

.order-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.order-card__label {
  font-family: var(--font-sans);
  font-size: var(--fs-tiny);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--moa-muted-2);
}

.order-card__number {
  font-family: var(--font-sans);
  font-size: var(--fs-card-title);
  letter-spacing: var(--ls-caps-tight);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--moa-black);
}

.order-card__row {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  color: var(--moa-black);
}

.order-card__row strong {
  font-family: var(--font-sans);
  font-size: var(--fs-tiny);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 500;
  margin-right: var(--s-2);
}

.order-card__status {
  font-family: var(--font-sans);
  font-size: var(--fs-tiny);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--moa-black);
  display: inline-block;
}

.order-card__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: stretch;
  min-width: 160px;
}


/* =========================================================================
   ADDRESS CARDS  (Main + Secondary)
   ========================================================================= */

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}

.address-card {
  background: var(--moa-panel);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.address-card__label {
  font-family: var(--font-sans);
  font-size: var(--fs-tiny);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--moa-muted-2);
}

.address-card__title {
  font-family: var(--font-sans);
  font-size: var(--fs-card-title);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--moa-black);
  margin: 0;
}

.address-card__body {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--moa-black);
  margin: 0;
}

.address-card__make-default {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--moa-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.address-card__actions {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.address-card__actions .btn {
  flex: 1;
}

.address-card--empty {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--moa-muted-2);
  border: 1px dashed var(--moa-rule-strong);
  background: transparent;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}


/* =========================================================================
   SUBSCRIPTIONS — toggle list
   ========================================================================= */

.subs-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--moa-rule);
}

.subs-row:last-child {
  border-bottom: none;
}

.subs-row__title {
  font-family: var(--font-sans);
  font-size: var(--fs-tiny);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--moa-black);
  margin: 0 0 var(--s-2);
}

.subs-row__body {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  color: var(--moa-muted-2);
  line-height: var(--lh-body);
  margin: 0;
}

/* iOS-style toggle */
.subs-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}

.subs-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.subs-toggle__track {
  position: absolute;
  inset: 0;
  background: var(--moa-rule-strong);
  border-radius: 999px;
  transition: background var(--t-fast) var(--ease-standard);
}

.subs-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--moa-white);
  border-radius: 50%;
  transition: transform var(--t-fast) var(--ease-standard);
}

.subs-toggle input:checked~.subs-toggle__track {
  background: var(--moa-black);
}

.subs-toggle input:checked~.subs-toggle__thumb {
  transform: translateX(20px);
}

.subs-toggle input:focus-visible~.subs-toggle__track {
  box-shadow: 0 0 0 2px var(--moa-white), 0 0 0 4px var(--moa-black);
}


/* =========================================================================
   AUTH PAGE  (login + create account, lost-password)
   When the user is logged out, /my-account/ shows the auth panel instead
   of the sidebar layout.
   ========================================================================= */

.auth {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--s-9) var(--container-pad-d) var(--s-10);
}

.auth__title {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  font-weight: 500;
  font-size: var(--fs-page-title);
  text-align: center;
  margin-bottom: var(--s-6);
}

.auth-tabs {
  display: flex;
  gap: var(--s-7);
  border-bottom: 1px solid var(--moa-rule);
  margin-bottom: var(--s-6);
  justify-content: center;
}

.auth-tab {
  font-family: var(--font-sans);
  font-size: var(--fs-button);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  white-space: nowrap;
  background: none;
  border: none;
  padding: var(--s-3) 0;
  cursor: pointer;
  color: var(--moa-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast) var(--ease-standard),
    border-color var(--t-fast) var(--ease-standard);
}

.auth-tab--active {
  color: var(--moa-black);
  border-bottom-color: var(--moa-black);
}

.auth__panel {
  display: none;
}

.auth__panel--active {
  display: block;
}

.auth__intro {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--moa-muted-2);
  text-align: center;
  margin-bottom: var(--s-5);
}

.auth__footer {
  margin-top: var(--s-5);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--moa-muted-2);
}


/* =========================================================================
   ACTIVATION SUCCESS
   ========================================================================= */

.activation {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--s-9) var(--container-pad-d);
  text-align: center;
}

.activation__title {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  font-weight: 500;
  font-size: var(--fs-page-title);
  margin-bottom: var(--s-5);
}

.activation__body {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--moa-black);
  margin-bottom: var(--s-7);
}


/* =========================================================================
   MOBILE
   ========================================================================= */

@media (max-width: 1024px) {
  .account {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    padding: var(--s-6) var(--container-pad-m) var(--s-8);
  }

  .account__sidebar {
    position: static;
  }

  .account-nav {
    border-top: 1px solid var(--moa-rule);
    border-bottom: 1px solid var(--moa-rule);
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--t-base) var(--ease-standard);
  }

  .account-nav.is-open {
    max-height: 600px;
  }

  .account-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--moa-black);
    padding: var(--s-4) 0;
    cursor: pointer;
    color: var(--moa-black);
    font-family: var(--font-sans);
    font-size: var(--fs-button);
    letter-spacing: var(--ls-caps);
    text-transform: uppercase;
    font-weight: 500;
  }

  .account-nav__toggle-chevron {
    width: 12px;
    height: 8px;
    transition: transform var(--t-base) var(--ease-standard);
  }

  .account-nav__toggle[aria-expanded="true"] .account-nav__toggle-chevron {
    transform: rotate(180deg);
  }
}

@media (max-width: 768px) {
  .address-grid {
    grid-template-columns: 1fr;
  }

  .order-card {
    grid-template-columns: 1fr;
  }

  .order-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .auth {
    padding: var(--s-7) var(--container-pad-m);
  }
}


/* =========================================================================
   AUTH — sign-in / forgot-password inline view toggle
   ========================================================================= */

.auth__view {
  display: none;
}

.auth__view--active {
  display: block;
}

.auth__heading {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: var(--s-3);
}

.auth__back {
  margin-top: var(--s-4);
  text-align: center;
}

.auth__privacy {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  font-style: italic;
  line-height: 1.5;
  color: var(--moa-muted-2);
  margin: var(--s-5) 0 var(--s-4);
}

.auth__remember {
  margin-top: var(--s-3);
}

/* The "Forgot your password?" inline button sits in the field's label row,
   right-aligned where field__hint normally sits. It must not look like a
   button, just a small caps link. */
.field__hint-action {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--moa-black);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field__hint-action:hover {
  opacity: 0.7;
}


/* =========================================================================
   PASSWORD REQUIREMENTS (registration + change-password)
   2-column grid of small bullet-style items below a password field.
   ========================================================================= */

.password-requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-1) var(--s-4);
  margin: var(--s-2) 0 var(--s-4);
  padding: 0;
  list-style: none;
}

.password-requirements li {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--moa-muted-2);
  position: relative;
  padding-left: var(--s-3);
}

.password-requirements li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--moa-muted-2);
}

.password-requirements li.is-met {
  color: var(--moa-black);
  font-style: normal;
}

.password-requirements li.is-unmet {
  color: var(--moa-error, #b00020);
}

@media (max-width: 600px) {
  .password-requirements {
    grid-template-columns: 1fr;
  }
}


/* =========================================================================
   DOB — three side-by-side selects (Day / Month / Year)
   ========================================================================= */

.field--dob {
  border: none;
  padding: 0;
  margin: 0 0 var(--s-4);
}

.field--dob .field__label {
  display: block;
  margin-bottom: var(--s-2);
}

.dob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-3);
}


/* =========================================================================
   PROFILE / ADDRESS — extra blocks (note, privacy, action row)
   ========================================================================= */

.field__note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--moa-muted-2);
  margin: var(--s-2) 0 0;
}

.account-section__privacy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--moa-muted-2);
  margin: var(--s-5) 0 var(--s-3);
}

.account-section__success {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  text-align: center;
  margin: var(--s-5) 0;
  color: var(--moa-black);
}

/* Cancel + Save side-by-side action row, used on My Password and
   form-edit-address. Buttons share the row at equal widths up to a
   reasonable max so they don't stretch to full container width. */
.account-actions {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
  flex-wrap: wrap;
}

.account-actions .btn {
  flex: 1;
  min-width: 140px;
}


/* =========================================================================
   ADDRESS CARD — extras: header layout, sub label, default badge
   ========================================================================= */

.address-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-2);
}

.address-card__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--moa-muted-2);
}

.address-card__badge {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: var(--fs-tiny);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--moa-white);
  background: var(--moa-black);
  padding: 4px 10px;
}

.address-card__body span {
  display: block;
}

.address-card__empty-text {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--moa-muted-2);
  margin: var(--s-3) 0;
}


/* =========================================================================
   ORDERS — gallery cards (image + title + price + description + dimensions)
   ========================================================================= */

.orders-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  margin-top: var(--s-5);
}

.orders-gallery__item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-5);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--moa-rule);
}

.orders-gallery__item:last-child {
  border-bottom: none;
}

.orders-gallery__media {
  background: var(--moa-panel);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.orders-gallery__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.orders-gallery__image--placeholder {
  width: 100%;
  height: 100%;
  background: var(--moa-panel);
}

.orders-gallery__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.orders-gallery__title {
  font-family: var(--font-sans);
  font-size: var(--fs-card-title);
  font-weight: 700;
  letter-spacing: var(--ls-caps-tight);
  text-transform: uppercase;
  margin: 0;
}

.orders-gallery__price {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}

.orders-gallery__description {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: var(--lh-body);
}

.orders-gallery__dimensions {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  color: var(--moa-muted-2);
}

.orders-gallery__dimensions p {
  margin: 0;
}

.orders-gallery__dimensions strong {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  letter-spacing: var(--ls-caps-tight);
  text-transform: uppercase;
  color: var(--moa-black);
  margin-bottom: var(--s-1);
}

.orders-gallery__total {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  font-size: var(--fs-small);
  text-align: center;
  margin-top: var(--s-6);
  color: var(--moa-muted-2);
}

@media (max-width: 600px) {
  .orders-gallery__item {
    grid-template-columns: 130px 1fr;
    gap: var(--s-4);
  }
}


/* =========================================================================
   NEWSLETTER (My Subscriptions) — two-state panel
   ========================================================================= */

.newsletter-panel {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-top: var(--s-5);
}

.newsletter-panel__heading {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
}

.newsletter-panel__body {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: var(--lh-body);
  margin: 0 0 var(--s-3);
}

.newsletter-panel__view {
  display: none;
}

.newsletter-panel[data-newsletter-state="unsubscribed"] .newsletter-panel__view--unsubscribed,
.newsletter-panel[data-newsletter-state="subscribed"] .newsletter-panel__view--subscribed {
  display: block;
}

.newsletter-panel__error {
  color: var(--moa-error, #b00020);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-small);
  margin: 0 0 var(--s-3);
}

.newsletter-panel__success {
  border: 1px solid var(--moa-black);
  padding: var(--s-4) var(--s-5);
}

.newsletter-panel__success-heading {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 var(--s-2);
}

.newsletter-panel__status {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin: 0 0 var(--s-4);
}

.newsletter-panel__confirm {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--moa-rule);
}

.newsletter-panel__confirm p {
  font-family: var(--font-serif);
  font-style: italic;
  margin: 0 0 var(--s-3);
}


/* =========================================================================
   MISC FIXES
   ========================================================================= */

/* FIX 2 — WC's rememberme checkbox: hidden in markup but suppress WC output too */
.woocommerce-form-login__rememberme {
  display: none !important;
}

/* FIX 7 — City + Zip Code always side-by-side inside the 2-col address grid */
.field--city-zip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}

/* FIX 8 — State hidden by default; shown via JS when country === US */
.field--state {
  display: none;
}

.field--state.is-visible {
  display: block;
}

/* FIX 9 — Newsletter subscription checkboxes each in their own block */
.field--checkbox {
  display: block;
}

/* =========================================================================
   MY ACCOUNT AUTH - Figma login layout
   ========================================================================= */

body.page-account.page-auth main.page {
  background: var(--moa-white);
}

body.page-account.page-auth .auth {
  width: 100%;
  max-width: none;
  min-height: 728px;
  margin: 0;
  padding: 73px 16px 47px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 78px;
  box-sizing: border-box;
}

body.page-account.page-auth .auth__title {
  display: none;
}

body.page-account.page-auth .auth-tabs {
  width: 648px;
  max-width: calc(100vw - 32px);
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 49px;
}

body.page-account.page-auth .auth-tab {
  flex: 0 0 auto;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--moa-black);
  font-family: var(--font-sans);
  font-size: 1.3125rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

body.page-account.page-auth .auth-tab--active {
  border-bottom-color: var(--moa-black);
  font-weight: 500;
}

body.page-account.page-auth .auth__panel {
  display: none;
  width: 648px;
  max-width: calc(100vw - 32px);
  min-height: 360px;
  margin: 0;
  padding: 82px 0 54px;
  background: var(--moa-panel-form, #f9f9f9);
  box-sizing: border-box;
}

body.page-account.page-auth .auth__panel--active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

body.page-account.page-auth .auth__view {
  width: 100%;
}

body.page-account.page-auth .auth__panel[data-auth-panel="signin"] .auth__view,
body.page-account.page-auth .auth__panel[data-auth-panel="signin"] .woocommerce-form-login {
  width: 270px;
  max-width: 100%;
  margin: 0 auto;
}

body.page-account.page-auth .auth__panel[data-auth-panel="register"] .auth__view,
body.page-account.page-auth .auth__panel[data-auth-panel="register"] .woocommerce-form-register {
  width: 420px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

body.page-account.page-auth .auth__intro {
  max-width: 100%;
  margin: 0 0 33px;
  color: var(--moa-black);
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0;
  text-align: center;
}

body.page-account.page-auth .auth__panel[data-auth-panel="signin"] .field {
  width: 270px;
  max-width: 100%;
  margin: 0 auto 25px;
}

body.page-account.page-auth .auth__panel .field__row {
  position: relative;
  min-height: 17px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

body.page-account.page-auth .auth__panel .field__label,
body.page-account.page-auth .auth__panel .field__hint,
body.page-account.page-auth .auth__panel .field__toggle,
body.page-account.page-auth .auth__panel .field__hint-action {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0;
  text-transform: none;
}

body.page-account.page-auth .auth__panel .field__label,
body.page-account.page-auth .auth__panel .field__hint,
body.page-account.page-auth .auth__panel .field__toggle {
  color: var(--moa-placeholder, #aea9a9);
}

body.page-account.page-auth .auth__panel .field__hint {
  width: 100%;
  margin: 0 0 8px;
  text-align: center;
}

body.page-account.page-auth .auth__panel .field__input,
body.page-account.page-auth .auth__panel .input-text {
  height: 19px;
  min-height: 0;
  padding: 0 54px 2px 0;
  border: 0;
  border-bottom: 1px solid var(--moa-black-figma, #000);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--moa-black);
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  line-height: 17px;
}

body.page-account.page-auth .auth__panel .field--has-toggle {
  margin-bottom: 35px;
}

body.page-account.page-auth .auth__panel .field__toggle {
  top: auto;
  right: 6px;
  bottom: 2px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: none;
}

body.page-account.page-auth .auth__panel .field__hint-action {
  position: absolute;
  top: 43px;
  left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--moa-black);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

body.page-account.page-auth .auth__panel .checkout-step__submit {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

body.page-account.page-auth .auth__panel .btn--primary,
body.page-account.page-auth .woocommerce-form-login .btn--primary,
body.page-account.page-auth .woocommerce-form-register .btn--primary {
  width: 64px;
  min-width: 64px;
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.625rem;
  line-height: 28px;
  letter-spacing: 0.02em;
}

body.page-account.page-auth .auth__privacy {
  width: 420px;
  max-width: 100%;
  margin: 0 auto 22px;
  color: var(--moa-black);
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-style: normal;
  line-height: 17px;
  text-align: center;
}

@media (max-width: 768px) {
  body.page-account.page-auth .auth {
    min-height: auto;
    padding: 48px 16px 56px;
    gap: 40px;
  }

  body.page-account.page-auth .auth-tabs {
    width: 100%;
    height: auto;
    gap: 24px;
  }

  body.page-account.page-auth .auth-tab {
    font-size: 1rem;
    line-height: 20px;
  }

  body.page-account.page-auth .auth__panel {
    width: 100%;
    min-height: 0;
    padding: 48px 24px;
  }

  body.page-account.page-auth .auth__panel[data-auth-panel="signin"] .auth__view,
  body.page-account.page-auth .auth__panel[data-auth-panel="signin"] .woocommerce-form-login {
    width: min(270px, 100%);
  }
}






























/* ---------- Full-width account auth canvas ---------- */
body.woocommerce-account #moa-auth {
  --moa-auth-black: #000000;
  --moa-auth-white: #ffffff;
  --moa-auth-panel: #f9f9f9;
  --moa-auth-muted: #aaa6a6;
  --moa-auth-rule: #c8c5c5;
  --moa-auth-serif: "EB Garamond", Garamond, Georgia, serif;
  --moa-auth-sans: Arial, Helvetica, sans-serif;

  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  padding: 38px 16px 90px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 54px;
  overflow: visible;
  background: var(--moa-auth-white);
  color: var(--moa-auth-black);
}

body.woocommerce-account #moa-auth,
body.woocommerce-account #moa-auth *,
body.woocommerce-account #moa-auth *::before,
body.woocommerce-account #moa-auth *::after {
  box-sizing: border-box;
}

body.woocommerce-account #moa-auth .auth__title {
  display: none !important;
}

/* ---------- Tabs ---------- */
body.woocommerce-account #moa-auth .auth-tabs {
  width: min(850px, calc(100vw - 32px));
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  background: transparent;
}

body.woocommerce-account #moa-auth .auth-tab {
  appearance: none;
  flex: 0 0 auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

body.woocommerce-account #moa-auth .auth-tab:hover,
body.woocommerce-account #moa-auth .auth-tab:focus,
body.woocommerce-account #moa-auth .auth-tab:focus-visible {
  color: var(--moa-auth-black);
  background: transparent;
  outline: none;
}

body.woocommerce-account #moa-auth .auth-tab--active {
  border-bottom-color: var(--moa-auth-black);
}

/* ---------- Tab panels ---------- */
body.woocommerce-account #moa-auth .auth__panel {
  display: none;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-account #moa-auth .auth__panel--active {
  display: block;
}

/* ==========================================================================
   CREATE ACCOUNT — desktop Figma values
   Gray form: W 850 / H 1555 / padding T83 R216 B93 L216 / gap 36
   Inner content width = 418px
   ========================================================================== */

body.woocommerce-account #moa-auth .auth__panel--register,
body.woocommerce-account #moa-auth .moa-register-form {
  width: 850px;
  max-width: calc(100vw - 32px);
}

body.woocommerce-account #moa-auth .moa-register-form {
  min-height: 1555px;
  margin: 0 !important;
  padding: 83px 200px 93px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--moa-auth-panel) !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 36px;
}

body.woocommerce-account #moa-auth .auth__intro--register {
  width: 100%;
  margin: 0;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-serif);
  font-size: 18.2px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
}

/* ---------- Main field stack ---------- */
body.woocommerce-account #moa-auth .moa-register__content {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

body.woocommerce-account #moa-auth .moa-register__content>.field,
body.woocommerce-account #moa-auth .moa-register__content>.password-requirements-wrap {
  width: 100%;
  margin: 0;
}

body.woocommerce-account #moa-auth .field,
body.woocommerce-account #moa-auth fieldset.field {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
}

body.woocommerce-account #moa-auth .field__label,
body.woocommerce-account #moa-auth .field__hint,
body.woocommerce-account #moa-auth .field__toggle,
body.woocommerce-account #moa-auth .choice,
body.woocommerce-account #moa-auth .field__select {
  font-family: var(--moa-auth-serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

body.woocommerce-account #moa-auth .field__label {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--moa-auth-muted);
  font-size: 16px;
  line-height: 20px;
}

body.woocommerce-account #moa-auth .field__hint {
  margin: 0;
  padding: 0;
  color: var(--moa-auth-muted);
  font-size: 15px;
  line-height: 20px;
  text-align: right;
}

body.woocommerce-account #moa-auth .field__legend {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  white-space: normal;
}

/* ---------- Underline inputs ---------- */
body.woocommerce-account #moa-auth .moa-register-form .field__input,
body.woocommerce-account #moa-auth .moa-register-form input[type="text"],
body.woocommerce-account #moa-auth .moa-register-form input[type="email"],
body.woocommerce-account #moa-auth .moa-register-form input[type="password"] {
  appearance: none;
  display: block;
  width: 100%;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0 52px 2px 0;
  border: 0;
  border-bottom: 1px solid var(--moa-auth-black);
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
}

body.woocommerce-account #moa-auth .moa-register-form .field:not(.field--title):not(.field--dob)>.field__label {
  margin-bottom: 2px;
}

body.woocommerce-account #moa-auth .moa-register-form .field__input:focus,
body.woocommerce-account #moa-auth .moa-register-form input:focus,
body.woocommerce-account #moa-auth .moa-register-form select:focus {
  border-bottom-color: var(--moa-auth-black);
  outline: none;
  box-shadow: none;
}

/* ---------- Title radio row ---------- */
body.woocommerce-account #moa-auth .field--title {
  margin: 0;
}

body.woocommerce-account #moa-auth .choice-group--inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

body.woocommerce-account #moa-auth .choice--radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--moa-auth-black);
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
}

body.woocommerce-account #moa-auth .choice--radio input[type="radio"] {
  appearance: none;
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--moa-auth-black);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-account #moa-auth .choice--radio input[type="radio"]:checked {
  background: radial-gradient(circle, var(--moa-auth-black) 0 3px, transparent 3.5px);
}

/* ---------- DOB ---------- */
body.woocommerce-account #moa-auth .field--dob>.field__label {
  margin: 0 0 2px;
}

body.woocommerce-account #moa-auth .dob-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 0;
}

body.woocommerce-account #moa-auth .field__select {
  appearance: auto;
  width: 100%;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0 20px 2px 4px;
  border: 0;
  border-bottom: 1px solid var(--moa-auth-black);
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  color: var(--moa-auth-black);
  font-size: 16px;
  line-height: 20px;
}

body.woocommerce-account #moa-auth .dob-grid .field__select+.field__select {
  border-left: 1px solid var(--moa-auth-rule);
}

/* ---------- Password requirements before password inputs ---------- */
body.woocommerce-account #moa-auth .password-requirements-wrap {
  margin: 2px 0 0;
}

body.woocommerce-account #moa-auth .password-requirements__title {
  margin: 0 0 10px;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

body.woocommerce-account #moa-auth .password-requirements {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 14px;
}

body.woocommerce-account #moa-auth .password-requirements li {
  position: relative;
  margin: 0;
  padding: 0 0 0 12px;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-serif);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
}

body.woocommerce-account #moa-auth .password-requirements li::before {
  content: "•";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--moa-auth-black);
}

body.woocommerce-account #moa-auth .field--has-toggle .field__toggle {
  position: absolute;
  right: 5px;
  bottom: 2px;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--moa-auth-muted);
  font-size: 14px;
  line-height: 16px;
  cursor: pointer;
}

body.woocommerce-account #moa-auth .woocommerce-password-strength,
body.woocommerce-account #moa-auth .woocommerce-password-hint {
  display: none !important;
}

/* ---------- Registration bottom area ---------- */
body.woocommerce-account #moa-auth .moa-register__bottom {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.woocommerce-account #moa-auth .auth__privacy {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-serif);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

body.woocommerce-account #moa-auth .auth__privacy--trust {
  padding: 0 0 36px;
  border-bottom: 1px solid var(--moa-auth-rule);
}

body.woocommerce-account #moa-auth .auth__privacy--details {
  padding: 36px 0;
  border-bottom: 1px solid var(--moa-auth-rule);
}

body.woocommerce-account #moa-auth .auth__privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.woocommerce-account #moa-auth .moa-marketing-consent {
  width: 100%;
  margin: 30px 0 0 !important;
  padding: 0;
  display: grid;
  grid-template-columns: 14px 1fr !important;
  gap: 12px;
  align-items: start;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-serif);
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
}

body.woocommerce-account #moa-auth .moa-marketing-consent input[type="checkbox"] {
  appearance: none;
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid var(--moa-auth-black);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-account #moa-auth .moa-marketing-consent input[type="checkbox"]:checked {
  background:
    linear-gradient(45deg, transparent 43%, var(--moa-auth-white) 43% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 46%, var(--moa-auth-white) 46% 58%, transparent 58%),
    var(--moa-auth-black);
}

body.woocommerce-account #moa-auth .moa-register__bottom .checkout-step__submit {
  width: 100%;
  margin: 30px 0 0;
  padding: 0;
}

body.woocommerce-account #moa-auth .moa-register-form .btn--primary {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 32px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--moa-auth-black);
  border-radius: 0;
  background: var(--moa-auth-black);
  box-shadow: none;
  color: var(--moa-auth-white);
  font-family: var(--moa-auth-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

body.woocommerce-account #moa-auth .moa-register-form .btn--primary:hover,
body.woocommerce-account #moa-auth .moa-register-form .btn--primary:focus {
  background: var(--moa-auth-black);
  color: var(--moa-auth-white);
  opacity: 0.88;
}

/* ==========================================================================
   SIGN IN — kept separate so register styling cannot break it
   ========================================================================== */
body.woocommerce-account #moa-auth .auth__panel--signin {
  width: 648px;
  max-width: calc(100vw - 32px);
  min-height: 360px;
  padding: 82px 0 54px;
  background: var(--moa-auth-panel);
}

body.woocommerce-account #moa-auth .auth__panel--signin .auth__view,
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form,
body.woocommerce-account #moa-auth .auth__panel--signin .moa-forgot-form {
  width: 480px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

body.woocommerce-account #moa-auth .auth__panel--signin .auth__intro {
  margin: 5px 0 33px;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-serif);
  font-size: 19px;
  font-style: normal;
  line-height: 17px;
  text-align: center;
}

body.woocommerce-account #moa-auth .auth__panel--signin .field {
  position: relative;
  margin: 0 0 25px;
}

body.woocommerce-account #moa-auth .auth__panel--signin .field__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

body.woocommerce-account #moa-auth .auth__panel--signin .field__label,
body.woocommerce-account #moa-auth .auth__panel--signin .field__hint,
body.woocommerce-account #moa-auth .auth__panel--signin .field__toggle,
body.woocommerce-account #moa-auth .auth__panel--signin .field__hint-action {
  font-size: 14.5px;
  line-height: 18px;
}

body.woocommerce-account #moa-auth .auth__panel--signin .field__input {
  display: block;
  width: 100%;
  height: 20px;
  min-height: 20px;
  padding: 0 52px 2px 0;
  border: 0;
  border-bottom: 1px solid var(--moa-auth-black);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-account #moa-auth .auth__panel--signin .field__toggle {
  position: absolute;
  right: 5px;
  bottom: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-account #moa-auth .auth__panel--signin .field__hint-action {
  color: var(--moa-auth-black);
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.woocommerce-account #moa-auth .auth__panel--signin .checkout-step__submit {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

body.woocommerce-account #moa-auth .auth__panel--signin .btn--primary {
  width: auto;
  min-width: 64px;
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid var(--moa-auth-black);
  border-radius: 0;
  background: var(--moa-auth-black);
  color: var(--moa-auth-white);
  font-size: 10px;
  line-height: 26px;
  text-transform: uppercase;
}

body.woocommerce-account #moa-auth .auth__heading {
  margin: 0 0 18px;
  color: var(--moa-auth-black);
  font-family: var(--moa-auth-sans);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

body.woocommerce-account #moa-auth .auth__back {
  margin: 20px 0 0;
  text-align: center;
}

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 900px) {
  body.woocommerce-account #moa-auth {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.woocommerce-account #moa-auth .moa-register-form {
    width: min(850px, 100%);
    min-height: 0;
    padding: 70px clamp(42px, 12vw, 150px) 80px !important;
  }
}

/* ==========================================================================
   MOBILE — matches the supplied mobile frame
   ========================================================================== */
@media (max-width: 600px) {
  body.woocommerce-account #moa-auth {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 24px 0 56px;
    gap: 28px;
  }

  body.woocommerce-account #moa-auth .auth-tabs {
    width: 100%;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  body.woocommerce-account #moa-auth .auth-tab {
    justify-self: center;
    max-width: 145px;
    padding-bottom: 3px;
    font-size: 13px;
    line-height: 15px;
    white-space: normal;
    text-align: center;
  }

  body.woocommerce-account #moa-auth .auth__panel--register,
  body.woocommerce-account #moa-auth .moa-register-form {
    width: 100%;
    max-width: none;
  }

  body.woocommerce-account #moa-auth .moa-register-form {
    min-height: 0;
    padding: 42px 12px 24px !important;
    gap: 36px;
  }

  body.woocommerce-account #moa-auth .auth__intro--register {
    max-width: 280px;
    margin: 0 auto;
    font-size: 12.2px;
    line-height: 1.35;
    text-align: center;
  }

  body.woocommerce-account #moa-auth .moa-register__content {
    gap: 27px;
  }

  body.woocommerce-account #moa-auth .field__label,
  body.woocommerce-account #moa-auth .field__select,
  body.woocommerce-account #moa-auth .choice--radio,
  body.woocommerce-account #moa-auth .password-requirements__title {
    font-size: 14px;
  }

  body.woocommerce-account #moa-auth .field__hint {
    font-size: 12px;
  }

  body.woocommerce-account #moa-auth .choice-group--inline {
    gap: 18px;
  }

  body.woocommerce-account #moa-auth .choice--radio {
    gap: 6px;
  }

  body.woocommerce-account #moa-auth .password-requirements {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    row-gap: 8px;
  }

  body.woocommerce-account #moa-auth .password-requirements li {
    font-size: 12px;
    line-height: 15px;
  }

  body.woocommerce-account #moa-auth .auth__privacy {
    font-size: 13px;
    line-height: 1.25;
  }

  body.woocommerce-account #moa-auth .auth__privacy--trust {
    padding-bottom: 27px;
  }

  body.woocommerce-account #moa-auth .auth__privacy--details {
    padding: 27px 0;
  }

  body.woocommerce-account #moa-auth .moa-marketing-consent {
    margin-top: 24px;
    grid-template-columns: 12px 1fr;
    gap: 8px;
    font-size: 11px;
  }

  body.woocommerce-account #moa-auth .moa-marketing-consent input[type="checkbox"] {
    width: 12px;
    height: 12px;
    min-width: 12px;
  }

  body.woocommerce-account #moa-auth .moa-register__bottom .checkout-step__submit {
    margin-top: 24px;
  }

  body.woocommerce-account #moa-auth .moa-register-form .btn--primary {
    height: 29px;
    min-height: 29px;
    font-size: 9px;
  }

  body.woocommerce-account #moa-auth .auth__panel--signin {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 48px 24px;
  }
}

/* =========================================================
   ACCOUNT FORM → NEWSLETTER GAP FIX
   Paste at the very end of account.css
   ========================================================= */

body.woocommerce-account #moa-auth {
  padding-bottom: 32px !important;
  margin-bottom: 0 !important;
}

/* Theme/WooCommerce wrapper থেকে অতিরিক্ত gap এলে remove করবে */
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account main.page,
body.woocommerce-account .site-main {
  margin-bottom: 0 !important;
}

/* Mobile gap */
@media (max-width: 600px) {
  body.woocommerce-account #moa-auth {
    padding-bottom: 24px !important;
  }
}






/* Password field becomes the positioning container. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle {
  position: relative !important;
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 0 22px !important;
  box-sizing: border-box !important;
}

/* The old row must not become the positioning container,
   otherwise the forgot link cannot sit below the underline. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__row {
  position: static !important;
  width: 100% !important;
  min-height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;

  display: block !important;
}

/* Password label — top left. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #aea9a9 !important;
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 17px !important;
}

/* Password underline. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__input {
  display: block !important;
  width: 100% !important;
  height: 17px !important;
  min-height: 17px !important;
  margin: 0 !important;
  padding: 0 50px 1px 0 !important;

  border: 0 !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 !important;
  outline: 0 !important;

  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* Show — same row as Password, on the right. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__toggle {
  position: absolute !important;
  z-index: 3 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: auto !important;

  width: auto !important;
  min-width: 0 !important;
  height: 17px !important;
  min-height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #aea9a9 !important;
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 17px !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* Forgot your password? — Figma position:
   below the password underline and left aligned. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__hint-action {
  position: absolute !important;
  z-index: 3 !important;
  left: 0 !important;
  right: auto !important;
  top: auto !important;
  bottom: 0 !important;

  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  height: 17px !important;
  min-height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #000 !important;
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 17px !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

/* Figma spacing between the form content and Login button. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .checkout-step__submit {
  width: 100% !important;
  margin: 25px 0 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Exact Login button override.
   This intentionally beats the generic 40px / 16px .btn--primary rule. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .checkout-step__submit button.btn.btn--primary[name="login"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;

  background: #000 !important;
  box-shadow: none !important;
  color: #fff !important;

  font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

/* Prevent WooCommerce/theme hover from changing the Figma design. */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .checkout-step__submit button.btn.btn--primary[name="login"]:hover,
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .checkout-step__submit button.btn.btn--primary[name="login"]:focus {
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}




/* Email থেকে Password gap */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form>.field:first-of-type {
  margin: 0 0 39px !important;
}

/*
Password block 39px
+ blank gap 39px
+ Forgot Password 17px
= 95px
*/
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle {
  position: relative !important;
  width: 100% !important;
  height: 95px !important;
  min-height: 95px !important;

  /* Forgot Password থেকে Login button gap */
  margin: 0 0 49px !important;
  padding: 0 !important;
}

/* Password underline */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__input {
  position: absolute !important;
  left: 0 !important;
  top: 17px !important;

  width: 100% !important;
  height: 22px !important;
  padding: 0 45px 3px 0 !important;

  border: 0 !important;
  border-bottom: 1px solid #000 !important;
}

/* Forgot Password:
   39px password block + 39px gap = 78px */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__hint-action {
  position: absolute !important;
  left: 0 !important;
  top: 78px !important;
  right: auto !important;
  bottom: auto !important;

  height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 16px !important;
  line-height: 17px !important;

  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  white-space: nowrap !important;
}

/* Button wrapper — gap field margin থেকে আসবে */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .checkout-step__submit {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  justify-content: center !important;
}

/* Figma Login button */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .checkout-step__submit button.btn.btn--primary[name="login"] {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;

  height: 30px !important;
  min-height: 35px !important;
  max-height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: #000 !important;
  color: #fff !important;

  font-size: 13px !important;
  line-height: 1 !important;
}














/* ==========================================
   LOGIN LABELS — MOVE SLIGHTLY DOWN
   ========================================== */

/* Email Address label নিচে */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form>.field:first-of-type .field__label {
  top: 20px !important;
}

/* Password label নিচে */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__label {
  top: 40px !important;
}

/* Show text নিচে */
body.woocommerce-account #moa-auth .auth__panel--signin .moa-login-form .field--has-toggle .field__toggle {
  top: 20px !important;
}


@media (max-width: 600px) {

  /* Tabs */
  body.woocommerce-account #moa-auth .auth-tab {
    font-size: 14px !important;
    line-height: 15px !important;
    letter-spacing: 0 !important;
  }

  /* Intro text */
  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .auth__intro {
    font-family: "EB Garamond", Garamond, Georgia, serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 15px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
  }

  /* Email, Required field, Password and Show */
  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .moa-login-form
  .field__label,

  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .moa-login-form
  .field__hint,

  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .moa-login-form
  .field__toggle {
    font-family: "EB Garamond", Garamond, Georgia, serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 14px !important;
    letter-spacing: 0 !important;
  }

  /* Labels আগের মতো একটু নিচে থাকবে */
  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .moa-login-form
  > .field:first-of-type
  .field__label,

  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .moa-login-form
  .field--has-toggle
  .field__label,

  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .moa-login-form
  .field--has-toggle
  .field__toggle {
    top: 7px !important;
  }

  /* Forgot password */
  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .moa-login-form
  .field--has-toggle
  .field__hint-action {
    font-family: "EB Garamond", Garamond, Georgia, serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 15px !important;
    letter-spacing: 0 !important;
  }

  /* Login button text */
  body.woocommerce-account
  #moa-auth
  .auth__panel--signin
  .moa-login-form
  .checkout-step__submit
  button.btn.btn--primary[name="login"] {
    font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: 0.08em !important;
  }
}




/* =========================================================
   MY PROFILE — EMAIL CHANGE NOTE FIGMA TYPOGRAPHY
   ========================================================= */

body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.field__note {
  display: block !important;

  width: 368px !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 25.5px !important;
  letter-spacing: 0.002em !important;

  text-align: left !important;
  text-transform: none !important;
}

@media (max-width: 600px) {
  body.woocommerce-account.logged-in
  .woocommerce-EditAccountForm
  .field__note {
    width: 100% !important;
    font-size: 14px !important;
    line-height: 19px !important;
  }
}



/* =========================================================
   MY PROFILE — PRIVACY TEXT COMPLETE FIGMA FONT FIX
   EB Garamond Regular — No Italic
   Paste at the VERY END of account.css
   ========================================================= */

body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy {
  display: block !important;

  width: 720px !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  font-stretch: normal !important;

  line-height: 24px !important;
  letter-spacing: 0.001em !important;
  word-spacing: normal !important;

  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  text-indent: 0 !important;

  white-space: normal !important;
  box-sizing: border-box !important;
}


body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy *,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy span,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy strong,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy b,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy em,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy i {
  color: inherit !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  font-stretch: normal !important;

  line-height: inherit !important;
  letter-spacing: inherit !important;
  word-spacing: normal !important;

  text-transform: none !important;
}

/* Privacy Policy link */
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy a,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy .inline-link {
  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  font-stretch: normal !important;

  line-height: 24px !important;
  letter-spacing: 0.001em !important;
  word-spacing: normal !important;

  text-transform: none !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}


body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy a:hover,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy a:focus,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy a:active,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy .inline-link:hover,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy .inline-link:focus {
  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 24px !important;

  text-decoration: underline !important;
}


body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy::before,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy::after,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy *::before,
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm
.account-section__privacy *::after {
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

/* Tablet and mobile */
@media (max-width: 768px) {
  body.woocommerce-account.logged-in
  .woocommerce-EditAccountForm
  .account-section__privacy {
    width: 100% !important;
    max-width: 100% !important;

    font-family: "EB Garamond", Garamond, Georgia, serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 19px !important;
    letter-spacing: 0 !important;

    white-space: normal !important;
  }

  body.woocommerce-account.logged-in
  .woocommerce-EditAccountForm
  .account-section__privacy *,
  body.woocommerce-account.logged-in
  .woocommerce-EditAccountForm
  .account-section__privacy a,
  body.woocommerce-account.logged-in
  .woocommerce-EditAccountForm
  .account-section__privacy .inline-link {
    font-family: "EB Garamond", Garamond, Georgia, serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 19px !important;
    letter-spacing: 0 !important;
  }
}






/* =========================================================
   MY PROFILE — FIGMA TYPOGRAPHY FINAL FIX
   Labels: EB Garamond Regular 18.2px
   No italic / no synthesized italic
   Paste at the VERY END of account.css
   ========================================================= */

/* ---------------------------------------------------------
   FORM LABELS
   Title, Required field, First Name, Last Name,
   Date of Birth, Email Address
   --------------------------------------------------------- */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__label,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__hint,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
legend.field__label,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field--dob
legend {
  color: #aea9a9 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.2px !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  font-stretch: normal !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;

  line-height: 24px !important;
  letter-spacing: 0.004em !important;
  word-spacing: normal !important;

  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
}

/* Required field text alignment */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__hint {
  text-align: right !important;
}

/* Force every child element inside labels to normal style */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__label *,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__hint *,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
legend * {
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;
}

/* ---------------------------------------------------------
   TITLE RADIO LABELS
   Mr / Mrs / Miss
   --------------------------------------------------------- */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.choice,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.choice span {
  color: #000000 !important;

  font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: 24px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ---------------------------------------------------------
   INPUT VALUES
   John, Smith, Email
   --------------------------------------------------------- */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__input {
  color: #000000 !important;

  font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: 24px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Input placeholders */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__input::placeholder {
  color: #aea9a9 !important;
  opacity: 1 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.2px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: 24px !important;
  letter-spacing: 0.004em !important;
}

/* ---------------------------------------------------------
   DATE OF BIRTH
   Label: EB Garamond
   Values: Sweet Sans Pro
   --------------------------------------------------------- */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field--dob {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field--dob
.field__label,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field--dob
legend {
  display: block !important;
  margin: 0 0 4px !important;
  padding: 0 !important;

  color: #aea9a9 !important;
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.2px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: 24px !important;
  letter-spacing: 0.004em !important;
}

/* DOB container */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.dob-grid {
  width: 360.77px !important;
  max-width: 100% !important;

  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;

  border-bottom: 1px solid #000000 !important;
}

/* DOB selects */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.dob-grid
.field__select,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.dob-grid
select {
  width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;

  margin: 0 !important;
  padding: 0 28px 4px 6px !important;

  border: 0 !important;
  border-right: 1px solid #000000 !important;
  border-radius: 0 !important;
  outline: 0 !important;

  background-color: transparent !important;
  box-shadow: none !important;
  color: #000000 !important;

  font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: 24px !important;
  letter-spacing: 0 !important;
}

/* Last DOB select has no right divider */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.dob-grid
.field__select:last-child,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.dob-grid
select:last-child {
  border-right: 0 !important;
}

/* Select options */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.dob-grid
option {
  font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

/* ---------------------------------------------------------
   EMAIL CHANGE NOTE
   --------------------------------------------------------- */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.moa-profile-form__email-note,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__note {
  width: 368px !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;

  line-height: 24px !important;
  letter-spacing: 0.002em !important;

  text-align: left !important;
  text-transform: none !important;
}

/* ---------------------------------------------------------
   PRIVACY TEXT
   --------------------------------------------------------- */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy {
  width: 720px !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;

  line-height: 24px !important;
  letter-spacing: 0.001em !important;

  text-align: left !important;
  text-transform: none !important;
}

/* Privacy link */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy a,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy .inline-link {
  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: inherit !important;
  letter-spacing: inherit !important;

  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}

/* ---------------------------------------------------------
   MARKETING CONSENT
   --------------------------------------------------------- */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-ack,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-ack span {
  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: 24px !important;
  letter-spacing: 0.001em !important;
  text-transform: none !important;
}

/* ---------------------------------------------------------
   FORCE REMOVE ITALIC FROM THE ENTIRE PROFILE FORM
   --------------------------------------------------------- */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
em,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
i,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__label,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__hint,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.field__note,

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy {
  font-style: normal !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {
  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .field__label,

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .field__hint,

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .field--dob
  legend {
    font-size: 14px !important;
    line-height: 19px !important;
  }

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .field__input,

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .dob-grid
  .field__select {
    font-size: 14px !important;
    line-height: 19px !important;
  }

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .moa-profile-form__email-note,

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .field__note,

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .account-section__privacy,

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .account-section__privacy a,

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .checkout-ack,

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .checkout-ack span {
    width: 100% !important;
    max-width: 100% !important;

    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 19px !important;
    letter-spacing: 0 !important;
  }
}






/* =========================================================
   MY PROFILE — PRIVACY, MARKETING & SAVE BUTTON
   FINAL FIGMA FIX
   ========================================================= */

/* Wider elements যেন form width-এর বাইরে visible থাকে */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form,
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section {
  overflow: visible !important;
}

/* =========================================================
   PRIVACY TEXT
   Figma: EB Garamond Regular / 18.1px / 24px
   ========================================================= */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy {
  display: block !important;

  width: 720px !important;
  max-width: none !important;

  margin: 0 0 24px !important;
  padding: 0 !important;

  color: #000000 !important;
  background: transparent !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;

  line-height: 24px !important;
  letter-spacing: 0.001em !important;
  word-spacing: normal !important;

  text-align: left !important;
  text-transform: none !important;
  white-space: nowrap !important;

  box-sizing: border-box !important;
}

/* Privacy Policy link */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy a,
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy .inline-link {
  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: inherit !important;
  letter-spacing: inherit !important;

  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}

/* Privacy text-এর কোনো child italic হবে না */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy *,
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy em,
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.account-section__privacy i {
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;
}

/* =========================================================
   MARKETING CHECKBOX ROW
   ========================================================= */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-ack {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: 720px !important;
  max-width: none !important;

  margin: 0 0 24px !important;
  padding: 0 !important;
  gap: 16px !important;

  color: #000000 !important;
  background: transparent !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;

  line-height: 24px !important;
  letter-spacing: 0.001em !important;

  text-align: left !important;
  text-transform: none !important;
  white-space: nowrap !important;

  cursor: pointer !important;
  box-sizing: border-box !important;
}

/* Marketing text */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-ack span {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.1px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variation-settings: "ital" 0, "slnt" 0 !important;

  line-height: 24px !important;
  letter-spacing: 0.001em !important;

  white-space: nowrap !important;
}

/* Checkbox */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-ack input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;

  flex: 0 0 13px !important;

  width: 13px !important;
  min-width: 13px !important;
  max-width: 13px !important;

  height: 13px !important;
  min-height: 13px !important;
  max-height: 13px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;

  cursor: pointer !important;
  box-sizing: border-box !important;
}

/* Checked checkbox */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-ack input[type="checkbox"]:checked {
  position: relative !important;
  background: #000000 !important;
}

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-ack input[type="checkbox"]:checked::after {
  content: "" !important;

  position: absolute !important;
  left: 3px !important;
  top: 0px !important;

  width: 4px !important;
  height: 8px !important;

  border: solid #ffffff !important;
  border-width: 0 1px 1px 0 !important;

  transform: rotate(45deg) !important;
}

/* =========================================================
   SAVE BUTTON WRAPPER
   ========================================================= */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-step__submit {
  display: block !important;

  width: 360.77px !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  line-height: 1 !important;
  box-sizing: border-box !important;
}

/* =========================================================
   SAVE BUTTON
   Figma: full 360.77px width / 32px height
   Sweet Sans Pro Medium / 12.7px
   ========================================================= */

body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-step__submit
button.btn.btn--primary.btn--wide[name="save_account_details"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 360.77px !important;
  min-width: 360.77px !important;
  max-width: 360.77px !important;

  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;

  background: #000000 !important;
  box-shadow: none !important;
  color: #ffffff !important;

  font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
  font-size: 12.7px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-synthesis: none !important;

  line-height: 13px !important;
  letter-spacing: 0.0156em !important;

  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;

  cursor: pointer !important;
  box-sizing: border-box !important;
}

/* Hover / focus-এ design change হবে না */
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-step__submit
button.btn.btn--primary.btn--wide[name="save_account_details"]:hover,
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-step__submit
button.btn.btn--primary.btn--wide[name="save_account_details"]:focus,
body.woocommerce-account.logged-in
.moa-profile-page
.moa-profile-form
.checkout-step__submit
button.btn.btn--primary.btn--wide[name="save_account_details"]:active {
  border: 0 !important;
  background: #000000 !important;
  box-shadow: none !important;
  color: #ffffff !important;

  font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
  font-size: 12.7px !important;
  font-style: normal !important;
  font-weight: 500 !important;
}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 768px) {
  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .account-section__privacy,
  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .checkout-ack {
    width: 100% !important;
    max-width: 100% !important;

    font-family: "EB Garamond", Garamond, Georgia, serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 19px !important;
    letter-spacing: 0 !important;

    white-space: normal !important;
  }

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .checkout-ack span {
    font-family: "EB Garamond", Garamond, Georgia, serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 19px !important;

    white-space: normal !important;
  }

  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .checkout-step__submit,
  body.woocommerce-account.logged-in
  .moa-profile-page
  .moa-profile-form
  .checkout-step__submit
  button.btn.btn--primary.btn--wide[name="save_account_details"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}






/* =========================================================
   MOBILE ACCOUNT TOGGLE — MY ACCOUNT LABEL
   ========================================================= */

@media (max-width: 1024px) {

  body.woocommerce-account
  .account-nav__toggle
  .account-nav__toggle-text {
    display: inline-block !important;

    font-size: 0 !important;
    line-height: 0 !important;
  }

  body.woocommerce-account
  .account-nav__toggle
  .account-nav__toggle-text::after {
    content: "MY ACCOUNT" !important;

    display: inline-block !important;

    color: #000000 !important;
    font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 16px !important;
    letter-spacing: 0.08em !important;

    text-align: left !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }
}





/* =========================================================
   MY PASSWORD — REQUIREMENTS LIST EXACT FIGMA FIX
   Figma: W 501px / H 99px
   Horizontal gap 30px / Vertical gap 8px
   ========================================================= */

body.woocommerce-account.logged-in
.moa-password-page
.moa-password-requirements {
  width: 501px !important;
  max-width: 100% !important;

  margin: 0 0 39px !important;
  padding: 0 !important;

  overflow: visible !important;
  box-sizing: border-box !important;
}

/* Password requirements heading */
body.woocommerce-account.logged-in
.moa-password-page
.moa-password-requirements__title {
  display: block !important;

  margin: 0 0 8px !important;
  padding: 0 !important;

  color: #000000 !important;

  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-size: 18.2px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: 24px !important;
  letter-spacing: 0.001em !important;

  text-align: left !important;
  text-transform: none !important;
}

/* Exact 501 × 99 requirements grid */
body.woocommerce-account.logged-in
.moa-password-page
.password-requirements {
  width: 501px !important;
  max-width: 100% !important;
  height: 99px !important;
  min-height: 99px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns: 180px 291px !important;
  grid-template-rows: repeat(3, 13px) !important;

  column-gap: 30px !important;
  row-gap: 30px !important;

  align-items: start !important;
  justify-items: start !important;

  list-style: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* Requirement item text */
body.woocommerce-account.logged-in
.moa-password-page
.password-requirements li {
  position: relative !important;

  width: auto !important;
  min-width: 0 !important;
  height: 13px !important;
  min-height: 13px !important;

  margin: 0 !important;
  padding: 0 0 0 14px !important;

  color: #000000 !important;

  font-family: "Sweet Sans Pro", Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;

  line-height: 13px !important;
  letter-spacing: 0.0078em !important;

  text-align: left !important;
  white-space: nowrap !important;

  box-sizing: border-box !important;
}

/* Custom bullet */
body.woocommerce-account.logged-in
.moa-password-page
.password-requirements li::before {
  content: "•" !important;

  position: absolute !important;
  left: 0 !important;
  top: 0 !important;

  color: #000000 !important;

  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 13px !important;
}

/* Exact Figma placement */
body.woocommerce-account.logged-in
.moa-password-page
.password-requirements li:nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.woocommerce-account.logged-in
.moa-password-page
.password-requirements li:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.woocommerce-account.logged-in
.moa-password-page
.password-requirements li:nth-child(3) {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

body.woocommerce-account.logged-in
.moa-password-page
.password-requirements li:nth-child(4) {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

body.woocommerce-account.logged-in
.moa-password-page
.password-requirements li:nth-child(5) {
  grid-column: 1 !important;
  grid-row: 3 !important;
}

/* New Password starts below the requirements block */
body.woocommerce-account.logged-in
.moa-password-page
.moa-password-requirements
+ .moa-password-field {
  margin-top: 0 !important;
}



@media (max-width: 600px) {
  body.woocommerce-account.logged-in
  .moa-password-page
  .moa-password-requirements,
  body.woocommerce-account.logged-in
  .moa-password-page
  .password-requirements {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-account.logged-in
  .moa-password-page
  .password-requirements {
    height: auto !important;
    min-height: 0 !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;

    column-gap: 10px !important;
    row-gap: 16px !important;
  }

  body.woocommerce-account.logged-in
  .moa-password-page
  .password-requirements li {
    height: auto !important;
    min-height: 12px !important;

    padding-left: 10px !important;

    font-size: 9px !important;
    line-height: 12px !important;
    letter-spacing: 0 !important;

    white-space: normal !important;
  }
}









