/* MWD Account — zona de cont
   Toate regulile sunt limitate la .mwdacc ca să nu atingă tema.
   Implicit (.mwdacc--theme) împrumută culorile și fontul temei active:
   suprafețele și liniile se derivă din currentColor, deci se potrivesc
   pe orice temă, deschisă sau întunecată, fără să impună un fundal. */

.mwdacc {
	--mwdacc-radius: 16px;
	--mwdacc-radius-sm: 10px;
	--mwdacc-font: inherit;

	/* Accentul e singura culoare „impusă"; se derivă restul din el. */
	/* Accentul se ia din tema activă când e pe „automat”: încearcă tokenii
	   standard ai celor mai folosite teme/buildere, apoi cade pe emerald.
	   În mod „automat”, JS-ul confirmă culoarea și recalculează contrastul. */
	--mwdacc-accent: var(--wp--preset--color--primary,
		var(--wp--preset--color--accent,
		var(--theme-palette-color-1,
		var(--global-palette1,
		var(--ast-global-color-0,
		var(--e-global-color-primary,
		#10B981))))));
	--mwdacc-accent-soft: color-mix(in srgb, var(--mwdacc-accent) 14%, transparent);
	--mwdacc-accent-deep: color-mix(in srgb, var(--mwdacc-accent) 82%, #000);
	--mwdacc-on-accent: #ffffff;
	--mwdacc-topbar-fg: inherit;

	container-type: inline-size;
	container-name: mwdacc;
	width: 100%;
	font-family: var(--mwdacc-font, inherit);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

/* ---- Mod „neutru" (implicit): alb-negru, fără culori de brand.
   Text aproape-negru, griuri neutre, accent negru — nimic din temă
   nu se împrumută, ca să nu apară nuanțe nedorite (tan, albastru etc.). */
.mwdacc--neutral {
	--mwdacc-bg: transparent;
	--mwdacc-text: #18181b;
	--mwdacc-muted: #6b7280;
	--mwdacc-surface: #ffffff;
	--mwdacc-surface-2: #f4f4f5;
	--mwdacc-line: #e4e4e7;
	--mwdacc-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px -18px rgba(0, 0, 0, .22);
	--mwdacc-accent: #18181b;
	--mwdacc-accent-soft: #f4f4f5;
	--mwdacc-accent-deep: #000000;
	--mwdacc-on-accent: #ffffff;
	--mwdacc-topbar-bg: var(--mwdacc-surface);
	--mwdacc-topbar-line: var(--mwdacc-line);
	--mwdacc-topbar-fg: var(--mwdacc-text);
	--mwdacc-brand: var(--mwdacc-accent);
	--mwdacc-brand-soft: var(--mwdacc-surface-2);
	--mwdacc-brand-line: var(--mwdacc-line);
	--mwdacc-brand-deep: var(--mwdacc-accent-deep);
	--mwdacc-on-brand: #ffffff;
	color: var(--mwdacc-text);
}

/* ---- Mod „temă" (opțional): împrumută culorile și fontul temei active ---- */
.mwdacc--theme {
	--mwdacc-bg: transparent;
	--mwdacc-text: currentColor;
	--mwdacc-muted: color-mix(in srgb, currentColor 60%, transparent);
	--mwdacc-surface: color-mix(in srgb, currentColor 4%, transparent);
	--mwdacc-surface-2: color-mix(in srgb, currentColor 8%, transparent);
	--mwdacc-line: color-mix(in srgb, currentColor 16%, transparent);
	--mwdacc-shadow: 0 1px 2px color-mix(in srgb, currentColor 8%, transparent);
	--mwdacc-topbar-bg: var(--mwdacc-surface);
	--mwdacc-topbar-line: var(--mwdacc-line);
	--mwdacc-topbar-fg: currentColor;
	--mwdacc-brand: var(--mwdacc-accent);
	--mwdacc-brand-soft: var(--mwdacc-accent-soft);
	--mwdacc-brand-line: var(--mwdacc-line);
	--mwdacc-brand-deep: var(--mwdacc-accent-deep);
	--mwdacc-on-brand: var(--mwdacc-on-accent);
	color: inherit;
}

/* ---- Mod „brand" (opțional): identitatea MyWebDesign, navy + emerald ---- */
.mwdacc--brand {
	--mwdacc-bg: #f6f8fa;
	--mwdacc-surface: #ffffff;
	--mwdacc-surface-2: #fbfcfd;
	--mwdacc-text: #10243b;
	--mwdacc-muted: #61748a;
	--mwdacc-line: #e3e9f0;
	--mwdacc-shadow: 0 1px 2px rgba(16, 36, 59, .05), 0 12px 28px -20px rgba(16, 36, 59, .35);
	--mwdacc-brand: var(--mwdacc-brand-pick);
	--mwdacc-brand-deep: var(--mwdacc-brand-pick-deep);
	--mwdacc-topbar-bg: linear-gradient(115deg, var(--mwdacc-brand) 0%, var(--mwdacc-brand-deep) 100%);
	--mwdacc-topbar-line: transparent;
	--mwdacc-topbar-fg: var(--mwdacc-brand-pick-on, #ffffff);
	--mwdacc-brand-soft: color-mix(in srgb, var(--mwdacc-brand) 10%, #ffffff);
	--mwdacc-brand-line: color-mix(in srgb, var(--mwdacc-brand) 18%, #ffffff);
	--mwdacc-on-brand: var(--mwdacc-brand-pick-on, #ffffff);
	color: var(--mwdacc-text);
}

.mwdacc--brand.mwdacc--dark {
	--mwdacc-bg: #0b1725;
	--mwdacc-surface: #12212f;
	--mwdacc-surface-2: #17293a;
	--mwdacc-text: #eaf1f7;
	--mwdacc-muted: #93a7bb;
	--mwdacc-line: #22384b;
	--mwdacc-shadow: 0 1px 2px rgba(0, 0, 0, .3);
	--mwdacc-topbar-line: transparent;
}

/* Lățime completă opțională: sparge coloana îngustă a temei, centrat. */
.mwdacc--full {
	width: min(94vw, 1180px);
	margin-left: 50%;
	transform: translateX(-50%);
}

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

.mwdacc h1,
.mwdacc h2,
.mwdacc h3 {
	font-family: inherit;
	color: var(--mwdacc-text);
	margin: 0;
	line-height: 1.25;
	letter-spacing: -.012em;
}

.mwdacc p {
	margin: 0;
}

/* :where() keeps this at element-level specificity so component classes
   (.mwdacc-btn, .mwdacc-ghost, .mwdacc-fav …) always win their own colour —
   otherwise an <a class="mwdacc-btn"> would inherit the link colour and a
   dark button would get dark, unreadable text. */
:where(.mwdacc) a {
	color: var(--mwdacc-accent-deep);
	text-decoration: none;
}

:where(.mwdacc) a:hover {
	text-decoration: underline;
}

.mwdacc :focus-visible {
	outline: 2px solid var(--mwdacc-accent);
	outline-offset: 2px;
	border-radius: 6px;
}

/* ---------- Top bar ---------- */

.mwdacc-topbar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	margin-bottom: 22px;
	background: var(--mwdacc-topbar-bg);
	border: 1px solid var(--mwdacc-topbar-line);
	border-radius: var(--mwdacc-radius);
	color: var(--mwdacc-topbar-fg, inherit);
}

.mwdacc-topbar-id {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.mwdacc-hello {
	font-size: 13px;
	opacity: .72;
	margin: 0 0 1px;
}

.mwdacc-name {
	font-size: 22px;
	font-weight: 600;
	color: inherit;
	overflow-wrap: anywhere;
}

.mwdacc-topbar-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.mwdacc-ghost {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 8%, transparent);
	color: inherit;
	font: inherit;
	font-size: 13.5px;
	cursor: pointer;
	transition: background .15s ease;
}

.mwdacc-ghost:hover {
	background: color-mix(in srgb, currentColor 16%, transparent);
	color: inherit;
	text-decoration: none;
}

.mwdacc-ghost--danger:hover {
	background: color-mix(in srgb, currentColor 22%, transparent);
}

.mwdacc-inline-form {
	display: inline-block;
	margin: 0;
}

/* ---------- Avatar ---------- */

.mwdacc-avatar {
	flex: 0 0 auto;
	border-radius: 50%;
	overflow: hidden;
	background: color-mix(in srgb, currentColor 16%, transparent);
	display: grid;
	place-items: center;
}

.mwdacc-avatar--sm {
	width: 48px;
	height: 48px;
}

.mwdacc-avatar--lg {
	width: 104px;
	height: 104px;
	background: var(--mwdacc-accent-soft);
}

.mwdacc-avatar img,
.mwdacc-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
	margin: 0;
}

.mwdacc-avatar-letter {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-weight: 600;
	color: var(--mwdacc-brand);
	background: var(--mwdacc-accent-soft);
}

/* ---------- Shell ---------- */

.mwdacc-shell {
	display: grid;
	grid-template-columns: 258px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

/* ---------- Navigation ---------- */

.mwdacc-nav {
	position: sticky;
	top: 24px;
	background: var(--mwdacc-surface);
	border: 1px solid var(--mwdacc-line);
	border-radius: var(--mwdacc-radius);
	padding: 10px;
	box-shadow: var(--mwdacc-shadow);
}

.mwdacc-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mwdacc-nav-list li {
	margin: 0;
	list-style: none;
}

.mwdacc-nav-item {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 12px;
	border-radius: var(--mwdacc-radius-sm);
	color: var(--mwdacc-text);
	font-size: 14.5px;
	transition: background .14s ease, color .14s ease;
}

.mwdacc-nav-item:hover {
	background: var(--mwdacc-surface-2);
	color: var(--mwdacc-text);
	text-decoration: none;
}

.mwdacc-nav-item.is-active {
	background: var(--mwdacc-accent-soft);
	color: var(--mwdacc-accent-deep);
	font-weight: 600;
}

.mwdacc--dark .mwdacc-nav-item.is-active {
	background: color-mix(in srgb, var(--mwdacc-accent) 18%, transparent);
	color: var(--mwdacc-text);
}

.mwdacc-nav-ico {
	display: grid;
	place-items: center;
	width: 22px;
	color: var(--mwdacc-muted);
}

.mwdacc-nav-item.is-active .mwdacc-nav-ico {
	color: var(--mwdacc-accent);
}

.mwdacc-nav-label {
	flex: 1;
	min-width: 0;
}

.mwdacc-nav-badge {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	background: var(--mwdacc-surface-2);
	border: 1px solid var(--mwdacc-line);
	color: var(--mwdacc-muted);
	border-radius: 999px;
	padding: 1px 8px;
}

.mwdacc-nav-out {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--mwdacc-line);
}

.mwdacc-help {
	margin: 10px 4px 4px;
	padding: 14px;
	border-radius: var(--mwdacc-radius-sm);
	background: var(--mwdacc-surface-2);
	border: 1px solid var(--mwdacc-line);
}

.mwdacc-help-title {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

.mwdacc-help a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	padding: 4px 0;
	color: var(--mwdacc-muted);
}

.mwdacc-help a:hover {
	color: var(--mwdacc-accent-deep);
}

/* ---------- Main column ---------- */

.mwdacc-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.mwdacc-head h2 {
	font-size: 21px;
	font-weight: 600;
}

.mwdacc-head p {
	color: var(--mwdacc-muted);
	font-size: 14px;
	margin-top: 4px;
}

.mwdacc-head--row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}

.mwdacc-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: var(--mwdacc-muted);
	margin-bottom: 8px;
}

/* ---------- Notices ---------- */

.mwdacc-notice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 13px 16px;
	border-radius: var(--mwdacc-radius-sm);
	font-size: 14px;
	border: 1px solid var(--mwdacc-line);
	background: var(--mwdacc-surface);
}

.mwdacc-notice.is-ok {
	border-color: color-mix(in srgb, var(--mwdacc-accent) 45%, transparent);
	background: var(--mwdacc-accent-soft);
	color: var(--mwdacc-accent-deep);
}

.mwdacc-notice.is-error {
	border-color: #f3c8c8;
	background: #fdf2f2;
	color: #a52222;
}

.mwdacc--dark .mwdacc-notice.is-ok,
.mwdacc--dark .mwdacc-notice.is-error {
	background: var(--mwdacc-surface-2);
	color: var(--mwdacc-text);
}

/* ---------- Cards ---------- */

.mwdacc-card {
	background: var(--mwdacc-surface);
	border: 1px solid var(--mwdacc-line);
	border-radius: var(--mwdacc-radius);
	padding: 22px 24px;
	box-shadow: var(--mwdacc-shadow);
}

.mwdacc-card--flush {
	padding: 8px 10px;
}

.mwdacc-card--danger {
	border-color: #eccaca;
}

.mwdacc-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.mwdacc-card-head h2 {
	font-size: 16.5px;
	font-weight: 600;
}

.mwdacc-card-head a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	color: var(--mwdacc-muted);
}

.mwdacc-card-head a:hover {
	color: var(--mwdacc-accent-deep);
	text-decoration: none;
}

.mwdacc-grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
}

.mwdacc-prose {
	color: var(--mwdacc-muted);
	font-size: 14px;
	margin-bottom: 16px;
	max-width: 62ch;
}

.mwdacc-fineprint {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--mwdacc-muted);
}

/* ---------- Hero ---------- */

.mwdacc-hero {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	background: var(--mwdacc-surface);
	border: 1px solid var(--mwdacc-line);
	border-radius: var(--mwdacc-radius);
	padding: 24px;
	box-shadow: var(--mwdacc-shadow);
	position: relative;
	overflow: hidden;
}

.mwdacc-hero::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--mwdacc-accent);
}

.mwdacc-hero-body h2 {
	font-size: 19px;
	font-weight: 600;
	margin-bottom: 6px;
}

.mwdacc-hero-body p {
	color: var(--mwdacc-muted);
	font-size: 14.5px;
	max-width: 56ch;
}

.mwdacc-hero-body .mwdacc-btn {
	margin-top: 14px;
}

.mwdacc-hero-note {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed var(--mwdacc-line);
	font-size: 13.5px;
}

.mwdacc-hero-ring {
	flex: 0 0 auto;
}

/* ---------- Ring ---------- */

.mwdacc-ring {
	position: relative;
	display: grid;
	place-items: center;
	--mwdacc-line-ring: var(--mwdacc-line);
}

.mwdacc-ring svg {
	display: block;
}

.mwdacc-ring-bar {
	transition: stroke-dashoffset .8s cubic-bezier(.22, .8, .3, 1);
}

.mwdacc-ring-txt {
	position: absolute;
	text-align: center;
	line-height: 1.1;
}

.mwdacc-ring-txt strong {
	display: block;
	font-size: 21px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.mwdacc-ring-txt span {
	font-size: 11.5px;
	color: var(--mwdacc-muted);
}

@media (prefers-reduced-motion: reduce) {
	.mwdacc-ring-bar {
		transition: none;
	}
}

/* ---------- Stats ---------- */

.mwdacc-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 14px;
}

.mwdacc-stat {
	background: var(--mwdacc-surface);
	border: 1px solid var(--mwdacc-line);
	border-left: 3px solid var(--mwdacc-accent);
	border-radius: var(--mwdacc-radius-sm);
	padding: 16px 18px;
}

.mwdacc-stat-ico {
	display: inline-grid;
	place-items: center;
	color: var(--mwdacc-accent);
	margin-bottom: 6px;
}

.mwdacc-stat-label {
	font-size: 12.5px;
	color: var(--mwdacc-muted);
	margin-bottom: 2px;
}

.mwdacc-stat-value {
	font-size: 22px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	display: block;
}

.mwdacc-stat-value .woocommerce-Price-amount {
	font-size: inherit;
}

/* ---------- Orders ---------- */

.mwdacc-orders,
.mwdacc-files,
.mwdacc-devices,
.mwdacc-items,
.mwdacc-timeline,
.mwdacc-switches {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mwdacc-orders li {
	margin: 0;
	list-style: none;
	border-bottom: 1px solid var(--mwdacc-line);
}

.mwdacc-orders li:last-child {
	border-bottom: 0;
}

.mwdacc-order,
.mwdacc-order-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 14px;
	color: var(--mwdacc-text);
	flex-wrap: wrap;
}

.mwdacc-order:hover {
	text-decoration: none;
	background: var(--mwdacc-surface-2);
	border-radius: var(--mwdacc-radius-sm);
}

.mwdacc-order-main {
	flex: 1 1 190px;
	min-width: 0;
	display: block;
}

.mwdacc-order-main strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.mwdacc-order-main em {
	font-style: normal;
	font-size: 13px;
	color: var(--mwdacc-muted);
}

.mwdacc-order-total {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.mwdacc-order-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

/* ---------- Pills ---------- */

.mwdacc-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 500;
	white-space: nowrap;
	border: 1px solid transparent;
}

.mwdacc-pill--lg {
	font-size: 14px;
	padding: 7px 16px;
}

.mwdacc-pill.is-ok {
	background: var(--mwdacc-accent-soft);
	color: var(--mwdacc-accent-deep);
	border-color: color-mix(in srgb, var(--mwdacc-accent) 35%, transparent);
}

.mwdacc-pill.is-info {
	background: #eef4fc;
	color: #1c4c86;
	border-color: #d5e3f5;
}

.mwdacc-pill.is-warn {
	background: #fff6e6;
	color: #8a5a06;
	border-color: #f5e2bd;
}

.mwdacc-pill.is-bad {
	background: #fdf1f1;
	color: #a52222;
	border-color: #f2cccc;
}

.mwdacc-pill.is-muted {
	background: var(--mwdacc-surface-2);
	color: var(--mwdacc-muted);
	border-color: var(--mwdacc-line);
}

/* ---------- Order steps ---------- */

.mwdacc-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0;
}

.mwdacc-steps li {
	position: relative;
	flex: 1;
	text-align: center;
	list-style: none;
	margin: 0;
	color: var(--mwdacc-muted);
	font-size: 13.5px;
}

.mwdacc-steps li::before {
	content: "";
	position: absolute;
	top: 13px;
	left: 0;
	right: 50%;
	height: 2px;
	background: var(--mwdacc-line);
}

.mwdacc-steps li::after {
	content: "";
	position: absolute;
	top: 13px;
	left: 50%;
	right: 0;
	height: 2px;
	background: var(--mwdacc-line);
}

.mwdacc-steps li:first-child::before,
.mwdacc-steps li:last-child::after {
	display: none;
}

.mwdacc-steps li.is-done::before,
.mwdacc-steps li.is-done::after {
	background: var(--mwdacc-accent);
}

.mwdacc-steps li:last-child.is-done::after {
	display: none;
}

.mwdacc-step-dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 0 auto 8px;
	border-radius: 50%;
	background: var(--mwdacc-surface);
	border: 2px solid var(--mwdacc-line);
	color: var(--mwdacc-on-accent);
}

