/* Nova Supply My Account: login, navigation, dashboard, orders, single order, addresses, forms. Tokens only. */

.nv-mono { font-family: var(--wp--preset--font-family--mono); }

/* ---------- Layout: 264px sidebar + content from 782px ---------- */
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	align-items: start;
}
@media (min-width: 782px) {
	.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: var(--wp--custom--layout--sidebar) minmax(0, 1fr);
		gap: var(--wp--preset--spacing--60);
	}
}
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { display: none !important; }
.woocommerce-account.logged-in .wp-block-post-title,
.woocommerce-account .wp-block-post-content > .woocommerce { max-width: var(--wp--custom--layout--wide) !important; margin-inline: auto !important; }
.woocommerce-account .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { float: none !important; width: auto !important; min-width: 0; }

/* Navigation: scrolling row under 782px, sidebar above */
.woocommerce-MyAccount-navigation ul {
	display: flex;
	gap: var(--wp--preset--spacing--20);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
}
.woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0; }
.woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: var(--wp--custom--control--height-sm);
	padding: 0 var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--medium);
	color: var(--wp--preset--color--accent-4);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: var(--wp--custom--border--width-strong) solid transparent;
}
.woocommerce-MyAccount-navigation a:hover { color: var(--wp--preset--color--contrast); }
.woocommerce-MyAccount-navigation .is-active a {
	color: var(--wp--preset--color--contrast);
	border-bottom-color: var(--wp--preset--color--contrast);
	font-weight: var(--wp--custom--font-weight--semibold);
}
@media (min-width: 782px) {
	.woocommerce-MyAccount-navigation ul { flex-direction: column; gap: calc(var(--wp--preset--spacing--20) / 2); border-bottom: 0; overflow: visible; }
	.woocommerce-MyAccount-navigation a { border: var(--wp--custom--border--width) solid transparent; border-radius: var(--wp--custom--radius--md); }
	.woocommerce-MyAccount-navigation a:hover { background: var(--wp--preset--color--accent-5); }
	.woocommerce-MyAccount-navigation .is-active a {
		background: var(--wp--preset--color--surface);
		border-color: var(--wp--preset--color--accent-6);
	}
}
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--wp--preset--color--accent-4); }

/* Content rhythm */
.woocommerce-MyAccount-content { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--40); }
.woocommerce-MyAccount-content > * { margin-block: 0 !important; }
.woocommerce-MyAccount-content h2,
.nv-account-section-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: var(--wp--custom--line-height--x-large);
	letter-spacing: var(--wp--custom--letter-spacing--x-large);
}
.woocommerce-MyAccount-content h3 { margin: 0; font-size: var(--wp--preset--font-size--large); }
.woocommerce-MyAccount-content a:not(.button):not(.wp-element-button) { color: var(--wp--preset--color--link); }

/* ---------- Dashboard ---------- */
.nv-account-welcome {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	padding: var(--wp--preset--spacing--50);
	background-color: var(--wp--preset--color--base);
	background-image: var(--wp--custom--glow--soft), var(--wp--custom--motif--dots);
	background-size: auto, var(--wp--custom--motif--dots-size);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--card);
}
.nv-account-welcome > * { margin: 0; }
.nv-account-welcome h2 {
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: var(--wp--custom--line-height--xx-large);
	letter-spacing: var(--wp--custom--letter-spacing--xx-large);
}
.nv-account-welcome p:last-child { color: var(--wp--preset--color--accent-4); font-size: var(--wp--preset--font-size--large); }
.nv-kicker {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
	color: var(--wp--preset--color--link);
}
.nv-kicker::before { content: ""; width: var(--wp--preset--spacing--30); height: var(--wp--custom--border--width); background: var(--wp--preset--color--link); }

.nv-account-shortcuts {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 600px) {
	.nv-account-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.nv-account-shortcuts li { margin: 0 !important; padding: 0; display: flex; }
.nv-account-shortcuts a {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: calc(var(--wp--preset--spacing--20) / 2);
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--surface);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--card);
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: none;
	transition: box-shadow var(--wp--custom--transition--base);
}
.nv-account-shortcuts a:hover { box-shadow: var(--wp--preset--shadow--glow); }
.nv-account-shortcuts strong { font-family: var(--wp--preset--font-family--heading); font-weight: var(--wp--custom--font-weight--semibold); }
.nv-account-shortcuts span { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--accent-4); }

