/**
 * My Account — matches checkout / thank-you.
 */

body.wf-account-enabled {
	--wf-accent: #1a1a1a;
	--wf-bg: #f6f6f6;
	--wf-text: #1a1a1a;
	--wf-muted: #8c8c8c;
	--wf-hint: #b0b0b0;
	--wf-border: #ececec;
	--wf-border-soft: #f0f0f0;
	--wf-soft: #f5f5f5;
	--wf-radius: 8px;
	--wf-radius-lg: 16px;
	--wf-green: #00a693;
	--wf-danger: #b42318;
	--wf-warn: #b45309;
	background: var(--wf-bg);
}

body.wf-account-enabled .site-content,
body.wf-account-enabled .main-page-wrapper,
body.wf-account-enabled .content-layout-wrapper,
body.wf-account-enabled .wd-content-area,
body.wf-account-enabled .page-content,
body.wf-account-enabled .wf-page-content,
body.wf-account-enabled .woocommerce-account {
	background: transparent;
}

body.wf-account-enabled .woocommerce,
body.wf-account-enabled .woocommerce-account .woocommerce {
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding: 8px 0 40px;
	box-sizing: border-box;
	float: none !important;
}

body.wf-account-enabled .wd-my-account-wrapper,
body.wf-account-enabled .wd-my-account-sidebar {
	display: contents;
}

body.wf-account-enabled .wd-my-account-links,
body.wf-account-enabled .woocommerce-MyAccount-title {
	display: none !important;
}