.mwdacc-steps li.is-done .mwdacc-step-dot {
	background: var(--mwdacc-accent);
	border-color: var(--mwdacc-accent);
}

.mwdacc-steps li.is-done .mwdacc-step-label {
	color: var(--mwdacc-text);
	font-weight: 500;
}

/* ---------- Order items ---------- */

.mwdacc-item {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--mwdacc-line);
	list-style: none;
	margin: 0;
}

.mwdacc-item:last-of-type {
	border-bottom: 0;
}

.mwdacc-item-thumb {
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	border-radius: var(--mwdacc-radius-sm);
	overflow: hidden;
	background: var(--mwdacc-surface-2);
}

.mwdacc-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
}

.mwdacc-item-body {
	flex: 1;
	min-width: 0;
}

.mwdacc-item-body a,
.mwdacc-item-body strong {
	display: block;
	font-weight: 500;
	font-size: 14.5px;
	color: var(--mwdacc-text);
}

.mwdacc-item-body em {
	font-style: normal;
	font-size: 13px;
	color: var(--mwdacc-muted);
}

.mwdacc-item-price {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.mwdacc-totals {
	width: 100%;
	margin: 16px 0 0;
	border-collapse: collapse;
	font-size: 14px;
}

.mwdacc-totals th,
.mwdacc-totals td {
	padding: 8px 0;
	border: 0;
	border-top: 1px solid var(--mwdacc-line);
	text-align: left;
	font-weight: 400;
	color: var(--mwdacc-muted);
}

.mwdacc-totals td {
	text-align: right;
	color: var(--mwdacc-text);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.mwdacc-totals tr:last-child th,
.mwdacc-totals tr:last-child td {
	font-size: 16px;
	color: var(--mwdacc-text);
	padding-top: 12px;
}

.mwdacc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.mwdacc-address {
	font-style: normal;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--mwdacc-text);
}

.mwdacc-address-line {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 6px;
	color: var(--mwdacc-muted);
	font-size: 13.5px;
}

/* ---------- Files ---------- */

.mwdacc-files li,
.mwdacc-devices li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border-bottom: 1px solid var(--mwdacc-line);
	list-style: none;
	margin: 0;
}

