/* ==========================================================================
   Contul clientului: autentificare, panou, comenzi, adrese, detalii, favorite,
   comunicări, retragere, ștergerea contului. Aceleași carduri albe, bordura
   Latte, colțurile și butoanele ca restul temei. Breakpoint mobil: 760px.
   ========================================================================== */

.account-main {
	gap: 24px;
	padding-bottom: 8px;
}

/* Layout: meniu lateral + conținut ------------------------------------- */
.account {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

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

.account-guest {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.account-guest--wide {
	max-width: none;
}

/* Shortcode-ul [woocommerce_my_account] învelește totul într-un div.woocommerce. */
.account__content > .woocommerce,
.account-guest > .woocommerce {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

/* Meniul contului */
.account-nav {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--header-h, 0px) + 16px);
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 24px;
	padding: 12px;
	box-shadow: var(--shadow-card);
}

.account-nav__user {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 16px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--c-line-soft);
}

.account-nav__avatar {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--c-ink);
	color: var(--c-amber);
	font-family: var(--f-head);
	font-size: 18px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.account-nav__who {
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.account-nav__name {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

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

.account-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.account-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 0 12px;
	border-radius: 12px;
	color: var(--c-text-2);
	font-size: 15px;
	font-weight: 600;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.account-nav__link .icon {
	color: var(--c-muted);
}

.account-nav__link:hover {
	background: var(--c-latte);
	color: var(--c-ink);
}

.account-nav__link[aria-current="page"] {
	background: var(--c-teal-soft);
	color: var(--c-green);
	font-weight: 700;
}

.account-nav__link[aria-current="page"] .icon {
	color: var(--c-green);
}

/* Acțiunile sensibile, separate vizual de restul */
.account-nav__item--order-withdrawal {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--c-line-soft);
}

.account-nav__item--sterge-contul .account-nav__link:hover {
	background: var(--c-orange-soft);
	color: var(--c-orange-ink);
}

.account-nav__item--customer-logout .account-nav__link {
	color: var(--c-muted);
}

/* Antetul paginilor din cont */
.account-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.account-head--center {
	align-items: center;
	text-align: center;
}

.account-head--order {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

.account-head__title {
	font-size: 34px;
	letter-spacing: -0.02em;
}

.account-head__text {
	font-size: 15px;
	color: var(--c-muted);
	max-width: 640px;
}

.arrow-link--back {
	align-self: flex-start;
	gap: 4px;
	padding: 6px 0;
	color: var(--c-muted);
	font-size: 14px;
}

.arrow-link--back:hover {
	color: var(--c-green);
}

/* Carduri ---------------------------------------------------------------- */
.acc-card {
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 24px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.acc-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
}

.acc-card__title {
	font-size: 20px;
	letter-spacing: -0.01em;
}

.acc-card__empty {
	color: var(--c-muted);
	font-size: 15px;
}

.acc-card--danger {
	border-color: #F3C2A9;
}

.acc-address {
	font-style: normal;
	line-height: 1.6;
	color: var(--c-text-2);
}

.btn-sm {
	min-height: 40px;
	padding: 0 14px;
	font-size: 14px;
	border-width: 1.5px;
	border-color: var(--c-line-strong);
}

.btn-sm:hover {
	border-color: var(--c-ink);
}

.empty-state {
	background: var(--c-white);
	border: 1px dashed var(--c-line-strong);
	border-radius: 24px;
	padding: 40px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	color: var(--c-muted);
}

.empty-state[hidden] {
	display: none;
}

.empty-state p {
	max-width: 420px;
}

.notice-soft {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--c-teal-soft);
	color: var(--c-green);
	font-size: 15px;
	font-weight: 500;
}

.notice-soft .icon {
	margin-top: 2px;
}

.notice-soft a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.notice-soft--ok {
	background: var(--c-mint);
	color: var(--c-mint-ink);
}

.notice-soft--return {
	background: var(--c-amber-soft);
	color: var(--c-amber-ink);
}

.notice-soft--error {
	background: var(--c-orange-soft);
	color: var(--c-orange-ink);
}

/* Statusul comenzii */
.status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	background: var(--c-line-soft);
	color: var(--c-text-2);
}

.status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.status--ok {
	background: var(--c-mint);
	color: var(--c-mint-ink);
}

.status--progress {
	background: var(--c-teal-soft);
	color: var(--c-green);
}