.wf-account {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	width: 100%;
	min-width: 0;
	direction: inherit;
	text-align: start;
	color: var(--wf-text, #1a1a1a);
}

.wf-account__sidebar {
	min-width: 0;
}

.wf-account--auth {
	display: block;
	max-width: 440px;
	margin: 0 auto;
	grid-template-columns: none;
}

.wf-account *,
.wf-account *::before,
.wf-account *::after {
	box-sizing: border-box;
}

body.wf-account-enabled .woocommerce-MyAccount-navigation,
.wf-account__nav {
	position: sticky;
	top: 16px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: var(--wf-radius-lg, 16px);
	width: auto;
	float: none;
	overflow: hidden;
}

.wf-account__profile {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 16px;
	border-bottom: 1px solid var(--wf-border, #ececec);
}

.wf-account__avatar {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wf-soft, #f5f5f5);
	color: var(--wf-text, #1a1a1a);
	font-size: 13px;
	font-weight: 800;
}

.wf-account__profile-copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wf-account__profile-copy strong {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.wf-account__profile-copy span {
	font-size: 12px;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__nav-list,
body.wf-account-enabled .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wf-account__nav a,
body.wf-account-enabled .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border-radius: var(--wf-radius-btn, var(--wf-radius, 8px)) !important;
	color: var(--wf-text, #1a1a1a);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	border: 0;
	background: transparent;
}

.wf-account__nav a.wf-wallet__nav-link,
body.wf-account-enabled .woocommerce-MyAccount-navigation a.wf-wallet__nav-link {
	display: inline-flex;
	gap: 2px;
	padding: 0;
	border-radius: 0 !important;
	color: #0f6cbd;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.wf-account__nav a:hover,
body.wf-account-enabled .woocommerce-MyAccount-navigation a:hover {
	background: var(--wf-soft, #f5f5f5);
	color: var(--wf-text, #1a1a1a);
	border-radius: var(--wf-radius-btn, var(--wf-radius, 8px)) !important;
}

.wf-account__nav a.wf-wallet__nav-link:hover,
body.wf-account-enabled .woocommerce-MyAccount-navigation a.wf-wallet__nav-link:hover {
	background: transparent;
	color: #0a4f91;
	border-radius: 0 !important;
}

.wf-account__nav li.is-active a,
.wf-account__nav a[aria-current="page"],
body.wf-account-enabled .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--wf-soft, #f5f5f5);
	color: var(--wf-text, #1a1a1a);
	font-weight: 700;
	border-radius: var(--wf-radius-btn, var(--wf-radius, 8px)) !important;
}

.wf-account__nav-icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: inherit;
	opacity: 0.75;
}

.wf-account__nav li.is-active .wf-account__nav-icon,
.wf-account__logout .wf-account__nav-icon {
	opacity: 1;
}

.wf-account__logout {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 8px 8px;
	padding: 11px 12px;
	border-top: 1px solid var(--wf-border, #ececec);
	border-radius: 0 0 var(--wf-radius, 8px) var(--wf-radius, 8px);
	color: var(--wf-danger, #b42318);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.wf-account__logout:hover {
	background: #fef2f2;
	color: var(--wf-danger, #b42318);
}

.wf-account__nav li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__nav li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	color: var(--wf-danger, #b42318);
	background: #fef2f2;
}

body.wf-account-enabled .title-bar,
body.wf-account-enabled .page-title,
body.wf-account-enabled .wd-page-title,
body.wf-account-enabled .entry-header .entry-title {
	display: none;
}

.wf-account__main,
body.wf-account-enabled .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
}

.wf-account__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wf-account.is-ajax-loading {
	cursor: wait;
}

.wf-account.is-ajax-loading .wf-account__content {
	opacity: 0.48;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.wf-account.is-ajax-loading .wf-account__main {
	position: relative;
}

.wf-account.is-ajax-loading .wf-account__main::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 2px;
	background: var(--wf-accent, #1a1a1a);
	transform-origin: right center;
	animation: wf-account-load 0.7s ease infinite;
}

@keyframes wf-account-load {
	0% {
		transform: scaleX(0.15);
		opacity: 0.4;
	}
	50% {
		transform: scaleX(1);
		opacity: 1;
	}
	100% {
		transform: scaleX(0.15);
		opacity: 0.4;
	}
}

.wf-account__pagehead {
	margin: 0;
}

.wf-account__pagetitle {
	margin: 0;
	padding: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
	border: 0;
	color: var(--wf-text, #1a1a1a);
}

.wf-account__hero {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 20px 18px;
	background: #fff;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: var(--wf-radius-lg, 16px);
}

.wf-account__mark {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wf-accent, #1a1a1a);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
}

.wf-account__hero-copy {
	min-width: 0;
	flex: 1 1 auto;
}

.wf-account__eyebrow {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__title {
	margin: 0 0 4px;
	padding: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
	border: 0;
	color: var(--wf-text, #1a1a1a);
}

.wf-account__subtitle {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.wf-account__fact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: var(--wf-radius, 8px);
}

.wf-account__fact-label {
	font-size: 12px;
	font-weight: 500;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__fact-value {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
}

.wf-account__fact.is-warn .wf-account__fact-value {
	color: var(--wf-warn, #b45309);
}

.wf-account__shortcuts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.wf-account__card {
	margin: 0;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: var(--wf-radius-lg, 16px);
}

.wf-account__card-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	flex: 0 0 auto;
}

body.wf-style-controls .wf-account__card-actions .wf-account__btn {
	min-height: 36px;
	padding: 0 14px;
	font-size: 12px;
	gap: 6px;
}

.wf-account__card-meta {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--wf-muted, #8c8c8c);
	font-weight: 400;
}

.wf-account__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: stretch;
}

.wf-account__split .wf-account__card {
	display: flex;
	flex-direction: column;
	min-height: 280px;
}

.wf-account__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 32px;
	margin: 0;
}

.wf-account__fields div {
	min-width: 0;
}

.wf-account__fields dt {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 500;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__fields dd {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	word-break: break-word;
}

.wf-account__note {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 14px;
	padding: 14px 16px;
	background: var(--wf-soft, #f5f5f5);
	border-radius: var(--wf-radius, 8px);
}

.wf-account__note span {
	font-size: 12px;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__note strong {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
}

.wf-account__shortcut {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wf-account__shortcut:hover {
	border-color: var(--wf-accent, #1a1a1a);
	box-shadow: 0 0 0 1px var(--wf-accent, #1a1a1a);
	color: inherit;
}

.wf-account__shortcut strong {
	font-size: 14px;
	font-weight: 700;
}

.wf-account__shortcut span {
	font-size: 12px;
	line-height: 1.6;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 0 0 18px;
	flex-wrap: wrap;
}

.wf-account__card-head p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--wf-muted, #8c8c8c);
	font-weight: 400;
}

.wf-account__card-title {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	border: 0;
}

.wf-account__textlink {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wf-text, #1a1a1a);
	text-decoration: none;
	white-space: nowrap;
}

.wf-account__textlink:hover {
	opacity: 0.65;
}

.wf-account__chevron {
	display: inline-block;
}

[dir="rtl"] .wf-account__chevron {
	transform: scaleX(-1);
}

.wf-account__orders {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.wf-account__order {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--wf-border, #ececec);
	background: transparent;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: background 0.12s ease;
}

.wf-account__order:hover {
	background: var(--wf-soft, #f5f5f5);
	margin: 0 -16px;
	padding-inline: 16px;
	border-radius: var(--wf-radius, 8px);
}

.wf-account__orders > .wf-account__order:first-child {
	padding-top: 0;
}

.wf-account__orders > .wf-account__order:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.wf-account__order-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.wf-account__order-id {
	font-size: 15px;
	font-weight: 800;
	color: var(--wf-text, #1a1a1a);
	text-decoration: none;
}

.wf-account__order-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 6px;
	font-size: 12px;
	color: var(--wf-muted, #8c8c8c);
	line-height: 1.6;
}

.wf-account__order-dot {
	color: var(--wf-hint, #b0b0b0);
	font-size: 10px;
}

.wf-account__order-cta {
	display: inline-flex;
	align-self: flex-start;
	margin-top: 2px;
	padding: 4px 12px;
	border-radius: var(--wf-radius, 8px);
	background: var(--wf-accent, #1a1a1a);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.wf-account__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: var(--wf-soft, #f5f5f5);
	color: var(--wf-text, #1a1a1a);
	flex: 0 0 auto;
}

.wf-account__status--success {
	background: color-mix(in srgb, var(--wf-green, #00a693) 14%, #fff);
	color: #087f72;
}

.wf-account__status--info {
	background: #f3f4f6;
	color: var(--wf-text, #1a1a1a);
}

.wf-account__status--warning {
	background: #fff7ed;
	color: var(--wf-warn, #b45309);
}

.wf-account__status--danger {
	background: #fef2f2;
	color: var(--wf-danger, #b42318);
}

body.wf-style-controls .wf-account__btn,
body.wf-style-controls.wf-account-enabled .wf-account a.wf-account__btn,
body.wf-style-controls.wf-account-enabled .wf-account button.wf-account__btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 16px;
	border-radius: var(--wf-radius, 8px);
	border: 1px solid var(--wf-accent, #1a1a1a);
	background: var(--wf-accent, #1a1a1a);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}

.wf-account__btn svg {
	flex: 0 0 auto;
}

body.wf-style-controls .wf-account__btn:hover,
body.wf-style-controls.wf-account-enabled .wf-account a.wf-account__btn:hover {
	opacity: 0.92;
	color: #fff;
}

body.wf-style-controls .wf-account__btn--ghost,
body.wf-style-controls.wf-account-enabled .wf-account a.wf-account__btn--ghost {
	background: #fff;
	color: var(--wf-accent, #1a1a1a);
}

body.wf-style-controls .wf-account__btn--ghost:hover,
body.wf-style-controls.wf-account-enabled .wf-account a.wf-account__btn--ghost:hover {
	background: var(--wf-soft, #f5f5f5);
	color: var(--wf-accent, #1a1a1a);
	opacity: 1;
}

.wf-account__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 28px 12px 16px;
	text-align: center;
	flex: 1 1 auto;
}

.wf-account__content > .wf-account__empty {
	padding: 48px 20px;
	background: #fff;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: var(--wf-radius-lg, 16px);
}

.wf-account__empty-art {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--wf-soft, #f5f5f5);
	color: #c4c4c4;
}

.wf-account__empty-art svg {
	width: 48px;
	height: 48px;
}

.wf-account__empty p {
	margin: 0;
	font-size: 13px;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__pager {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--wf-border, #ececec);
}

.wf-account__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.wf-account__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.wf-account__form .form-row,
.wf-account__form p.woocommerce-form-row {
	margin: 0 0 12px;
	padding: 0;
	width: 100%;
	float: none;
}

.wf-account__grid .form-row {
	margin: 0;
}

.wf-account__form label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 650;
}

.wf-account__form .required {
	color: var(--wf-danger, #b42318);
}

body.wf-style-controls .wf-account__form input.input-text,
body.wf-style-controls .wf-account__form input[type="text"],
body.wf-style-controls .wf-account__form input[type="email"],
body.wf-style-controls .wf-account__form input[type="password"],
body.wf-style-controls .wf-account__form select,
body.wf-style-controls .wf-account__form textarea,
body.wf-style-controls.wf-account-enabled .wf-account input.input-text {
	width: 100%;
	max-width: none;
	min-height: 42px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--wf-border, #e8e8e8);
	border-radius: var(--wf-radius, 8px);
	background: #fff;
	color: var(--wf-text, #1a1a1a);
	font: inherit;
	font-size: 13px;
	box-shadow: none;
}

body.wf-style-controls .wf-account__form input:focus,
body.wf-style-controls.wf-account-enabled .wf-account input.input-text:focus {
	border-color: var(--wf-accent, #1a1a1a);
	box-shadow: 0 0 0 1px var(--wf-accent, #1a1a1a);
	outline: none;
}

.wf-account .password-input {
	display: block;
	position: relative;
}

.wf-account .show-password-input,
.wf-account .wd-show-pass,
.wf-account .login-form-revealer {
	display: none !important;
}

.wf-account__form em,
.wf-account__hint {
	display: block;
	margin: 6px 0 0;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	color: var(--wf-muted, #8c8c8c);
	line-height: 1.6;
}

.wf-account__form-actions {
	margin: 0;
}

.wf-account__form-actions .wf-account__btn,
.wf-account__form-actions button[type="submit"] {
	min-width: 160px;
}

#password_current {
	scroll-margin-top: 96px;
}

.wf-account__check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	cursor: pointer;
}

.wf-account__lost {
	margin: 4px 0 0;
	font-size: 13px;
	text-align: center;
}

.wf-account__lost a {
	color: var(--wf-text, #1a1a1a);
	font-weight: 700;
}

body.wf-account-guest .woocommerce,
body.wf-account-guest .woocommerce-account .woocommerce {
	max-width: 460px;
	padding: 36px 16px 80px;
}

body.wf-account-guest .woocommerce-notices-wrapper,
body.wf-account-guest .woocommerce-message,
body.wf-account-guest .woocommerce-info,
body.wf-account-guest .woocommerce-error {
	max-width: 440px;
	margin-inline: auto;
}

.wf-account__card--auth {
	padding: 32px 28px 28px;
}

.wf-account__auth-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 0 0 14px;
	text-align: center;
}

.wf-account__auth-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 2px;
	border-radius: 16px;
	background: var(--wf-soft, #f5f5f5);
	color: var(--wf-text, #1a1a1a);
}

.wf-account--auth .wf-account__title {
	margin: 0;
	font-size: 22px;
}

.wf-account--auth .wf-account__subtitle {
	max-width: 28em;
	margin: 0;
	line-height: 1.5;
}

.wf-account--auth .wf-otp {
	max-width: none;
	margin: 0;
}

.wf-account--auth .wf-otp__card {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.wf-account--auth .wf-otp__brand,
.wf-account--auth .wf-otp__head {
	display: none;
}

.wf-account__auth-more {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--wf-border, #ececec);
}

.wf-account--auth.is-email-mode .wf-account__otp,
.wf-account--auth.is-email-mode .wf-account__auth-more--to-email,
.wf-account--auth.is-email-mode .wf-account__auth-more--register {
	display: none !important;
}

.wf-account--auth.has-otp:not(.is-email-mode) #wf-account-email-login {
	display: none !important;
}

#wf-account-email-login {
	margin-top: 0;
}

.wf-account__mode-toggle .wf-account__alt-chevron {
	transform: none;
}

body.wf-style-controls .wf-account__mode-toggle {
	position: relative;
	justify-content: center;
	text-align: center;
}

.wf-account__mode-toggle .wf-account__alt-toggle-text {
	flex: 0 1 auto;
	text-align: center;
}

.wf-account__mode-toggle .wf-account__alt-chevron {
	position: absolute;
	inset-inline-start: 14px;
	inset-inline-end: auto;
}

body.wf-style-controls .wf-account__alt-toggle {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: var(--wf-radius, 8px);
	background: #fff;
	color: var(--wf-text, #1a1a1a);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-align: start;
	cursor: pointer;
	box-shadow: none;
}

body.wf-style-controls .wf-account__alt-toggle:hover,
body.wf-style-controls .wf-account__alt-toggle.is-open {
	background: var(--wf-soft, #f5f5f5);
	border-color: #dcdcdc;
}

.wf-account__alt-toggle-text {
	flex: 1 1 auto;
}

body.wf-style-controls .wf-account__mode-toggle .wf-account__alt-toggle-text,
.wf-account__mode-toggle .wf-account__alt-toggle-text {
	display: block;
	width: 100%;
	flex: 1 1 auto;
	text-align: center;
}

.wf-account__alt-chevron {
	flex: 0 0 auto;
	transition: transform 0.18s ease;
}

.wf-account__alt-toggle.is-open .wf-account__alt-chevron {
	transform: rotate(180deg);
}

.wf-account__alt {
	margin-top: 14px;
}

body.wf-style-controls .wf-account--auth .wf-account__form-actions .wf-account__btn,
body.wf-style-controls .wf-account--auth .wf-account__form-actions button[type="submit"] {
	width: 100%;
	min-width: 0;
	min-height: 46px;
}

.wf-account__notes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wf-account__notes li {
	padding: 12px;
	border-radius: var(--wf-radius, 8px);
	background: var(--wf-soft, #f5f5f5);
}

.wf-account__notes time {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	color: var(--wf-muted, #8c8c8c);
}

.wf-account__notes p {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
}

/* Woo notices + leftover tables inside account */
body.wf-account-enabled .woocommerce-notices-wrapper,
body.wf-account-enabled .woocommerce-message,
body.wf-account-enabled .woocommerce-info,
body.wf-account-enabled .woocommerce-error {
	border-radius: var(--wf-radius, 8px);
	border: 1px solid var(--wf-border, #e8e8e8);
	background: #fff;
	box-shadow: none;
	padding: 12px 14px;
}

body.wf-account-enabled .wf-account .shop_table,
body.wf-account-enabled .wf-account table.woocommerce-table {
	width: 100%;
	border: 1px solid var(--wf-border, #e8e8e8);
	border-radius: var(--wf-radius, 8px);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

body.wf-account-enabled .wf-account .shop_table th,
body.wf-account-enabled .wf-account .shop_table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--wf-border, #e8e8e8);
	font-size: 13px;
	background: #fff;
}

body.wf-account-enabled .wf-account .shop_table tr:last-child td {
	border-bottom: 0;
}

body.wf-account-enabled .wf-account .order-again,
body.wf-account-enabled .wf-account .woocommerce-order-details,
body.wf-account-enabled .wf-account .woocommerce-customer-details {
	margin: 0 0 16px;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: var(--wf-radius-lg, 16px);
}

body.wf-account-enabled .wf-account .woocommerce-order-details > h2,
body.wf-account-enabled .wf-account .woocommerce-column__title,
body.wf-account-enabled .wf-account .woocommerce-order-downloads__title {
	margin: 0 0 12px;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	border: 0;
}

body.wf-style-controls.wf-account-enabled .wf-account .woocommerce-button.button,
body.wf-style-controls.wf-account-enabled .wf-account a.button,
body.wf-style-controls.wf-account-enabled .wf-account button.button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: var(--wf-radius, 8px);
	border: 1px solid var(--wf-accent, #1a1a1a);
	background: var(--wf-accent, #1a1a1a);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
}

body.wf-account-enabled .woocommerce-MyAccount-navigation,
body.wf-account-enabled .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}

body.wf-account-enabled .woocommerce-account .woocommerce::after,
body.wf-account-enabled .woocommerce-account .woocommerce::before {
	display: none !important;
}

body.wf-account-enabled .woocommerce-MyAccount-content::after,
body.wf-account-enabled .woocommerce::after {
	display: none;
}

@media (max-width: 960px) {
	.wf-account {
		grid-template-columns: 1fr;
	}

	body.wf-account-enabled .woocommerce-MyAccount-navigation,
	.wf-account__nav {
		position: static;
	}

	.wf-account__nav-list,
	body.wf-account-enabled .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		gap: 4px;
		padding: 8px 12px 12px;
	}

	.wf-account__nav li {
		flex: 0 0 auto;
	}

	.wf-account__nav a {
		white-space: nowrap;
	}

	.wf-account__logout {
		margin: 0;
		padding: 12px 16px 14px;
	}

	.wf-account__facts,
	.wf-account__shortcuts,
	.wf-account__grid,
	.wf-account__split {
		grid-template-columns: 1fr;
	}

	.wf-account__hero {
		flex-wrap: wrap;
	}

	body.wf-account-enabled .woocommerce {
		padding-inline: 12px;
	}
}

@media (max-width: 767px) {
	.wf-account__title,
	.wf-account__pagetitle {
		font-size: 17px;
	}

	.wf-account__mark {
		width: 44px;
		height: 44px;
	}

	.wf-account__card,
	.wf-account__card--auth {
		padding: 22px 18px 20px;
	}

	.wf-account--auth .wf-account__title {
		font-size: 19px;
	}

	.wf-account__card-head {
		flex-wrap: wrap;
	}

	.wf-account__facts {
		grid-template-columns: 1fr 1fr;
	}

	.wf-account__fields {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.wf-account__order-actions .wf-account__btn {
		flex: 1 1 auto;
	}

	.wf-account__split .wf-account__card {
		min-height: 0;
	}
}

/* Orders overview */
.wf-account__orders-card {
	padding: 24px;
}

.wf-account__orders-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--wf-border, #ececec);
}

.wf-account__orders-head .wf-account__eyebrow {
	margin-bottom: 5px;
}

.wf-account__orders-head .wf-account__card-title {
	font-size: 20px;
}

.wf-account__orders-count {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 11px;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: 999px;
	background: var(--wf-soft, #f5f5f5);
	color: var(--wf-muted, #8c8c8c);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.wf-account__orders-card .wf-account__orders {
	gap: 8px;
}

.wf-account__orders-card .wf-account__order,
.wf-account__orders .wf-account__order {
	position: relative;
	display: block;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--wf-border, #ececec);
	border-radius: var(--wf-radius, 8px);
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wf-account__orders-card .wf-account__order:hover,
.wf-account__orders .wf-account__order:hover {
	margin: 0;
	padding: 12px 14px;
	border-color: #d7d7d7;
	background: #fff;
	box-shadow: 0 4px 14px rgba(26, 26, 26, 0.05);
}

.wf-account__orders-card .wf-account__order:first-child,
.wf-account__orders-card .wf-account__order:last-child,
.wf-account__orders .wf-account__order:first-child,
.wf-account__orders .wf-account__order:last-child {
	padding-top: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wf-border, #ececec);
}

.wf-account__order-top,
.wf-account__order-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.wf-account__order-top {
	padding-bottom: 9px;
	border-bottom: 1px solid var(--wf-border-soft, #f0f0f0);
}

.wf-account__order-footer {
	justify-content: flex-start;
	padding-top: 9px;
	border-top: 1px solid var(--wf-border-soft, #f0f0f0);
}

.wf-account__order-footer .wf-account__order-cta {
	margin-inline-start: auto;
}

.wf-account__order-heading {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
}

.wf-account__order-kicker,
.wf-account__order-detail-label {
	color: var(--wf-muted, #8c8c8c);
	font-size: 11px;
	font-weight: 600;
}

.wf-account__order-id {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.wf-account__order > .wf-account__order-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 9px 0 0;
	padding: 9px 0 0;
	border-bottom: 0;
}

.wf-account__order > .wf-account__order-details .wf-account__order-detail {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.wf-account__order > .wf-account__order-details .wf-account__order-detail strong {
	overflow: hidden;
	color: var(--wf-text, #1a1a1a);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wf-account__split .wf-account__order {
	padding: 10px 12px;
}

.wf-account__split .wf-account__order:hover {
	padding: 10px 12px;
}

.wf-account__split .wf-account__order-kicker {
	display: none;
}

.wf-account__split .wf-account__order-top {
	padding-bottom: 6px;
}

.wf-account__split .wf-account__order > .wf-account__order-details {
	gap: 8px;
	margin: 6px 0;
	padding: 6px 0;
}

.wf-account__split .wf-account__order-footer {
	justify-content: flex-end;
}

.wf-account__split .wf-account__order-cta {
	min-height: 28px;
}

.wf-account__split .wf-account__orders {
	gap: 6px;
}

.wf-account__order-footer {
	align-items: center;
}

.wf-account__order-hint {
	min-width: 0;
	color: var(--wf-muted, #8c8c8c);
	font-size: 12px;
	line-height: 1.6;
}

.wf-account__order-cta {
	flex: 0 0 auto;
	min-height: 32px;
	padding: 0 10px;
	font-size: 11px;
}

.wf-account__order-cta svg {
	transform: none;
}

[dir="rtl"] .wf-account__order-cta svg,
html[dir="rtl"] .wf-account__order-cta svg,
body.rtl .wf-account__order-cta svg {
	transform: scaleX(-1);
}

.wf-account__status-dot {
	display: inline-block;
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	margin: 0;
	border-radius: 50%;
	background: currentColor;
}

.wf-account__pager {
	margin-top: 22px;
	padding-top: 18px;
}

@media (max-width: 767px) {
	.wf-account__orders-card {
		padding: 16px;
	}

	.wf-account__orders-head {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
		margin-bottom: 16px;
		padding-bottom: 14px;
	}

	.wf-account__orders-head .wf-account__card-title {
		font-size: 18px;
	}

	.wf-account__orders-count {
		align-self: flex-start;
	}

	.wf-account__orders-card .wf-account__order,
	.wf-account__orders .wf-account__order {
		padding: 12px;
		border-radius: var(--wf-radius, 8px);
	}

	.wf-account__orders-card .wf-account__order:hover,
	.wf-account__orders .wf-account__order:hover {
		padding: 12px;
	}

	.wf-account__order-top,
	.wf-account__order-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.wf-account__order-top {
		gap: 10px;
	}

	.wf-account__order > .wf-account__order-details {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		margin: 9px 0;
		padding: 9px 0;
	}

	.wf-account__order > .wf-account__order-details .wf-account__order-detail:last-child {
		grid-column: 1 / -1;
	}

	.wf-account__order-footer {
		gap: 10px;
	}

	.wf-account__order-cta {
		width: 100%;
	}

	.wf-account__split .wf-account__order {
		padding: 10px;
	}

	.wf-account__split .wf-account__order:hover {
		padding: 10px;
	}
}