.mwdacc-files li:last-child,
.mwdacc-devices li:last-child {
	border-bottom: 0;
}

.mwdacc-file-ico,
.mwdacc-device-ico {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border-radius: var(--mwdacc-radius-sm);
	background: var(--mwdacc-accent-soft);
	color: var(--mwdacc-accent-deep);
}

.mwdacc-file-body,
.mwdacc-device-body {
	flex: 1;
	min-width: 0;
}

.mwdacc-file-body strong,
.mwdacc-device-body strong {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 14.5px;
	font-weight: 500;
}

.mwdacc-file-body em,
.mwdacc-device-body em {
	font-style: normal;
	font-size: 13px;
	color: var(--mwdacc-muted);
}

/* ---------- Timeline ---------- */

.mwdacc-timeline li {
	position: relative;
	display: flex;
	gap: 12px;
	padding: 0 0 16px 0;
	list-style: none;
	margin: 0;
}

.mwdacc-timeline li:last-child {
	padding-bottom: 0;
}

.mwdacc-dot {
	position: relative;
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-top: 6px;
	border-radius: 50%;
	background: var(--mwdacc-accent);
}

.mwdacc-dot.is-warn {
	background: #d98c14;
}

.mwdacc-timeline li:not(:last-child) .mwdacc-dot::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 14px;
	transform: translateX(-50%);
	width: 2px;
	height: calc(100% + 14px);
	background: var(--mwdacc-line);
}