.status--wait,
.status--return {
	background: var(--c-amber-soft);
	color: var(--c-amber-ink);
}

.status--error {
	background: var(--c-orange-soft);
	color: var(--c-orange-ink);
}

/* Panou ------------------------------------------------------------------ */
.dash {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.dash__orders {
	grid-column: 1 / -1;
}

.dash-favs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.dash-favs__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px;
	border-radius: 14px;
	color: var(--c-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.dash-favs__link:hover {
	background: var(--c-latte);
	color: var(--c-ink);
}

.dash-favs__img {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: cover;
	background: var(--c-img);
}

/* Comenzi ---------------------------------------------------------------- */
.order-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.order-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: 12px 20px;
	padding: 14px 16px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 20px;
}

.acc-card .order-row {
	padding: 0;
	border: 0;
}

.order-row__thumbs {
	display: flex;
	padding-left: 10px;
}

.order-thumb {
	width: 52px;
	height: 52px;
	margin-left: -10px;
	border-radius: 14px;
	border: 2px solid var(--c-white);
	object-fit: cover;
	background: var(--c-img);
}

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

.order-row__num {
	font-size: 17px;
}

.order-row__num a {
	color: var(--c-ink);
}

.order-row__num a:hover {
	color: var(--c-green);
}

.order-row__date {
	font-size: 13px;
	color: var(--c-muted);
}

.order-row__total {
	font-size: 20px;
	white-space: nowrap;
}

.order-row__btn {
	min-height: 44px;
	padding: 0 18px;
	font-size: 14px;
}

.acc-pager {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

/* Detaliul comenzii (markup WooCommerce: order-details.php, order-details-customer.php) */
.withdraw-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	padding: 16px 18px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 20px;
}

.withdraw-box__text {
	flex: 1 1 240px;
	font-size: 14px;
	color: var(--c-muted);
}

.account__content .woocommerce-order-details,
.account__content .woocommerce-customer-details {
	margin: 0;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 24px;
	padding: 24px;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
	font-size: 20px;
	margin: 0 0 14px;
}

.woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
	padding: 12px 0;
	border-bottom: 1px solid var(--c-line-soft);
	text-align: left;
	vertical-align: top;
}

.woocommerce-table--order-details thead th {
	padding-top: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.woocommerce-table--order-details .product-total,
.woocommerce-table--order-details tfoot td {
	text-align: right;
	white-space: nowrap;
}

.woocommerce-table--order-details tfoot th {
	font-weight: 600;
	color: var(--c-muted);
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: 0;
	color: var(--c-ink);
	font-family: var(--f-head);
	font-size: 20px;
	font-weight: 800;
}

.woocommerce-table--order-details .product-name a {
	color: var(--c-ink);
	font-weight: 700;
}

.woocommerce-table--order-details .wc-item-meta {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	font-size: 13px;
	color: var(--c-muted);
}

.woocommerce-table--order-details .wc-item-meta li,
.woocommerce-table--order-details .wc-item-meta p {
	display: inline;
	margin: 0;
}

.woocommerce-table--order-details .wc-item-meta li + li::before {
	content: " · ";
}

.woocommerce-order-details .order-again {
	margin: 16px 0 0;
}

.woocommerce-order-details .order-again .button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1.5px solid var(--c-ink);
	border-radius: 14px;
	color: var(--c-ink);
	font-weight: 700;
}

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

.woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.6;
	color: var(--c-text-2);
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
	margin: 6px 0 0;
}

.order-updates__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.order-updates__item {
	padding-left: 16px;
	border-left: 3px solid var(--c-teal-soft);
}

.order-updates__date {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-muted);
}

/* Adrese și formulare ---------------------------------------------------- */
.addr-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

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

.acc-form .form-row {
	margin-bottom: 0;
}

.acc-form.acc-card,
.acc-form .acc-card {
	gap: 18px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
}

.form-grid > * {
	grid-column: 1 / -1;
}

.form-grid > .form-row-first {
	grid-column: 1;
}

.form-grid > .form-row-last {
	grid-column: 2;
}

.acc-fieldset {
	margin: 0;
	min-width: 0;
}

.acc-fieldset > legend:not(.sr-only) {
	float: left;
	width: 100%;
	padding: 0;
}

.acc-fieldset > legend + * {
	clear: both;
}

.acc-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