/* ---------- Tables: orders, order details ---------- */
.woocommerce-MyAccount-content table.shop_table,
.woocommerce-MyAccount-content table.woocommerce-table {
	width: 100%;
	margin: 0;
	border: 0 !important;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}
.woocommerce-MyAccount-content table :is(th, td) {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) 0 !important;
	border: 0 !important;
	border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6) !important;
	background: transparent !important;
	text-align: start;
	vertical-align: middle;
}
.woocommerce-MyAccount-content table thead th {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--regular);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4);
}
.woocommerce-MyAccount-content table tfoot tr:last-child :is(th, td) { font-size: var(--wp--preset--font-size--large); font-weight: var(--wp--custom--font-weight--semibold); }
.woocommerce-orders-table__cell-order-number a,
.woocommerce-orders-table__cell-order-number { font-family: var(--wp--preset--font-family--mono); }
.woocommerce-orders-table .button,
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .button {
	display: inline-flex;
	align-items: center;
	min-height: var(--wp--custom--control--height-sm);
	padding: 0 var(--wp--custom--control--padding-x-sm);
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 0;
	box-shadow: inset 0 0 0 var(--wp--custom--border--width) var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--button);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
}
.woocommerce-MyAccount-content .button:hover { box-shadow: inset 0 0 0 var(--wp--custom--border--width) var(--wp--preset--color--contrast); }
.nv-link-arrow { font-weight: var(--wp--custom--font-weight--semibold); }

/* Status badges (dashboard) and the status mark in the single order intro */
.nv-status,
.woocommerce-MyAccount-content mark.order-status {
	display: inline-flex;
	padding: calc(var(--wp--preset--spacing--20) / 2) var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--badge);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--semibold);
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
}
.nv-status--pending, .nv-status--on-hold { background: var(--wp--preset--color--warning-surface); color: var(--wp--preset--color--warning); }
.nv-status--processing, .nv-status--completed { background: var(--wp--preset--color--success-surface); color: var(--wp--preset--color--success); }
.nv-status--cancelled, .nv-status--failed, .nv-status--refunded { background: var(--wp--preset--color--error-surface); color: var(--wp--preset--color--error); }
.woocommerce-MyAccount-content mark:not(.order-status) { background: transparent; color: var(--wp--preset--color--contrast); font-weight: var(--wp--custom--font-weight--semibold); }

/* Order updates (order notes) as a vertical timeline */
.woocommerce-OrderUpdates { margin: 0; padding: 0; list-style: none; border-left: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6); }
.woocommerce-OrderUpdate { position: relative; margin: 0; padding: 0 0 var(--wp--preset--spacing--40) var(--wp--preset--spacing--40); }
.woocommerce-OrderUpdate::before {
	content: "";
	position: absolute;
	left: calc(var(--wp--preset--spacing--20) * -0.5 - var(--wp--custom--border--width) / 2);
	top: calc(var(--wp--preset--spacing--20) / 2);
	width: var(--wp--preset--spacing--20);
	height: var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--link);
}
.woocommerce-OrderUpdate-meta { margin: 0; font-family: var(--wp--preset--font-family--mono); font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--accent-4); }
.woocommerce-OrderUpdate-description p { margin: 0; }

/* Addresses */
.woocommerce-Addresses,
.woocommerce-customer-details .woocommerce-columns--addresses {
	display: grid;
	gap: var(--wp--preset--spacing--30);
}
@media (min-width: 600px) {
	.woocommerce-Addresses,
	.woocommerce-customer-details .woocommerce-columns--addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.woocommerce-Addresses::before, .woocommerce-Addresses::after,
.woocommerce-columns--addresses::before, .woocommerce-columns--addresses::after { display: none !important; }
.woocommerce-Address,
.woocommerce-customer-details .woocommerce-column {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--surface);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--card);
}
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: var(--wp--preset--spacing--20); margin-bottom: var(--wp--preset--spacing--20); }
.woocommerce-Address-title h2, .woocommerce-Address-title h3,
.woocommerce-customer-details .woocommerce-column__title { margin: 0; font-size: var(--wp--preset--font-size--medium) !important; }
.woocommerce-MyAccount-content address,
.woocommerce-customer-details address {
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	font-style: normal;
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
	color: var(--wp--preset--color--accent-4);
}

