/**
 * My account – De Slimme Doos.
 *
 * Dashboard, orders, "Eerder besteld", order details, addresses, account
 * details, downloads and the login/password screens. WooCommerce owns the
 * behaviour; markup comes from woocommerce/myaccount/ and
 * template-parts/account/. Loaded on the account page only (inc/enqueue.php).
 */

/* Page shell: no white box, a calm centred column ------------------------ */

.woocommerce-account .site-main {
	margin: 0;
}

.woocommerce-account .inside-article {
	max-width: 1200px;
	margin-inline: auto;
	padding: 1.5rem 0 4rem;
	background-color: transparent;
}

.woocommerce-account .entry-header {
	margin-bottom: 1.5rem;
}

.woocommerce-account .entry-title {
	font-size: var(--eno-text-headline-lg);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

@media (max-width: 1247px) {
	.woocommerce-account .inside-article {
		padding-inline: var(--eno-gutter);
	}
}

@media (min-width: 1024px) {
	.woocommerce-account .inside-article {
		padding-top: 2.5rem;
	}

	.woocommerce-account .entry-header {
		margin-bottom: 2rem;
	}
}

/* Layout: navigation + content ------------------------------------------- */

.woocommerce-account .entry-content > .woocommerce:has(.eno-account-nav) {
	display: grid;
	gap: 1.5rem;
}

.woocommerce-account .entry-content > .woocommerce:has(.eno-account-nav)::before,
.woocommerce-account .entry-content > .woocommerce:has(.eno-account-nav)::after {
	display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	width: auto;
	float: none;
	min-width: 0;
}

@media (min-width: 1024px) {
	.woocommerce-account .entry-content > .woocommerce:has(.eno-account-nav) {
		grid-template-columns: 16.5rem minmax(0, 1fr);
		align-items: start;
		gap: 3rem;
	}

	.eno-account-nav {
		position: sticky;
		top: 2rem;
	}
}

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

.eno-account-nav {
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
}

.eno-account-nav__user {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	border-bottom: 1px solid var(--eno-color-surface);
}

.eno-account-nav__avatar {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background-color: var(--eno-color-orange-tint);
	color: var(--eno-color-orange-dark);
	font-family: var(--eno-font-heading);
	font-weight: 700;
}

.eno-account-nav__who {
	display: grid;
	min-width: 0;
	line-height: 1.3;
}

.eno-account-nav__name {
	overflow: hidden;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-body);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eno-account-nav__email {
	overflow: hidden;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Mobile: two columns of compact buttons, everything visible at once. */
.eno-account-nav__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.375rem;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
}

.eno-account-nav__list li {
	margin: 0;
}

.eno-account-nav__list a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.625rem;
	border-radius: var(--eno-radius);
	color: var(--eno-color-text);
	font-size: var(--eno-text-label);
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color 150ms var(--eno-ease), color 150ms var(--eno-ease);
}

.eno-account-nav__list .eno-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--eno-color-outline);
	transition: color 150ms var(--eno-ease);
}

.eno-account-nav__list a:hover,
.eno-account-nav__list a:focus-visible {
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-text);
}

.eno-account-nav__list a:hover .eno-icon,
.eno-account-nav__list a:focus-visible .eno-icon {
	color: var(--eno-color-orange);
}

.eno-account-nav__list .is-active a {
	background-color: var(--eno-color-orange-tint);
	color: var(--eno-color-orange-dark);
	font-weight: 600;
}

.eno-account-nav__list .is-active .eno-icon {
	color: var(--eno-color-orange);
}

.eno-account-nav__list .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--eno-color-text-muted);
}

@media (max-width: 1023px) {
	.eno-account-nav__user {
		padding: 0.75rem 1rem;
	}
}

@media (min-width: 1024px) {
	.eno-account-nav__list {
		grid-template-columns: 1fr;
		gap: 0.125rem;
		padding: 0.75rem;
	}

	.eno-account-nav__list a {
		gap: 0.75rem;
		padding-inline: 0.75rem;
		font-size: var(--eno-text-body);
	}

	.eno-account-nav__list .woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 0.5rem;
		padding-top: 0.5rem;
		border-top: 1px solid var(--eno-color-surface);
	}
}

