/**
 * My Account — Figma "VATALY — Account" (Figma_design/Account-Desktop.md,
 * Account-Mobile.md, Account-states.md). See inc/acc-account.php.
 *
 * Logged-in account pages only (body.vataly-account). Konte's
 * .woocommerce-MyAccount-navigation / -content rules (25% / 75% floats,
 * 20px links with a dash, horizontal scroller on mobile) are reset here.
 *
 * Tokens (style.css :root): --ink_text, --bg_clr1, --bg_clr2, --b_clr,
 * --h_clr, --space_*, --font1 (Title), --font2 (Manrope).
 *
 * Desktop (1440 frame): content padding 48, 1134 container, Title 40, gap 32,
 * 240 sidebar | 48 | 846 panel. ≤767.98px (Figma 402): no sidebar; the
 * dashboard shows Title 30 + the hub menu, other endpoints a back row and
 * no title.
 */

/* ---------------------------------------------------------------------------
 * Page shell
 * ------------------------------------------------------------------------ */

.vataly-account .site-content,
.vataly-account .site-main {
	background: var(--bg_clr1);
}

/* The theme's "My account" page title: the template prints MY ACCOUNT. */
.vataly-account .page-header,
.vataly-account .entry-header {
	display: none;
}

.vataly-account .site-content {
	padding-top: var(--space_48);
}

.vataly-account .entry-content {
	margin-top: 0;
}

.vacc {
	box-sizing: border-box;
	max-width: 1134px;
	margin: 0 auto;
	padding-bottom: var(--space_48);
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
}

.vacc *,
.vacc *::before,
.vacc *::after {
	box-sizing: border-box;
}

.vacc .vacc-title {
	margin: 0;
	color: var(--ink_text);
	font-family: var(--font1), serif !important;
	font-size: 40px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vacc-cols {
	display: flex;
	align-items: flex-start;
	gap: var(--space_48);
	margin-top: var(--space_32);
}

.vataly-account .vacc-nav {
	flex: 0 0 240px;
	width: 240px;
	float: none;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
}

.vataly-account .vacc-panel {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	float: none;
	color: var(--ink_text);
}

/* ---------------------------------------------------------------------------
 * Menu — Figma Nav/Menu Item: 43 high, padding 12 / 16, gap 12.
 * Default: Body 14 taupe. Active: Header 14 ink + 2px left rule (inset, so
 * the label does not move). Hover: stone.
 * ------------------------------------------------------------------------ */

.vacc .vacc-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: normal;
	max-height: none;
}

.vacc .vacc-menu__item {
	display: block;
	margin: 0;
}

.vacc .vacc-menu__link {
	display: flex;
	align-items: center;
	gap: var(--space_12);
	min-height: 43px;
	padding: var(--space_12) var(--space_16);
	color: var(--h_clr);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}

/* Konte's dash before the active link. */
.vacc .vacc-menu__link::before {
	content: none;
	display: none;
}

.vacc .vacc-menu__link:hover,
.vacc .vacc-menu__link:focus-visible {
	background-color: var(--bg_clr2);
	color: var(--h_clr);
}

.vacc .vacc-menu__item.is-current .vacc-menu__link {
	box-shadow: inset 2px 0 0 var(--ink_text);
	color: var(--ink_text);
	font-weight: 700;
}

.vacc .vacc-menu__count {
	font-weight: 300;
}

.vacc .vacc-menu__label {
	min-width: 0;
}

.vacc-chevron {
	flex: 0 0 16px;
	color: var(--ink_text);
}

/* Hub list: mobile dashboard only (dashboard.php, under the greeting). */
.vacc .vacc-hub {
	display: none;
}

.vacc-menu--hub .vacc-menu__label {
	flex: 1 1 auto;
}

/* ---------------------------------------------------------------------------
 * Panel sections — gap 32 between sections, 16 header → content
 * ------------------------------------------------------------------------ */

.vacc-sections {
	display: flex;
	flex-direction: column;
	gap: var(--space_32);
}

.vacc-section {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
	margin: 0;
}

/* Figma Content/Section Header: Header 16 title, Header 14 action. */
.vacc-sh {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space_16);
}

