/* Existing BeTheme account panel only. Native form, toggle and password control remain intact. */
[data-allinskin-account-hidden][hidden] { display: none !important; }
/* Account navigation labels only; preserve the theme's icon font and login fields. */
.woocommerce-MyAccount-navigation li > a,
.mfn-header-login li > a {
	font-family: "Michroma", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	white-space: normal;
	overflow-wrap: anywhere;
}
/* Sparkles mark the existing Club menu entry. */
:is(.mfn-header-login, .woocommerce-MyAccount-navigation) a[href*="all-in-skin-club"]::before {
	content: ""; display: inline-block; width: 20px; height: 20px; margin-inline-end: 8px; vertical-align: middle;
	background: currentColor;
	-webkit-mask: url('../svg/club-sparkles.svg') center / contain no-repeat;
	mask: url('../svg/club-sparkles.svg') center / contain no-repeat;
}
.mfn-header-account-link.allinskin-account-authenticated { display: inline-flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 4px; }
.mfn-header-account-link [data-allinskin-account-name] { display: inline-block; order: 1; flex: 0 1 auto; min-width: 0; width: auto; max-width: 140px; margin: 0 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #5a4b43 !important; font: 400 13px/1.4 Inter, sans-serif; }
@media (max-width: 767px) {
	.mfn-header-account-link.allinskin-account-authenticated { background: rgba(123, 74, 47, .08); border-radius: 50%; width: 40px; height: 40px; min-width: 40px; padding: 8px; box-sizing: border-box; justify-content: center; gap: 0; }
	.mfn-header-account-link.allinskin-account-authenticated [data-allinskin-account-name] { display: none; }
}
.mfn-header-login:not(.is-side) { width: 340px; max-width: calc(100vw - 24px); box-sizing: border-box; }
.mfn-header-login .woocommerce-form .form-row.form-row-first label,
.mfn-header-login .woocommerce-form .form-row.form-row-last label,
.mfn-header-login .woocommerce-form .form-row.active label {
	position: static; display: block; transform: none; font: 400 14px/1.5 Inter, sans-serif;
	color: #5b504b; opacity: 1; margin: 0 0 8px; pointer-events: auto; white-space: normal; overflow-wrap: anywhere;
}
.mfn-header-login .woocommerce-form .form-row.form-row-first::after,
.mfn-header-login .woocommerce-form .form-row.form-row-last::after { display: none; }
.mfn-header-login .woocommerce-form .form-row.form-row-first .input-text,
.mfn-header-login .woocommerce-form .form-row.form-row-last .input-text {
	box-sizing: border-box; min-height: 48px; padding: 12px 40px 12px 12px; font: 400 16px/1.5 Inter, sans-serif; width: 100%;
}
.mfn-header-login .woocommerce-form .form-row { margin-bottom: 16px; }
.mfn-header-login .woocommerce-form label.woocommerce-form-login__rememberme { font: 400 14px/1.5 Inter, sans-serif; }
.mfn-header-login :is(a,button,input,[role="button"]):focus-visible,
.mfn-header-account-link:focus-visible { outline: 2px solid #7b4a2f; outline-offset: 3px; }
.mfn-header-login .close-login-modal { cursor: pointer; min-width: 32px; min-height: 32px; }
@media (max-width: 599px) { .mfn-header-login.is-side { padding-bottom: max(24px, env(safe-area-inset-bottom)); overflow-y: auto; } }
@media (prefers-reduced-motion: reduce) { .mfn-header-login { transition: none; } }