/* Shared content pieces --------------------------------------------------- */

.woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

.woocommerce-MyAccount-content h2 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.eno-account-lead {
	max-width: 44rem;
	margin: 0 0 1.5rem;
	color: var(--eno-color-text-muted);
}

.eno-account-section {
	margin-top: 2.5rem;
}

.eno-account-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	margin-bottom: 1rem;
}

.eno-account-section__title {
	margin: 0;
}

.eno-account-section__head .eno-text-link {
	font-size: var(--eno-text-label);
}

/* Status badge */
.eno-status {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.625rem;
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-surface);
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.eno-status::before {
	width: 0.4375rem;
	height: 0.4375rem;
	border-radius: 50%;
	background-color: currentcolor;
	content: "";
}

.eno-status--completed {
	background-color: var(--eno-color-green-soft);
	color: var(--eno-color-green-ink);
}

.eno-status--processing {
	background-color: var(--eno-color-orange-tint);
	color: var(--eno-color-orange-dark);
}

.eno-status--on-hold,
.eno-status--pending {
	background-color: var(--eno-color-kraft-soft);
	color: var(--eno-color-kraft-ink);
}

.eno-status--failed {
	background-color: #fbe9e7;
	color: #b3261e;
}

/* Buttons: WooCommerce's .button in the theme's button style. These outrank
   WooCommerce's ".woocommerce a.button" (0,2,1) and its :hover. */
.woocommerce-account .woocommerce :is(a.button, button.button, input.button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--eno-color-orange);
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-orange);
	box-shadow: var(--eno-shadow-sm);
	color: var(--eno-color-white);
	font-family: var(--eno-font-body);
	font-size: var(--eno-text-label);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.05em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 150ms var(--eno-ease), border-color 150ms var(--eno-ease), box-shadow 150ms var(--eno-ease);
}

.woocommerce-account .woocommerce :is(a.button, button.button, input.button):is(:hover, :focus-visible) {
	border-color: var(--eno-color-orange-dark);
	background-color: var(--eno-color-orange-dark);
	box-shadow: var(--eno-shadow-md);
	color: var(--eno-color-white);
}

.woocommerce-account .woocommerce :is(a.button, button.button).eno-button--outline {
	border-color: var(--eno-color-outline);
	background-color: transparent;
	box-shadow: none;
	color: var(--eno-color-orange);
}

.woocommerce-account .woocommerce :is(a.button, button.button).eno-button--outline:is(:hover, :focus-visible) {
	border-color: var(--eno-color-outline);
	background-color: var(--eno-color-surface-low);
	box-shadow: none;
	color: var(--eno-color-orange);
}

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

.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--eno-color-surface-high);
	border-left: 3px solid var(--eno-color-green);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
	font-size: var(--eno-text-body);
	line-height: 1.5;
	list-style: none;
}

.woocommerce-account .woocommerce .woocommerce-info {
	border-left-color: var(--eno-color-orange);
}

.woocommerce-account .woocommerce .woocommerce-error {
	display: grid;
	border-left-color: #b3261e;
}

.woocommerce-account .woocommerce .woocommerce-error li {
	margin: 0;
}

.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	display: none;
}

.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a.button {
	order: 2;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--eno-color-orange-dark);
	font-weight: 700;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a.button:is(:hover, :focus-visible) {
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--eno-color-orange-dark);
	text-decoration-thickness: 2px;
}

.woocommerce-account .woocommerce .woocommerce-error a.button {
	margin-left: 0.25rem;
}

/* Dashboard ---------------------------------------------------------------- */

.eno-account-intro__title {
	margin: 0 0 0.5rem;
	font-size: var(--eno-text-headline-md);
}

.woocommerce-MyAccount-content .eno-account-intro__title {
	font-size: var(--eno-text-headline-md);
}

.eno-account-intro__text {
	max-width: 40rem;
	margin: 0;
	color: var(--eno-color-text-muted);
}

.eno-account-intro__logout {
	margin: 0.5rem 0 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
}

