/*
 * «حساب من» — account menu, dashboard (order summary, favourites), orders filter, address form.
 * Mobile first. Loaded on account pages only (inc/assets.php).
 */

/* =========================================================
   Layout: menu above the content on phones, side column from 1024px
   ========================================================= */
.woocommerce-account.logged-in .entry-content > .woocommerce { display: grid; gap: var(--space-6); }
.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > :where(h2, h3, p) { margin-block: 0 var(--space-4); }

/* =========================================================
   Menu
   ========================================================= */
.account-nav { min-width: 0; }
.account-nav__user { display: none; }
.account-nav ul {
  list-style: none; display: flex; gap: var(--space-2); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--space-1);
  overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none;
}
.account-nav ul::-webkit-scrollbar { display: none; }
.account-nav a {
  display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; padding-inline: var(--space-4);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--text);
  font-size: var(--text-label); font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.account-nav a svg { display: none; width: 20px; height: 20px; flex: none; color: var(--text-muted); }
.account-nav a:hover { border-color: var(--text); }
.account-nav .is-active a { background: var(--text); color: var(--bg); border-color: var(--text); }
.account-nav .woocommerce-MyAccount-navigation-link--customer-logout a { border-color: transparent; color: var(--text-muted); }
.account-nav a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

@media (min-width: 1024px) {
  .woocommerce-account.logged-in .entry-content > .woocommerce { grid-template-columns: 264px minmax(0, 1fr); column-gap: var(--space-12); align-items: start; }
  .account-nav__user { display: grid; gap: 2px; margin: 0 0 var(--space-3); padding: 0 var(--space-4) var(--space-4); border-block-end: 1px solid var(--border); }
  .account-nav__name { font-size: var(--text-title); font-weight: 600; line-height: 1.6; }
  .account-nav__meta { font-size: var(--text-caption); line-height: 1.7; color: var(--text-muted); overflow-wrap: anywhere; }
  .account-nav ul { flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .account-nav a { display: flex; min-height: 48px; border: 0; border-radius: var(--radius-cta); }
  .account-nav a svg { display: block; }
  .account-nav a:hover { background: var(--bg-sunken); }
  .account-nav .is-active a { background: var(--accent-tint); color: var(--on-accent-tint); }
  .account-nav .is-active a svg { color: currentColor; }
  .account-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin-block-start: var(--space-3); padding-block-start: var(--space-3); border-block-start: 1px solid var(--border); }
}

/* =========================================================
   Dashboard: sections on the page ground; order cards, the summary strip and product cards are the surfaces
   ========================================================= */
.woocommerce-MyAccount-content a.btn { text-decoration: none; }
.woocommerce-MyAccount-content a:is(.btn-secondary, .btn-ghost) { color: var(--text); }
.woocommerce-MyAccount-content a.btn-primary { color: var(--on-primary); }

.account-home { display: grid; gap: var(--space-10); }
.account-section { display: grid; gap: var(--space-4); min-width: 0; }
.account-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); }
.account-section__title { margin: 0; font-size: var(--text-h3); font-weight: 600; line-height: var(--lh-h3); }
.account-section__head .rail__controls { margin-inline-start: auto; }
.account-section__more { justify-self: start; }

/* Phones: who is signed in (the menu column shows it from 1024px) */
.account-hello {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  margin-block-end: calc(var(--space-2) * -1); padding-block-end: var(--space-4); border-block-end: 1px solid var(--divider);
}
.account-hello p { margin: 0; }
.account-hello__name { font-size: var(--text-title); font-weight: 600; line-height: var(--lh-title); }
.account-hello__meta { font-size: var(--text-caption); line-height: var(--lh-caption); color: var(--text-muted); }
@media (min-width: 1024px) { .account-hello { display: none; } }