/* ---------- Forms: login, lost password, addresses, account details ---------- */
.woocommerce-account .woocommerce form :is(input.input-text, select, textarea),
.woocommerce-account .woocommerce .select2-selection {
	width: 100%;
	min-height: var(--wp--custom--control--height);
	padding: 0 var(--wp--custom--control--padding-x);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--input);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
}
.woocommerce-account .woocommerce form textarea { padding-block: var(--wp--preset--spacing--30); }
.woocommerce-account .woocommerce form :is(input.input-text, select, textarea):hover { border-color: var(--wp--preset--color--contrast); }
.woocommerce-account .woocommerce form :is(input.input-text, select, textarea):focus-visible {
	outline: var(--wp--custom--border--width-strong) solid var(--wp--preset--color--focus);
	outline-offset: 0;
	border-color: var(--wp--preset--color--focus);
}
.woocommerce-account .woocommerce form .form-row { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--20); margin: 0 0 var(--wp--preset--spacing--30); padding: 0; }
.woocommerce-account .woocommerce form label { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); }
.woocommerce-account .woocommerce form .required { color: var(--wp--preset--color--error); text-decoration: none; }
.woocommerce-account .woocommerce form .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: var(--wp--preset--spacing--30); min-height: var(--wp--custom--control--height-sm); font-weight: var(--wp--custom--font-weight--regular); }
.woocommerce-account .woocommerce form input[type="checkbox"] {
	appearance: none;
	width: var(--wp--custom--icon--size-sm);
	height: var(--wp--custom--icon--size-sm);
	margin: 0;
	background: var(--wp--preset--color--surface);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--sm);
}
.woocommerce-account .woocommerce form input[type="checkbox"]:checked {
	background: var(--wp--preset--color--accent-1) url("../icons/ui/check-on-accent.svg") center / 80% no-repeat;
	border-color: var(--wp--preset--color--accent-1);
}
.woocommerce-account .woocommerce form fieldset { margin: var(--wp--preset--spacing--40) 0 0; padding: var(--wp--preset--spacing--40); border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6); border-radius: var(--wp--custom--radius--card); }
.woocommerce-account .woocommerce form legend { padding: 0 var(--wp--preset--spacing--20); font-weight: var(--wp--custom--font-weight--semibold); }
.woocommerce-account .woocommerce form .show-password-input { color: var(--wp--preset--color--accent-4); }
.woocommerce-account .woocommerce form em { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--accent-4); font-style: normal; }
.woocommerce-account .woocommerce form :is(button[type="submit"], .woocommerce-Button) {
	min-height: var(--wp--custom--control--height);
	padding: 0 var(--wp--custom--control--padding-x);
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--on-accent);
	border: 0;
	box-shadow: none;
	border-radius: var(--wp--custom--radius--button);
	font-weight: var(--wp--custom--font-weight--semibold);
}
.woocommerce-account .woocommerce form :is(button[type="submit"], .woocommerce-Button):hover { background: var(--wp--preset--color--accent-1-strong); }

/* Address form: two columns from 600px */
@media (min-width: 600px) {
	.woocommerce-address-fields__field-wrapper,
	.woocommerce-EditAccountForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--wp--preset--spacing--30); }
	.woocommerce-address-fields__field-wrapper .form-row-wide,
	.woocommerce-EditAccountForm :is(.form-row-wide, fieldset, p:has(button), .clear, div) { grid-column: 1 / -1; }
	.woocommerce-address-fields__field-wrapper .form-row,
	.woocommerce-EditAccountForm .form-row { width: auto !important; float: none !important; }
}