.eno-account-intro__logout a {
	color: var(--eno-color-orange-dark);
	font-weight: 600;
}

.eno-account-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.eno-account-tiles li {
	display: flex;
	margin: 0;
}

.eno-account-tile {
	display: grid;
	flex: 1;
	align-content: start;
	gap: 0.25rem;
	padding: 1rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
	text-decoration: none;
	transition: border-color 200ms var(--eno-ease), box-shadow 200ms var(--eno-ease), transform 200ms var(--eno-ease);
}

.eno-account-tile__icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.5rem;
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-orange-tint);
	color: var(--eno-color-orange);
}

.eno-account-tile__icon .eno-icon {
	width: 1.375rem;
	height: 1.375rem;
}

.eno-account-tile__title {
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-body);
	font-weight: 700;
	line-height: 1.3;
}

.eno-account-tile__text {
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	line-height: 1.45;
}

.eno-account-tile:hover,
.eno-account-tile:focus-visible {
	border-color: var(--eno-color-orange);
	box-shadow: var(--eno-shadow-float);
	color: var(--eno-color-text);
}

@media (prefers-reduced-motion: no-preference) {
	.eno-account-tile:hover {
		transform: translateY(-2px);
	}
}

@media (min-width: 640px) {
	.eno-account-tile {
		padding: 1.25rem;
	}

	.eno-account-tile__text {
		font-size: var(--eno-text-label);
	}
}

@media (min-width: 1200px) {
	.eno-account-tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.eno-account-dashboard > .eno-help {
	margin-top: 3rem;
}

@media (min-width: 768px) {
	.eno-account-dashboard > .eno-help {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		padding: 1.75rem 2rem;
	}
}

/* Order cards (orders list, dashboard) ------------------------------------ */

.eno-order-list {
	display: grid;
	gap: 1rem;
}

.eno-order-card {
	display: grid;
	gap: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	transition: border-color 200ms var(--eno-ease), box-shadow 200ms var(--eno-ease);
}

.eno-order-card:hover {
	border-color: var(--eno-color-surface-dim);
	box-shadow: var(--eno-shadow-float);
}

.eno-order-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.woocommerce-MyAccount-content .eno-order-card__number {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.eno-order-card__number a {
	color: var(--eno-color-text);
	text-decoration: none;
}

.eno-order-card__number a:hover,
.eno-order-card__number a:focus-visible {
	color: var(--eno-color-orange-dark);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.eno-order-card__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
	gap: 0.75rem 1.5rem;
	margin: 0;
	padding: 0.875rem 1rem;
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-surface-low);
}

.eno-order-card__meta div {
	display: grid;
	gap: 0.125rem;
}

.eno-order-card__meta dt {
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 500;
	letter-spacing: 0.02em;
}

.eno-order-card__meta dd {
	margin: 0;
	font-size: var(--eno-text-label);
	font-weight: 600;
}

.eno-order-card__total {
	font-variant-numeric: tabular-nums;
}

.eno-order-card__total .woocommerce-Price-amount {
	font-weight: 700;
}

.eno-order-card__products {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eno-order-card__products li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}

.eno-order-card__thumb,
.eno-reorder-row__thumb {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	overflow: hidden;
	width: 3rem;
	height: 3rem;
	border: 1px solid var(--eno-color-surface);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-outline);
}

.eno-order-card__thumb img,
.eno-reorder-row__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eno-order-card__product {
	display: grid;
	min-width: 0;
	line-height: 1.35;
}

.eno-order-card__product-name {
	overflow: hidden;
	font-size: var(--eno-text-label);
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eno-order-card__product-qty {
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
}

.eno-order-card__more {
	padding-left: 3.75rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
}

.eno-order-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--eno-color-surface);
}

@media (max-width: 639px) {
	.eno-order-card__actions .button {
		flex: 1 1 auto;
	}
}

@media (min-width: 768px) {
	.eno-order-card {
		padding: 1.5rem;
	}
}

.eno-account-pagination {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
}

/* Previously ordered products --------------------------------------------- */

.eno-reorder-list {
	display: grid;
	margin: 0;
	padding: 0;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	list-style: none;
}