.vacc .vacc-sh__title {
	margin: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vacc .vacc-sh__action {
	flex: 0 0 auto;
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 700;
	line-height: 19px;
	text-decoration: none;
	text-transform: uppercase;
}

.vacc .vacc-sh__action:hover,
.vacc .vacc-sh__action:focus-visible {
	color: var(--ink_text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vacc .vacc-note {
	margin: 0;
	color: var(--h_clr);
	font-size: 14px;
	font-weight: 300;
}

/* Figma Content/Detail Row: label Header 14 (no wrap) + value Body 14. */
.vacc-rows {
	display: flex;
	flex-direction: column;
	gap: var(--space_8);
}

.vacc-row {
	display: flex;
	align-items: baseline;
	gap: var(--space_8);
	font-size: 14px;
	line-height: 19px;
}

.vacc-row__label {
	flex: 0 0 auto;
	font-weight: 700;
	white-space: nowrap;
	text-transform: uppercase;
}

.vacc-row__value {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 300;
	overflow-wrap: anywhere;
}

.vacc-row__value del {
	color: var(--h_clr);
}

.vacc-row__value ins {
	text-decoration: none;
}

/* Figma Content/Status Badge: 1px border, 4 / 8, Header 12 uppercase.
 * neutral = processing, info = shipped, success = delivered,
 * error = cancelled, warning = refunded. */
.vacc-badge {
	display: inline-flex;
	align-items: center;
	padding: var(--space_4) var(--space_8);
	border: 1px solid var(--h_clr);
	background: transparent;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	white-space: nowrap;
	text-transform: uppercase;
}

.vacc-badge--info {
	border-color: var(--h_clr);
	background: var(--bg_clr1);
}

.vacc-badge--success {
	border-color: var(--msg_green);
	background: var(--msg_green_tint);
}

.vacc-badge--error {
	border-color: var(--msg_red);
	background: var(--msg_red_tint);
}

.vacc-badge--warning {
	border-color: var(--rare_clr);
}

/* ---------------------------------------------------------------------------
 * Order card — 1px sand, padding 24, gap 16
 * ------------------------------------------------------------------------ */

.vacc-ocard {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
	margin: 0;
	padding: var(--space_24);
	border: 1px solid var(--b_clr);
	background: var(--bg_clr1);
}

.vacc-ocard__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space_12);
}

.vacc .vacc-ocard__title {
	margin: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vacc-ocard__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space_16);
}

.vacc .vacc-ocard__btn {
	flex: 0 0 auto;
	width: 200px;
	margin-left: auto;
	text-decoration: none;
}

/* Thumbnails 48 × 60, gap 8; "+N" tile the same size. */
.vacc .vacc-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space_8);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vacc-thumbs__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 60px;
	margin: 0;
	overflow: hidden;
	background: var(--bg_clr2);
}

.vacc .vacc-thumbs__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vacc-thumbs__more {
	color: var(--ink_text);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

/* My Orders: cards gap 16; Previous / Next under the list (core
 * pagination, Secondary buttons — not in Figma). */
.vacc-orders__list {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
}

.vacc-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space_16);
	margin: var(--space_16) 0 0;
}

.vacc .vacc-pagination__btn {
	flex: 0 0 auto;
	width: 160px;
	text-decoration: none;
}

.vacc .vacc-pagination__btn.woocommerce-button--next {
	margin-left: auto;
}

.vacc-pagination__status {
	color: var(--h_clr);
	font-size: 14px;
	font-weight: 300;
	white-space: nowrap;
}

/* Orders empty state (shared template-parts/cart/empty-state.php). */
.vacc-empty .vcart-empty {
	width: 100%;
}

/* Address card: full panel width (Figma 846 / 362). */
.vacc .vacc-acard {
	width: 100%;
}

/* ---------------------------------------------------------------------------
 * Order Detail (view-order.php). Items + summary are the shared parts
 * (template-parts/checkout/order-items.php, order-summary.php) styled in
 * css/checkout.css; the rules there that sit under the checkout `.vco`
 * wrapper (list reset, totals column, rule) are repeated for `.vacc`.
 * ------------------------------------------------------------------------ */

.vacc .vacc-order__info {
	gap: var(--space_16);
}

