/*
 * Signed-in account area, Favorites and Compare (account-area change, D1–D9). Figma profile-info, favorites,
 * comparison, payment-methods, orders, delivery-addresses and their mobile frames; spec in the change's
 * figma/account-area-spec.md. Mobile first; the tab bar becomes a sidebar at 1200px (the header's breakpoint). The
 * fields and notices come from account.css. States not in Figma are ours (decision 11).
 */

.account-main {
	background: var(--color-surface);
}

.account-layout {
	max-width: var(--page-max-width);
	margin-inline: auto;
}

/* Profile header. */

.account-layout__side {
	background: var(--color-white);
}

.account-profile {
	display: flex;
	align-items: center;
	gap: var(--space-16);
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.account-profile__avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white);
	font-family: var(--font-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.account-profile__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.account-profile__name {
	overflow: hidden;
	color: var(--color-text);
	font-family: var(--font-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.account-profile__since {
	color: var(--color-text-muted);
	font-size: 11px;
	line-height: 1.2;
}

/* Navigation: a tab bar that scrolls inside itself. */

.account-nav {
	overflow-x: auto;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-white);
	scrollbar-width: none;
}

.account-nav::-webkit-scrollbar {
	display: none;
}

.account-nav__list {
	display: flex;
	width: max-content;
	min-width: 100%;
	padding-inline: 6px;
}

.account-nav__link {
	display: block;
	padding: var(--space-12) 6px 10px;
	border-bottom: 2px solid transparent;
	color: var(--color-text-body);
	font-size: 11px;
	line-height: 1.2;
	white-space: nowrap;
}

.account-nav__link:hover {
	color: var(--color-primary);
}

.account-nav__link[aria-current="page"] {
	border-bottom-color: var(--color-accent);
	color: var(--color-accent);
	font-weight: 600;
}

.account-nav__link:focus-visible {
	outline-offset: -2px;
}

/* Content. */

.account-layout__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: var(--space-24) var(--space-16) var(--space-40);
}

.account-layout__content > .woocommerce-notices-wrapper:empty {
	display: none;
}

.account-layout__content .woocommerce-message,
.account-layout__content .woocommerce-error,
.account-layout__content .woocommerce-info {
	margin: 0;
}

.account-layout__content .woocommerce-error a,
.account-layout__content .woocommerce-message a,
.account-layout__content .woocommerce-info a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: underline;
}