.eno-reorder-row {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	gap: 0.75rem 1rem;
	margin: 0;
	padding: 1rem;
	transition: background-color 150ms var(--eno-ease);
}

.eno-reorder-row + .eno-reorder-row {
	border-top: 1px solid var(--eno-color-surface);
}

.eno-reorder-row:hover {
	background-color: var(--eno-color-bg);
}

.eno-reorder-row__thumb {
	width: 3.5rem;
	height: 3.5rem;
}

.woocommerce-MyAccount-content .eno-reorder-row__name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.5rem;
	margin: 0;
	font-size: var(--eno-text-body);
	font-weight: 600;
	line-height: 1.35;
}

.eno-reorder-row__name a {
	color: var(--eno-color-text);
	text-decoration: none;
}

.eno-reorder-row__name a:hover,
.eno-reorder-row__name a:focus-visible {
	color: var(--eno-color-orange-dark);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.eno-reorder-row__tag {
	padding: 0.125rem 0.375rem;
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-kraft-soft);
	color: var(--eno-color-kraft-ink);
	font-family: var(--eno-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.eno-reorder-row__config,
.eno-reorder-row__meta {
	margin: 0.25rem 0 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	line-height: 1.5;
}

.eno-reorder-row__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.75rem;
	margin: 0.375rem 0 0;
	font-size: var(--eno-text-label);
}

.eno-reorder-row__bulk {
	color: var(--eno-color-green-ink);
	font-size: var(--eno-text-small);
	font-weight: 600;
}

.eno-reorder-row__action {
	grid-column: 1 / -1;
}

.eno-reorder-form {
	display: flex;
	gap: 0.5rem;
	margin: 0;
}

.woocommerce-account .eno-reorder-form .eno-reorder-form__qty {
	width: 6.5rem;
	min-height: 2.875rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--eno-color-surface-dim);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
	font-size: var(--eno-text-body);
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.woocommerce-account .eno-reorder-form .eno-reorder-form__qty:focus {
	border-color: var(--eno-color-orange);
	outline: none;
	box-shadow: 0 0 0 3px var(--eno-color-orange-tint);
}

.eno-reorder-form__button {
	flex: 1;
}

.eno-reorder-row__unavailable {
	margin: 0 0 0.5rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
	font-weight: 600;
}

.eno-reorder-row.is-unavailable .eno-reorder-row__thumb {
	opacity: 0.55;
}

@media (min-width: 768px) {
	.eno-reorder-row {
		grid-template-columns: 4rem minmax(0, 1fr) auto;
		align-items: center;
		padding: 1.125rem 1.25rem;
	}

	.eno-reorder-row__thumb {
		width: 4rem;
		height: 4rem;
	}

	.eno-reorder-row__action {
		grid-column: auto;
		justify-self: end;
		text-align: right;
	}

	.eno-reorder-form__button {
		flex: none;
	}
}

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

.eno-account-empty {
	display: grid;
	justify-items: center;
	padding: 2.5rem 1.5rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	text-align: center;
}

.eno-account-dashboard .eno-account-empty {
	margin-top: 2rem;
}

.eno-account-empty__icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background-color: var(--eno-color-orange-tint);
	color: var(--eno-color-orange);
}

.woocommerce-MyAccount-content .eno-account-empty__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
}

.eno-account-empty__text {
	max-width: 30rem;
	margin: 0 0 1.5rem;
	color: var(--eno-color-text-muted);
}

.eno-account-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

@media (min-width: 768px) {
	.eno-account-empty {
		padding: 3.5rem 2rem;
	}
}

/* Single order -------------------------------------------------------------- */

.eno-order-header {
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
	padding: 1.25rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
}

.eno-order-header__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.eno-order-header__back {
	font-size: var(--eno-text-label);
}

.eno-order-header__note {
	margin: -0.25rem 0 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
}

@media (min-width: 768px) {
	.eno-order-header {
		padding: 1.5rem;
	}
}

/* Order updates as a short timeline */
.eno-order-updates {
	margin-bottom: 2rem;
}