.vacc-row--status {
	align-items: center;
}

.vacc .vco-ty-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vacc .vco-ty-item {
	margin: 0;
}

.vacc .vco-ty-totals {
	display: flex;
	flex-direction: column;
	gap: var(--space_8);
	margin: 0;
	padding: 0;
	border: 0;
}

.vacc .vco-ty-summary__rule {
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--b_clr);
}

/* Delivery address (flexible) | Order summary (348), gap 48. */
.vacc-order__cols {
	display: flex;
	align-items: flex-start;
	gap: var(--space_48);
}

.vacc-order__address {
	flex: 1 1 auto;
	min-width: 0;
}

.vacc-order__summary {
	flex: 0 0 348px;
	width: 348px;
}

/* DOWNLOAD INVOICE (Secondary) + REORDER (Primary), 348 × 55, gap 16. */
.vacc-order__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space_16);
}

.vacc .vacc-order__btn {
	flex: 0 0 auto;
	width: 348px;
	text-decoration: none;
}

/* Customer notes (core "Order updates"; not in Figma). */
.vacc .vacc-notes {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vacc .vacc-notes__item {
	margin: 0;
	padding-bottom: var(--space_16);
	border-bottom: 1px solid var(--b_clr);
}

.vacc .vacc-notes__date {
	margin: 0 0 var(--space_4);
	color: var(--h_clr);
	font-size: 12px;
	font-weight: 300;
}

.vacc .vacc-notes__text p {
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
}

/* ---------------------------------------------------------------------------
 * Address Book (my-address.php) — 2 columns, gap 24; each cell is the card
 * then SET AS DEFAULT · DELETE (8 below). Cells stretch to the row, so the
 * links line up under the taller card of a row (Figma justify-between).
 * address-book.css limits .vab-account to 565 for the old single column.
 * ------------------------------------------------------------------------ */

.vacc .vab-account {
	max-width: none;
}

.vacc .vacc-agrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space_24);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vacc .vacc-acell {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space_8);
	min-width: 0;
	margin: 0;
}

.vacc-acell .vco-acard__details {
	overflow-wrap: anywhere;
}

.vacc-acell__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space_8) var(--space_20);
}

/* Figma DELETE: Header 12, ink, underlined (also SET AS DEFAULT). Tap area
 * by padding + equal negative margin, as the address-book actions. */
.vacc .vacc-link {
	margin: -4px;
	padding: 4px;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: uppercase;
	cursor: pointer;
}

.vacc .vacc-link:hover,
.vacc .vacc-link:focus {
	background: none;
	color: var(--ink_text);
	text-decoration-thickness: 2px;
}

.vacc .vacc-link:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: -2px;
}

/* ---------------------------------------------------------------------------
 * Account Details (form-edit-account.php) — Figma Form/Input, forms 560 wide,
 * gap 16; name row 2 columns gap 24.
 * Default 1px taupe · Filled 1px ink · Focus 2px ink · Error 2px oxblood +
 * helper with alert icon. 2px drawn as an inset shadow, so fields never move.
 * Konte's input rules (white fill, bottom border, 18px) are reset here.
 * ------------------------------------------------------------------------ */

.vacc .vacc-fields {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
	max-width: 560px;
	margin: 0;
	padding: 0;
	border: 0;
}

.vacc-fields__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space_24);
}

/* Out-ranks WooCommerce's .woocommerce form .form-row-first (47% float)
 * and Konte's flex .form-row (label beside the input). */
.vacc .vacc-form .vacc-field {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
}

/* Konte hides the Last name label (its copy used placeholders). */
.vacc .vacc-form .vacc-field label {
	display: block;
	margin: 0 0 var(--space_4);
	padding: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0;
	text-transform: none;
}

.vacc .vacc-field .input-text {
	display: block;
	width: 100%;
	height: 43px;
	margin: 0;
	padding: 0 var(--space_12);
	border: 1px solid var(--h_clr);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 14px !important;
	font-weight: 300;
	line-height: 19px;
	transition: none;
}

.vacc .vacc-field .input-text:not(:placeholder-shown),
.vacc .vacc-field .input-text:hover {
	border-color: var(--ink_text);
}