/* Login panel (logged out) */
.woocommerce-account:not(.logged-in) .wp-block-post-content > .woocommerce {
	max-width: var(--wp--custom--layout--content) !important;
	padding: var(--wp--preset--spacing--50);
	background-color: var(--wp--preset--color--surface);
	background-image: var(--wp--custom--glow--soft);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--card);
}
.woocommerce-account:not(.logged-in) .woocommerce > h2 { margin: 0 0 var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--x-large); }
.woocommerce-form-login__submit { width: 100%; }
.woocommerce-LostPassword { margin: var(--wp--preset--spacing--30) 0 0; font-size: var(--wp--preset--font-size--small); }
.woocommerce-LostPassword a { color: var(--wp--preset--color--link); }

/* Classic notices on account pages */
.woocommerce-account :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	margin: 0 0 var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 0;
	border-radius: var(--wp--custom--radius--lg);
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
}
.woocommerce-account .woocommerce-message { background: var(--wp--preset--color--success-surface); }
.woocommerce-account .woocommerce-info { background: var(--wp--preset--color--info-surface); }
.woocommerce-account .woocommerce-error { background: var(--wp--preset--color--error-surface); }
.woocommerce-account :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { color: currentColor; }
.woocommerce-account :is(.woocommerce-message, .woocommerce-info) .button { margin-inline-start: var(--wp--preset--spacing--30); }

/* Mobile: orders table as stacked cards */
@media (max-width: 599px) {
	.woocommerce-MyAccount-content table.shop_table_responsive thead { display: none; }
	.woocommerce-MyAccount-content table.shop_table_responsive tr {
		display: grid;
		gap: var(--wp--preset--spacing--20);
		padding: var(--wp--preset--spacing--30) 0;
		border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	}
	.woocommerce-MyAccount-content table.shop_table_responsive td { display: flex; justify-content: space-between; padding: 0 !important; border: 0 !important; }
	.woocommerce-MyAccount-content table.shop_table_responsive td[data-title]::before { content: attr(data-title); color: var(--wp--preset--color--accent-4); font-family: var(--wp--preset--font-family--mono); font-size: var(--wp--preset--font-size--x-small); text-transform: uppercase; letter-spacing: var(--wp--custom--letter-spacing--label); }
}

/* Single order: billing-only address as a card */
.woocommerce-customer-details:not(:has(.woocommerce-columns)) {
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--surface);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--card);
}
.woocommerce-customer-details h2 { font-size: var(--wp--preset--font-size--medium) !important; margin-bottom: var(--wp--preset--spacing--20) !important; }
.woocommerce-customer-details--email { margin-top: var(--wp--preset--spacing--20) !important; }
.woocommerce-MyAccount-content .woocommerce-table--order-details td:last-child,
.woocommerce-MyAccount-content .woocommerce-table--order-details th:last-child { text-align: end; }