.eno-order-updates .woocommerce-OrderUpdates {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eno-order-updates .woocommerce-OrderUpdate {
	position: relative;
	margin: 0;
	padding: 0 0 1.25rem 1.5rem;
	border-left: 2px solid var(--eno-color-surface-high);
}

.eno-order-updates .woocommerce-OrderUpdate:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}

.eno-order-updates .woocommerce-OrderUpdate::before {
	position: absolute;
	top: 0.3rem;
	left: -0.4375rem;
	width: 0.75rem;
	height: 0.75rem;
	border: 2px solid var(--eno-color-white);
	border-radius: 50%;
	background-color: var(--eno-color-orange);
	content: "";
}

.eno-order-updates .woocommerce-OrderUpdate-meta {
	margin: 0 0 0.25rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
}

.eno-order-updates .woocommerce-OrderUpdate-description p {
	margin: 0;
}

/* WooCommerce order details table + customer addresses */
.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details {
	margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
	margin: 0 0 1rem;
}

.woocommerce-account .woocommerce table.shop_table {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--eno-color-surface-high);
	border-collapse: separate;
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
}

.woocommerce-account .woocommerce table.shop_table :is(th, td) {
	padding: 0.875rem 1.25rem;
	border-top: 1px solid var(--eno-color-surface);
	font-size: var(--eno-text-label);
	line-height: 1.5;
	vertical-align: top;
}

.woocommerce-account .woocommerce table.shop_table thead th {
	border-top: 0;
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.woocommerce-account .woocommerce table.shop_table tfoot :is(th, td) {
	background-color: var(--eno-color-bg);
}

.woocommerce-account .woocommerce table.shop_table tfoot tr:last-child :is(th, td) {
	font-size: var(--eno-text-body);
	font-weight: 700;
}

.woocommerce-account .woocommerce table.shop_table .product-name a {
	color: var(--eno-color-text);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-account .woocommerce table.shop_table .product-name a:hover {
	color: var(--eno-color-orange-dark);
	text-decoration: underline;
}

.woocommerce-account .woocommerce table.shop_table .wc-item-meta {
	margin: 0.25rem 0 0;
	padding: 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	list-style: none;
}

.woocommerce-account .woocommerce table.shop_table .wc-item-meta :is(li, p) {
	margin: 0;
}

.woocommerce-account .woocommerce table.shop_table .wc-item-meta .wc-item-meta-label {
	float: none;
	margin-right: 0.25rem;
	font-weight: 600;
}

.woocommerce-account .woocommerce table.shop_table .product-name .eno-order-line__reorder,
.woocommerce-account .woocommerce table.shop_table .product-name .eno-order-line__unavailable {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin-top: 0.5rem;
	font-size: var(--eno-text-small);
}

.woocommerce-account .woocommerce table.shop_table .product-name .eno-order-line__reorder {
	color: var(--eno-color-orange-dark);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-account .woocommerce table.shop_table .product-name .eno-order-line__reorder:hover,
.woocommerce-account .woocommerce table.shop_table .product-name .eno-order-line__reorder:focus-visible {
	text-decoration: underline;
}

.woocommerce-account .woocommerce table.shop_table .product-name .eno-order-line__unavailable {
	display: block;
	color: var(--eno-color-text-muted);
}

.woocommerce-account .woocommerce .order-again {
	display: none;
}

.woocommerce-account .woocommerce-customer-details .col2-set {
	display: grid;
	gap: 1rem;
}

.woocommerce-account .woocommerce-customer-details .col2-set::before,
.woocommerce-account .woocommerce-customer-details .col2-set::after {
	display: none;
}

.woocommerce-account .woocommerce-customer-details .col2-set .col-1,
.woocommerce-account .woocommerce-customer-details .col2-set .col-2 {
	width: auto;
	float: none;
}

.woocommerce-account .woocommerce .woocommerce-customer-details address {
	padding: 1.25rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	font-style: normal;
	line-height: 1.6;
}

.woocommerce-account .woocommerce-customer-details address p {
	margin: 0.5rem 0 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
}

.woocommerce-account .woocommerce-customer-details address p::before {
	margin-right: 0.5rem;
}

@media (min-width: 768px) {
	.woocommerce-account .woocommerce-customer-details .col2-set {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Addresses ---------------------------------------------------------------- */

.woocommerce-account .eno-address-grid {
	display: grid;
	gap: 1rem;
}

.woocommerce-account .eno-address-grid::before,
.woocommerce-account .eno-address-grid::after {
	display: none;
}

.woocommerce-account .woocommerce .eno-address-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	width: auto;
	margin: 0;
	padding: 1.25rem;
	float: none;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	transition: border-color 200ms var(--eno-ease), box-shadow 200ms var(--eno-ease);
}

.woocommerce-account .woocommerce .eno-address-card:hover {
	border-color: var(--eno-color-surface-dim);
	box-shadow: var(--eno-shadow-float);
}

.woocommerce-account .woocommerce .eno-address-card__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}

.eno-address-card__icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-orange-tint);
	color: var(--eno-color-orange);
}

.eno-address-card__icon .eno-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.woocommerce-account .eno-address-card__head h2 {
	margin: 0;
	font-size: 1.125rem;
}

.woocommerce-account .eno-address-card address {
	flex: 1;
	margin: 0;
	font-style: normal;
	line-height: 1.6;
}

.woocommerce-account .eno-address-card.is-empty address {
	color: var(--eno-color-text-muted);
}

@media (min-width: 768px) {
	.woocommerce-account .eno-address-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce-account .woocommerce .eno-address-card {
		padding: 1.5rem;
	}
}

/* Forms: edit address, account details, login, lost/reset password --------- */

.woocommerce-account .woocommerce :is(form.woocommerce-EditAccountForm, .woocommerce-address-fields, form.login, form.register, form.lost_reset_password) {
	margin: 0;
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
}

.woocommerce-account .woocommerce form:has(> .woocommerce-address-fields) > h2,
.woocommerce-account .woocommerce form:has(> .woocommerce-address-fields) > h3 {
	margin: 0 0 1rem;
	font-size: 1.25rem;
}

.woocommerce-account .woocommerce form .form-row {
	margin: 0 0 1.125rem;
	padding: 0;
}

.woocommerce-account .woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: var(--eno-text-label);
	font-weight: 600;
	line-height: 1.4;
}