.account-heading {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.account-heading__title {
	margin: 0;
	color: var(--color-text);
	font-family: var(--font-serif);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
}

.account-heading__intro {
	margin: 0;
	color: var(--color-text-body);
	font-size: 13px;
	line-height: 1.35;
}

.account-heading--form {
	gap: var(--space-4);
}

.account-heading--form .account-heading__title {
	font-size: 22px;
}

.account-heading--form .account-heading__intro {
	color: var(--color-text-muted);
	font-size: 12px;
}

.account-back {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: var(--space-8);
	color: var(--color-accent);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.account-back .icon {
	width: 12px;
	height: 12px;
	stroke-width: 2;
}

.account-back span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.account-back:hover {
	color: var(--color-primary);
}

/* Buttons: outline in the primary color (add buttons) or ink (save). */

.account-button {
	padding: 14px 20px;
	border-color: var(--color-primary);
	color: var(--color-primary);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
}

.account-button--block {
	display: flex;
	width: 100%;
}

.account-button[aria-busy="true"],
.account-button:disabled {
	opacity: 0.6;
	cursor: progress;
}

/* Forms. */

.account-form {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: var(--account-form-width);
}

.account-form__section {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.account-form__section--password {
	display: block;
	padding-top: 28px;
	border-top: 1px solid var(--color-border);
}

.account-form__subheading {
	margin: 0;
	padding: 0;
	color: var(--color-accent);
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.account-form__section--password .account-form__subheading {
	float: left;
	width: 100%;
	margin-bottom: var(--space-16);
}

.account-form__section--password .account-form__grid {
	clear: both;
}

.account-form__grid {
	display: grid;
	gap: var(--space-16);
}

.account-form__hint {
	margin: var(--space-12) 0 0;
	color: var(--color-text-muted);
	font-size: 12px;
	line-height: 1.4;
}

.account-field__error {
	margin: 0;
	color: var(--color-error);
	font-size: 12px;
	line-height: 1.4;
}

.account-form__actions {
	display: flex;
}

.account-form__submit {
	width: 100%;
	padding: 14px 20px;
	border-color: var(--color-ink);
	color: var(--color-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
}

/* WooCommerce's form rows (address form): label and field as in the profile form. */

.account-address-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-16) var(--space-12);
}

.account-address-fields .form-row {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
	margin: 0;
	padding: 0;
}

.account-address-fields .form-row-first {
	grid-column: 1;
}

.account-address-fields .form-row-last {
	grid-column: 2;
}

.account-address-fields .form-row label {
	color: var(--color-text);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.account-address-fields .required {
	color: var(--color-accent);
	text-decoration: none;
}

.account-address-fields .optional {
	color: var(--color-text-muted);
	font-weight: 400;
	text-transform: none;
}

.account-address-fields .woocommerce-input-wrapper {
	display: block;
}

.account-address-fields .field {
	padding: 14px;
	font-family: var(--font-sans);
	font-size: 14px;
}

.account-address-fields select.field {
	padding-right: 40px;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--color-text) 50%), linear-gradient(135deg, var(--color-text) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}

.account-address-fields .woocommerce-invalid .field {
	border-color: var(--color-error);
}

/* Cards: orders, address, saved cards. */

.account-cards {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.account-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
	padding: var(--space-16);
	border: 1px solid var(--color-border);
	background: var(--color-white);
}

.account-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-12);
	min-width: 0;
}

.account-card__name {
	margin: 0;
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.account-card__title {
	margin: 0;
	color: var(--color-accent);
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.account-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-12) var(--space-16);
	padding-top: var(--space-12);
	border-top: 1px solid var(--color-border);
	color: var(--color-text-body);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.account-card__action:hover {
	color: var(--color-primary);
}

.account-card__action--accent {
	color: var(--color-accent);
}

/* Badges: order status and "Default". */

.account-badge {
	display: inline-flex;
	flex: none;
	align-items: center;
	padding: var(--space-4) 10px;
	border: 1px solid currentColor;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.account-badge--done {
	background: color-mix(in srgb, var(--color-success) 8%, transparent);
	color: var(--color-success);
}

.account-badge--active {
	background: color-mix(in srgb, var(--color-accent) 8%, transparent);
	color: var(--color-accent);
}

.account-badge--waiting {
	border-color: var(--color-border);
	background: var(--color-surface);
	color: var(--color-text-body);
}

.account-badge--closed {
	border-color: var(--color-border);
	color: var(--color-text-muted);
}

.account-badge--default {
	padding: var(--space-4) var(--space-8);
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 9px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Orders. */

.account-order__top,
.account-order__details {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-12);
}

.account-order__number {
	margin: 0;
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.account-order__date {
	color: var(--color-text-body);
	font-size: 12px;
	line-height: 1.2;
}

.account-order__total {
	color: var(--color-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.account-order__actions {
	justify-content: space-between;
}

.account-order__view {
	display: inline-flex;
	align-items: center;
	gap: var(--space-8);
	margin-left: auto;
	color: var(--color-text-body);
}

.account-order__view .icon {
	width: 14px;
	height: 14px;
	stroke-width: 1.6;
}

/* Below 768px only the chevron is shown, as in the mobile frame; the words stay for screen readers. */
@media (max-width: 767px) {
	.account-order__view-text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.account-order__view {
		padding: var(--space-4);
		margin: calc(-1 * var(--space-4));
	}
}

.account-pagination {
	display: flex;
	justify-content: space-between;
	gap: var(--space-12);
}

/* Order details. */

.account-order-heading__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-8) var(--space-12);
}

.account-order-view {
	display: grid;
	gap: var(--space-16);
}

.account-order-items__list {
	display: flex;
	flex-direction: column;
}

.account-order-item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: start;
	gap: var(--space-12);
	padding-block: var(--space-12);
	border-bottom: 1px solid var(--color-border);
}

.account-order-item:first-child {
	padding-top: 0;
}

.account-order-item__image,
.account-order-item__image img,
.account-order-item__placeholder {
	display: block;
	width: 64px;
	height: 64px;
	background: var(--color-surface);
	object-fit: cover;
}

.account-order-item__info {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	min-width: 0;
}

.account-order-item__name {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
}

.account-order-item__name a:hover {
	color: var(--color-accent);
}

.account-order-item__meta,
.account-order-item__qty {
	color: var(--color-text-body);
	font-size: 12px;
	line-height: 1.4;
}

.account-order-item__meta p {
	display: inline;
	margin: 0;
}

.account-order-item__price {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.account-order-totals {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
}

.account-order-totals__row {
	display: flex;
	justify-content: space-between;
	gap: var(--space-16);
}

.account-order-totals dt {
	color: var(--color-text-body);
}

.account-order-totals dd {
	margin: 0;
	text-align: right;
}

.account-order-totals__row--order_total {
	padding-top: var(--space-12);
	border-top: 1px solid var(--color-border);
	font-size: 15px;
	font-weight: 600;
}

.account-order-totals__row--order_total dt {
	color: var(--color-text);
}

.account-order-totals small {
	display: block;
	color: var(--color-text-muted);
	font-size: 11px;
	font-weight: 400;
}

.account-order-view__actions {
	justify-content: space-between;
}

.account-address {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	color: var(--color-text-body);
	font-size: 13px;
	font-style: normal;
	line-height: 1.5;
}

.account-address__phone {
	color: var(--color-text-muted);
}

.account-order-methods {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
}

.account-order-methods div {
	display: flex;
	justify-content: space-between;
	gap: var(--space-16);
}

.account-order-methods dt {
	color: var(--color-text-body);
}

.account-order-methods dd {
	margin: 0;
	text-align: right;
}

.account-order-note {
	margin: 0;
	padding: var(--space-12);
	background: var(--color-surface);
	color: var(--color-text-body);
	font-size: 12px;
	line-height: 1.5;
}

.account-order-updates__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
	font-size: 13px;
	line-height: 1.5;
}

.account-order-updates__list time {
	color: var(--color-text-muted);
	font-size: 12px;
}

.account-order-updates__list p {
	margin: var(--space-4) 0 0;
}

/* Address and payment views: list and side panel (from 1200px). */

.account-split {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.account-split__main {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.account-split__side {
	display: none;
}

/* Add card: below 1200px the form only (the saved cards are one step back). */
.account-split--add .account-split__main {
	display: none;
}

.account-split--add .account-split__side {
	display: block;
}

.account-payments {
	max-width: var(--account-form-width);
}

.account-list {
	min-width: 0;
}

.account-panel {
	padding: var(--space-24) var(--space-16);
	border: 1px solid var(--color-border);
	background: var(--color-white);
}

.account-panel .account-form {
	gap: 20px;
}

.account-card--selected {
	border-color: var(--color-border);
}

/* Saved cards. */

.account-payment-card__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.account-payment-card__logo {
	flex: none;
	width: 32px;
	height: 20px;
	object-fit: contain;
}

.account-payment-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-12);
}

.account-payment-card__number {
	color: var(--color-text);
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
}

.account-payment-card__expiry {
	color: var(--color-text-body);
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
}

/* Add card: Stripe's card field in the look of the form fields. */

.account-payment-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.account-payment__methods {
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
}

.account-payment__methods--single > li > .input-radio,
.account-payment__methods--single > li > .account-payment__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.account-payment__label {
	font-size: 13px;
	font-weight: 600;
}

.account-payment__box {
	margin-top: var(--space-8);
}

.account-payment__methods--single .account-payment__box {
	margin-top: 0;
}

.account-payment .wc-stripe_cc-container,
.account-payment fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.account-payment #wc-stripe-card-element,
.account-payment .wc-stripe-card-element,
.account-payment .StripeElement {
	padding: 14px;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
}

.account-payment .StripeElement--focus {
	border-color: var(--color-primary);
}

.account-payment .StripeElement--invalid {
	border-color: var(--color-error);
}

.account-payment .woocommerce-error,
.account-payment .wc-stripe-error {
	margin-top: var(--space-8);
}

.account-payment .account-form__actions {
	margin-top: 20px;
}

/* Favorites grid. */

.account-favorites {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-12);
}

.account-favorites__item {
	min-width: 0;
}

.product-card--favorite {
	height: 100%;
}

.product-card--favorite .product-card__info {
	flex: 1;
}

.product-card--favorite .product-card__name {
	max-width: 100%;
	overflow: hidden;
	font-size: 15px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-card--favorite .product-card__tagline {
	color: var(--color-text-body);
	font-size: 11px;
}

.product-card--favorite .product-card__swatches {
	order: 1;
	margin: 0;
}

.product-card--favorite .product-card__cart {
	order: 2;
	width: 100%;
	margin-top: auto;
	padding-top: var(--space-8);
}

.product-card__cart-button {
	width: 100%;
	padding: var(--space-8) var(--space-12);
	border-color: var(--color-primary);
	color: var(--color-primary);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1px;
}

.product-card__cart-button[aria-busy="true"] {
	opacity: 0.6;
	cursor: progress;
}

/* Comparison table: row labels stay in view while the columns scroll. */

.compare-table {
	position: relative; /* contains the visually hidden labels, so they scroll with the table */
	overflow-x: auto;
	border: 1px solid var(--color-border);
	background: var(--color-white);
}

.compare-table:focus-visible {
	outline-offset: 0;
}

.compare-table__table {
	width: 100%;
	min-width: calc(var(--account-label-width) + var(--compare-columns, 2) * 130px);
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.compare-table th,
.compare-table td {
	padding: var(--space-12);
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	text-align: left;
	vertical-align: middle;
}

.compare-table tbody tr:last-child > * {
	border-bottom: 0;
}

.compare-table__corner,
.compare-table__label {
	position: sticky;
	left: 0;
	z-index: 1;
	width: var(--account-label-width);
	background: var(--color-white);
}

.compare-table thead > tr > * {
	background: var(--color-surface);
}

.compare-table__corner-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.compare-table__label {
	color: var(--color-accent);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.compare-table th.compare-table__label {
	color: var(--color-accent);
	font-size: 11px;
	font-weight: 600;
}

.compare-table__product {
	text-align: center;
}

.compare-table th.compare-table__product {
	text-align: center;
}

.compare-table__image {
	display: block;
	width: 60px;
	height: 60px;
	margin: 0 auto var(--space-8);
	overflow: hidden;
	background: var(--color-surface);
}

.compare-table__image img,
.compare-table__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.compare-table__name-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-4);
	min-width: 0;
}

.compare-table__name {
	max-width: 100%;
	overflow: hidden;
	color: var(--color-text);
	font-family: var(--font-serif);
	font-size: 12px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.compare-table__remove {
	color: var(--color-text-muted);
	font-size: 11px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.compare-table__remove:hover {
	color: var(--color-error);
}

.compare-table__remove[aria-busy="true"] {
	opacity: 0.6;
	cursor: progress;
}

.compare-table__row--price td {
	color: var(--color-accent);
	font-weight: 600;
}

/* Empty states and the guest hint. */

.account-empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-16);
	padding: var(--space-24) var(--space-16);
	border: 1px solid var(--color-border);
	background: var(--color-white);
}

.account-empty__message {
	margin: 0;
	color: var(--color-text-body);
	font-size: 14px;
	line-height: 1.5;
}

.account-guest-hint {
	margin: 0;
	padding: var(--space-16);
	border-left: 2px solid var(--color-accent);
	background: var(--color-white);
	color: var(--color-text-body);
	font-size: 13px;
	line-height: 1.5;
}

.account-guest-hint a {
	margin-left: var(--space-4);
	color: var(--color-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.account-guest-hint a:hover {
	color: var(--color-primary);
}

/* Tablet. */

@media (min-width: 768px) {
	.account-layout__content {
		padding: var(--space-32) var(--page-padding) 64px;
	}

	.account-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-24);
	}

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

	.account-form__submit {
		width: auto;
		padding-inline: 36px;
	}

	.account-order__date {
		font-size: 13px;
	}

	.account-favorites {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--space-16);
	}

	.product-card--favorite {
		gap: var(--space-12);
		padding: var(--space-12);
		border: 1px solid var(--color-border);
	}

	.product-card--favorite .product-card__info {
		align-items: flex-start;
		gap: var(--space-4);
		padding-inline: 0;
		text-align: left;
	}

	.product-card--favorite .product-card__swatches {
		justify-content: flex-start;
	}

	.product-card--favorite .product-card__name {
		font-size: 18px;
	}

	.product-card--favorite .product-card__tagline {
		font-size: 12px;
	}

	.product-card--favorite .product-card__price {
		font-size: 15px;
	}

	.product-card__cart-button {
		padding-block: 10px;
		font-size: 11px;
	}

	.account-empty {
		padding: var(--space-32);
	}
}

/* Desktop: sidebar and side panels. */

@media (min-width: 1200px) {
	.account-layout {
		display: grid;
		grid-template-columns: var(--account-sidebar-width) minmax(0, 1fr);
		/* The white sidebar runs the full height of the account area, down to the footer (user's request). */
		align-items: stretch;
	}

	.account-layout--guest {
		grid-template-columns: minmax(0, 1fr);
	}

	.account-layout__side {
		display: flex;
		flex-direction: column;
		gap: var(--space-32);
		padding: var(--space-32);
		border-right: 1px solid var(--color-border);
	}

	.account-profile {
		padding: 0 0 var(--space-32);
		background: none;
	}

	.account-profile__avatar {
		width: 60px;
		height: 60px;
		font-size: 24px;
	}

	.account-profile__meta {
		gap: var(--space-4);
	}

	.account-profile__name {
		font-size: 20px;
	}

	.account-profile__since {
		font-size: 12px;
	}

	.account-nav {
		overflow: visible;
		border: 0;
	}

	.account-nav__list {
		flex-direction: column;
		gap: var(--space-12);
		width: auto;
		padding: 0;
	}

	.account-nav__link {
		padding: 14px var(--space-16);
		border-bottom: 0;
		border-left: 3px solid transparent;
		color: var(--color-text);
		font-size: 14px;
		font-weight: 500;
	}

	.account-nav__link[aria-current="page"] {
		border-left-color: var(--color-accent);
		background: var(--color-surface);
		color: var(--color-accent);
		font-weight: 600;
	}

	.account-layout__content {
		gap: var(--space-40);
		padding: var(--space-32) 64px 64px;
	}

	.account-layout--guest .account-layout__content {
		padding-inline: var(--page-padding);
	}

	.account-heading {
		gap: var(--space-12);
	}

	.account-heading__title {
		font-size: 40px;
		font-weight: 600;
	}

	.account-heading__intro {
		font-size: 14px;
	}

	.account-heading--form .account-heading__title {
		font-size: 32px;
	}

	.account-heading--form .account-heading__intro {
		font-size: 14px;
	}

	.account-form {
		gap: 48px;
	}

	.account-form__section {
		gap: var(--space-24);
	}

	.account-form__section--password {
		padding-top: 48px;
	}

	.account-form__subheading {
		font-size: 24px;
	}

	.account-form__section--password .account-form__subheading {
		margin-bottom: var(--space-24);
	}

	.account-layout__content .auth-field__input,
	.account-address-fields .field {
		padding: var(--space-16);
		background: var(--color-white);
	}

	.account-card {
		padding: var(--space-24);
	}

	.account-card--selected {
		border-color: var(--color-accent);
	}

	.account-order-view {
		grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
		align-items: start;
		gap: var(--space-24);
	}

	.account-order-updates {
		grid-column: 1 / -1;
	}

	.account-order-item {
		grid-template-columns: 88px minmax(0, 1fr) auto;
		gap: var(--space-24);
		padding-block: var(--space-16);
	}

	.account-order-item__image,
	.account-order-item__image img,
	.account-order-item__placeholder {
		width: 88px;
		height: 88px;
	}

	.account-order-item__name {
		font-size: 20px;
	}

	.account-split {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(360px, var(--account-panel-width));
		align-items: start;
		gap: 48px;
	}

	.account-split__side,
	.account-split--add .account-split__main {
		display: flex;
		flex-direction: column;
	}

	.account-address-card__actions {
		display: none;
	}

	.account-panel {
		padding: var(--space-32);
	}

	.account-panel--page {
		max-width: var(--account-panel-width);
	}

	.account-favorites {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--space-24);
	}

	.product-card--favorite {
		padding: var(--space-16);
	}

	.product-card--favorite .product-card__name {
		font-size: 20px;
		font-weight: 400;
	}

	.product-card--favorite .product-card__tagline {
		font-size: 13px;
	}

	.compare-table {
		--account-label-width: 264px;
	}

	.compare-table__table {
		min-width: calc(var(--account-label-width) + var(--compare-columns, 2) * 260px);
	}

	.compare-table th,
	.compare-table td {
		padding: 22px var(--space-24);
		font-size: 14px;
	}

	.compare-table th.compare-table__label {
		color: var(--color-text-body);
		font-size: 14px;
		text-transform: none;
	}

	.compare-table__corner {
		vertical-align: top;
	}

	.compare-table__corner-label {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip-path: none;
		color: var(--color-accent);
		font-family: var(--font-serif);
		font-size: 20px;
		font-weight: 600;
		white-space: normal;
	}

	.compare-table th.compare-table__product {
		text-align: left;
	}

	.compare-table__head {
		display: flex;
		align-items: center;
		gap: var(--space-16);
	}

	.compare-table__image {
		flex: none;
		width: 80px;
		height: 80px;
		margin: 0;
	}

	.compare-table__name-wrap {
		align-items: flex-start;
	}

	.compare-table__name {
		font-size: 16px;
		font-weight: 600;
	}

	.compare-table__remove {
		font-size: 12px;
	}

	.account-guest-hint {
		font-size: 14px;
	}
}