/* Order summary: one strip, three groups, each a link to the filtered order list */
.order-summary {
  list-style: none; margin: 0; padding: var(--space-2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border); background: var(--bg-raised);
}
.order-summary > li { display: grid; }
.order-summary > li + li { position: relative; }
.order-summary > li + li::before { content: ""; position: absolute; inset-block: var(--space-3); inset-inline-start: 0; border-inline-start: 1px solid var(--divider); }
.woocommerce-MyAccount-content a.order-summary__item {
  display: grid; justify-items: center; align-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-1);
  border-radius: var(--radius-md); color: var(--text); text-align: center; text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-out);
}
.woocommerce-MyAccount-content a.order-summary__item:hover { background: var(--bg-sunken); }
.order-summary__item:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.order-summary__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-panel); background: var(--bg-sunken); color: var(--text-muted); }
.order-summary__icon svg { width: 20px; height: 20px; }
.order-summary__item--current .order-summary__icon { background: var(--accent-tint); color: var(--on-accent-tint); }
.order-summary__item--delivered .order-summary__icon { background: var(--success-tint); color: var(--success); }
.order-summary__text { display: grid; }
.order-summary__count { font-size: var(--text-body); font-weight: 600; line-height: 1.7; }
.order-summary__label { font-size: var(--text-caption); line-height: var(--lh-caption); color: var(--text-muted); }
@media (min-width: 768px) {
  .woocommerce-MyAccount-content a.order-summary__item { grid-auto-flow: column; justify-content: center; gap: var(--space-4); padding: var(--space-4); text-align: start; }
  .order-summary__icon { width: 52px; height: 52px; }
  .order-summary__icon svg { width: 24px; height: 24px; }
  .order-summary__count { font-size: var(--text-title); line-height: var(--lh-title); }
}

/* Default delivery address */
.account-address {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-4);
  padding: var(--space-4); border: 1px solid var(--border); background: var(--bg-raised);
}
.account-address p { margin: 0; }
.account-address__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-panel); background: var(--bg-sunken); color: var(--text-muted); }
.account-address__icon svg { width: 20px; height: 20px; }
.account-address__body { display: grid; gap: 2px; min-width: 0; }
.account-address__name { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-body); font-weight: 600; line-height: 1.7; }
.account-address__badge {
  padding-inline: var(--space-2); border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--on-accent-tint);
  font-size: var(--text-micro); font-weight: 500; line-height: 1.8;
}
.account-address__line { font-size: var(--text-small); line-height: var(--lh-small); overflow-wrap: anywhere; }
.account-address__meta { font-size: var(--text-caption); line-height: var(--lh-caption); color: var(--text-muted); }
.account-address__edit { grid-column: 1 / -1; min-height: 44px; }
.account-address--empty { border-style: dashed; border-color: var(--border-strong); background: none; }
@media (min-width: 640px) {
  .account-address { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-5); padding: var(--space-5) var(--space-6); }
  .account-address__edit { grid-column: auto; min-width: 112px; }
}