.mwdacc-timeline strong {
	display: block;
	font-size: 14px;
	font-weight: 500;
}

.mwdacc-timeline strong p {
	margin: 0;
	font-weight: 400;
}

.mwdacc-timeline em {
	font-style: normal;
	font-size: 12.5px;
	color: var(--mwdacc-muted);
}

/* ---------- Shortcuts ---------- */

.mwdacc-shortcuts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 10px;
}

.mwdacc-shortcuts a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	border: 1px solid var(--mwdacc-line);
	border-radius: var(--mwdacc-radius-sm);
	background: var(--mwdacc-surface-2);
	color: var(--mwdacc-text);
	font-size: 13.5px;
	font-weight: 500;
	transition: border-color .14s ease, transform .14s ease;
}

.mwdacc-shortcuts a:hover {
	border-color: var(--mwdacc-accent);
	text-decoration: none;
	transform: translateY(-1px);
}

.mwdacc-shortcuts svg {
	color: var(--mwdacc-accent);
}

/* ---------- Empty states ---------- */

.mwdacc-empty {
	display: grid;
	justify-items: center;
	gap: 12px;
	padding: 40px 20px;
	text-align: center;
	color: var(--mwdacc-muted);
}

.mwdacc-empty--tight {
	padding: 22px 12px;
}