/* selectWoo (țară / județ) cu același aspect ca restul câmpurilor */
.select2-container .select2-selection--single {
	height: var(--field-h);
	border: 1.5px solid var(--field-border);
	border-radius: var(--field-radius);
	background: var(--c-white);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 45px;
	padding-left: 16px;
	color: var(--c-ink);
}

.select2-container .select2-selection--single .select2-selection__arrow {
	height: 45px;
	right: 10px;
}

.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
	border-color: var(--c-green);
	box-shadow: var(--field-ring);
}

.select2-dropdown {
	border: 1.5px solid var(--c-line-strong);
	border-radius: 0 0 14px 14px;
	overflow: hidden;
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[data-selected] {
	background: var(--c-green) !important;
}

/* Comutatoare (comunicări) */
.switch-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.switch-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
	border-bottom: 1px solid var(--c-line-soft);
}

.switch-row:first-child {
	padding-top: 0;
}

.switch-row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.switch-row__label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	cursor: pointer;
}

.switch-row__name {
	font-weight: 700;
}

.switch-row__text {
	font-size: 14px;
	color: var(--c-muted);
}

.switch-row__meta {
	font-size: 12px;
	font-weight: 600;
	color: var(--c-mint-ink);
}

.switch {
	position: relative;
	flex: none;
	width: 52px;
	height: 30px;
}

.switch__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	z-index: 1;
	cursor: pointer;
}

.switch__track {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: var(--c-line-strong);
	transition: background-color 0.15s ease;
}

.switch__track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--c-white);
	box-shadow: 0 1px 3px rgba(1, 28, 37, 0.25);
	transition: transform 0.18s ease;
}

.switch__input:checked + .switch__track {
	background: var(--c-green);
}

.switch__input:checked + .switch__track::after {
	transform: translateX(22px);
}

.switch__input:focus-visible + .switch__track {
	box-shadow: var(--focus);
}

/* Autentificare și cont nou ------------------------------------------- */
.auth {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.auth--single {
	max-width: 520px;
	margin: 0 auto;
}

.auth-card {
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 28px;
	padding: 32px;
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.auth-card[hidden] {
	display: none;
}

.auth-card--center {
	align-items: center;
	text-align: center;
}

.auth-card__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.auth-card__title {
	font-size: 26px;
	letter-spacing: -0.01em;
}

.auth-card__text {
	margin-top: 4px;
	font-size: 15px;
	color: var(--c-muted);
}

.auth-card__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-bottom: 18px;
}

.auth-card__link {
	font-size: 14px;
	font-weight: 700;
	padding: 6px 0;
}

.auth-card__note {
	margin: -4px 0 18px;
	font-size: 14px;
	color: var(--c-muted);
}

.auth-card__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 24px;
}

.auth-card .smast-form .form-row {
	margin-bottom: 18px;
}

.woocommerce-privacy-policy-text {
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--c-muted);
}

.woocommerce-privacy-policy-text a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Legătura dintre autentificare și cont nou */
.auth-card__switch {
	padding-top: 18px;
	border-top: 1px solid var(--c-line-soft);
	text-align: center;
	font-size: 15px;
	color: var(--c-muted);
}

.auth-card__switch a {
	margin-left: 4px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.auth-notice {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
}

/* Pași (retragere) ----------------------------------------------------- */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-size: 14px;
	font-weight: 600;
	color: var(--c-muted);
}

.steps__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.steps__num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1.5px solid var(--c-line-strong);
	background: var(--c-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--f-head);
	font-weight: 800;
}

.steps__item.is-current {
	color: var(--c-ink);
}

.steps__item.is-current .steps__num {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-white);
}

.steps__item.is-done .steps__num {
	background: var(--c-teal-soft);
	border-color: var(--c-teal-soft);
	color: var(--c-green);
}

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

.withdraw__note {
	font-size: 14px;
	color: var(--c-muted);
}

.withdraw__done {
	align-items: flex-start;
}

.review-list {
	margin: 0;
	display: flex;
	flex-direction: column;
}

.review-list__row {
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
	gap: 4px 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--c-line-soft);
}

.review-list dt {
	font-size: 14px;
	color: var(--c-muted);
}

.review-list dd {
	margin: 0;
	font-weight: 600;
}