/* Favourites: the rail bleeds to the screen edge on phones (blocks.css); about 3.4 cards beside the menu column */
/* No favourites yet: a compact row like the empty address, so the orders empty state stays the one big box */
.account-section .wishlist-empty:not([hidden]) {
  grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 2px var(--space-4);
  padding: var(--space-4); border: 1px dashed var(--border-strong); text-align: start;
}
.account-section .wishlist-empty__icon {
  grid-row: span 2; box-sizing: content-box; inline-size: 20px; block-size: 20px; margin: 0; padding: 12px;
  border-radius: var(--radius-panel); background: var(--bg-sunken);
}
.account-section .wishlist-empty__title { font-size: var(--text-body); line-height: 1.7; }
.account-section .wishlist-empty__text { margin: 0; font-size: var(--text-caption); line-height: var(--lh-caption); }
.account-section .wishlist-empty__action { grid-column: 1 / -1; justify-self: stretch; min-height: 44px; margin-block-start: var(--space-3); }
@media (min-width: 640px) {
  .account-section .wishlist-empty:not([hidden]) { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--space-5); padding: var(--space-5) var(--space-6); }
  .account-section .wishlist-empty__action { grid-column: 3; grid-row: 1 / span 2; justify-self: end; min-width: 112px; margin: 0; }
}
@media (min-width: 1024px) {
  .account-section--rail .product-row { grid-auto-columns: calc((100% - 3 * var(--space-4)) / 3.4); }
  .woocommerce-MyAccount-content .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =========================================================
   Orders: status tabs and one card per order (woocommerce/myaccount/orders.php)
   ========================================================= */
.orders { display: grid; gap: var(--space-4); }

/* Tabs: the design system's underlined tabs, each with a count */
.order-tabs a.tab { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; color: var(--text-muted); text-decoration: none; }
.order-tabs a.tab:hover, .order-tabs a.tab[aria-current="page"] { color: var(--text); }
.order-tabs .tab[aria-current="page"]::after { scale: 1 1; }
.order-tabs__count {
  min-width: 22px; padding-inline: 6px; border-radius: var(--radius-pill); background: var(--bg-sunken);
  color: var(--text-muted); font-size: var(--text-micro); line-height: 1.8; text-align: center;
}
.order-tabs .tab[aria-current="page"] .order-tabs__count { background: var(--accent-tint); color: var(--on-accent-tint); }

/* WooCommerce's notices here (e.g. «تایید آدرس ایمیل» to link past guest orders): a quiet line, not an alert */
.orders .woocommerce-info {
  margin: 0; padding: var(--space-3) var(--space-4); border-color: var(--border); background: var(--bg-raised);
  color: var(--text-muted); font-size: var(--text-caption); line-height: 1.8;
}
.orders .woocommerce-info .button {
  min-height: 44px; padding: 0; border: 0; background: none; color: var(--link);
  font-size: var(--text-label); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em;
}

/* Order card */
.order-list { list-style: none; display: grid; gap: var(--space-3); margin: 0; padding: 0; }
.order-card {
  display: grid; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--border); background: var(--bg-raised);
  grid-template-areas: "head" "thumbs" "facts" "note" "actions";
}
.order-card__head { grid-area: head; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.order-card__title { margin: 0; font-size: var(--text-title); font-weight: 600; line-height: 1.5; }
.order-card__title a { color: var(--text); text-decoration: none; }
.order-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.order-card__title bdi { unicode-bidi: isolate; }

.order-card__thumbs { grid-area: thumbs; display: flex; gap: var(--space-2); }
.order-card__thumbs:empty { display: none; }
.order-card__thumb, .order-card__more { flex: none; width: 52px; height: 52px; overflow: hidden; background: var(--bg-muted); }
.order-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.order-card__more { display: grid; place-items: center; background: var(--bg-sunken); color: var(--text-muted); font-size: var(--text-label); font-weight: 600; }

.order-card__facts { grid-area: facts; display: grid; gap: var(--space-2); margin: 0; padding-block-start: var(--space-3); border-block-start: 1px solid var(--divider); }
.order-card__facts > div { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); align-items: baseline; gap: var(--space-3); }
.order-card__facts dt { font-size: var(--text-caption); line-height: 1.7; color: var(--text-muted); }
.order-card__facts dd { margin: 0; font-size: var(--text-small); line-height: 1.8; }
.order-card__facts .toman-amount { font-weight: 600; }
.order-card__count { margin-inline-start: var(--space-2); font-size: var(--text-caption); color: var(--text-muted); }

.order-card__note { grid-area: note; margin: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-field); background: var(--warning-tint); color: var(--warning); font-size: var(--text-caption); line-height: 1.8; }
.order-card__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.order-card__action { flex: 1 1 auto; min-height: 44px; }

.order-card.is-cancelled .order-card__thumb img { filter: grayscale(1); opacity: 0.6; }
.order-card.is-cancelled .order-card__facts dd { color: var(--text-muted); }

@media (min-width: 768px) {
  .order-card {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head actions" "facts thumbs" "note note";
    column-gap: var(--space-6); row-gap: var(--space-4); padding: var(--space-5) var(--space-6);
  }
  .order-card__head { justify-content: flex-start; }
  .order-card__actions { flex-wrap: nowrap; align-self: center; justify-self: end; }
  .order-card__action { flex: none; }
  .order-card__facts { grid-template-columns: repeat(3, max-content); column-gap: var(--space-10); padding: 0; border: 0; }
  .order-card__facts > div { grid-template-columns: none; gap: 0; }
  .order-card__thumbs { align-self: end; justify-self: end; }
  .order-card__thumb, .order-card__more { width: 48px; height: 48px; }
}

/* Pages and empty states */
.order-pages { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-3); margin-block-start: var(--space-2); }
.order-pages > :first-child { justify-self: start; }
.order-pages > :last-child { justify-self: end; }
.order-pages__status { font-size: var(--text-caption); color: var(--text-muted); }

.orders-empty { display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-12) var(--space-4); border: 1px dashed var(--border-strong); text-align: center; }
.orders-empty svg { width: 40px; height: 40px; margin-block-end: var(--space-2); color: var(--text-muted); }
.orders-empty__title { margin: 0; font-size: var(--text-title); font-weight: 600; line-height: 1.6; }
.orders-empty__text { margin: 0 0 var(--space-2); max-width: 40ch; font-size: var(--text-small); color: var(--text-muted); }

