/* My Account (dashboard, orders, order view, addresses, account details, login / lost password).
   Loaded on is_account_page() after mlc.css and mlc-forms.css. Everything is scoped to .woocommerce-account.
   The page itself is Flatsome's page-my-account.php (a .row.vertical-tabs with the nav in the first column),
   so the layout is restyled here instead of being re-templated. */

/* ---- Page frame ------------------------------------------------------------ */
.woocommerce-account .page-wrapper.my-account { padding: 0 0 56px; margin: 0; }
.woocommerce-account .page-wrapper.my-account > .container { box-sizing: border-box; width: 100%; max-width: var(--mlc-container); padding: 0 24px; }
.mlc-acct-head { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; margin-bottom: 24px; }
.mlc-acct-head .mlc-h1 { font-size: 38px; text-transform: none; }
.mlc-acct-head__sub { margin: 0; max-width: 640px; color: var(--mlc-muted-2); }
.woocommerce-account .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-account .woocommerce-MyAccount-content { display: flex; flex-direction: column; gap: 20px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper + * { margin-top: 0; }

/* ---- Shared pieces -------------------------------------------------------- */
.mlc-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.mlc-btn--block { width: 100%; }
.mlc-acct-card { box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 24px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
.mlc-acct-card.mlc-tone-mint, .mlc-acct-card.mlc-tone-blue { border: 0; }
.mlc-acct-card.mlc-tone-mint { background: var(--mlc-bg-mint); }
.mlc-acct-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.mlc-acct-card .mlc-btn { align-self: flex-start; }
.mlc-acct-card__title { width: auto; margin: 0; font-family: var(--mlc-font-head); font-size: 20px; font-weight: 700; line-height: 1.3; text-transform: none; color: var(--mlc-navy); }
.mlc-acct-card p { margin: 0; }
.mlc-acct-muted { color: var(--mlc-muted); }
.mlc-acct-address { margin: 0; font-style: normal; line-height: 1.65; color: var(--mlc-ink); overflow-wrap: anywhere; }
.mlc-acct-empty { align-items: center; gap: 20px; padding: 32px 24px; text-align: center; }
.mlc-acct-empty .mlc-btn { align-self: center; }
.mlc-acct-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; color: var(--mlc-navy); }
.mlc-dash__orders .mlc-acct-empty { padding: 16px 0 8px; }

/* Order status chips */
.mlc-status { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; box-sizing: border-box; border-radius: 999px; background: var(--mlc-bg-grey); box-shadow: inset 0 0 0 1px var(--mlc-line-strong); color: var(--mlc-muted-2); font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.mlc-status--pending { background: var(--mlc-bg-yellow); box-shadow: none; color: var(--mlc-navy); }
.mlc-status--processing { background: var(--mlc-bg-blue); box-shadow: none; color: var(--mlc-navy); }
.mlc-status--on-hold { background: var(--mlc-bg-peach); box-shadow: none; color: var(--mlc-navy); }
.mlc-status--completed { background: var(--mlc-bg-mint); box-shadow: none; color: var(--mlc-green); }
.mlc-status--failed { background: #FFF8F7; box-shadow: inset 0 0 0 1px #B42318; color: #B42318; }

/* ---- Navigation card (Flatsome's first column) ------------------------------- */
.woocommerce-account .row.vertical-tabs { margin: 0; max-width: none; width: 100%; }
.woocommerce-account .row.vertical-tabs > .col { box-sizing: border-box; flex-basis: auto; max-width: none; margin: 0; padding: 0; border: 0; }
.woocommerce-account .row.vertical-tabs > .col:first-child { padding: 16px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
.mlc-acct-user { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0 0 12px; padding: 4px 4px 16px; border-bottom: 1px solid var(--mlc-line); }
.mlc-acct-user__avatar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mlc-navy); color: #fff; font-family: var(--mlc-font-head); font-size: 22px; font-weight: 700; line-height: 1; }
.mlc-acct-user__meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.mlc-acct-user__name { overflow: hidden; color: var(--mlc-ink); font-size: 16px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mlc-acct-user__mail { overflow: hidden; color: var(--mlc-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

/* Flatsome decorates this list as ".nav-line.nav-uppercase.nav-vertical"; the id wins over all of it. */
#my-account-nav { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; width: auto; margin: 0; padding: 0; list-style: none; }
#my-account-nav > li { display: block; width: auto; margin: 0; padding: 0; border: 0; }
#my-account-nav > li > a { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 48px; box-sizing: border-box; padding: 0 14px; border: 0; border-radius: var(--mlc-r-sm); background: transparent; color: var(--mlc-navy); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; text-decoration: none; transition: background-color .15s, color .15s; }
#my-account-nav > li > a::before, #my-account-nav > li > a::after { display: none; }
#my-account-nav > li > a:hover { background: var(--mlc-bg-blue); color: var(--mlc-navy); }
#my-account-nav > li.is-active > a, #my-account-nav > li > a[aria-current="page"] { background: var(--mlc-navy); color: #fff; font-weight: 700; }
#my-account-nav .mlc-icon { flex: 0 0 auto; }
#my-account-nav > li.mlc-acct-nav__logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--mlc-line); }
#my-account-nav > li.mlc-acct-nav__logout > a { color: var(--mlc-muted-2); }
#my-account-nav > li.mlc-acct-nav__logout > a:hover { background: var(--mlc-bg-grey); color: var(--mlc-navy); }

@media (min-width: 850px) {
	.woocommerce-account .row.vertical-tabs { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
	/* Sticky card follows the header (--mlc-sticky-top); never scrolls inside (UI standard 10). */
	.woocommerce-account .row.vertical-tabs > .col:first-child { position: sticky; top: var(--mlc-side-top, var(--mlc-sticky-top, 24px)); transition: top .2s ease; } /* short screens: sticks by its bottom (mlc.js initStickySides) */
}

/* ---- Dashboard ---------------------------------------------------------------- */
.mlc-dash { display: flex; flex-direction: column; gap: 20px; }
.mlc-dash__hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 24px 28px; border-radius: var(--mlc-r-lg); }
.mlc-dash__hello p { margin: 6px 0 0; color: var(--mlc-muted-2); }
.mlc-dash__title { width: auto; margin: 0; font-family: var(--mlc-font-head); font-size: 28px; font-weight: 800; line-height: 1.15; text-transform: none; color: var(--mlc-navy); overflow-wrap: anywhere; }
.mlc-dash__stats { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mlc-dash__stats li { display: flex; flex-direction: column; min-width: 128px; margin: 0; padding: 12px 20px; box-sizing: border-box; border-radius: var(--mlc-r-sm); background: #fff; }
.mlc-dash__stats strong { font-family: var(--mlc-font-head); font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--mlc-navy); }
.mlc-dash__stats span { font-size: 13px; font-weight: 600; color: var(--mlc-muted); }
.mlc-dash__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mlc-dash__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mlc-dash__orders { min-width: 0; }
.mlc-dash__help p { color: var(--mlc-muted-2); }
.mlc-dash__help-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mlc-dash-orders { margin: 0; padding: 0; list-style: none; }
.mlc-dash-order { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 8px 16px; margin: 0; padding: 14px 0; border-top: 1px solid var(--mlc-line); }
.mlc-dash-order:first-child { border-top: 0; padding-top: 0; }
.mlc-dash-order:last-child { padding-bottom: 0; }
.mlc-dash-order__main { display: flex; flex-direction: column; min-width: 0; }
.mlc-dash-order__no { font-weight: 700; text-decoration: none; }
.mlc-dash-order__no:hover { text-decoration: underline; }
.mlc-dash-order__meta { font-size: 13px; color: var(--mlc-muted); }
.mlc-dash-order__total { font-size: 15px; color: var(--mlc-ink); white-space: nowrap; }
@media (min-width: 1100px) {
	.mlc-dash__grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); align-items: start; }
}

/* ---- Orders table (rule 7) ------------------------------------------------------ */
.mlc-table-wrap { overflow: hidden; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
.mlc-orders-table, .mlc-orders-table tr { box-shadow: none; }
.mlc-table-wrap .touch-scroll-table { overflow: visible; box-shadow: none !important; } /* Flatsome wraps tables in a scroll shadow; the phone layout has no horizontal scroll */
.mlc-orders-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: auto; }
.mlc-orders-table th, .mlc-orders-table td { padding: 14px 20px; border: 0; background: transparent; color: var(--mlc-ink); font-size: 15px; font-weight: 400; letter-spacing: 0; text-align: left; text-transform: none; vertical-align: middle; }
.mlc-orders-table thead th { padding-top: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--mlc-line); color: var(--mlc-muted); font-size: 14px; font-weight: 600; }
.mlc-orders-table tbody tr:nth-child(even) { background: var(--mlc-bg-grey); }
.mlc-orders-table tbody th { font-weight: 700; }
.mlc-orders-table__no { font-weight: 700; text-decoration: none; }
.mlc-orders-table__no:hover { text-decoration: underline; }
.mlc-orders-table__count { display: block; font-size: 13px; color: var(--mlc-muted); }
.mlc-orders-table__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mlc-orders-table .woocommerce-orders-table__header-order-actions, .mlc-orders-table .woocommerce-orders-table__cell-order-actions { text-align: right; }
.mlc-orders-table .mlc-orders-table__actions { justify-content: flex-end; }
.mlc-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
.mlc-pager__info { font-size: 14px; font-weight: 600; color: var(--mlc-muted); }

@media (max-width: 849px) {
	.mlc-table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
	.mlc-orders-table, .mlc-orders-table tbody { display: block; }
	.mlc-orders-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.mlc-orders-table tbody tr, .mlc-orders-table tbody tr:nth-child(even) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; margin: 0 0 12px; padding: 16px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
	.mlc-orders-table th, .mlc-orders-table td { display: block; padding: 0; }
	.mlc-orders-table td[data-title]::before, .mlc-orders-table th[data-title]::before { content: attr(data-title); display: block; margin-bottom: 2px; color: var(--mlc-muted); font-size: 13px; font-weight: 600; }
	.mlc-orders-table .woocommerce-orders-table__cell-order-actions { grid-column: 1 / -1; text-align: left; }
	.mlc-orders-table .woocommerce-orders-table__cell-order-actions::before { display: none; }
	.mlc-orders-table .mlc-orders-table__actions { justify-content: flex-start; }
	.mlc-orders-table .mlc-orders-table__actions .mlc-btn { flex: 1 1 auto; }
	.mlc-orders-table tbody tr { box-shadow: none; }
}

/* ---- View order ------------------------------------------------------------------ */
.mlc-vo-head { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.mlc-vo-head__main { flex: 1 1 220px; min-width: 0; }
.mlc-vo-head__title { width: auto; margin: 0; font-family: var(--mlc-font-head); font-size: 24px; font-weight: 700; line-height: 1.2; text-transform: none; color: var(--mlc-navy); }
.mlc-vo-head__date { margin: 2px 0 0; font-size: 14px; color: var(--mlc-muted); }
.mlc-vo-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mlc-vo-head__actions:empty { display: none; }
.mlc-vo-head .mlc-btn { align-self: auto; }

.woocommerce-account section.woocommerce-order-details, .woocommerce-account section.woocommerce-customer-details { margin: 0; }
.woocommerce-account .woocommerce-order-details { overflow: hidden; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
.woocommerce-account .woocommerce-order-details__title, .woocommerce-account .woocommerce-column__title, .woocommerce-account .woocommerce-order-downloads__title { width: auto; margin: 0; padding: 20px 24px 8px; font-family: var(--mlc-font-head); font-size: 20px; font-weight: 700; line-height: 1.3; text-transform: none; color: var(--mlc-navy); }
.woocommerce-account table.order_details { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.woocommerce-account table.order_details th, .woocommerce-account table.order_details td { padding: 14px 24px; border: 0; background: transparent; color: var(--mlc-ink); font-size: 15px; font-weight: 400; letter-spacing: 0; text-align: left; text-transform: none; vertical-align: middle; }
.woocommerce-account table.order_details thead th { border-bottom: 1px solid var(--mlc-line); color: var(--mlc-muted); font-size: 14px; font-weight: 600; }
.woocommerce-account table.order_details thead th:last-child, .woocommerce-account table.order_details td:last-child, .woocommerce-account table.order_details tfoot td { text-align: right; }
.woocommerce-account table.order_details tbody tr:nth-child(even) { background: var(--mlc-bg-grey); }
.woocommerce-account table.order_details td.product-name a { font-weight: 600; text-decoration: none; }
.woocommerce-account table.order_details td.product-name a:hover { text-decoration: underline; }
.woocommerce-account table.order_details .product-quantity { margin-left: 6px; color: var(--mlc-muted); font-weight: 600; }
.woocommerce-account table.order_details tfoot tr { border-top: 1px solid var(--mlc-line); }
.woocommerce-account table.order_details tfoot th { color: var(--mlc-muted); font-size: 14px; font-weight: 600; }
.mlc-vo-grand { color: var(--mlc-navy); font-family: var(--mlc-font-head); font-size: 20px; font-weight: 800; }
.woocommerce-account table.order_details tfoot tr:has(.order-actions--heading) { display: none; } /* actions live in the order header card */
.woocommerce-account table.order_details .wc-item-meta { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--mlc-muted); }
.woocommerce-account table.order_details .wc-item-meta li { margin: 0; }
.woocommerce-account table.order_details .wc-item-meta p { display: inline; margin: 0; }
.mlc-oi { display: inline-flex; align-items: center; gap: 12px; vertical-align: middle; }
.mlc-oi__thumb { display: block; flex: 0 0 auto; width: 56px; height: 56px; overflow: hidden; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-sm); background: #fff; }
.mlc-oi__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mlc-oi__name { min-width: 0; }

/* Billing / shipping addresses on the order: one card per address (a single card when there is no shipping address) */
.woocommerce-account .woocommerce-customer-details .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; }
.woocommerce-account .woocommerce-customer-details .woocommerce-column,
.woocommerce-account .woocommerce-customer-details:not(:has(.woocommerce-columns--addresses)) { float: none; width: auto; max-width: none; margin: 0; padding: 0 0 24px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
.woocommerce-account .woocommerce-customer-details address { margin: 0; padding: 0 24px; border: 0; font-style: normal; line-height: 1.65; overflow-wrap: anywhere; }
.woocommerce-account .woocommerce-customer-details address p { margin: 4px 0 0; }
.woocommerce-account .woocommerce-customer-details .woocommerce-column__title { padding-bottom: 12px; }
.woocommerce-account .woocommerce-customer-details > .woocommerce-column__title:empty { display: none; }

.mlc-timeline { margin: 0; padding: 0; list-style: none; }
.mlc-timeline__item { position: relative; margin: 0; padding: 0 0 20px 24px; border-left: 2px solid var(--mlc-line); margin-left: 6px; }
.mlc-timeline__item:last-child { padding-bottom: 0; border-left-color: transparent; }
.mlc-timeline__item::before { content: ""; position: absolute; top: 4px; left: -7px; width: 12px; height: 12px; box-sizing: border-box; border: 3px solid var(--mlc-navy); border-radius: 50%; background: #fff; }
.mlc-timeline__time { display: block; font-size: 13px; font-weight: 600; color: var(--mlc-muted); }
.mlc-timeline__text p { margin: 4px 0 0; }
.mlc-vo-support { margin: 0; font-size: 14px; color: var(--mlc-muted-2); }

/* ---- Addresses -------------------------------------------------------------------- */
.mlc-addr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mlc-addr-grid .mlc-acct-address { flex: 1 1 auto; }

/* ---- Forms (edit address / account, login, lost password) -------------------------- */
.mlc-acct-form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.mlc-acct-card .mlc-acct-form { gap: 16px; }
.mlc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mlc-form-grid > .form-row-wide, .mlc-form-grid > .form-row-first:not(.form-row-last) + .form-row-wide, .mlc-form-grid > .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.mlc-form-grid > .clear { display: none; }
:is(.mlc-acct-form, .woocommerce-ResetPassword) .form-row { display: flex; flex-direction: column; gap: 6px; float: none; width: 100%; margin: 0; padding: 0; }
:is(.mlc-acct-form, .woocommerce-ResetPassword) label { margin: 0; color: var(--mlc-ink); font-size: 14px; font-weight: 600; line-height: 1.4; }
:is(.mlc-acct-form, .woocommerce-ResetPassword) label .required { border: 0; color: inherit; text-decoration: none; }
:is(.mlc-acct-form, .woocommerce-ResetPassword) label .optional { color: var(--mlc-muted); font-weight: 400; }
:is(.mlc-acct-form, .woocommerce-ResetPassword) .woocommerce-input-wrapper { display: block; }
.mlc-field-hint { font-size: 13px; color: var(--mlc-muted); }
:is(.mlc-acct-form, .woocommerce-ResetPassword) :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], textarea) {
	box-sizing: border-box; width: 100%; max-width: 100%; min-height: 48px; margin: 0; padding: 0 16px; border: 2px solid var(--mlc-line-strong); border-radius: var(--mlc-r-sm); background: #fff; box-shadow: none; color: var(--mlc-ink); font: inherit; font-size: 15px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
:is(.mlc-acct-form, .woocommerce-ResetPassword) textarea { min-height: 120px; padding: 12px 16px; resize: vertical; }
:is(.mlc-acct-form, .woocommerce-ResetPassword) :is(input, textarea):hover { border-color: var(--mlc-navy); }
:is(.mlc-acct-form, .woocommerce-ResetPassword) :is(input, textarea):focus { border-color: var(--mlc-navy); box-shadow: 0 0 0 3px rgba(20, 42, 108, .15); outline: 0; }
:is(.mlc-acct-form, .woocommerce-ResetPassword) .woocommerce-invalid :is(input, textarea) { border-color: #B42318; background: #FFF8F7; }
:is(.mlc-acct-form, .woocommerce-ResetPassword) .woocommerce-invalid label { color: #B42318; }
.mlc-acct-form .select2-container { width: 100% !important; } /* select2 writes an inline pixel width */
.mlc-form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mlc-check::before, .mlc-check::after { display: none; } /* Flatsome draws its own box on login-form labels */
.mlc-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-size: 15px; font-weight: 400; cursor: pointer; }
.mlc-acct-form .mlc-check input[type="checkbox"], .woocommerce-account input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--mlc-navy); cursor: pointer; }

/* Login + register */
.mlc-login { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 480px; margin: 0 auto; }
.mlc-login__card { gap: 16px; padding: 28px; }
.mlc-login__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.mlc-login__social { max-width: 480px; margin: 20px auto 0; }
@media (min-width: 850px) {
	.mlc-login--two { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* Lost / reset password: the form is the card */
.woocommerce-account .woocommerce-ResetPassword { display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; max-width: 480px; margin: 0 auto; padding: 28px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
.woocommerce-account .woocommerce-ResetPassword > p { margin: 0; }
.woocommerce-account .woocommerce-ResetPassword > .clear { display: none; }
.woocommerce-account .woocommerce-ResetPassword .woocommerce-Button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; padding: 0 24px; border: 2px solid var(--mlc-navy); border-radius: 999px; background: var(--mlc-navy); color: #fff; font-family: var(--mlc-font); font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.2; text-transform: none; cursor: pointer; transition: background-color .15s; }
.woocommerce-account .woocommerce-ResetPassword .woocommerce-Button:hover { background: var(--mlc-navy-dark); border-color: var(--mlc-navy-dark); }
.woocommerce-account .woocommerce > p:not([class]) { max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---- Notices (printed inside the content column on this page) --------------------- */
.woocommerce-account .woocommerce-message, .woocommerce-account .woocommerce-info, .woocommerce-account .woocommerce-error {
	display: block; box-sizing: border-box; margin: 0 0 20px; padding: 14px 18px; border: 0 !important; border-radius: var(--mlc-r-sm); list-style: none; font-size: 15px; font-weight: 600; line-height: 1.5;
}
.woocommerce-account .woocommerce-message { background: var(--mlc-bg-mint); color: var(--mlc-green); }
.woocommerce-account .woocommerce-info { background: var(--mlc-bg-blue); color: var(--mlc-navy); }
.woocommerce-account .woocommerce-error { background: #FFF8F7; box-shadow: inset 0 0 0 1px #B42318; color: #B42318; }
.woocommerce-account .woocommerce-message .message-container, .woocommerce-account .woocommerce-info .message-container, .woocommerce-account .woocommerce-error .message-container { display: flow-root; width: auto; max-width: none; margin: 0; padding: 0; background: transparent; color: inherit; text-align: left !important; }
.woocommerce-account .woocommerce-error li { margin: 0; }
.woocommerce-account .woocommerce-error li + li { margin-top: 6px; }
.woocommerce-account .message-container .message-icon { display: none; }
.woocommerce-account .woocommerce-message a:not(.button), .woocommerce-account .woocommerce-info a:not(.button), .woocommerce-account .woocommerce-error a:not(.button) { color: inherit; text-decoration: underline; }
.woocommerce-account .message-container .button, .woocommerce-account .message-container .wc-forward { display: inline-flex; align-items: center; float: right; min-height: 40px; margin: -6px 0 0 16px; padding: 0 16px; border: 2px solid var(--mlc-navy); border-radius: 999px; background: #fff; color: var(--mlc-navy); font-size: 14px; font-weight: 700; letter-spacing: 0; text-decoration: none; text-transform: none; }
.woocommerce-account .message-container .button:hover { background: var(--mlc-navy); color: #fff; }

/* ---- Phones ----------------------------------------------------------------------------- */
@media (max-width: 849px) {
	.woocommerce-account .page-wrapper.my-account > .container { padding: 0 14px; }
	.mlc-acct-head { margin-bottom: 16px; }
	.mlc-acct-head .mlc-h1 { font-size: 28px; }

	/* Nav becomes a horizontally scrollable chip row; the user card shrinks to one line. */
	.woocommerce-account .row.vertical-tabs { display: block; }
	.woocommerce-account .row.vertical-tabs > .col:first-child { margin-bottom: 16px; padding: 0; border: 0; border-radius: 0; background: none; }
	.mlc-acct-user { margin: 0 0 12px; padding: 0; border: 0; }
	.mlc-acct-user__avatar { width: 40px; height: 40px; font-size: 18px; }
	.mlc-acct-user__mail { display: none; }
	#my-account-nav { flex-direction: row; flex-wrap: nowrap; gap: 8px; margin: 0 -14px; padding: 2px 14px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding: 0 14px; -webkit-overflow-scrolling: touch; }
	#my-account-nav::-webkit-scrollbar { display: none; }
	#my-account-nav > li { flex: 0 0 auto; }
	#my-account-nav > li > a { gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid var(--mlc-line-strong); border-radius: 999px; background: #fff; white-space: nowrap; }
	#my-account-nav > li > a:hover { border-color: var(--mlc-navy); background: #fff; }
	#my-account-nav > li.is-active > a, #my-account-nav > li > a[aria-current="page"] { border-color: var(--mlc-navy); background: var(--mlc-navy); color: #fff; }
	#my-account-nav > li.mlc-acct-nav__logout { margin: 0; padding: 0; border: 0; }

	.mlc-acct-card { padding: 20px 16px; }
	.mlc-dash__hero { padding: 20px 16px; }
	.mlc-dash__title { font-size: 24px; }
	.mlc-dash__stats { width: 100%; }
	.mlc-dash__stats li { flex: 1 1 0; min-width: 0; padding: 12px 16px; }
	.mlc-dash-order { grid-template-columns: minmax(0, 1fr) auto; }
	.mlc-dash-order__total { grid-column: 1; }
	.mlc-dash-order .mlc-btn { grid-column: 2; grid-row: 2 / span 1; }
	.mlc-form-grid { grid-template-columns: minmax(0, 1fr); }
	.mlc-form-grid > .form-row { grid-column: 1 / -1; }
	:is(.mlc-acct-form, .woocommerce-ResetPassword) :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], textarea) { font-size: 16px; }
	.mlc-form-actions .mlc-btn { flex: 1 1 100%; }
	.mlc-vo-head__actions { width: 100%; }
	.mlc-vo-head__actions .mlc-btn { flex: 1 1 auto; }
	.woocommerce-account table.order_details th, .woocommerce-account table.order_details td { padding: 12px 16px; }
	.woocommerce-account .woocommerce-order-details__title, .woocommerce-account .woocommerce-column__title { padding: 16px 16px 6px; }
	.woocommerce-account .woocommerce-customer-details address { padding: 0 16px; }
	.mlc-login__card, .woocommerce-account .woocommerce-ResetPassword { padding: 20px 16px; }
	.woocommerce-account .message-container:has(.button) { display: flex; flex-direction: column-reverse; }
	.woocommerce-account .message-container .button, .woocommerce-account .message-container .wc-forward { float: none; display: flex; justify-content: center; width: 100%; margin: 12px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.woocommerce-account .row.vertical-tabs > .col:first-child, #my-account-nav > li > a { transition: none; }
}