.mwdacc-empty svg {
	color: var(--mwdacc-line);
}

.mwdacc-empty p {
	font-size: 14px;
	max-width: 44ch;
}

/* ---------- Buttons ---------- */

.mwdacc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border: 1px solid var(--mwdacc-brand);
	border-radius: 999px;
	background: var(--mwdacc-brand);
	color: var(--mwdacc-on-brand);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: filter .14s ease;
	text-decoration: none;
}

.mwdacc-btn:hover {
	filter: brightness(1.12);
	color: var(--mwdacc-on-brand);
	text-decoration: none;
}

.mwdacc-btn--accent {
	background: var(--mwdacc-accent);
	border-color: var(--mwdacc-accent);
	color: var(--mwdacc-on-accent);
}

.mwdacc-btn--accent:hover {
	color: var(--mwdacc-on-accent);
}

.mwdacc-btn--ghost {
	background: transparent;
	border-color: var(--mwdacc-line);
	color: var(--mwdacc-text);
}

.mwdacc-btn--ghost:hover {
	border-color: var(--mwdacc-accent);
	color: var(--mwdacc-text);
	filter: none;
}

.mwdacc-btn--danger {
	background: #b32626;
	border-color: #b32626;
	color: #fff;
}

.mwdacc-btn--sm {
	padding: 7px 14px;
	font-size: 13px;
}