.vacc .vacc-field .input-text:focus {
	border-color: var(--ink_text);
	box-shadow: inset 0 0 0 1px var(--ink_text);
	outline: none;
}

.vacc .vacc-field.is-invalid .input-text {
	border-color: var(--msg_red);
	box-shadow: inset 0 0 0 1px var(--msg_red);
}

.vacc .vacc-field__error {
	display: flex;
	align-items: flex-start;
	gap: var(--space_4);
	margin: var(--space_4) 0 0;
	color: var(--msg_red);
	font-size: 12px;
	font-weight: 300;
	line-height: 16px;
}

.vacc-field__icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

/* Password field + SHOW (Header 12) inside it, right. */
.vacc-pass {
	position: relative;
}

.vacc .vacc-pass .vacc-pass__input {
	padding-right: 64px;
}

.vacc .vacc-pass__toggle {
	position: absolute;
	top: 0;
	right: var(--space_4);
	display: flex;
	align-items: center;
	height: 43px; /* the field, not the wrapper: the strength meter adds below */
	margin: 0;
	padding: 0 var(--space_8);
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0;
	text-transform: uppercase;
	cursor: pointer;
}

/* WooCommerce's password strength meter + hint under New password (kept:
 * it also blocks too-weak passwords). Body 12, token colours. */
/* Out-ranks Konte's form.edit-account .form-row … { padding-left: 195px }. */
.vacc form.edit-account .form-row .woocommerce-password-strength,
.vacc form.edit-account .form-row .woocommerce-password-hint {
	width: auto;
	padding-left: 0;
}

.vacc .vacc-pass .woocommerce-password-strength {
	margin: var(--space_4) 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--h_clr);
	font-size: 12px;
	font-weight: 300;
	line-height: 16px;
	text-align: left;
}

.vacc .vacc-pass .woocommerce-password-strength.short,
.vacc .vacc-pass .woocommerce-password-strength.bad {
	color: var(--msg_red);
}

.vacc .vacc-pass .woocommerce-password-strength.good {
	color: var(--rare_clr);
}

.vacc .vacc-pass .woocommerce-password-strength.strong {
	color: var(--msg_green);
}

.vacc .vacc-pass .woocommerce-password-hint {
	display: block;
	margin: var(--space_4) 0 0;
	color: var(--h_clr);
	font-size: 12px;
	font-weight: 300;
	line-height: 16px;
}

.vacc .vacc-pass__toggle:hover,
.vacc .vacc-pass__toggle:focus {
	background: none;
	color: var(--ink_text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vacc .vacc-pass__toggle:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: -2px;
}

/* Info notice (shared template-parts/cart/notice.php, inline): Figma
 * Icon/Info is ink here (the bag's notices use the warning tone). */
.vacc .vacc-info .vcart-notice__icon {
	color: var(--ink_text);
}

.vacc .vacc-form .vacc-form__submit {
	display: block;
	margin: 0;
	padding: 0;
	text-align: left;
}

.vacc .vacc-form .vacc-form__submit .vco-btn {
	width: 348px;
	margin: 0;
}

/* A <legend> ignores parts of .screen-reader-text and was laid out 1440
 * wide (page overflow); hidden here the standard way. */
.vacc .vacc-fields > legend.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

/* Core notices above the panel content (save errors, "Account details
 * changed successfully.", order-again, etc.) drawn as Figma Feedback/Notice
 * banners: info / success → Info, error → Error — as the cart page
 * (css/cart.css .vcart-banners). */
.vacc .woocommerce-notices-wrapper:not(:empty) {
	display: flex;
	flex-direction: column;
	gap: var(--space_12);
	margin: 0 0 var(--space_32);
}

.vacc .woocommerce-notices-wrapper .woocommerce-message,
.vacc .woocommerce-notices-wrapper .woocommerce-info,
.vacc .woocommerce-notices-wrapper .woocommerce-error {
	position: relative;
	display: block;
	margin: 0;
	padding: var(--space_16) var(--space_16) var(--space_16) 44px !important;
	border: 1px solid var(--h_clr);
	background: var(--bg_clr1) !important;
	color: var(--ink_text) !important;
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
	list-style: none;
}

.vacc .woocommerce-notices-wrapper .woocommerce-error {
	border-color: var(--msg_red);
	background: var(--msg_red_tint) !important;
}

.vacc .woocommerce-notices-wrapper ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vacc .woocommerce-notices-wrapper li {
	margin: 0;
	padding: 0;
}

.vacc .woocommerce-notices-wrapper .message-icon {
	position: absolute;
	top: 18px;
	left: var(--space_16);
	width: 16px;
	height: 16px;
	margin: 0;
	transform: none;
	color: var(--ink_text);
	line-height: 0;
}

.vacc .woocommerce-notices-wrapper .woocommerce-error .message-icon {
	color: var(--msg_red);
}

.vacc .woocommerce-notices-wrapper .message-icon svg {
	width: 16px;
	height: 16px;
}

.vacc .woocommerce-notices-wrapper .close-message {
	display: none;
}

.vacc .woocommerce-notices-wrapper a {
	display: inline;
	float: none;
	margin-left: var(--space_12);
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink_text);
	font-size: 12px;
	font-weight: 700;
	text-decoration: underline;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
 * Confirm modal — Figma Overlay/Modal Small (400) on Overlay/Scrim (Ink 40%):
 * padding 32, gap 24, 1px sand, square; footer buttons share the width.
 * Printed outside .vacc's panel flow but inside .vacc (my-address.php).
 * ------------------------------------------------------------------------ */

html.vacc-lock {
	overflow: hidden;
}

.vacc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space_20);
}