/* Status badge: pill tint with a dot, coloured by group */
.order-status {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px var(--space-3); border-radius: var(--radius-pill);
  background: var(--bg-sunken); color: var(--text-muted); font-size: var(--text-micro); font-weight: 500; line-height: 1.8; white-space: nowrap;
}
.order-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.order-status--current { background: var(--accent-tint); color: var(--on-accent-tint); }
.order-status--delivered { background: var(--success-tint); color: var(--success); }

/* Single order (view-order) */
.woocommerce-MyAccount-content mark { background: none; color: inherit; font-weight: 600; }
.woocommerce-MyAccount-content > p:first-child { font-size: var(--text-small); line-height: 2.2; }
.woocommerce-order-details, .woocommerce-customer-details { margin-block-start: var(--space-6); }
.woocommerce-order-details__title, .woocommerce-column__title { margin: 0 0 var(--space-3); font-size: var(--text-title); font-weight: 600; line-height: 1.6; }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; font-size: var(--text-small); line-height: var(--lh-small); }
.woocommerce-table--order-details :is(th, td) { padding: var(--space-3) 0; text-align: start; vertical-align: top; border-block-end: 1px solid var(--border); }
.woocommerce-table--order-details :is(th, td):last-child { text-align: end; padding-inline-start: var(--space-4); }
.woocommerce-table--order-details thead th { font-size: var(--text-caption); font-weight: 500; color: var(--text-muted); border-block-end-color: var(--border-strong); }
.woocommerce-table--order-details tfoot th { font-weight: 500; }
.woocommerce-table--order-details tfoot tr:last-child :is(th, td) { font-weight: 600; border-block-end: 0; }
.woocommerce-table--order-details .product-name a { color: var(--text); text-decoration: none; }
.woocommerce-table--order-details .product-name a:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.woocommerce-table--order-details .product-quantity { font-weight: 600; color: var(--text-muted); }
.woocommerce-table--order-details .wc-item-meta { list-style: none; margin: var(--space-1) 0 0; padding: 0; font-size: var(--text-caption); color: var(--text-muted); }
.woocommerce-table--order-details .wc-item-meta :is(li, p, strong) { display: inline; margin: 0; font-weight: 400; }
.woocommerce-customer-details address { padding: var(--space-4); border: 1px solid var(--border); background: var(--bg-raised); font-style: normal; font-size: var(--text-small); line-height: 2; }
.woocommerce-customer-details address p { margin: 0; }
.order-again { margin-block-start: var(--space-5); }

.woocommerce-pagination--without-numbers { display: flex; justify-content: space-between; gap: var(--space-3); margin-block-start: var(--space-5); }

/* =========================================================
   Forms: address, account details
   ========================================================= */
.woocommerce-MyAccount-content form { max-width: 720px; }
.woocommerce-MyAccount-content form h2 { font-size: var(--text-title); font-weight: 600; line-height: 1.6; }
.woocommerce-MyAccount-content :is(.input-text, select, textarea) { width: 100%; }
.woocommerce-MyAccount-content select {
  height: 48px; padding-inline: var(--space-4) var(--space-10); border: 1px solid var(--border-strong); border-radius: var(--radius-field);
  appearance: none; color: var(--text); font: inherit;
  background: var(--bg-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236B6159' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat left var(--space-4) center / 18px;
}
.woocommerce-MyAccount-content :is(.input-text, select):focus { border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in oklab, var(--focus-ring) 22%, transparent); outline: none; }
.woocommerce-MyAccount-content .form-row label { font-size: var(--text-label); font-weight: 500; }
.woocommerce-MyAccount-content .required { color: var(--error); text-decoration: none; }
.woocommerce-MyAccount-content .form-row em, .woocommerce-MyAccount-content .description { font-size: var(--text-caption); font-style: normal; color: var(--text-muted); }
/* Tehran only: the country is always Iran (same as checkout). !important because WooCommerce's address script calls .show() on it. */
.woocommerce-MyAccount-content #shipping_country_field, .woocommerce-MyAccount-content #billing_country_field { display: none !important; }
.woocommerce-MyAccount-content fieldset { margin: var(--space-6) 0; padding: var(--space-4) var(--space-5) 0; border: 1px solid var(--border); border-radius: var(--radius-panel); }
.woocommerce-MyAccount-content legend { padding-inline: var(--space-2); font-size: var(--text-label); font-weight: 600; }
.woocommerce-MyAccount-content .password-input { position: relative; display: block; }
.woocommerce-MyAccount-content .show-password-input { position: absolute; inset-block: 0; inset-inline-end: 0; width: 48px; border: 0; background: none; color: var(--text-muted); cursor: pointer; }
.woocommerce-MyAccount-content :is(button[name="save_address"], button[name="save_account_details"]) {
  min-width: 200px; border-color: var(--primary); background: var(--primary); color: var(--on-primary);
}
.woocommerce-MyAccount-content :is(button[name="save_address"], button[name="save_account_details"]):hover { border-color: var(--primary-hover); background: var(--primary-hover); color: var(--on-primary); }
@media (min-width: 640px) {
  .woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4); }
  .woocommerce-address-fields__field-wrapper .form-row-wide, .woocommerce-EditAccountForm > :not(.form-row-first, .form-row-last) { grid-column: 1 / -1; }
}