.choice-group {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.choice-group legend {
	margin-bottom: 8px;
	padding: 0;
}

.choice {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 16px;
	border: 1.5px solid var(--c-line-strong);
	border-radius: 14px;
	background: var(--c-white);
	font-weight: 600;
	cursor: pointer;
}

.choice + .choice {
	margin-top: 8px;
}

.choice:has(input:checked) {
	border-color: var(--c-green);
	background: var(--c-teal-soft);
}

/* Ștergerea contului ---------------------------------------------------- */
.btn-danger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 14px;
	background: var(--c-orange-ink);
	color: var(--c-white);
	font-family: var(--f-head);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}

.btn-danger:hover {
	background: #8F3713;
}

.btn-secondary--danger {
	border-color: var(--c-orange-ink);
	color: var(--c-orange-ink);
}

.btn-secondary--danger:hover {
	background: var(--c-orange-ink);
	border-color: var(--c-orange-ink);
	color: var(--c-white);
}

/* Favorite ------------------------------------------------------------- */
.favs {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

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

.favs__loading-text {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--c-muted);
}

.favs__loading-text .spinner {
	color: var(--c-persimmon);
}

.favs__loading[hidden] {
	display: none;
}

.favs__grid:empty {
	display: none;
}

.fav-item {
	flex-direction: column;
	gap: 6px;
}

.fav-item__remove {
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--c-muted);
	font-size: 14px;
	font-weight: 600;
}

.fav-item__remove:hover {
	background: var(--c-orange-soft);
	color: var(--c-orange-ink);
}

/* Notificările WooCommerce în cont */
.account__content .woocommerce-notices-wrapper,
.account-guest .woocommerce-notices-wrapper {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

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

.woocommerce-error li {
	list-style: none;
}

/* Tabletă: meniul trece deasupra, ca listă orizontală -------------------- */
@media (max-width: 1080px) {
	.account {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.account-nav {
		position: static;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.account-nav__user {
		display: none;
	}

	.account-nav__list {
		flex-direction: row;
		gap: 8px;
		overflow-x: auto;
		scrollbar-width: none;
		margin: 0 calc(-1 * var(--gutter));
		padding: 2px var(--gutter);
	}

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

	.account-nav__item--order-withdrawal {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	.account-nav__link {
		min-height: 42px;
		padding: 0 14px;
		border-radius: 999px;
		background: var(--c-white);
		border: 1px solid var(--c-line);
		font-size: 14px;
		white-space: nowrap;
		gap: 8px;
	}

	.account-nav__link .icon {
		width: 18px;
		height: 18px;
	}

	.account-nav__link[aria-current="page"] {
		background: var(--c-ink);
		border-color: var(--c-ink);
		color: var(--c-white);
	}

	.account-nav__link[aria-current="page"] .icon {
		color: var(--c-amber);
	}
}

/* Mobil ------------------------------------------------------------------ */
@media (max-width: 760px) {
	.account-main {
		gap: 18px;
	}

	.account-nav__list {
		margin: 0 -16px;
		padding: 2px 16px;
	}

	.account-head__title {
		font-size: 26px;
	}

	.acc-card,
	.account__content .woocommerce-order-details,
	.account__content .woocommerce-customer-details {
		padding: 18px;
		border-radius: 20px;
	}

	.dash,
	.addr-grid,
	.woocommerce-columns--addresses {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.form-grid > .form-row-first,
	.form-grid > .form-row-last {
		grid-column: 1 / -1;
	}

	.order-row {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 10px 12px;
		padding: 14px;
	}

	.order-row .status {
		grid-column: 2;
		grid-row: 2;
		justify-self: start;
	}

	.order-row__total {
		grid-column: 3;
		grid-row: 1;
		font-size: 17px;
	}

	.order-row__btn {
		grid-column: 3;
		grid-row: 2;
		min-height: 40px;
		padding: 0 14px;
	}

	.order-thumb {
		width: 44px;
		height: 44px;
	}

	.order-row__thumbs .order-thumb:nth-child(n + 3) {
		display: none;
	}

	.auth-card {
		padding: 22px 18px;
		border-radius: 22px;
		gap: 18px;
	}

	.auth-card__title {
		font-size: 22px;
	}

	.review-list__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.switch-row {
		gap: 14px;
	}

	.acc-form__actions > * {
		flex: 1 1 100%;
	}

	.woocommerce-table--order-details {
		font-size: 14px;
	}
}

/* Eticheta din registru spune deja „(opțional)”. */
.withdraw .form-row .optional {
	display: none;
}

/* Mesajele de pe autentificare / cont nou / parolă au lățimea cardului. */
.account-guest > .woocommerce > .woocommerce-notices-wrapper {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
}
