:root {
	--vlas-account-bg: var(--vlas-mm-bg, #faf9f7);
	--vlas-account-surface: #ffffff;
	--vlas-account-surface-soft: var(--vlas-mm-mobile-bg, #f5f2ee);
	--vlas-account-border: rgba(28, 26, 24, 0.12);
	--vlas-account-border-strong: rgba(28, 26, 24, 0.22);
	--vlas-account-ink: var(--vlas-mm-ink, var(--gcid-heading-color));
	--vlas-account-ink-soft: var(--vlas-mm-ink2, #5a5650);
	--vlas-account-muted: var(--vlas-mm-stone, #b5a99a);
	--vlas-account-radius: 18px;
	--vlas-account-shadow: 0 16px 40px rgba(16, 14, 12, 0.08);
	--vlas-account-transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vlas-account-shell {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
	gap: clamp(18px, 2vw, 32px);
	padding: clamp(16px, 2.4vw, 32px);
}

.vlas-account-mobile-toggle {
	display: none;
}

.vlas-account-sidebar {
	position: sticky;
	top: calc(var(--vlas-mm-mega-top, 116px) + 24px);
	align-self: start;
}

.vlas-account-navigation {
	background: rgba(255, 255, 255, 0.76);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--vlas-account-border);
	border-radius: var(--vlas-account-radius);
	box-shadow: var(--vlas-account-shadow);
	overflow: hidden;
}

.vlas-account-navigation ul {
	margin: 0;
	padding: 10px;
	list-style: none;
}

.vlas-account-navigation li + li {
	margin-top: 2px;
}

.vlas-account-navigation a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	color: var(--vlas-account-ink-soft);
	text-decoration: none;
	border-radius: 12px;
	border: 1px solid transparent;
	transition: color var(--vlas-account-transition), border-color var(--vlas-account-transition), background-color var(--vlas-account-transition), transform var(--vlas-account-transition);
}

.vlas-account-navigation a:hover,
.vlas-account-navigation a:focus-visible {
	color: var(--vlas-account-ink);
	border-color: var(--vlas-account-border);
	background: rgba(255, 255, 255, 0.65);
	transform: translateX(3px);
	outline: none;
}

.vlas-account-navigation li.is-active a {
	color: #2c2c2c;
	border-color: var(--vlas-account-border-strong);
	background: #fff;
}

.vlas-account-nav-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	color: currentColor;
}

.vlas-account-nav-icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vlas-account-nav-label {
	font-size: 14px;
	letter-spacing: 0.02em;
}

.vlas-account-main > .woocommerce-notices-wrapper {
	margin-bottom: 14px;
}

.vlas-account-dashboard {
	display: grid;
	gap: clamp(14px, 1.6vw, 22px);
}

.vlas-account-card {
	padding: clamp(16px, 2vw, 24px);
	border: 1px solid var(--vlas-account-border);
	border-radius: var(--vlas-account-radius);
	box-shadow: var(--vlas-account-shadow);
}

.vlas-account-card h2,
.vlas-account-card h3 {
	margin: 0;
	color: var(--vlas-account-surface);
}

.vlas-account-eyebrow {
	margin: 0 0 8px;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--vlas-account-surface);
}

.vlas-account-card--hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.vlas-account-hero__profile {
	display: flex;
	align-items: center;
	gap: 14px;
}

.vlas-account-hero__avatar img {
	border-radius: 50%;
	border: 2px solid rgba(28, 26, 24, 0.12);
}

.vlas-account-hero__profile p {
	margin: 4px 0 0;
	color: var(--vlas-account-surface);
}

.vlas-account-completion {
	min-width: 260px;
}

.vlas-account-completion__label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	color: var(--vlas-account-surface);
	font-size: 13px;
}

.vlas-account-completion__track {
	height: 8px;
	border-radius: 999px;
	background: #ece7e1;
	overflow: hidden;
}

.vlas-account-completion__track span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--vlas-account-ink) 0%, #7f7468 100%);
	transition: width 420ms var(--vlas-account-transition);
}

.vlas-account-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.vlas-account-stats .vlas-account-card h3 {
	font-size: clamp(1.4rem, 2vw, 2rem);
	font-weight: 500;
	letter-spacing: 0.01em;
}

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

.vlas-account-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	gap: 12px;
}

.vlas-account-card__head a {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--vlas-account-surface);
	border-bottom: 1px solid currentColor;
}

.vlas-account-orders {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vlas-account-orders li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--vlas-account-border);
	gap: 10px;
}

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

.vlas-account-orders a {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--vlas-account-ink);
}

.vlas-account-orders a em {
	font-style: normal;
	font-size: 12px;
	color: var(--vlas-account-surface);
}

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

.vlas-account-addresses address,
.vlas-account-addresses p {
	margin: 0;
	font-style: normal;
	line-height: 1.6;
	color: var(--vlas-account-surface);
}

