/**
 * Fashion My Account — aligned with auth / utility (cream, ink, flare, Playfair + Grotesk).
 *
 * @package Fashion
 */

.fashion-account-main {
	width: 100%;
	overflow-x: hidden;
	background: #f5f0eb;
	color: #1a1a1a;
	font-family: "Space Grotesk", system-ui, sans-serif;
}

.fashion-account-main .woocommerce {
	width: 100%;
	max-width: 100%;
	margin: 0;
	float: none;
}

/* —— Hero —— */

.fashion-account-hero {
	position: relative;
	border-bottom: 1px solid rgba(26, 26, 26, 0.1);
	background: #f5f0eb;
	padding: 2.5rem 0 2rem;
}

@media (min-width: 768px) {
	.fashion-account-hero {
		padding: 3.5rem 0 2.5rem;
	}
}

.fashion-account-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 1400px;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

@media (min-width: 640px) {
	.fashion-account-container {
		padding-inline: 2rem;
	}
}

.fashion-account-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.fashion-account-hero__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.fashion-account-hero__identity {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.fashion-account-hero__avatar,
.fashion-account-user-card__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid rgba(26, 26, 26, 0.12);
	background: #1a1a1a;
	color: #f5f0eb;
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.fashion-account-hero__avatar {
	width: 3.5rem;
	height: 3.5rem;
	font-size: 1rem;
}

.fashion-account-hero__eyebrow {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(26, 26, 26, 0.45);
}

.fashion-account-hero__title {
	margin: 0.35rem 0 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.15;
	color: #1a1a1a;
}

.fashion-account-hero__meta {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	color: rgba(26, 26, 26, 0.5);
}

.fashion-account-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.fashion-account-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	border: 1px solid #1a1a1a;
	background: #1a1a1a;
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: #f5f0eb;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fashion-account-btn:hover {
	background: #e85d4c;
	border-color: #e85d4c;
	color: #1a1a1a;
}

.fashion-account-btn--ghost {
	background: transparent;
	color: #1a1a1a;
}

.fashion-account-btn--ghost:hover {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #f5f0eb;
}

/* —— Shell / layout —— */

.fashion-account-shell {
	box-sizing: border-box;
	width: 100%;
	max-width: 1400px;
	margin-inline: auto;
	padding: 1.5rem 1.25rem 3.5rem;
}

@media (min-width: 640px) {
	.fashion-account-shell {
		padding-inline: 2rem;
		padding-top: 2rem;
	}
}

.fashion-account-shell__breadcrumb.v2-breadcrumb,
.fashion-account-shell .v2-breadcrumb {
	margin-bottom: 1.5rem;
}

.fashion-account-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(26, 26, 26, 0.45);
	line-height: 1.4;
}

.fashion-account-breadcrumb a {
	color: rgba(26, 26, 26, 0.45);
	text-decoration: none;
	transition: color 0.15s ease;
}

.fashion-account-breadcrumb a:hover {
	color: #1a1a1a;
}

.fashion-account-breadcrumb__sep {
	color: rgba(26, 26, 26, 0.2);
	user-select: none;
}

.fashion-account-breadcrumb__current {
	color: #1a1a1a;
}

.fashion-account-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	width: 100%;
}

@media (min-width: 1024px) {
	.fashion-account-layout {
		grid-template-columns: 16.5rem minmax(0, 1fr);
		gap: 2rem;
		align-items: start;
	}
}

/* —— Nav —— */

.fashion-account-nav-wrap {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.fashion-account-user-card {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem;
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: #fff;
}

.fashion-account-user-card__avatar {
	width: 2.75rem;
	height: 2.75rem;
	font-size: 0.8125rem;
}

.fashion-account-user-card__name {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a1a1a;
}

.fashion-account-user-card__email {
	margin: 0.125rem 0 0;
	font-size: 0.75rem;
	color: rgba(26, 26, 26, 0.5);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fashion-account-nav {
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: #fff;
	padding: 0.375rem;
}

.fashion-account-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fashion-account-nav__item {
	margin: 0;
}

.fashion-account-nav__link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0.875rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: rgba(26, 26, 26, 0.65);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.fashion-account-nav__link:hover {
	background: rgba(26, 26, 26, 0.04);
	color: #1a1a1a;
}

.fashion-account-nav__item.is-active .fashion-account-nav__link {
	background: #1a1a1a;
	color: #f5f0eb;
}

.fashion-account-nav__icon {
	flex-shrink: 0;
	color: rgba(26, 26, 26, 0.45);
}

.fashion-account-nav__item.is-active .fashion-account-nav__icon {
	color: #f5f0eb;
}

.fashion-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout .fashion-account-nav__link {
	color: #c44536;
}

.fashion-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout .fashion-account-nav__icon {
	color: #c44536;
}

.fashion-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout .fashion-account-nav__link:hover,
.fashion-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout.is-active .fashion-account-nav__link {
	background: #fef2f0;
	color: #9f2d20;
}

.fashion-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout .fashion-account-nav__link:hover .fashion-account-nav__icon,
.fashion-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout.is-active .fashion-account-nav__icon {
	color: #9f2d20;
}

/* —— Content panel —— */

.fashion-account-panel {
	overflow: hidden;
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: #fff;
}

.fashion-account-panel__header {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid rgba(26, 26, 26, 0.08);
	background: #faf7f3;
}

.fashion-account-panel__title {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.375rem;
	font-weight: 400;
	color: #1a1a1a;
}

.fashion-account-panel__body {
	padding: 1.5rem;
	overflow-x: auto;
}

.fashion-account-welcome__lead {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(26, 26, 26, 0.6);
}

.fashion-account-welcome__logout {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: rgba(26, 26, 26, 0.5);
}

.fashion-account-welcome__logout a {
	color: #1a1a1a;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.fashion-account-welcome__logout a:hover {
	color: #e85d4c;
}

.fashion-account-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.875rem;
	margin-top: 1.5rem;
}

.fashion-account-stat {
	padding: 1rem 1.125rem;
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: #f5f0eb;
}

.fashion-account-stat__value {
	display: block;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.375rem;
	font-weight: 500;
	color: #1a1a1a;
}

.fashion-account-stat__label {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(26, 26, 26, 0.45);
}

.fashion-account-quick-links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin-top: 1.5rem;
}