.woocommerce-account .woocommerce :is(.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword) {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

/* ======================================================================
   Design pass (2026-09-28): title, navigation, notices, order actions, login
   ====================================================================== */

/* Page title: aligned with the account grid (logged in) or the login column (logged out), hairline below */
.woocommerce-account .wp-block-post-title {
	margin-block: 0 var(--wp--preset--spacing--50) !important;
	padding-bottom: var(--wp--preset--spacing--40);
	border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: var(--wp--custom--line-height--xx-large);
	letter-spacing: var(--wp--custom--letter-spacing--xx-large);
}
.woocommerce-account:not(.logged-in) .wp-block-post-title,
.woocommerce-account:not(.logged-in) .wp-block-post-content > .woocommerce {
	max-width: calc(var(--wp--custom--layout--content) * 0.84) !important;
	margin-inline: auto !important;
}
.woocommerce-account:not(.logged-in) .wp-block-post-title { border-bottom: 0; padding-bottom: 0; margin-bottom: var(--wp--preset--spacing--40) !important; }
.woocommerce-account:not(.logged-in) .woocommerce > h2 { font-size: var(--wp--preset--font-size--large); }
@media (max-width: 599px) {
	.woocommerce-account .wp-block-post-title { font-size: var(--wp--preset--font-size--x-large); line-height: var(--wp--custom--line-height--x-large); margin-bottom: var(--wp--preset--spacing--40) !important; }
	.woocommerce-account:not(.logged-in) .wp-block-post-content > .woocommerce { padding: var(--wp--preset--spacing--40); }
}

/* Navigation: 44px tabs with icons, active tab lit on the left, log out set apart, sticky sidebar */
.woocommerce-MyAccount-navigation li { padding: 0 !important; }
.woocommerce-MyAccount-navigation a {
	gap: var(--wp--preset--spacing--20);
	min-height: var(--wp--custom--control--height-sm);
	transition: background-color var(--wp--custom--transition--fast), color var(--wp--custom--transition--fast);
}
.woocommerce-MyAccount-navigation a::before {
	content: "";
	flex: none;
	width: var(--wp--custom--icon--size-sm);
	height: var(--wp--custom--icon--size-sm);
	background: currentColor;
	mask: var(--nv-nav-icon, url("../icons/arrow-right.svg")) center / contain no-repeat;
	opacity: 0.8;
}
.woocommerce-MyAccount-navigation-link--dashboard { --nv-nav-icon: url("../icons/wp/spark.svg"); }
.woocommerce-MyAccount-navigation-link--orders { --nv-nav-icon: url("../icons/cart.svg"); }
.woocommerce-MyAccount-navigation-link--edit-address { --nv-nav-icon: url("../icons/truck.svg"); }
.woocommerce-MyAccount-navigation-link--edit-account { --nv-nav-icon: url("../icons/account.svg"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --nv-nav-icon: url("../icons/arrow-right.svg"); }
.woocommerce-MyAccount-navigation .is-active a::before { opacity: 1; color: var(--wp--preset--color--link); }
.woocommerce-MyAccount-navigation li a,
.woocommerce-MyAccount-navigation li.is-active a { text-decoration: none !important; }
.woocommerce-MyAccount-navigation a:focus-visible { outline-offset: calc(var(--wp--custom--border--width-strong) * -1); }
@media (min-width: 782px) {
	.woocommerce-MyAccount-navigation {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--40));
	}
	.woocommerce-MyAccount-navigation ul { gap: var(--wp--custom--border--width-strong); }
	.woocommerce-MyAccount-navigation a { padding: 0 var(--wp--preset--spacing--30); }
	.woocommerce-MyAccount-navigation .is-active a {
		background: var(--wp--preset--color--surface);
		border-color: var(--wp--preset--color--accent-6);
		box-shadow: inset var(--wp--custom--border--width-strong) 0 0 var(--wp--preset--color--link);
	}
	.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: var(--wp--preset--spacing--30) !important;
		padding-top: var(--wp--preset--spacing--30) !important;
		border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	}
}
@media (max-width: 781px) {
	.woocommerce-MyAccount-navigation ul { gap: 0; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation a::before { width: var(--wp--custom--icon--size-sm); }
}

/* Block notices (e.g. "Confirm your email address"): Notice spec, action as a small secondary button on the right */
.woocommerce-account .wc-block-components-notice-banner {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	margin: 0;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--info-surface);
	color: var(--wp--preset--color--contrast);
	border: 0;
	border-radius: var(--wp--custom--radius--lg);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
}
.woocommerce-account .wc-block-components-notice-banner > svg { flex: none; width: var(--wp--custom--icon--size); height: var(--wp--custom--icon--size); padding: 0; background: transparent; fill: var(--wp--preset--color--info); }
.woocommerce-account .wc-block-components-notice-banner.is-success { background: var(--wp--preset--color--success-surface); }
.woocommerce-account .wc-block-components-notice-banner.is-success > svg { fill: var(--wp--preset--color--success); }
.woocommerce-account .wc-block-components-notice-banner.is-error { background: var(--wp--preset--color--error-surface); }
.woocommerce-account .wc-block-components-notice-banner.is-error > svg { fill: var(--wp--preset--color--error); }
.woocommerce-account .wc-block-components-notice-banner.is-warning { background: var(--wp--preset--color--warning-surface); }
.woocommerce-account .wc-block-components-notice-banner.is-warning > svg { fill: var(--wp--preset--color--warning); }
.woocommerce-account .wc-block-components-notice-banner__content {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}
.woocommerce-account .wc-block-components-notice-banner__content .button {
	order: 2;
	float: none !important;
	margin: 0 0 0 auto !important;
	display: inline-flex !important;
	align-items: center;
	min-height: var(--wp--custom--control--height-sm);
	padding: 0 var(--wp--custom--control--padding-x-sm) !important;
	background: transparent !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 0 !important;
	box-shadow: inset 0 0 0 var(--wp--custom--border--width) var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--button);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none !important;
	white-space: nowrap;
	opacity: 1 !important;
}
.woocommerce-account .wc-block-components-notice-banner__content .button:hover { box-shadow: inset 0 0 0 var(--wp--custom--border--width) var(--wp--preset--color--contrast); }