.woocommerce-account .woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
	cursor: pointer;
}

.woocommerce-account .woocommerce form .form-row label .optional {
	color: var(--eno-color-text-muted);
	font-weight: 400;
}

.woocommerce-account .woocommerce form .form-row .required {
	color: var(--eno-color-orange-dark);
	text-decoration: none;
}

.woocommerce-account .woocommerce form .form-row :is(input.input-text, textarea, select),
.woocommerce-account .woocommerce form .password-input input {
	width: 100%;
	min-height: 3rem;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--eno-color-surface-dim);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 150ms var(--eno-ease), box-shadow 150ms var(--eno-ease);
}

.woocommerce-account .woocommerce form .form-row :is(input.input-text, textarea, select):hover {
	border-color: var(--eno-color-outline);
}

.woocommerce-account .woocommerce form .form-row :is(input.input-text, textarea, select):focus {
	border-color: var(--eno-color-orange);
	outline: none;
	box-shadow: 0 0 0 3px var(--eno-color-orange-tint);
}

.woocommerce-account .woocommerce form .form-row.woocommerce-invalid :is(input.input-text, select) {
	border-color: #b3261e;
}

.woocommerce-account .woocommerce form .form-row .description,
.woocommerce-account .woocommerce form .form-row em {
	display: block;
	margin-top: 0.375rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-style: normal;
}

/* Country / state dropdowns (selectWoo) */
.woocommerce-account .select2-container .select2-selection--single {
	height: 3rem;
	border: 1px solid var(--eno-color-surface-dim);
	border-radius: var(--eno-radius);
}

.woocommerce-account .select2-container .select2-selection--single .select2-selection__rendered {
	padding-inline: 0.875rem 2rem;
	line-height: 2.875rem;
}

.woocommerce-account .select2-container .select2-selection--single .select2-selection__arrow {
	height: 2.875rem;
	right: 0.5rem;
}