@media (min-width: 640px) {
	.fashion-account-quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.fashion-account-quick-link {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	padding: 1rem 1.125rem;
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: #fff;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fashion-account-quick-link:hover {
	border-color: #1a1a1a;
	background: #faf7f3;
}

.fashion-account-quick-link__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
	border: 1px solid rgba(26, 26, 26, 0.12);
	background: #f5f0eb;
	color: #1a1a1a;
}

.fashion-account-quick-link__text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.fashion-account-quick-link__text strong {
	font-size: 0.875rem;
	font-weight: 600;
	color: #1a1a1a;
}

.fashion-account-quick-link__text span {
	font-size: 0.75rem;
	line-height: 1.45;
	color: rgba(26, 26, 26, 0.5);
}

/* —— Notices —— */

.fashion-account-main .woocommerce-notices-wrapper {
	margin-bottom: 1.25rem;
}

.fashion-account-main .woocommerce-message,
.fashion-account-main .woocommerce-info,
.fashion-account-main .woocommerce-error {
	margin: 0 0 1rem;
	padding: 0.875rem 1rem;
	border-radius: 0.25rem;
	border: 1px solid transparent;
	list-style: none;
	font-size: 0.875rem;
}

.fashion-account-main .woocommerce-message {
	border-color: rgba(74, 107, 74, 0.35);
	background: #f3f7f3;
	color: #2f4f2f;
}

.fashion-account-main .woocommerce-info {
	border-color: rgba(26, 26, 26, 0.15);
	background: #faf7f3;
	color: #1a1a1a;
}

.fashion-account-main .woocommerce-error {
	border-color: rgba(196, 69, 54, 0.35);
	background: #fef2f0;
	color: #9f2d20;
}

/* —— Buttons —— */

.fashion-account-main .woocommerce-Button,
.fashion-account-main .woocommerce-button,
.fashion-account-main button.button,
.fashion-account-main a.button,
.fashion-account-main input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	border: 1px solid #1a1a1a;
	border-radius: 0;
	background: #1a1a1a;
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f5f0eb !important;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fashion-account-main .woocommerce-Button:hover,
.fashion-account-main .woocommerce-button:hover,
.fashion-account-main button.button:hover,
.fashion-account-main a.button:hover,
.fashion-account-main input.button:hover,
.fashion-account-main .woocommerce-Button.button.alt:hover,
.fashion-account-main button.button.alt:hover {
	background: #e85d4c;
	border-color: #e85d4c;
	color: #1a1a1a !important;
}

.fashion-account-main .woocommerce-Button.button.alt,
.fashion-account-main button.button.alt {
	background: #1a1a1a;
}

/* —— Forms —— */

.fashion-account-main label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(26, 26, 26, 0.65);
}

.fashion-account-main .woocommerce-Input,
.fashion-account-main .input-text,
.fashion-account-main input[type="text"],
.fashion-account-main input[type="email"],
.fashion-account-main input[type="password"],
.fashion-account-main input[type="tel"],
.fashion-account-main select,
.fashion-account-main textarea {
	width: 100%;
	padding: 0.75rem 0.875rem;
	border: 1px solid rgba(26, 26, 26, 0.15);
	border-radius: 0;
	background: #fff;
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 0.875rem;
	color: #1a1a1a;
	transition: border-color 0.15s ease;
}

.fashion-account-main .woocommerce-Input:focus,
.fashion-account-main .input-text:focus,
.fashion-account-main input:focus,
.fashion-account-main select:focus,
.fashion-account-main textarea:focus {
	outline: none;
	border-color: #1a1a1a;
}

.fashion-account-main .form-row {
	margin-bottom: 1rem;
}

