/* My Account (log in, lost password and every endpoint) in the theme's look. Loaded only on account pages
   (inc/account.php), after WooCommerce's layout and general CSS, which it overrides where needed. Mobile first. */

.woocommerce-account {
	--mlt-ico-dashboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
	--mlt-ico-orders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E");
	--mlt-ico-downloads: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0-4-4m4 4 4-4'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E");
	--mlt-ico-address: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
	--mlt-ico-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20.5c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
	--mlt-ico-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
	--mlt-ico-logout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h3'/%3E%3Cpath d='M16 16l4-4-4-4'/%3E%3Cpath d='M20 12H9'/%3E%3C/svg%3E");
	--mlt-ico-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6'/%3E%3Cpath d='M12 17.2v.1'/%3E%3C/svg%3E");
	--mlt-ico-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5'/%3E%3Cpath d='M12 16.5v.1'/%3E%3C/svg%3E");
	--mlt-field-line: #c9c3b6;
}

/* ---------- Shared: fields, checkboxes, buttons, notices ---------- */
.woocommerce-account .woocommerce form .form-row { margin: 0 0 1.1rem; padding: 0; }
.woocommerce-account .woocommerce form .form-row label { display: block; margin: 0 0 .4rem; font-weight: 700; font-size: .92rem; line-height: 1.4; }
.woocommerce-account .woocommerce form .form-row .required { color: var(--wp--preset--color--error); text-decoration: none; }
.woocommerce-account .woocommerce form .form-row :is(input.input-text, textarea, select) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--mlt-field-line); border-radius: var(--mlt-radius-sm); background: #fff; font: 400 1rem/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); box-shadow: none; }
.woocommerce-account .woocommerce form .form-row :is(input.input-text, textarea, select):focus { border-color: var(--mlt-navy); }
.woocommerce-account .woocommerce form .password-input { display: block; }
.woocommerce-account .woocommerce form .show-password-input { top: 50%; right: 12px; transform: translateY(-50%); }
.woocommerce-account .woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 400; font-size: .95rem; cursor: pointer; }
.woocommerce-account .woocommerce form .form-row label.woocommerce-form__label-for-checkbox input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mlt-navy); }
.woocommerce-account .woocommerce form .form-row em { display: block; margin-top: .35rem; color: var(--mlt-muted); font-size: .85rem; font-style: normal; }
.woocommerce-account .woocommerce form fieldset { margin: 1.5rem 0 1.25rem; padding: 18px 18px 2px; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius-sm); }
.woocommerce-account .woocommerce form fieldset legend { padding: 0 6px; font: 700 1rem var(--mlt-head); }
.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single { height: 48px; border: 1.5px solid var(--mlt-field-line); border-radius: var(--mlt-radius-sm); }
.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 34px 0 14px; line-height: 45px; color: var(--wp--preset--color--text); }
.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.woocommerce-account .woocommerce form .form-row .select2-container--open .select2-selection--single { border-color: var(--mlt-navy); }
.woocommerce-account .woocommerce :is(button.button, a.button, input.button) { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: var(--mlt-radius-sm); font-family: var(--mlt-head); }