.vacc-modal[hidden] {
	display: none;
}

.vacc-modal__scrim {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--ink_text) 40%, transparent);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.vacc-modal__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space_24);
	width: 400px;
	max-width: 100%;
	padding: var(--space_32);
	border: 1px solid var(--b_clr);
	background: var(--bg_clr1);
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.vacc-modal.is-open .vacc-modal__scrim,
.vacc-modal.is-open .vacc-modal__panel {
	opacity: 1;
	transform: none;
}

.vacc-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space_16);
}

.vacc-modal .vacc-modal__title {
	margin: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vacc-modal .vacc-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: -12px;
	padding: 12px;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--ink_text);
	line-height: 0;
	cursor: pointer;
}

.vacc-modal .vacc-modal__close:hover,
.vacc-modal .vacc-modal__close:focus {
	background: none;
	color: var(--ink_text);
}

.vacc-modal .vacc-modal__close:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: -4px;
}

.vacc-modal .vacc-modal__body {
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
}

.vacc-modal__foot {
	display: flex;
	gap: var(--space_12);
}

.vacc-modal .vacc-modal__btn {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

/* ---------------------------------------------------------------------------
 * Back row — Figma Nav/Back Row (mobile only)
 * ------------------------------------------------------------------------ */

.vacc-back {
	display: none;
	align-items: center;
	gap: var(--space_8);
	padding: var(--space_12) 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 19px;
	text-decoration: none;
	text-transform: uppercase;
}

.vacc-back:hover,
.vacc-back:focus-visible {
	color: var(--ink_text);
}

/* ---------------------------------------------------------------------------
 * Order Detail — RETURNS & EXCHANGES (Figma RX-O1 / RX-O2, States A;
 * template-parts/account/ACC_RX-returns-section.php, ACC_RX-return-card.php).
 * ------------------------------------------------------------------------ */

.vacc-rx__cards {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
}

/* Request card: 1px sand, padding 24, gap 16. */
.vacc-rx-card {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
	margin: 0;
	padding: var(--space_24);
	border: 1px solid var(--b_clr);
	background: var(--bg_clr1);
}

.vacc-rx-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space_8) var(--space_12);
}