.mwdacc-btn--block {
	width: 100%;
}

.mwdacc-link-danger {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 13.5px;
	color: #b32626;
	cursor: pointer;
	text-decoration: underline;
}

/* ---------- Forms ---------- */

.mwdacc-form {
	margin: 0;
}

.mwdacc-fields {
	display: grid;
	gap: 16px;
}

.mwdacc-fields--2 {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mwdacc-field,
.mwdacc .form-row {
	display: block;
	margin: 0;
	padding: 0;
}

.mwdacc-field--wide {
	grid-column: 1 / -1;
}

.mwdacc-field label,
.mwdacc .form-row label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--mwdacc-muted);
	margin-bottom: 6px;
}

.mwdacc-field abbr,
.mwdacc .form-row .required {
	color: #b32626;
	text-decoration: none;
	border: 0;
}

.mwdacc-field input[type="text"],
.mwdacc-field input[type="email"],
.mwdacc-field input[type="tel"],
.mwdacc-field input[type="date"],
.mwdacc-field input[type="url"],
.mwdacc-field input[type="password"],
.mwdacc-field textarea,
.mwdacc-field select,
.mwdacc .form-row input[type="text"],
.mwdacc .form-row input[type="email"],
.mwdacc .form-row input[type="tel"],
.mwdacc .form-row input[type="password"],
.mwdacc .form-row textarea,
.mwdacc .form-row select,
.mwdacc .select2-container .select2-selection--single {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--mwdacc-line);
	border-radius: var(--mwdacc-radius-sm);
	background: var(--mwdacc-surface);
	color: var(--mwdacc-text);
	font: inherit;
	font-size: 14.5px;
	line-height: 1.4;
	height: auto;
	box-shadow: none;
	transition: border-color .14s ease, box-shadow .14s ease;
}