.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 1.5rem; padding: 14px 16px 14px 18px; list-style: none; background: #fff; color: var(--wp--preset--color--text); border: 1px solid var(--mlt-line); border-left: 4px solid var(--mlt-navy); border-radius: var(--mlt-radius-sm); font-size: .95rem; }
.woocommerce-account .woocommerce .woocommerce-message { border-left-color: var(--mlt-success); }
.woocommerce-account .woocommerce .woocommerce-info { border-left-color: var(--mlt-gold); }
.woocommerce-account .woocommerce .woocommerce-error { border-left-color: var(--wp--preset--color--error); }
.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before,
.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::after { display: none; }
.woocommerce-account .woocommerce .woocommerce-error li { margin: 0; }
.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button { order: 2; float: none; min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.woocommerce-account .woocommerce-notices-wrapper:empty { display: none; }

/* ---------- Logged out: log in and create an account ---------- */
.mlt-account-lede { max-width: 40em; margin: -.25rem 0 1.75rem; color: var(--mlt-muted); font-size: 1.0625rem; }
.woocommerce-account #customer_login { display: grid; gap: 20px; margin: 0; }
.woocommerce-account #customer_login::before, .woocommerce-account #customer_login::after { display: none; }
@media (min-width: 768px) { .woocommerce-account #customer_login { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; } }
.woocommerce-account #customer_login > .u-column1, .woocommerce-account #customer_login > .u-column2,
.woocommerce-account .woocommerce > form.login:only-of-type { float: none; width: auto; max-width: none; margin: 0; padding: clamp(20px, 4vw, 32px); background: #fff; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius); box-shadow: var(--mlt-shadow); }
.woocommerce-account #customer_login > .u-column2 { background: var(--mlt-paper); box-shadow: none; }
.woocommerce-account #customer_login h2 { margin: 0 0 1.25rem; font-size: 1.5rem; }
.woocommerce-account .woocommerce :is(form.login, form.register) { margin: 0; padding: 0; border: 0; border-radius: 0; }
.woocommerce-account .woocommerce form.login .form-row:has(.woocommerce-form-login__rememberme) { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: .25rem; }
.woocommerce-account .woocommerce form.login .woocommerce-form-login__submit { width: 100%; float: none; margin: 0; }
.woocommerce-account .woocommerce form.login .lost_password { margin: 1rem 0 0; text-align: center; font-size: .92rem; }
.woocommerce-account .woocommerce :is(form.login .lost_password a, .woocommerce-MyAccount-content a:not(.button, .mlt-account-btn)) { color: var(--mlt-navy); }
.woocommerce-account #customer_login .mlt-account-perks { margin: -.5rem 0 1.5rem; }
.woocommerce-account .woocommerce form.register > p:not(.form-row) { margin: -.35rem 0 1.1rem; color: var(--mlt-muted); font-size: .9rem; }
.woocommerce-account .woocommerce form.register .woocommerce-privacy-policy-text:empty { display: none; }
.woocommerce-account .woocommerce form.register .woocommerce-privacy-policy-text p { margin: 0 0 1rem; color: var(--mlt-muted); font-size: .85rem; }
.woocommerce-account .woocommerce form.register .automatewoo-optin { margin-bottom: 1.4rem; }
.woocommerce-account .woocommerce form.register .woocommerce-form-register__submit { width: 100%; background: transparent; color: var(--mlt-navy); box-shadow: inset 0 0 0 2px var(--mlt-navy); }
.woocommerce-account .woocommerce form.register .woocommerce-form-register__submit:hover { background: var(--mlt-navy); color: #fff; }

/* Lost and reset password: one card at a readable width. */
.woocommerce-account .woocommerce form.lost_reset_password { max-width: 560px; margin: 0; padding: clamp(20px, 4vw, 32px); background: #fff; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius); box-shadow: var(--mlt-shadow); }
.woocommerce-account .woocommerce form.lost_reset_password > p:first-child { margin: 0 0 1.25rem; color: var(--mlt-muted); }
.woocommerce-account .woocommerce form.lost_reset_password :is(.form-row-first, .form-row-last) { float: none; width: 100%; }
.woocommerce-account .woocommerce form.lost_reset_password .clear { display: none; }

/* ---------- Logged in: navigation beside the content ---------- */
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; gap: 20px 40px; }
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { display: none; }
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
@media (min-width: 768px) {
	.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
}

/* Phones: a row of chips. Wider screens: a list in a card that stays in view. Selectors start with
   .woocommerce-account to beat WooCommerce's block-theme CSS (1em padding per item, underlined active link). */
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; align-items: center; gap: 8px; margin: 0 calc(var(--wp--custom--gutter) * -1); padding: 2px var(--wp--custom--gutter) 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { flex: none; margin: 0; padding: 0; border: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--mlt-field-line); border-radius: 999px; background: #fff; color: var(--wp--preset--color--text); font-weight: 600; font-size: .9rem; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.woocommerce-account .woocommerce-MyAccount-navigation li a::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; opacity: .75; -webkit-mask: var(--mlt-ico, var(--mlt-ico-dashboard)) center / contain no-repeat; mask: var(--mlt-ico, var(--mlt-ico-dashboard)) center / contain no-repeat; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--mlt-navy); border-color: var(--mlt-navy); color: #fff; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before { opacity: 1; }
.woocommerce-MyAccount-navigation-link--orders { --mlt-ico: var(--mlt-ico-orders); }
.woocommerce-MyAccount-navigation-link--downloads { --mlt-ico: var(--mlt-ico-downloads); }
.woocommerce-MyAccount-navigation-link--edit-address { --mlt-ico: var(--mlt-ico-address); }
.woocommerce-MyAccount-navigation-link--edit-account { --mlt-ico: var(--mlt-ico-user); }
.woocommerce-MyAccount-navigation-link--payment-methods { --mlt-ico: var(--mlt-ico-card); }
.woocommerce-MyAccount-navigation-link--customer-logout { --mlt-ico: var(--mlt-ico-logout); }
@media (min-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--mlt-header-h) + var(--wp-admin--admin-bar--height, 0px) + 16px); }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; align-items: stretch; gap: 2px; margin: 0; padding: 8px; overflow: visible; background: #fff; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius); }
	.woocommerce-account .woocommerce-MyAccount-navigation li a { gap: 12px; padding: 11px 12px; border: 0; border-radius: 8px; font-size: .95rem; }
	.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--mlt-paper); }
	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--mlt-paper); color: var(--wp--preset--color--text); box-shadow: inset 3px 0 0 var(--mlt-gold-mark); }
	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before { color: var(--mlt-gold-mark); }
	.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--mlt-line); }
	.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--mlt-muted); }
}