/* =========================================================
   Account details (woocommerce/myaccount/form-edit-account.php): «شماره موبایل» (plugin aperina-sms-login), «مشخصات» and
   «گذرواژه» as dashboard sections, 40px apart, one primary button at the end
   ========================================================= */
.account-details { display: grid; gap: var(--space-10); max-width: 720px; }
.woocommerce-MyAccount-content .account-details .account-section__title { font-size: var(--text-h3); font-weight: 600; line-height: var(--lh-h3); }
.woocommerce-MyAccount-content .woocommerce-EditAccountForm.account-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); max-width: none; margin: 0; }
.account-form .form-row { display: grid; gap: var(--space-2); width: auto; margin: 0; padding: 0; float: none; }
.account-form__grid { display: grid; gap: var(--space-4); }
.account-form__stack { display: grid; gap: var(--space-4); max-width: 440px; }
.account-form__optional { font-weight: 400; color: var(--text-muted); }
.account-form__hint { font-size: var(--text-caption); line-height: var(--lh-caption); color: var(--text-muted); }
.account-form__lede { margin: calc(var(--space-2) * -1) 0 0; max-width: 52ch; font-size: var(--text-small); line-height: var(--lh-small); color: var(--text-muted); text-wrap: pretty; }
.account-form__actions { display: flex; margin-block-start: calc(var(--space-2) * -1); padding-block-start: var(--space-6); border-block-start: 1px solid var(--border); }
.woocommerce-MyAccount-content .account-form__actions .btn { flex: 1 1 100%; }
@media (min-width: 640px) {
  .account-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-form__wide { grid-column: 1 / -1; }
  .woocommerce-MyAccount-content .account-form__actions .btn { flex: 0 0 auto; min-width: 220px; }
}

/* Password fields are left-to-right: the eye sits on the right edge, after the text (as on the sign-in page) */
.account-form {
  --auth-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --auth-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 3.5 17 17'/%3E%3Cpath d='M10.4 5.6A9 9 0 0 1 12 5.5c6 0 9.5 6.5 9.5 6.5a16.8 16.8 0 0 1-2.8 3.6M6.6 7.1A16.4 16.4 0 0 0 2.5 12s3.5 6.5 9.5 6.5a9.2 9.2 0 0 0 4.4-1.1'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}
.woocommerce-MyAccount-content .account-form .password-input .input-text { padding-right: 52px; }
.woocommerce-MyAccount-content .account-form .show-password-input { inset-inline-end: auto; right: 0; display: grid; place-items: center; padding: 0; transition: color var(--dur-fast) var(--ease-out); }
.account-form .show-password-input::before {
  content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: var(--auth-eye) center / contain no-repeat; mask: var(--auth-eye) center / contain no-repeat;
}
.account-form .show-password-input.display-password { color: var(--text); }
.account-form .show-password-input.display-password::before { -webkit-mask-image: var(--auth-eye-off); mask-image: var(--auth-eye-off); }
.account-form .show-password-input:hover { color: var(--text); }
.account-form .show-password-input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -6px; border-radius: var(--radius-md); }
.account-form .woocommerce-password-strength {
  margin-block-start: var(--space-1); padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm);
  font-size: var(--text-caption); font-weight: 500; line-height: var(--lh-caption); text-align: start;
}
.account-form .woocommerce-password-strength:is(.short, .bad) { background: var(--error-tint); color: var(--error); }
.account-form .woocommerce-password-strength.good { background: var(--warning-tint); color: var(--warning); }
.account-form .woocommerce-password-strength.strong { background: var(--success-tint); color: var(--success); }
.account-form .woocommerce-password-hint { display: block; font-size: var(--text-caption); line-height: var(--lh-caption); color: var(--text-muted); }