.fashion-account-main .form-row-first,
.fashion-account-main .form-row-last {
	width: 100%;
	float: none;
}

@media (min-width: 640px) {
	.fashion-account-main .form-row-first,
	.fashion-account-main .form-row-last {
		width: 48%;
		float: left;
	}

	.fashion-account-main .form-row-last {
		float: right;
	}
}

.fashion-account-main .clear {
	clear: both;
}

.fashion-account-main fieldset {
	margin: 1.5rem 0 0;
	padding: 1.25rem;
	border: 1px solid rgba(26, 26, 26, 0.1);
}

.fashion-account-main fieldset legend {
	padding: 0 0.375rem;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1rem;
	font-weight: 400;
	color: #1a1a1a;
}

.fashion-account-main .woocommerce-form-login,
.fashion-account-main .woocommerce-form-register,
.fashion-account-main .woocommerce-EditAccountForm,
.fashion-account-main .woocommerce-EditAddressForm {
	max-width: 42rem;
}

.fashion-account-main .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	color: rgba(26, 26, 26, 0.6);
}

.fashion-account-main .lost_password a {
	color: #1a1a1a;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* —— Tables —— */

.fashion-account-main table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid rgba(26, 26, 26, 0.1);
	overflow: hidden;
}

.fashion-account-main table.shop_table thead th {
	padding: 0.875rem 1rem;
	border-bottom: 1px solid rgba(26, 26, 26, 0.1);
	background: #f5f0eb;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(26, 26, 26, 0.5);
	text-align: left;
}

.fashion-account-main table.shop_table tbody td,
.fashion-account-main table.shop_table tbody th {
	padding: 1rem;
	border-bottom: 1px solid rgba(26, 26, 26, 0.08);
	font-size: 0.875rem;
	color: #1a1a1a;
	vertical-align: middle;
}

.fashion-account-main table.shop_table tbody tr:last-child td,
.fashion-account-main table.shop_table tbody tr:last-child th {
	border-bottom: none;
}

.fashion-account-main table.shop_table a {
	color: #1a1a1a;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.fashion-account-main table.shop_table a:hover {
	color: #e85d4c;
}

.fashion-account-main .woocommerce-orders-table__cell-order-status {
	font-weight: 600;
}

/* —— Addresses —— */

.fashion-account-main address {
	padding: 1rem 1.125rem;
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: #faf7f3;
	font-style: normal;
	line-height: 1.6;
	color: rgba(26, 26, 26, 0.65);
}

.fashion-account-main .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.fashion-account-main .woocommerce-Address-title h2,
.fashion-account-main .woocommerce-Address-title h3 {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.125rem;
	font-weight: 400;
	color: #1a1a1a;
}

.fashion-account-main .woocommerce-Addresses {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

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

.fashion-account-main .woocommerce-Address {
	padding: 1.25rem;
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: #fff;
}

/* —— Pagination —— */

.fashion-account-main .woocommerce-pagination {
	margin-top: 1.25rem;
}

.fashion-account-main .woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fashion-account-main .woocommerce-pagination ul li a,
.fashion-account-main .woocommerce-pagination ul li span {
	display: inline-flex;
	min-width: 2.25rem;
	height: 2.25rem;
	align-items: center;
	justify-content: center;
	padding: 0 0.625rem;
	border: 1px solid rgba(26, 26, 26, 0.15);
	font-size: 0.8125rem;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
}

.fashion-account-main .woocommerce-pagination ul li span.current {
	border-color: #1a1a1a;
	background: #1a1a1a;
	color: #f5f0eb;
}

/* —— Columns / misc —— */

.fashion-account-main .u-columns.col2-set {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

@media (min-width: 900px) {
	.fashion-account-main .u-columns.col2-set {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.fashion-account-main .u-column1,
.fashion-account-main .u-column2,
.fashion-account-main .col-1,
.fashion-account-main .col-2 {
	width: 100%;
	float: none;
	padding: 1.5rem;
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: #fff;
}

.fashion-account-main .u-column1 h2,
.fashion-account-main .u-column2 h2,
.fashion-account-main .col-1 h2,
.fashion-account-main .col-2 h2 {
	margin: 0 0 1rem;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.25rem;
	font-weight: 400;
	color: #1a1a1a;
}

.fashion-account-main .woocommerce-MyAccount-content > p:first-child {
	margin-top: 0;
}

.fashion-account-main .woocommerce-MyAccount-content h2,
.fashion-account-main .woocommerce-MyAccount-content h3 {
	margin: 0 0 1rem;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.25rem;
	font-weight: 400;
	color: #1a1a1a;
}

.fashion-account-main .woocommerce-MyAccount-content > p {
	color: rgba(26, 26, 26, 0.6);
	line-height: 1.65;
}

.fashion-account-main .woocommerce-MyAccount-content > p a {
	color: #1a1a1a;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

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

.fashion-account-panel__body .fashion-account-dashboard + * {
	margin-top: 1.5rem;
}

body.fashion-account.bg-v2-light,
body.fashion-account {
	background: #f5f0eb;
}