/* Orders table: actions as one compact row; Pay primary, View secondary, Cancel quiet */
.woocommerce-account .woocommerce table.woocommerce-orders-table { width: 100%; }
.woocommerce-account .woocommerce table.woocommerce-orders-table td { vertical-align: middle; }
.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions,
.woocommerce-account .woocommerce table.woocommerce-orders-table th.woocommerce-orders-table__header-order-actions { text-align: end; white-space: nowrap; }
.woocommerce-account .woocommerce table.woocommerce-orders-table a.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-height: var(--wp--custom--control--height-sm);
	margin: 0 0 0 var(--wp--preset--spacing--20) !important;
	padding: 0 var(--wp--custom--control--padding-x-sm) !important;
	line-height: var(--wp--custom--line-height--small);
	vertical-align: middle;
}
.woocommerce-account .woocommerce table.woocommerce-orders-table a.button.pay {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--on-accent);
	box-shadow: none;
}
.woocommerce-account .woocommerce table.woocommerce-orders-table a.button.pay:hover { background: var(--wp--preset--color--accent-1-strong); box-shadow: none; }
.woocommerce-account .woocommerce table.woocommerce-orders-table a.button.cancel { box-shadow: none; color: var(--wp--preset--color--accent-4); }
.woocommerce-account .woocommerce table.woocommerce-orders-table a.button.cancel:hover { color: var(--wp--preset--color--error); box-shadow: none; }
@media (max-width: 599px) {
	.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { display: flex !important; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); justify-content: flex-start; padding-top: var(--wp--preset--spacing--20) !important; }
	.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before { display: none; }
	.woocommerce-account .woocommerce table.woocommerce-orders-table a.button { margin: 0 !important; flex: 1 1 auto; }
	/* WooCommerce hides the row header on phones, but it carries the order number: show it as the card's first line */
	.woocommerce-account .woocommerce table.shop_table_responsive tbody th[data-title] {
		display: flex !important;
		justify-content: space-between;
		padding: 0 !important;
		border: 0 !important;
		font-weight: var(--wp--custom--font-weight--semibold);
	}
	.woocommerce-account .woocommerce table.shop_table_responsive tbody th[data-title]::before {
		content: attr(data-title);
		color: var(--wp--preset--color--accent-4);
		font-family: var(--wp--preset--font-family--mono);
		font-size: var(--wp--preset--font-size--x-small);
		font-weight: var(--wp--custom--font-weight--regular);
		text-transform: uppercase;
		letter-spacing: var(--wp--custom--letter-spacing--label);
	}
}

/* Browser autofill keeps the dark field colours (Chrome paints autofilled inputs light) */
.woocommerce-account .woocommerce form input:-webkit-autofill,
.woocommerce-account .woocommerce form input:-webkit-autofill:hover,
.woocommerce-account .woocommerce form input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--wp--preset--color--contrast);
	caret-color: var(--wp--preset--color--contrast);
	box-shadow: inset 0 0 0 var(--wp--custom--layout--wide) var(--wp--preset--color--surface); /* covers the UA autofill fill */
}