.mwdacc-field input:focus,
.mwdacc-field textarea:focus,
.mwdacc-field select:focus,
.mwdacc .form-row input:focus,
.mwdacc .form-row select:focus,
.mwdacc .form-row textarea:focus {
	border-color: var(--mwdacc-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mwdacc-accent) 16%, transparent);
	outline: none;
}

.mwdacc-field textarea {
	resize: vertical;
	min-height: 88px;
}

.mwdacc-fields.woocommerce-address-fields {
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.mwdacc .form-row-wide {
	grid-column: 1 / -1;
}

.mwdacc .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

.mwdacc .select2-container {
	width: 100% !important;
}

.mwdacc .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.4;
	color: var(--mwdacc-text);
}

.mwdacc .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	transform: translateY(-50%);
	right: 10px;
}

.mwdacc-form-foot {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--mwdacc-line);
}

.mwdacc-form--inline .mwdacc-field {
	max-width: 320px;
	margin-bottom: 14px;
}

.mwdacc-form-note {
	font-size: 13px;
	color: var(--mwdacc-muted);
}

/* Password strength meter */

.mwdacc-meter {
	display: block;
	height: 4px;
	margin-top: 8px;
	border-radius: 999px;
	background: var(--mwdacc-line);
	overflow: hidden;
}

.mwdacc-meter i {
	display: block;
	height: 100%;
	width: 0;
	background: #d98c14;
	transition: width .2s ease, background .2s ease;
}

.mwdacc-meter.is-2 i {
	background: #d98c14;
}

.mwdacc-meter.is-3 i {
	background: var(--mwdacc-accent);
}

.mwdacc-meter.is-4 i {
	background: var(--mwdacc-accent-deep);
}

.mwdacc-meter-label {
	display: block;
	margin-top: 5px;
	font-size: 12.5px;
	color: var(--mwdacc-muted);
}

/* ---------- Photo card ---------- */

.mwdacc-card--photo {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.mwdacc-photo {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.mwdacc-photo-body h3 {
	font-size: 15.5px;
	font-weight: 600;
	margin-bottom: 4px;
}

.mwdacc-photo-body p {
	font-size: 13.5px;
	color: var(--mwdacc-muted);
	margin-bottom: 12px;
}

.mwdacc-photo-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 8px;
}

.mwdacc-file-label {
	position: relative;
	overflow: hidden;
}

.mwdacc-file-label input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
}

/* ---------- Switches & radios ---------- */

.mwdacc-switches li {
	list-style: none;
	margin: 0;
	border-bottom: 1px solid var(--mwdacc-line);
}

.mwdacc-switches li:last-child {
	border-bottom: 0;
}

.mwdacc-switches label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 15px 0;
	cursor: pointer;
}

.mwdacc-switch-txt strong {
	display: block;
	font-size: 14.5px;
	font-weight: 500;
}

.mwdacc-switch-txt em {
	font-style: normal;
	font-size: 13px;
	color: var(--mwdacc-muted);
}

.mwdacc-switch {
	position: relative;
	flex: 0 0 auto;
	width: 46px;
	height: 26px;
}

.mwdacc-switch input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.mwdacc-switch i {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: var(--mwdacc-line);
	transition: background .16s ease;
	pointer-events: none;
}

.mwdacc-switch i::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(16, 36, 59, .3);
	transition: transform .16s ease;
}

.mwdacc-switch input:checked + i {
	background: var(--mwdacc-accent);
}

.mwdacc-switch input:checked + i::after {
	transform: translateX(20px);
}

.mwdacc-switch input:focus-visible + i {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mwdacc-accent) 30%, transparent);
}

.mwdacc-radios {
	border: 0;
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--mwdacc-line);
}

.mwdacc-radios legend {
	font-size: 13px;
	font-weight: 500;
	color: var(--mwdacc-muted);
	padding: 0;
	margin-bottom: 10px;
}

.mwdacc-radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 16px 8px 0;
	font-size: 14px;
	cursor: pointer;
}

/* Native radios/checkboxes take the account accent instead of the browser
   or theme default (which is usually blue) — keeps neutral mode monochrome. */
.mwdacc input[type="radio"],
.mwdacc input[type="checkbox"] {
	accent-color: var(--mwdacc-accent);
}

.mwdacc-check {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.5px;
	color: var(--mwdacc-muted);
	cursor: pointer;
}

.mwdacc-check input {
	margin-top: 3px;
}

/* ---------- Wishlist products ---------- */

.mwdacc-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

.mwdacc-product {
	background: var(--mwdacc-surface);
	border: 1px solid var(--mwdacc-line);
	border-radius: var(--mwdacc-radius);
	overflow: hidden;
	box-shadow: var(--mwdacc-shadow);
	display: flex;
	flex-direction: column;
}

