:root {
	--wd-dark: var(--wushi-color-main-dark, #111111);
	--wd-card: var(--wushi-color-dark-secondary, #1b1b1b);
	--wd-gold: var(--wushi-color-gold, #C9A227);
	--wd-gold-light: var(--wushi-color-gold-hover, #E0C46C);
	--wd-text: var(--wushi-color-white, #F7F6F2);
	--wd-muted: #b8b8b8;
	--wd-line: rgba(198, 165, 92, 0.28);
}

.wd-account-wrapper {
	box-sizing: border-box;
	display: grid;
	gap: 24px;
	width: 100%;
	color: var(--wd-text);
	font-family: var(--wushi-font-base, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

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

.wd-account-hero {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 32px;
	overflow: hidden;
	background: var(--wd-dark);
	border-left: 4px solid var(--wd-gold);
	color: var(--wd-text);
}

.wd-account-hero--compact {
	padding: 26px 30px;
}

.wd-account-hero::after {
	content: "";
	position: absolute;
	right: -72px;
	bottom: -84px;
	width: 190px;
	height: 190px;
	border: 18px solid rgba(198, 165, 92, 0.18);
	border-left-color: transparent;
	border-radius: 50%;
	transform: rotate(-18deg);
	pointer-events: none;
}

.wd-account-kicker {
	margin: 0;
	color: var(--wd-gold);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.3;
	text-transform: uppercase;
}

.wd-account-hero h2 {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--wd-text);
	font-family: "Bebas Neue", Oswald, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-size: clamp(38px, 4vw, 58px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.98;
	text-transform: uppercase;
}

.wd-account-hero p:not(.wd-account-kicker) {
	position: relative;
	z-index: 1;
	max-width: 780px;
	margin: 0;
	color: rgba(247, 246, 242, 0.82);
	font-size: 17px;
	line-height: 1.65;
}

.wd-account-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.wd-account-card,
.wd-account-list-item {
	display: grid;
	align-content: start;
	gap: 12px;
	min-width: 0;
	padding: 24px;
	background: var(--wd-card);
	border: 1px solid var(--wd-line);
	color: var(--wd-text);
}

.wd-account-card-title,
.wd-account-list-item h3 {
	margin: 0;
	color: var(--wd-gold);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.25;
	text-transform: uppercase;
}

.wd-account-card-value {
	margin: 0;
	color: var(--wd-text);
	font-size: 16px;
	line-height: 1.6;
}

.wd-account-empty {
	margin: 0;
	color: var(--wd-muted);
	font-size: 15px;
	line-height: 1.6;
}

.wd-account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.wd-account-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--wd-gold);
	box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
	color: var(--wd-dark);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.wd-account-button:hover,
.wd-account-button:focus {
	background: var(--wd-gold-light);
	color: var(--wd-dark);
	text-decoration: none;
	transform: translateY(-1px);
}

.wd-account-list {
	display: grid;
	gap: 14px;
}

.wd-account-list-item--compact {
	padding: 18px 22px;
}

.wd-account-list-item a {
	color: var(--wd-gold);
	font-weight: 800;
	text-decoration: none;
}

.wd-account-list-item a:hover,
.wd-account-list-item a:focus {
	color: var(--wd-gold-light);
	text-decoration: none;
}

.wd-account-data-row {
	display: grid;
	grid-template-columns: minmax(120px, 0.38fr) minmax(0, 1fr);
	gap: 14px;
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--wd-muted);
	font-size: 14px;
	line-height: 1.45;
}

.wd-account-data-row span {
	color: var(--wd-muted);
}

.wd-account-data-row strong {
	color: var(--wd-text);
	font-weight: 700;
}

.wd-account-link {
	justify-self: start;
	margin-top: 4px;
	color: var(--wd-gold);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 6px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 14px;
	background: rgba(17, 17, 17, 0.04);
	border-left: 3px solid transparent;
	color: var(--wd-dark);
	font-weight: 800;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li a:focus {
	border-left-color: var(--wd-gold);
	background: rgba(198, 165, 92, 0.14);
	color: var(--wd-dark);
}

@media (max-width: 767px) {
	.wd-account-hero,
	.wd-account-hero--compact {
		padding: 26px 20px;
	}

	.wd-account-grid {
		grid-template-columns: 1fr;
	}

	.wd-account-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.wd-account-button {
		width: 100%;
	}

	.wd-account-data-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