/* ---------- Content ---------- */
.woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-MyAccount-content :is(h2, h3) { font-family: var(--mlt-head); }
.woocommerce-MyAccount-content > h2, .woocommerce-MyAccount-content form > h2, .woocommerce-MyAccount-content :is(.woocommerce-order-details__title, .woocommerce-column__title) { margin: 2rem 0 .85rem; font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.woocommerce-MyAccount-content form > h2:first-child { margin-top: 0; }
.woocommerce-MyAccount-content mark { padding: 0; background: none; color: inherit; font-weight: 700; }

/* Dashboard (woocommerce/myaccount/dashboard.php) */
.mlt-account-hello { margin: 0 0 1.5rem; }
.mlt-account-hello__title { margin: 0 0 .25rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.mlt-account-hello__sub { margin: 0; color: var(--mlt-muted); font-size: .92rem; }
.mlt-account-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
.mlt-account-card { display: flex; flex-direction: column; gap: .55rem; padding: 20px; background: #fff; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius); }
.mlt-account-card > * { margin: 0; }
.mlt-account-card--orders { grid-column: 1 / -1; box-shadow: var(--mlt-shadow); }
.mlt-account-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.mlt-account-card h3::before { content: ""; flex: none; width: 22px; height: 22px; background: var(--mlt-gold-mark); -webkit-mask: var(--mlt-ico) center / contain no-repeat; mask: var(--mlt-ico) center / contain no-repeat; }
.mlt-account-card--orders { --mlt-ico: var(--mlt-ico-orders); }
.mlt-account-card--addresses { --mlt-ico: var(--mlt-ico-address); }
.mlt-account-card--details { --mlt-ico: var(--mlt-ico-user); }
.mlt-account-card--help { --mlt-ico: var(--mlt-ico-help); }
.mlt-account-card__meta { color: var(--mlt-muted); font-size: .95rem; }
.mlt-account-card__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mlt-account-card__total { font-weight: 700; }
.mlt-account-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto !important; padding-top: .35rem; }
.mlt-account-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: var(--mlt-radius-sm); background: var(--mlt-navy); color: #fff; font: 700 .92rem var(--mlt-head); text-decoration: none; }
.mlt-account-btn:hover { background: var(--wp--preset--color--navy-hover); color: #fff; }
.mlt-account-link { font-weight: 700; }
.mlt-account-card__links { display: grid; gap: 6px; padding: 0; list-style: none; }
.mlt-account-card__links a { font-weight: 600; }

/* Order status: a pill on the dashboard, a dot in the orders table. */
.mlt-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--mlt-paper); color: var(--wp--preset--color--text); font-size: .8rem; font-weight: 700; }
.mlt-status::before, .woocommerce-orders-table__cell-order-status::before { content: ""; flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mlt-muted); }
.mlt-status--processing { background: #e7ebf5; color: var(--mlt-navy); }
.mlt-status--completed { background: color-mix(in srgb, var(--mlt-success) 13%, #fff); color: var(--mlt-success); }
.mlt-status--on-hold, .mlt-status--pending { background: color-mix(in srgb, var(--mlt-gold) 22%, #fff); color: var(--mlt-gold-text); }
.mlt-status--processing::before, .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status::before { background: var(--mlt-navy); }
.mlt-status--completed::before, .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status::before { background: var(--mlt-success); }
.mlt-status--on-hold::before, .mlt-status--pending::before,
.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status::before,
.woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status::before { background: var(--mlt-gold-mark); }
.woocommerce-orders-table__cell-order-status::before { margin-right: 8px; vertical-align: .05em; }

/* The MLabs plugin's "add your event details" reminder, in the theme's look (it ships a purple gradient). */
.woocommerce-account .woocommerce .mlabs-dashboard-alert { display: block; margin: 0 0 1.5rem; padding: 18px 20px; background: #fff; color: var(--wp--preset--color--text); border: 1px solid var(--mlt-line); border-left: 4px solid var(--mlt-gold); border-radius: var(--mlt-radius); }
.woocommerce-account .mlabs-dashboard-alert-content { gap: 14px; }
.woocommerce-account .mlabs-dashboard-alert-icon { flex: none; width: 24px; height: 24px; margin-top: 1px; font-size: 0; background: var(--mlt-gold-mark); -webkit-mask: var(--mlt-ico-alert) center / contain no-repeat; mask: var(--mlt-ico-alert) center / contain no-repeat; }
.woocommerce-account .mlabs-dashboard-alert h3 { margin: 0 0 .3rem; color: var(--wp--preset--color--text); font: 800 1.05rem/1.3 var(--mlt-head); }
.woocommerce-account .mlabs-dashboard-alert p { margin: 0 0 .85rem; color: var(--mlt-muted); }
.woocommerce-account .mlabs-dashboard-alert-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: var(--mlt-radius-sm); background: var(--mlt-navy); box-shadow: none; color: #fff !important; font: 700 .9rem var(--mlt-head); transition: background-color .15s; }
.woocommerce-account .mlabs-dashboard-alert-btn:hover { transform: none; background: var(--wp--preset--color--navy-hover); color: #fff !important; }
@media (max-width: 600px) { .woocommerce-account .mlabs-dashboard-alert-content { flex-direction: row; } .woocommerce-account .mlabs-dashboard-alert-buttons { flex-direction: row; } }

/* Tables: orders, downloads, order details */
.woocommerce-account .woocommerce table.shop_table { width: 100%; margin: 0 0 1.5rem; background: #fff; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: .95rem; }
.woocommerce-account .woocommerce table.shop_table :is(th, td) { padding: 12px 14px; border: 0; border-top: 1px solid var(--mlt-line); text-align: left; vertical-align: middle; }
.woocommerce-account .woocommerce table.shop_table thead th { border-top: 0; background: var(--mlt-paper); color: var(--mlt-muted); font: 700 .75rem var(--mlt-head); letter-spacing: .08em; text-transform: uppercase; }
.woocommerce-account .woocommerce table.shop_table tfoot :is(th, td) { background: var(--mlt-paper); }
.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-number a { font-weight: 700; }
.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions { text-align: right; }
.woocommerce-account .woocommerce table.shop_table .button { min-height: 40px; margin: 3px 0 3px 6px; padding: 8px 14px; font-size: .85rem; }
.woocommerce-account .woocommerce .woocommerce-pagination { display: flex; gap: 10px; }
@media (max-width: 768px) {
	.woocommerce-account .woocommerce table.shop_table_responsive tr { display: block; padding: 8px 0; border-top: 1px solid var(--mlt-line); }
	.woocommerce-account .woocommerce table.shop_table_responsive tbody tr:first-child { border-top: 0; }
	.woocommerce-account .woocommerce table.shop_table_responsive tr :is(td, th) { padding: 6px 14px; border-top: 0; background: none; }
	.woocommerce-account .woocommerce table.shop_table_responsive tbody th.woocommerce-orders-table__cell-order-number { display: flex; justify-content: space-between; text-align: right; }
	.woocommerce-account .woocommerce table.shop_table_responsive tbody th.woocommerce-orders-table__cell-order-number::before { content: attr(data-title) ": "; color: var(--mlt-muted); font-weight: 600; }
	.woocommerce-account .woocommerce table.shop_table_responsive tr td::before { color: var(--mlt-muted); font-weight: 600; }
	.woocommerce-account .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-status::before { content: attr(data-title) ": "; width: auto; height: auto; margin: 0; border-radius: 0; background: none; }
	.woocommerce-account .woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions { padding-top: 8px; }
	.woocommerce-account .woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before { display: none; }
}

/* The details under each product in an order (fight name, event, design, song) */
.woocommerce-account .woocommerce .wc-item-meta { margin: .45rem 0 0; padding: 0; list-style: none; color: var(--mlt-muted); font-size: .9rem; }
.woocommerce-account .woocommerce .wc-item-meta li { margin: .15rem 0 0; }
.woocommerce-account .woocommerce .wc-item-meta li :is(p, strong) { display: inline; margin: 0; }
.woocommerce-account .woocommerce .wc-item-meta .wc-item-meta-label { color: var(--wp--preset--color--text); font-weight: 600; }

/* WooCommerce 11's block notices (for example "Confirm your email address" above the orders) */
.woocommerce-account .wc-block-components-notice-banner { align-items: center; gap: 12px; margin: 0 0 1.5rem; padding: 14px 16px; background: #fff; color: var(--wp--preset--color--text); border: 1px solid var(--mlt-line); border-left: 4px solid var(--mlt-gold); border-radius: var(--mlt-radius-sm); font-size: .95rem; }
.woocommerce-account .wc-block-components-notice-banner.is-success { border-left-color: var(--mlt-success); }
.woocommerce-account .wc-block-components-notice-banner.is-error { border-left-color: var(--wp--preset--color--error); }
.woocommerce-account .wc-block-components-notice-banner > svg { background: var(--mlt-gold-mark); fill: #fff; }
.woocommerce-account .wc-block-components-notice-banner.is-success > svg { background: var(--mlt-success); }
.woocommerce-account .wc-block-components-notice-banner.is-error > svg { background: var(--wp--preset--color--error); }
.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content .wc-forward { order: 2; float: none; margin: 0; padding: 0; background: none; color: var(--mlt-navy); font-weight: 700; text-decoration: underline; opacity: 1; }

/* Addresses (the page and the order's customer details) */
.woocommerce-account .woocommerce-MyAccount-content > p:has(+ .woocommerce-Addresses) { color: var(--mlt-muted); }
.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address :is(.woocommerce-Address-title, address) { margin-top: 0; }
.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title { margin-bottom: .4rem; }
.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title > * { margin-block: 0; line-height: 1.35; }
.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses) { display: grid; gap: 16px; margin: 0 0 1.5rem; }
.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses)::before,
.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses)::after { display: none; }
@media (min-width: 640px) { .woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses) { grid-template-columns: 1fr 1fr; } }
.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-columns--addresses) > * { float: none; width: auto; max-width: none; margin: 0; }
.woocommerce-account .woocommerce .woocommerce-Address { padding: 20px; background: #fff; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius); }
.woocommerce-account .woocommerce .woocommerce-Address-title { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 0 .85rem; }
.woocommerce-account .woocommerce .woocommerce-Address-title::before, .woocommerce-account .woocommerce .woocommerce-Address-title::after { display: none; }
.woocommerce-account .woocommerce .woocommerce-Address-title :is(h2, h3) { float: none; margin: 0; font-size: 1.1rem; }
.woocommerce-account .woocommerce .woocommerce-Address-title .edit { float: none; font-weight: 700; font-size: .92rem; }
.woocommerce-account .woocommerce address { margin: 0; padding: 0; border: 0; font-style: normal; line-height: 1.6; }
.woocommerce-account .woocommerce .woocommerce-customer-details address { padding: 14px 16px; background: #fff; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius-sm); }
.woocommerce-account .woocommerce .woocommerce-customer-details address p { margin: .35rem 0 0; }

/* Edit address and account details: the form in a card. */
.woocommerce-account .woocommerce-MyAccount-content > form { padding: clamp(20px, 4vw, 32px); background: #fff; border: 1px solid var(--mlt-line); border-radius: var(--mlt-radius); }
.woocommerce-account .woocommerce-MyAccount-content > form .woocommerce-address-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.woocommerce-account .woocommerce-MyAccount-content > form > p:last-of-type { margin-bottom: 0; }