.vacc .vacc-rx-card__title {
	margin: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 19px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vacc .vacc-rx-card__date {
	margin: 0;
	color: var(--h_clr);
	font-size: 12px;
	font-weight: 300;
	line-height: 16px;
}

/* Status line: 88px label (Header 12, secondary) + badge, gap 12. */
.vacc-rx-lines {
	display: flex;
	flex-direction: column;
	gap: var(--space_8);
}

.vacc-rx-line {
	display: flex;
	align-items: center;
	gap: var(--space_12);
}

.vacc-rx-line__label {
	flex: 0 0 88px;
	color: var(--h_clr);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

/* Figma RX warning badge (ACTION NEEDED, CHANGED TO REFUND): stone fill. */
.vacc-rx-card .vacc-badge--warning {
	background: var(--bg_clr2);
}

.vacc-rx .vcart-notice__body {
	margin: 0;
	line-height: 1.36;
}

.vacc-rx-card__items {
	display: flex;
	align-items: center;
	gap: var(--space_12);
}

.vacc-rx-card__thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 60px;
	overflow: hidden;
	background: var(--bg_clr2);
}

.vacc .vacc-rx-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vacc .vacc-rx-card__summary {
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
}

/* UPDATE BANK DETAILS (Primary 240) + VIEW REQUEST (Secondary 200), gap 16. */
.vacc-rx-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space_16);
}

.vacc .vacc-rx-card__btn {
	flex: 0 0 auto;
	width: 200px;
	text-decoration: none;
}

.vacc .vacc-rx-card__btn--wide {
	width: 240px;
}

/* RETURN OR EXCHANGE: Secondary 348 × 55. */
.vacc .vacc-rx__btn {
	width: 348px;
	text-decoration: none;
}

/* ---------------------------------------------------------------------------
 * Tablet: the panel is too narrow for address | 348 summary side by side.
 * ------------------------------------------------------------------------ */

@media (max-width: 991px) {
	.vacc-order__cols {
		flex-direction: column;
		align-items: stretch;
	}

	.vacc-order__summary {
		flex-basis: auto;
		width: 100%;
	}
}

/* ---------------------------------------------------------------------------
 * Mobile (Figma 402): theme container pads 20; body padding 24, gap 32.
 * ------------------------------------------------------------------------ */

@media (max-width: 767.98px) {
	.vataly-account .site-content {
		padding-top: var(--space_24);
	}

	/* Sub-pages: back row right under the header line, then 24 to the body. */
	.vataly-account:not(.vataly-account--dashboard) .site-content {
		padding-top: 0;
	}

	.vacc {
		padding-bottom: var(--space_24);
	}

	.vacc .vacc-title {
		font-size: 30px;
	}

	.vataly-account:not(.vataly-account--dashboard) .vacc-title {
		display: none;
	}

	.vacc-back {
		display: flex;
	}

	.vacc-cols {
		display: block;
		margin-top: var(--space_32);
	}

	.vataly-account:not(.vataly-account--dashboard) .vacc-cols {
		margin-top: var(--space_24);
	}

	.vataly-account .vacc-nav {
		display: none;
	}

	.vacc .vacc-hub {
		display: block;
	}

	/* Order card: thumbnails, then VIEW ORDER full width 16 below. */
	.vacc-ocard__foot {
		flex-direction: column;
		align-items: stretch;
		gap: var(--space_16);
	}

	.vacc .vacc-ocard__btn {
		width: 100%;
	}

	/* Account Details: stacked fields, full-width SAVE CHANGES. */
	.vacc-fields__row {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space_16);
	}

	.vacc .vacc-form .vacc-form__submit .vco-btn {
		width: 100%;
	}

	/* Address Book: one column. */
	.vacc .vacc-agrid {
		grid-template-columns: minmax(0, 1fr);
	}

	/* ≥ 44px tap area for the text links (12 + 16 + 16). */
	.vacc .vacc-link {
		margin: -12px -8px -16px;
		padding: 12px 8px 16px;
	}

	/* Order Detail: the back row ("‹ MY ORDERS") replaces ALL ORDERS. */
	.vacc-order > .vacc-section:first-child .vacc-sh__action {
		display: none;
	}

	.vacc-order__actions {
		flex-direction: column;
		gap: var(--space_12);
	}

	.vacc .vacc-order__btn {
		width: 100%;
	}

	/* Returns & exchanges: buttons full width, stacked 12 apart. */
	.vacc-rx-card__actions {
		flex-direction: column;
		gap: var(--space_12);
	}

	.vacc .vacc-rx-card__btn,
	.vacc .vacc-rx__btn {
		width: 100%;
	}
}