.vlas-account-coupon-form,
.vlas-account-track-form {
	display: flex;
	gap: 8px;
}

.vlas-account-coupon-form input,
.vlas-account-track-form input {
	flex: 1;
	height: 44px;
	padding: 0 12px;
	border: 0;
	border-bottom: 1px solid #2c2c2c;
	background: transparent;
	font-size: 16px;
	color: var(--vlas-account-ink);
}

.vlas-account-coupon-form button,
.vlas-account-track-form button,
.vlas-account-endpoint-card .button {
	height: 44px;
	padding: 0 18px;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: letter-spacing var(--vlas-account-transition), opacity var(--vlas-account-transition);
}

.vlas-account-coupon-form button:hover,
.vlas-account-track-form button:hover,
.vlas-account-endpoint-card .button:hover {
	letter-spacing: 0.16em;
	opacity: 0.92;
}

.vlas-account-form-message {
	min-height: 20px;
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--vlas-account-ink-soft);
}

.vlas-account-card--products .vlas-account-card__head {
	margin-bottom: 16px;
}

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

.vlas-account-product-card {
	background: #fff;
	border: 1px solid var(--vlas-account-border);
	border-radius: 12px;
	overflow: hidden;
}

.vlas-account-product-card__thumb-link {
	display: block;
	background: #f1ece6;
}

.vlas-account-product-card__thumb-link img {
	display: block;
	width: 100%;
	height: auto;
}

.vlas-account-product-card__body {
	padding: 10px;
}

.vlas-account-product-card__title {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.3;
}

.vlas-account-product-card__title a {
	color: var(--vlas-account-ink);
	text-decoration: none;
}

.vlas-account-product-card__price {
	font-size: 14px;
	color: var(--vlas-account-ink-soft);
}

.vlas-account-empty-state {
	padding: 14px;
	border: 1px dashed var(--vlas-account-border-strong);
	border-radius: 12px;
	font-size: 14px;
	color: var(--vlas-account-ink-soft);
	background: var(--vlas-account-surface-soft);
}

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

.vlas-account-skeleton-grid span {
	display: block;
	min-height: 170px;
	border-radius: 12px;
	background: linear-gradient(100deg, #efebe5 20%, #f8f5f2 45%, #efebe5 70%);
	background-size: 200% 100%;
	animation: vlas-account-shimmer 1.2s linear infinite;
}

@keyframes vlas-account-shimmer {
	from {
		background-position: 200% 0;
	}
	to {
		background-position: -200% 0;
	}
}

.vlas-account-endpoint-content .woocommerce-MyAccount-content {
	width: 100%;
}

.vlas-account-endpoint-card {
	padding: 18px;
	border: 1px solid var(--vlas-account-border);
	border-radius: var(--vlas-account-radius);
	background: #fff;
	box-shadow: var(--vlas-account-shadow);
}

@media (max-width: 1200px) {
	.vlas-account-product-grid,
	.vlas-account-skeleton-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.vlas-account-shell {
		grid-template-columns: 1fr;
	}

	.vlas-account-mobile-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: 42px;
		padding: 0 14px;
		border: 1px solid var(--vlas-account-border-strong);
		background: #fff;
		font-size: 11px;
		letter-spacing: 0.15em;
		text-transform: uppercase;
		color: var(--vlas-account-ink);
	}

	.vlas-account-sidebar {
		position: static;
		display: none;
	}

	.vlas-account-shell.sidebar-open .vlas-account-sidebar {
		display: block;
	}

	.vlas-account-card--hero {
		flex-direction: column;
		align-items: flex-start;
	}

	.vlas-account-completion {
		width: 100%;
		min-width: 0;
	}

	.vlas-account-stats,
	.vlas-account-grid,
	.vlas-account-addresses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.vlas-account-coupon-form,
	.vlas-account-track-form {
		flex-direction: column;
	}

	.vlas-account-coupon-form button,
	.vlas-account-track-form button {
		width: 100%;
	}

	.vlas-account-product-grid,
	.vlas-account-skeleton-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-color-scheme: dark) {
	:root {
		--vlas-account-bg: #151310;
		--vlas-account-surface: #1f1b18;
		--vlas-account-surface-soft: #1b1714;
		--vlas-account-border: rgba(255, 255, 255, 0.12);
		--vlas-account-border-strong: rgba(255, 255, 255, 0.2);
		--vlas-account-ink: #f2ece4;
		--vlas-account-ink-soft: #d0c4b7;
		--vlas-account-muted: #a99582;
		--vlas-account-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
	}

	.vlas-account-coupon-form button,
	.vlas-account-track-form button,
	.vlas-account-endpoint-card .button {
		background: #f2ece4;
		color: #12100e;
		border-color: #f2ece4;
	}
}