.woocommerce-account .select2-container--focus .select2-selection--single,
.woocommerce-account .select2-container--open .select2-selection--single {
	border-color: var(--eno-color-orange);
}

/* Password change block on the account details page */
.woocommerce-account .woocommerce form.woocommerce-EditAccountForm fieldset {
	margin: 0.5rem 0 1.5rem;
	padding: 1.25rem 1.25rem 0.25rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-bg);
}

.woocommerce-account .woocommerce form.woocommerce-EditAccountForm legend {
	padding: 0 0.5rem;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-body);
	font-weight: 700;
}

/* Company details block on the account details page (same look as the password block) */
.woocommerce-account .woocommerce form.woocommerce-EditAccountForm .eno-account-company__intro {
	margin: 0 0 1.125rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
}

.woocommerce-account .woocommerce form :is(.woocommerce-EditAccountForm, .woocommerce-address-fields) > p:last-of-type,
.woocommerce-account .woocommerce .woocommerce-address-fields > p:last-child {
	margin: 0;
}

@media (min-width: 768px) {
	.woocommerce-account .woocommerce :is(form.woocommerce-EditAccountForm, .woocommerce-address-fields) {
		padding: 2rem;
	}
}

/* Login and password screens: one centred card ------------------------------ */

.eno-account-guest .entry-header {
	text-align: center;
}

.eno-account-guest .entry-content > .woocommerce {
	max-width: 28rem;
	margin-inline: auto;
}

.eno-account-guest .entry-content > .woocommerce:has(#customer_login) {
	max-width: 60rem;
}

.eno-account-guest .woocommerce h2 {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.eno-account-guest #customer_login {
	display: grid;
	gap: 1.5rem;
}

.eno-account-guest #customer_login::before,
.eno-account-guest #customer_login::after {
	display: none;
}

.eno-account-guest #customer_login > .u-column1,
.eno-account-guest #customer_login > .u-column2 {
	width: auto;
	float: none;
}

@media (min-width: 768px) {
	.eno-account-guest #customer_login {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eno-account-guest .woocommerce :is(form.login, form.register, form.lost_reset_password) {
		padding: 2rem;
	}
}

.eno-account-guest .woocommerce form .woocommerce-form-login__rememberme {
	margin-bottom: 1rem;
}

.eno-account-guest .woocommerce form :is(.woocommerce-form-login__submit, .woocommerce-form-register__submit, .woocommerce-Button) {
	width: 100%;
	min-height: 3.25rem;
	float: none;
	font-size: 1rem;
}

.eno-account-guest .woocommerce .lost_password {
	margin: 1rem 0 0;
	font-size: var(--eno-text-label);
	text-align: center;
}

.eno-account-guest .woocommerce .lost_password a {
	color: var(--eno-color-orange-dark);
	font-weight: 600;
}

.eno-account-guest .woocommerce form.lost_reset_password > p:first-child {
	color: var(--eno-color-text-muted);
}

.eno-account-guest .woocommerce form.lost_reset_password .form-row-first,
.eno-account-guest .woocommerce form.lost_reset_password .form-row-last {
	width: 100%;
	float: none;
}

/* Downloads table ----------------------------------------------------------- */

.woocommerce-account .woocommerce table.woocommerce-table--order-downloads .download-file a {
	color: var(--eno-color-orange-dark);
	font-weight: 600;
}

@media (max-width: 767px) {
	.woocommerce-account .woocommerce table.shop_table_responsive tr td {
		padding-inline: 1rem;
	}
}

/* Order details: the action row repeats the buttons of the order header. */
.woocommerce-account .woocommerce table.order_details tfoot tr:has(> .order-actions--heading) {
	display: none;
}

.woocommerce-account .woocommerce table.order_details :is(th, td).product-name {
	width: 70%;
}

.woocommerce-account .woocommerce table.order_details :is(th, td).product-total,
.woocommerce-account .woocommerce table.order_details tfoot td {
	text-align: right;
	white-space: nowrap;
}

/* WooCommerce focuses new notices for screen readers; no visible ring needed. */
.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):focus {
	outline: none;
}