.mwdacc-product-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--mwdacc-surface-2);
	overflow: hidden;
}

.mwdacc-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
}

.mwdacc-product-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.mwdacc-product-title {
	font-size: 14.5px;
	font-weight: 500;
	color: var(--mwdacc-text);
}

.mwdacc-product-price {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.mwdacc-product-price del {
	opacity: .5;
	font-weight: 400;
	margin-right: 6px;
}

.mwdacc-product-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--mwdacc-muted);
}

.mwdacc-product-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: auto;
}

/* ---------- Favourite button (also used outside the account) ---------- */

.mwdacc-fav {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	background: color-mix(in srgb, currentColor 5%, transparent);
	color: inherit;
	border-radius: 999px;
	padding: 7px 14px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	transition: color .14s ease, border-color .14s ease, background .14s ease;
}

.mwdacc-fav:hover {
	border-color: #d75c6a;
	color: #d75c6a;
}

.mwdacc-fav.is-on {
	color: #d13c4c;
	border-color: color-mix(in srgb, #d13c4c 40%, transparent);
	background: color-mix(in srgb, #d13c4c 10%, transparent);
}

.mwdacc-fav.is-on svg {
	fill: currentColor;
}

.mwdacc-fav--icon {
	padding: 8px;
	border-radius: 50%;
}

.mwdacc-fav--icon .mwdacc-fav-txt {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.mwdacc-fav.is-busy {
	opacity: .55;
	pointer-events: none;
}

/* ---------- Pager ---------- */

.mwdacc-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 13.5px;
	color: var(--mwdacc-muted);
}

.mwdacc-pager a {
	padding: 8px 16px;
	border: 1px solid var(--mwdacc-line);
	border-radius: 999px;
	color: var(--mwdacc-text);
}

.mwdacc-pager a:hover {
	border-color: var(--mwdacc-accent);
	text-decoration: none;
}

/* ---------- Auth card ---------- */

.mwdacc--auth {
	max-width: 430px;
	margin: 0 auto;
}

.mwdacc-authcard {
	background: var(--mwdacc-surface);
	border: 1px solid var(--mwdacc-line);
	border-radius: var(--mwdacc-radius);
	padding: 28px;
	box-shadow: var(--mwdacc-shadow);
	margin-top: 14px;
}

.mwdacc-authcard-head {
	margin-bottom: 20px;
}

.mwdacc-authcard-head h2 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 5px;
}

.mwdacc-authcard-head p {
	font-size: 14px;
	color: var(--mwdacc-muted);
}

.mwdacc-authcard .mwdacc-field {
	margin-bottom: 15px;
}

.mwdacc-authrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 13.5px;
	margin-bottom: 18px;
}

.mwdacc-authrow--stack {
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.mwdacc-authfoot {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--mwdacc-line);
	font-size: 13.5px;
	color: var(--mwdacc-muted);
	text-align: center;
}

.mwdacc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Toast ---------- */

.mwdacc-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 9999;
	background: #10243b;
	color: #fff;
	padding: 12px 20px;
	border-radius: 999px;
	font-size: 14px;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
	opacity: 0;
	transition: opacity .2s ease;
}

.mwdacc-toast.is-shown {
	opacity: 1;
}

/* ---------- Responsive ---------- */

@container mwdacc (max-width: 880px) {
	.mwdacc-shell {
		grid-template-columns: 1fr;
	}

	.mwdacc-nav {
		position: static;
		padding: 8px;
	}

	.mwdacc-nav-list {
		display: flex;
		gap: 6px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.mwdacc-nav-list::-webkit-scrollbar {
		display: none;
	}

	.mwdacc-nav-item {
		white-space: nowrap;
		padding: 9px 14px;
		border-radius: 999px;
	}

	.mwdacc-nav-out {
		margin: 0;
		padding: 0;
		border: 0;
	}

	.mwdacc-help {
		display: none;
	}

	.mwdacc-hero {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 18px;
	}

	.mwdacc-name {
		font-size: 19px;
	}

	.mwdacc-topbar {
		padding: 16px 18px;
	}

	.mwdacc-card {
		padding: 18px;
	}

	.mwdacc-order-row {
		padding: 14px 6px;
	}

	.mwdacc-steps {
		font-size: 12.5px;
	}
}

@container mwdacc (max-width: 560px) {
	.mwdacc-ghost span {
		display: none;
	}

	.mwdacc-ghost {
		padding: 9px 11px;
	}

	.mwdacc-order-total {
		order: 3;
	}

	.mwdacc-order-actions {
		width: 100%;
	}
}
