/*
 * Brandina Account 2.9.21 — single authoritative account design system.
 * This file owns authentication, dashboard, WooCommerce endpoints and wallet
 * at every breakpoint. Legacy account styles are intentionally not enqueued.
 */

body.brandina-account-page {
	--bam-ink: var(--ba-text, #101828);
	--bam-subtle: var(--ba-muted, #667085);
	--bam-line: var(--ba-border, #e4e7ec);
	--bam-surface: var(--ba-card, #fff);
	--bam-brand: var(--ba-primary, #f97316);
	--bam-brand-hover: var(--ba-primary-hover, #e85d04);
	--bam-soft: #fff4eb;
	--bam-navy: #101828;
	--bam-navy-2: #1d2939;
	--bam-green: var(--ba-success, #12a66a);
	--bam-red: var(--ba-danger, #e5484d);
	--bam-shadow: 0 18px 50px rgba(16, 24, 40, .08);
	--bam-shadow-soft: 0 8px 24px rgba(16, 24, 40, .055);
	background: var(--ba-page, #f6f7f9);
	color: var(--bam-ink);
	font-size: var(--ba-body, 14px);
}

@supports (color: color-mix(in srgb, #000 10%, #fff)) {
	body.brandina-account-page { --bam-soft: color-mix(in srgb, var(--bam-brand) 9%, #fff); }
}

body.brandina-account-page *,
body.brandina-account-page *::before,
body.brandina-account-page *::after { box-sizing: border-box; }

body.brandina-account-page a { color: inherit; text-decoration: none; }
body.brandina-account-page button,
body.brandina-account-page input,
body.brandina-account-page textarea,
body.brandina-account-page select { font: inherit; }

.brandina-account-icon { width: 21px; height: 21px; flex: 0 0 auto; }

/* A safe visual fallback if a third-party endpoint bypasses one inner template. */
body.brandina-account-logged-in .brandina-entry-content > .woocommerce {
	display: grid;
	grid-template-columns: var(--ba-sidebar, 300px) minmax(0, 1fr);
	align-items: start;
	gap: var(--ba-gap, 20px);
	width: min(var(--ba-container, 1320px), 100%);
	margin: var(--ba-top, 24px) auto var(--ba-bottom, 56px);
	direction: rtl;
}
body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-navigation:not(.brandina-account-navigation),
body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-content:not(.brandina-account-content) {
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
	border: 1px solid var(--bam-line);
	border-radius: var(--ba-radius, 22px);
	background: var(--bam-surface);
	box-shadow: var(--bam-shadow-soft);
}
body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-navigation:not(.brandina-account-navigation) { padding: 12px; }
body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-navigation:not(.brandina-account-navigation) ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-navigation:not(.brandina-account-navigation) a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 12px; color: #475467; font-weight: 750; }
body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-navigation:not(.brandina-account-navigation) .is-active a { color: var(--bam-brand); background: var(--bam-soft); }
body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-content:not(.brandina-account-content) { padding: var(--ba-card-padding, 24px); overflow: hidden; }

/* ---------- Authentication ---------- */

body.brandina-account-guest .brandina-account-page-wrap,
body.brandina-account-guest .woocommerce:has(.brandina-auth-page) {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.brandina-auth-page.brandina-auth-premium {
	position: relative;
	display: grid;
	place-items: center;
	min-height: min(860px, calc(100svh - 80px));
	padding: clamp(24px, 5vw, 72px) 20px;
	background:
		radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--bam-brand) 13%, transparent) 0 0, transparent 30%),
		linear-gradient(145deg, #f9fafb 0%, #f2f4f7 100%);
	direction: rtl;
	width: 100% !important;
	max-width: none;
	margin: 0 !important;
}

body.brandina-account-guest .brandina-auth-page.brandina-auth-premium {
	background: #f5f7fa !important;
	background:
		radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--bam-brand) 13%, transparent) 0 0, transparent 30%),
		linear-gradient(145deg, #f9fafb 0%, #f2f4f7 100%) !important;
}

.brandina-auth-premium-shell {
	position: relative;
	display: grid;
	grid-template-columns: minmax(360px, .92fr) minmax(440px, 1.08fr);
	width: min(1050px, 100%);
	min-height: 650px;
	background: #fff;
	border: 1px solid rgba(16, 24, 40, .08);
	border-radius: 34px;
	box-shadow: 0 32px 90px rgba(16, 24, 40, .14);
	overflow: hidden;
}

.brandina-auth-story {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 44px;
	color: #fff;
	background:
		linear-gradient(155deg, rgba(255,255,255,.08), transparent 45%),
		linear-gradient(145deg, var(--bam-navy) 0%, #202e4a 100%);
	overflow: hidden;
}

.brandina-auth-story::after {
	content: "";
	position: absolute;
	inset: auto -120px -150px auto;
	width: 380px;
	aspect-ratio: 1;
	border: 70px solid rgba(255,255,255,.035);
	border-radius: 50%;
}

.brandina-auth-story-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.brandina-auth-story-orb.is-one { width: 190px; height: 190px; top: -80px; left: -65px; background: color-mix(in srgb, var(--bam-brand) 55%, transparent); opacity: .7; }
.brandina-auth-story-orb.is-two { width: 90px; height: 90px; top: 220px; left: 72%; background: var(--bam-brand); opacity: .12; }

.brandina-auth-story-brand { position: relative; z-index: 2; min-height: 48px; }
.brandina-auth-story-brand img,
.brandina-auth-story-brand .custom-logo { width: auto; max-width: 145px; max-height: 54px; object-fit: contain; filter: brightness(0) invert(1); }
.brandina-auth-story-copy { position: relative; z-index: 2; margin: auto 0 44px; }
.brandina-auth-story-copy > span,
.brandina-auth-kicker {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: -.1px;
}
.brandina-auth-story-copy > span { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.brandina-auth-story-copy h2 { margin: 18px 0 12px; max-width: 390px; color: #fff; font-size: clamp(29px, 3vw, 42px); line-height: 1.38; letter-spacing: -1.1px; }
.brandina-auth-story-copy p { margin: 0; max-width: 400px; color: rgba(255,255,255,.68); font-size: 15px; line-height: 2; }
.brandina-auth-benefits { position: relative; z-index: 2; display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.brandina-auth-benefits li { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(255,255,255,.055); backdrop-filter: blur(8px); }
.brandina-auth-benefits li > svg { width: 22px; height: 22px; color: color-mix(in srgb, var(--bam-brand) 70%, #fff); }
.brandina-auth-benefits li span { display: grid; gap: 2px; }
.brandina-auth-benefits li b { color: #fff; font-size: 13px; }
.brandina-auth-benefits li small { color: rgba(255,255,255,.58); font-size: 12px; }

.brandina-auth-premium .brandina-verify-shell {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: none;
	min-width: 0;
	padding: clamp(34px, 5vw, 68px);
	background: #fff;
}

.brandina-auth-mobile-logo { display: none; }
.brandina-auth-premium .brandina-verify-card { width: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.brandina-auth-progress { display: flex; align-items: center; justify-content: center; gap: 0; width: 112px; margin: 0 0 28px auto; padding: 0; border: 0; border-radius: 0; direction: ltr; background: transparent; }
.brandina-auth-progress i { position: relative; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: #d0d5dd; box-shadow: 0 0 0 1px #d0d5dd; transition: .25s ease; }
.brandina-auth-progress span { width: 76px; height: 2px; background: #e4e7ec; transition: .25s ease; }
.brandina-auth-progress i.is-phone,
.brandina-auth-progress.is-code i,
.brandina-auth-progress.is-code span { background: var(--bam-brand); box-shadow: 0 0 0 1px var(--bam-brand); }
.brandina-auth-progress.is-code span { box-shadow: none; }

.brandina-auth-kicker { margin-bottom: 12px; color: var(--bam-brand); background: var(--bam-soft); }
.brandina-auth-premium .brandina-verify-header { margin: 0 0 30px; text-align: right; }
.brandina-auth-premium .brandina-verify-header h1 { margin: 0 0 10px; color: var(--bam-navy); font-size: clamp(27px, 3vw, 36px); line-height: 1.4; letter-spacing: -.8px; }
.brandina-auth-premium .brandina-verify-header p { margin: 0; max-width: 480px; color: var(--bam-subtle); font-size: 14px; line-height: 1.9; }

.brandina-otp-flow { position: relative; display: block; min-height: 190px; }
.brandina-otp-flow .brandina-otp-step { display: grid; gap: 12px; animation: bam-step-in .3s ease both; }
.brandina-otp-flow [data-otp-step][hidden] { display: none !important; }
.brandina-otp-flow.is-phone-step [data-otp-step="code"] { display: none !important; }
.brandina-otp-flow.is-code-step [data-otp-step="phone"] { display: none !important; }
.brandina-otp-flow.is-code-step [data-otp-step="code"] { display: grid !important; }

@keyframes bam-step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.brandina-otp-step > label,
.brandina-code-label { color: #344054; font-size: 13px; font-weight: 750; }
.brandina-auth-premium .brandina-verify-field { position: relative; display: flex; align-items: center; width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brandina-auth-premium .brandina-verify-field:focus-within { color: var(--bam-brand); border: 0; background: transparent; box-shadow: none; }
.brandina-verify-field > svg { position: absolute; z-index: 2; right: 18px; width: 21px; height: 21px; color: #98a2b3; pointer-events: none; }
.brandina-auth-premium .brandina-verify-field input,
.brandina-auth-premium .brandina-verify-code-input {
	width: 100%;
	height: 58px;
	margin: 0;
	border: 1.5px solid #d0d5dd;
	border-radius: 15px;
	outline: 0;
	color: var(--bam-navy);
	background: #fff;
	box-shadow: 0 1px 2px rgba(16,24,40,.03);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.brandina-auth-premium .brandina-verify-field input { height: 58px !important; padding: 0 52px 0 18px !important; color: var(--bam-navy) !important; background: #fff !important; border: 1.5px solid #d0d5dd !important; border-radius: 15px !important; box-shadow: 0 1px 2px rgba(16,24,40,.03) !important; direction: ltr; text-align: left; font-size: 14px !important; letter-spacing: .7px; }
.brandina-auth-premium .brandina-verify-code-input { height: 68px !important; padding: 0 18px !important; color: var(--bam-navy) !important; background: #fff !important; border: 1.5px solid #d0d5dd !important; border-radius: 15px !important; box-shadow: 0 1px 2px rgba(16,24,40,.03) !important; direction: ltr; text-align: center; font-size: 24px !important; font-weight: 850 !important; letter-spacing: 9px !important; }
.brandina-auth-premium input:focus { border-color: var(--bam-brand) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--bam-brand) 13%, transparent) !important; }
.brandina-field-help { margin-top: -5px; color: #98a2b3; font-size: 12px; }

.brandina-verify-code-copy { display: grid; gap: 4px; margin-bottom: 4px; text-align: right; }
.brandina-verify-code-copy strong { color: var(--bam-navy); font-size: 16px; }
.brandina-verify-code-copy span { color: var(--bam-subtle); font-size: 12px; }
.brandina-verify-code-copy b { color: var(--bam-brand); }

.brandina-auth-premium .brandina-verify-button,
.brandina-account-primary-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 56px;
	margin: 4px 0 0;
	padding: 0 22px;
	border: 0;
	border-radius: 15px;
	cursor: pointer;
	color: #fff;
	background: var(--bam-brand);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--bam-brand) 24%, transparent);
	font-size: 14px;
	font-weight: 850;
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.brandina-auth-premium .brandina-verify-button:hover,
.brandina-account-primary-button:hover { color: #fff; background: var(--bam-brand-hover); transform: translateY(-1px); box-shadow: 0 14px 28px color-mix(in srgb, var(--bam-brand) 28%, transparent); }
.brandina-auth-premium .brandina-verify-button:disabled,
.brandina-account-primary-button:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.brandina-account-page .brandina-account-primary-button,
.brandina-account-content button.button,
.brandina-account-content input.button { color: #fff !important; background: var(--bam-brand) !important; border: 0 !important; box-shadow: 0 10px 24px rgba(249, 115, 22, .2) !important; box-shadow: 0 10px 24px color-mix(in srgb, var(--bam-brand) 22%, transparent) !important; }
.brandina-account-page .brandina-account-primary-button:hover,
.brandina-account-content button.button:hover,
.brandina-account-content input.button:hover { background: var(--bam-brand-hover) !important; }
.brandina-verify-button > svg { width: 19px; transform: rotate(180deg); }
.brandina-verify-button.is-loading::after,
.brandina-otp-flow.is-requesting [data-otp-verify]::after { content: ""; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: bam-spin .75s linear infinite; }
.brandina-otp-flow.is-requesting [data-otp-verify] svg { display: none; }
@keyframes bam-spin { to { transform: rotate(360deg); } }

.brandina-auth-premium .brandina-verify-security { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 0; margin-top: 20px; padding: 0; border-radius: 0; color: #667085; background: transparent; font-size: 12px; }
.brandina-verify-security svg { width: 16px; height: 16px; color: var(--bam-green); }
.brandina-otp-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brandina-otp-actions button { min-height: 34px; padding: 4px 0; border: 0; cursor: pointer; color: var(--bam-brand); background: transparent; font-size: 12px; font-weight: 750; }
.brandina-otp-actions button:disabled { color: #98a2b3; cursor: wait; }
.brandina-otp-status { display: flex; align-items: flex-start; min-height: 43px; margin-top: 13px; padding: 11px 13px; border: 1px solid transparent; border-radius: 12px; font-size: 12px; line-height: 1.7; }
.brandina-otp-status[hidden] { display: none !important; }
.brandina-otp-status.is-info { color: #175cd3; border-color: #b2ddff; background: #eff8ff; }
.brandina-otp-status.is-success { color: #027a48; border-color: #abefc6; background: #ecfdf3; }
.brandina-otp-status.is-error { color: #b42318; border-color: #fecdca; background: #fef3f2; }
.brandina-verify-test-note { margin-top: 14px; padding: 10px 12px; border-radius: 10px; color: #854a0e; background: #fffaeb; text-align: center; font-size: 12px; }
.brandina-verify-legal { margin: 22px auto 0; max-width: 480px; color: #98a2b3; text-align: center; font-size: 11px; line-height: 1.8; }
.brandina-verify-legal a { color: #475467; font-weight: 700; }

/* Standard password fallback follows the same visual language. */
.brandina-auth-standard { padding: clamp(24px, 5vw, 70px) 18px; background: #f6f7f9; }
.brandina-auth-standard-shell { width: min(600px, 100%); margin: 0 auto; padding: clamp(25px, 5vw, 46px); border: 1px solid var(--bam-line); border-radius: 28px; background: #fff; box-shadow: var(--bam-shadow); }
body.brandina-account-guest .brandina-auth-standard { width: 100%; max-width: none; margin: 0; background: #f6f7f9 !important; }
body.brandina-account-guest .brandina-auth-standard-shell { background: #fff !important; }
body.brandina-account-guest .brandina-auth-standard-panel { background: transparent !important; }
.brandina-auth-standard .brandina-verify-logo { margin-bottom: 24px; text-align: center; }
.brandina-auth-standard-panel { padding: 0; border: 0; box-shadow: none; }
.brandina-auth-standard-heading { text-align: center; }
.brandina-auth-standard-heading h1 { color: var(--bam-navy); }
.brandina-auth-tabs { padding: 5px; border-radius: 14px; background: #f2f4f7; }
.brandina-auth-tabs button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; }
.brandina-auth-tabs button[aria-selected="true"] { color: var(--bam-navy); background: #fff; box-shadow: 0 2px 8px rgba(16,24,40,.08); }

/* ---------- Account frame ---------- */

.brandina-account-page-wrap {
	width: min(var(--ba-container, 1280px), calc(100% - 48px));
	max-width: none;
	margin: var(--ba-top, 24px) auto var(--ba-bottom, 56px);
	padding: 0;
	direction: rtl;
}

.brandina-account-page-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 132px;
	margin: 0 0 20px;
	padding: clamp(24px, 3vw, 34px);
	border: 0;
	border-radius: 24px;
	color: #fff;
	background:
		radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--bam-brand) 45%, transparent) 0, transparent 23%),
		linear-gradient(125deg, var(--bam-navy) 0%, #263550 100%);
	box-shadow: var(--bam-shadow-soft);
	overflow: hidden;
}
.brandina-account-page-header::after { content: ""; position: absolute; left: -76px; bottom: -142px; width: 286px; height: 286px; border: 42px solid rgba(255,255,255,.045); border-radius: 50%; }
.brandina-account-page-header > * { position: relative; z-index: 1; }
.brandina-account-eyebrow { display: inline-flex; margin-bottom: 7px; color: color-mix(in srgb, var(--bam-brand) 72%, #fff); font-size: 12px; font-weight: 850; }
.brandina-account-page-header h1 { margin: 0 0 7px; color: #fff; font-size: clamp(25px, 3vw, 34px); line-height: 1.35; letter-spacing: -.8px; }
.brandina-account-page-header p { margin: 0; max-width: 680px; color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.8; }
.brandina-account-shop-link { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #fff !important; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-weight: 750; white-space: nowrap; }
.brandina-account-shop-link:hover { background: rgba(255,255,255,.17); }

.brandina-account-shell { display: grid; grid-template-columns: clamp(268px, var(--ba-sidebar, 296px), 310px) minmax(0, 1fr); align-items: start; gap: var(--ba-gap, 20px); width: 100%; min-width: 0; direction: rtl; }
.brandina-account-shell > .brandina-account-sidebar,
.brandina-account-shell > .brandina-account-content { grid-column: auto; grid-row: auto; }
.brandina-account-sidebar { position: sticky; top: 18px; display: grid; gap: 14px; width: 100%; min-width: 0; max-width: none; margin: 0; }

/*
 * WooCommerce's desktop stylesheet gives its native account navigation 30%
 * and the content panel 68%. Both elements are nested inside Brandina's own
 * grid, so those legacy percentages would shrink them a second time. Keep the
 * Woo classes for endpoint compatibility, but make each item fill its assigned
 * Brandina column at every desktop width.
 */
.brandina-account-sidebar > .brandina-account-navigation.woocommerce-MyAccount-navigation,
.brandina-account-shell > .brandina-account-content.woocommerce-MyAccount-content {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.brandina-account-profile-card,
.brandina-account-navigation,
.brandina-account-content,
.brandina-account-section-card {
	border: 1px solid var(--bam-line);
	border-radius: var(--ba-radius, 22px);
	background: var(--bam-surface);
	box-shadow: var(--bam-shadow-soft);
}

.brandina-account-profile-card { position: relative; display: grid; justify-items: center; margin: 0; padding: 25px 20px 20px; overflow: hidden; }
.brandina-account-profile-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 72px; background: linear-gradient(120deg, var(--bam-soft), color-mix(in srgb, var(--bam-brand) 4%, #fff)); }
.brandina-account-avatar { position: relative; z-index: 1; width: 76px; height: 76px; padding: 4px; border-radius: 23px; background: #fff; box-shadow: 0 8px 20px rgba(16,24,40,.12); }
.brandina-account-avatar img { width: 100%; height: 100%; border-radius: 19px; object-fit: cover; }
.brandina-account-avatar i { position: absolute; left: -4px; bottom: -3px; display: grid; place-items: center; width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--bam-green); }
.brandina-account-avatar i svg { width: 12px; height: 12px; }
.brandina-account-profile-copy { position: relative; z-index: 1; display: grid; gap: 3px; margin-top: 12px; text-align: center; }
.brandina-account-profile-copy small { color: var(--bam-subtle); font-size: 11px; }
.brandina-account-profile-copy strong { max-width: 220px; color: var(--bam-navy); font-size: 16px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.brandina-account-profile-copy span { color: #667085; font-size: 12px; }
.brandina-account-profile-wallet { display: grid; width: 100%; gap: 4px; margin-top: 15px; padding: 12px 14px; border-radius: 14px; background: var(--bam-navy); }
.brandina-account-profile-wallet span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.65); font-size: 11px; }
.brandina-account-profile-wallet svg { width: 15px; }
.brandina-account-profile-wallet strong { color: #fff; font-size: 14px; }
.brandina-account-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; padding: 6px 10px; border-radius: 999px; color: #067647; background: #ecfdf3; font-size: 11px; font-weight: 750; }
.brandina-account-status i { width: 6px; height: 6px; border-radius: 50%; background: #17b26a; box-shadow: 0 0 0 3px rgba(23,178,106,.12); }

.brandina-account-navigation { margin: 0; padding: 9px; }
.brandina-account-navigation ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.brandina-account-navigation li { margin: 0; }
.brandina-account-navigation li a { display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 10px; min-height: 51px; padding: 6px 10px; border-radius: 13px; color: #475467; transition: .18s ease; }
.brandina-account-nav-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #667085; background: #f5f6f8; }
.brandina-account-navigation a b { font-size: 12px; font-weight: 720; }
.brandina-account-nav-arrow { display: grid; color: #c3c7cf; transform: rotate(180deg); }
.brandina-account-nav-arrow svg { width: 15px; }
.brandina-account-navigation li a:hover { color: var(--bam-navy); background: #f7f8fa; }
.brandina-account-navigation li.is-active a,
.brandina-account-navigation li a[aria-current="page"] { color: var(--bam-brand); background: var(--bam-soft); }
.brandina-account-navigation li.is-active .brandina-account-nav-icon,
.brandina-account-navigation a[aria-current="page"] .brandina-account-nav-icon { color: #fff; background: var(--bam-brand); box-shadow: 0 7px 16px color-mix(in srgb, var(--bam-brand) 22%, transparent); }
.brandina-account-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--bam-line); }
.brandina-account-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--bam-red); }
.brandina-account-navigation li.woocommerce-MyAccount-navigation-link--customer-logout .brandina-account-nav-icon { color: var(--bam-red); background: #fff1f3; }

.brandina-account-content { min-width: 0; padding: var(--ba-card-padding, 24px); }
.brandina-account-content-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--bam-line); }
.brandina-account-content-heading > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: var(--bam-brand); }
.brandina-account-content-heading small { color: var(--bam-subtle); font-size: 12px; }
.brandina-account-content-heading h2 { margin: 2px 0 0; color: var(--bam-navy); font-size: 20px; }

/* ---------- Dashboard ---------- */

.brandina-account-dashboard { display: grid; gap: 18px; }
.brandina-account-welcome-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 122px;
	padding: 21px;
	border: 1px solid #e7eaf0;
	border-radius: 21px;
	background: linear-gradient(115deg, #fff 0%, #fafbfc 100%);
	overflow: hidden;
}
.brandina-account-welcome-card::after { content: ""; position: absolute; left: -60px; top: -80px; width: 200px; height: 200px; border-radius: 50%; background: var(--bam-soft); opacity: .8; }
.brandina-account-welcome-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; min-width: 0; }
.brandina-account-welcome-icon { display: grid; place-items: center; flex: 0 0 auto; width: 54px; height: 54px; border-radius: 17px; color: #fff; background: var(--bam-navy); box-shadow: 0 10px 22px rgba(16,24,40,.16); }
.brandina-account-welcome-main small { color: var(--bam-brand); font-size: 11px; font-weight: 850; }
.brandina-account-welcome-main h2 { margin: 3px 0 5px; color: var(--bam-navy); font-size: clamp(19px, 2vw, 24px); line-height: 1.45; word-break: normal; overflow-wrap: break-word; }
.brandina-account-welcome-main p { margin: 0; max-width: 580px; color: var(--bam-subtle); font-size: 12px; line-height: 1.75; }
.brandina-account-welcome-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.brandina-account-welcome-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; border: 1px solid var(--bam-line); border-radius: 12px; color: #344054; background: #fff; font-size: 12px; font-weight: 750; white-space: nowrap; }
.brandina-account-welcome-actions a.is-primary { border-color: var(--bam-brand); color: #fff; background: var(--bam-brand); }
.brandina-account-welcome-actions svg { width: 16px; }
.brandina-account-welcome-actions a:not(.is-primary) svg { transform: rotate(180deg); }

.brandina-account-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.brandina-account-stat-card { position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 112px; padding: 16px; border: 1px solid var(--bam-line); border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(16,24,40,.035); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; overflow: hidden; }
.brandina-account-stat-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--bam-brand) 35%, var(--bam-line)); box-shadow: var(--bam-shadow-soft); }
.brandina-account-stat-card > span { display: grid; place-items: center; flex: 0 0 auto; width: 43px; height: 43px; border-radius: 14px; color: #344054; background: #f2f4f7; }
.brandina-account-stat-card > div { display: grid; min-width: 0; }
.brandina-account-stat-card small { color: #667085; font-size: 12px; }
.brandina-account-stat-card strong { margin: 2px 0; color: var(--bam-navy); font-size: 20px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brandina-account-stat-card em { color: #98a2b3; font-size: 11px; font-style: normal; }
.brandina-account-stat-card.is-open > span { color: #b54708; background: #fffaeb; }
.brandina-account-stat-card.is-done > span { color: #067647; background: #ecfdf3; }
.brandina-account-stat-card.is-wallet { color: #fff; border-color: var(--bam-navy); background: var(--bam-navy); }
.brandina-account-stat-card.is-wallet > span { color: #fff; background: rgba(255,255,255,.11); }
.brandina-account-stat-card.is-wallet small,.brandina-account-stat-card.is-wallet em { color: rgba(255,255,255,.58); }
.brandina-account-stat-card.is-wallet strong { color: #fff; font-size: 15px; }
.brandina-account-stat-card.is-cart > span { color: var(--bam-brand); background: var(--bam-soft); }

.brandina-account-overview-grid { display: grid; gap: 14px; }
.brandina-account-overview-grid.has-wallet { grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); }
.brandina-account-section-card { min-width: 0; padding: 21px; }
.brandina-account-section-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 16px; }
.brandina-account-section-header > div { display: grid; gap: 2px; }
.brandina-account-section-header span { color: var(--bam-brand); font-size: 11px; font-weight: 850; }
.brandina-account-section-header h3 { margin: 0; color: var(--bam-navy); font-size: 16px; line-height: 1.5; }
.brandina-account-section-header > b { padding: 5px 9px; border-radius: 999px; color: #475467; background: #f2f4f7; font-size: 11px; }
.brandina-account-section-header > a { display: inline-flex; align-items: center; gap: 5px; color: #475467; font-size: 12px; font-weight: 750; }
.brandina-account-section-header > a svg { width: 14px; transform: rotate(180deg); }

.brandina-dashboard-cart-items { display: grid; gap: 1px; border-block: 1px solid #eef0f3; }
.brandina-dashboard-cart-items > a { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 11px; min-height: 72px; padding: 8px 0; border-bottom: 1px solid #f0f1f3; }
.brandina-dashboard-cart-items > a:last-child { border-bottom: 0; }
.brandina-dashboard-cart-items > a > span { width: 50px; height: 50px; border: 1px solid #edf0f2; border-radius: 13px; background: #f8f9fa; overflow: hidden; }
.brandina-dashboard-cart-items img { width: 100%; height: 100%; object-fit: cover; }
.brandina-dashboard-cart-items div { display: grid; min-width: 0; gap: 3px; }
.brandina-dashboard-cart-items div strong { color: #344054; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.brandina-dashboard-cart-items div small { color: #98a2b3; font-size: 11px; }
.brandina-dashboard-cart-items > a > b { color: var(--bam-navy); font-size: 13px; white-space: nowrap; }
.brandina-dashboard-cart-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 16px; }
.brandina-dashboard-cart-footer > div:first-child { display: grid; gap: 2px; }
.brandina-dashboard-cart-footer small { color: #98a2b3; font-size: 11px; }
.brandina-dashboard-cart-footer strong { color: var(--bam-navy); font-size: 14px; }
.brandina-dashboard-cart-footer form { margin: 0; }
.brandina-dashboard-cart-footer button,
.brandina-dashboard-cart-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 39px; padding: 0 13px; border: 1px solid var(--bam-line); border-radius: 11px; cursor: pointer; color: #344054; background: #fff; font-size: 12px; font-weight: 750; }
.brandina-dashboard-cart-footer button { border-color: var(--bam-brand); color: #fff; background: var(--bam-brand); }
.brandina-dashboard-cart-footer button svg { width: 14px; transform: rotate(180deg); }
.brandina-dashboard-cart-actions { display: flex; align-items: center; gap: 7px; }
.brandina-dashboard-cart-actions a.is-primary { border-color: var(--bam-brand); color: #fff; background: var(--bam-brand); }
.brandina-dashboard-cart.is-saved { border-color: color-mix(in srgb, var(--bam-brand) 28%, var(--bam-line)); }

.brandina-dashboard-wallet-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 22px; border-radius: 22px; color: #fff; background: linear-gradient(150deg, var(--bam-navy) 0%, #253650 100%); box-shadow: 0 16px 35px rgba(16,24,40,.16); overflow: hidden; }
.brandina-dashboard-wallet-card::after { content: ""; position: absolute; left: -65px; top: -65px; width: 180px; height: 180px; border: 35px solid rgba(255,255,255,.035); border-radius: 50%; }
.brandina-dashboard-wallet-card > * { position: relative; z-index: 1; }
.brandina-dashboard-wallet-head { display: flex; align-items: center; justify-content: space-between; }
.brandina-dashboard-wallet-head > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: rgba(255,255,255,.12); }
.brandina-dashboard-wallet-head small { color: rgba(255,255,255,.58); font-size: 11px; }
.brandina-dashboard-wallet-card > p { margin: 26px 0 3px; color: rgba(255,255,255,.62); font-size: 12px; }
.brandina-dashboard-wallet-card > strong { color: #fff; font-size: 20px; }
.brandina-dashboard-wallet-progress { height: 4px; margin: 14px 0 17px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.brandina-dashboard-wallet-progress i { display: block; width: var(--wallet-progress); height: 100%; border-radius: inherit; background: var(--bam-brand); }
.brandina-dashboard-wallet-card ul { display: grid; gap: 9px; margin: 0 0 18px; padding: 0; list-style: none; }
.brandina-dashboard-wallet-card li { display: flex; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.55); font-size: 11px; }
.brandina-dashboard-wallet-card li b { color: #fff; font-size: 12px; }
.brandina-dashboard-wallet-card > a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 41px; margin-top: auto; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #fff; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 750; }
.brandina-dashboard-wallet-card > a svg { width: 14px; transform: rotate(180deg); }

.brandina-account-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.brandina-account-quick-grid > a { display: grid; grid-template-columns: 39px minmax(0,1fr) 16px; align-items: center; gap: 9px; min-height: 67px; padding: 10px; border: 1px solid #edf0f2; border-radius: 15px; background: #fff; transition: .18s ease; }
.brandina-account-quick-grid > a:hover { border-color: color-mix(in srgb, var(--bam-brand) 32%, var(--bam-line)); background: var(--bam-soft); transform: translateY(-1px); }
.brandina-account-quick-grid > a > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--bam-brand); background: var(--bam-soft); }
.brandina-account-quick-grid > a > div { display: grid; gap: 2px; min-width: 0; }
.brandina-account-quick-grid strong { color: #344054; font-size: 13px; }
.brandina-account-quick-grid small { color: #98a2b3; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brandina-account-quick-grid > a > i { color: #b3b8c2; transform: rotate(180deg); }
.brandina-account-quick-grid > a > i svg { width: 14px; }

.brandina-recent-order-list { display: grid; gap: 9px; }
.brandina-recent-order-item { display: grid; grid-template-columns: 92px minmax(150px,1fr) minmax(115px,auto) auto; align-items: center; gap: 16px; min-height: 83px; padding: 12px 13px; border: 1px solid #edf0f2; border-radius: 16px; background: #fff; }
.brandina-order-product-stack { display: flex; align-items: center; direction: ltr; }
.brandina-order-product-stack span { width: 48px; height: 48px; margin-left: -12px; padding: 2px; border: 2px solid #fff; border-radius: 14px; background: #f5f6f7; overflow: hidden; }
.brandina-order-product-stack span:last-child { margin-left: 0; }
.brandina-order-product-stack img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.brandina-order-primary { display: grid; min-width: 0; gap: 2px; }
.brandina-order-primary > span { color: #98a2b3; font-size: 11px; }
.brandina-order-primary strong { color: #344054; font-size: 14px; }
.brandina-order-primary small { color: #667085; font-size: 11px; }
.brandina-order-total { display: grid; gap: 2px; text-align: left; }
.brandina-order-total small { color: #98a2b3; font-size: 11px; }
.brandina-order-total b { color: var(--bam-navy); font-size: 13px; white-space: nowrap; }
.brandina-order-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.brandina-order-actions a { display: inline-flex; align-items: center; gap: 4px; min-height: 35px; padding: 0 10px; border: 1px solid var(--bam-line); border-radius: 10px; color: #475467; background: #fff; font-size: 11px; font-weight: 750; white-space: nowrap; }
.brandina-order-actions a.is-pay { border-color: var(--bam-brand); color: #fff; background: var(--bam-brand); }
.brandina-order-actions a.is-cancel { color: var(--bam-red); }
.brandina-order-actions a svg { width: 13px; transform: rotate(180deg); }
.brandina-recent-order-item.is-processing { border-right: 3px solid #f79009; }
.brandina-recent-order-item.is-completed { border-right: 3px solid var(--bam-green); }
.brandina-recent-order-item.is-cancelled,.brandina-recent-order-item.is-refunded,.brandina-recent-order-item.is-failed { border-right: 3px solid var(--bam-red); }

.brandina-account-empty { display: grid; place-items: center; padding: 42px 20px; text-align: center; }
.brandina-account-empty.is-compact { padding: 25px 15px; }
.brandina-account-empty > span { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 17px; color: var(--bam-brand); background: var(--bam-soft); }
.brandina-account-empty h4 { margin: 0 0 5px; color: var(--bam-navy); font-size: 14px; }
.brandina-account-empty p { margin: 0 0 12px; max-width: 420px; color: var(--bam-subtle); font-size: 12px; line-height: 1.8; }
.brandina-account-empty > a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border-radius: 11px; color: #fff; background: var(--bam-brand); font-size: 12px; font-weight: 750; }

/* ---------- Wallet ---------- */

.brandina-wallet-page { display: grid; gap: 16px; }
.brandina-wallet-hero { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 210px; padding: clamp(25px,4vw,38px); border-radius: 24px; color: #fff; background: linear-gradient(130deg, var(--bam-navy), #263958); overflow: hidden; }
.brandina-wallet-hero::before,.brandina-wallet-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.brandina-wallet-hero::before { width: 210px; height: 210px; left: -60px; bottom: -120px; background: var(--bam-brand); opacity: .16; }
.brandina-wallet-hero::after { width: 120px; height: 120px; left: 16%; top: -80px; border: 30px solid rgba(255,255,255,.04); }
.brandina-wallet-hero-copy { position: relative; z-index: 1; display: grid; }
.brandina-wallet-kicker { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 7px 10px; border-radius: 999px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.09); font-size: 11px; font-weight: 800; }
.brandina-wallet-kicker svg { width: 15px; }
.brandina-wallet-hero-copy > p { margin: 26px 0 2px; color: rgba(255,255,255,.6); font-size: 12px; }
.brandina-wallet-hero-copy > strong { color: #fff; font-size: clamp(24px,4vw,38px); line-height: 1.6; }
.brandina-wallet-hero-copy > small { color: rgba(255,255,255,.54); font-size: 11px; }
.brandina-wallet-hero-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 100px; height: 100px; border: 1px solid rgba(255,255,255,.11); border-radius: 30px; color: #fff; background: rgba(255,255,255,.08); transform: rotate(-7deg); }
.brandina-wallet-hero-mark svg { width: 48px; height: 48px; }
.brandina-wallet-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.brandina-wallet-metrics > div { display: grid; grid-template-columns: 41px minmax(0,1fr); align-items: center; column-gap: 10px; min-height: 84px; padding: 13px; border: 1px solid var(--bam-line); border-radius: 17px; background: #fff; }
.brandina-wallet-metrics > div > span { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--bam-brand); background: var(--bam-soft); }
.brandina-wallet-metrics p { align-self: end; margin: 0; color: #667085; font-size: 11px; }
.brandina-wallet-metrics strong { align-self: start; color: var(--bam-navy); font-size: 14px; }
.brandina-wallet-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.8fr); align-items: start; gap: 14px; }
.brandina-wallet-side { display: grid; gap: 14px; }
.brandina-wallet-transaction-list { display: grid; gap: 1px; }
.brandina-wallet-transaction { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 65px; border-bottom: 1px solid #eff1f3; }
.brandina-wallet-transaction:last-child { border-bottom: 0; }
.brandina-wallet-transaction-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.brandina-wallet-transaction.is-credit .brandina-wallet-transaction-icon { color: #067647; background: #ecfdf3; }
.brandina-wallet-transaction.is-debit .brandina-wallet-transaction-icon { color: #b42318; background: #fef3f2; }
.brandina-wallet-transaction-icon svg { width: 18px; }
.brandina-wallet-transaction > div { display: grid; gap: 2px; }
.brandina-wallet-transaction > div strong { color: #344054; font-size: 13px; }
.brandina-wallet-transaction > div small { color: #98a2b3; font-size: 11px; }
.brandina-wallet-transaction > b { font-size: 13px; white-space: nowrap; }
.brandina-wallet-transaction.is-credit > b { color: #067647; }
.brandina-wallet-transaction.is-debit > b { color: #b42318; }

.brandina-wallet-withdraw-card > header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.brandina-wallet-withdraw-card > header > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: var(--bam-navy); }
.brandina-wallet-withdraw-card > header small { color: var(--bam-brand); font-size: 11px; font-weight: 800; }
.brandina-wallet-withdraw-card > header h3 { margin: 1px 0 0; color: var(--bam-navy); font-size: 14px; }
.brandina-wallet-withdraw-card > p { margin: 0 0 15px; color: #667085; font-size: 12px; line-height: 1.8; }
.brandina-wallet-form { display: grid; gap: 11px; }
.brandina-wallet-form label { display: grid; gap: 5px; }
.brandina-wallet-form label > span { color: #475467; font-size: 12px; font-weight: 750; }
.brandina-wallet-form label em { color: #98a2b3; font-size: 11px; font-style: normal; font-weight: 400; }
.brandina-wallet-form input,.brandina-wallet-form textarea { width: 100%; min-height: 44px; margin: 0; padding: 9px 12px; border: 1px solid #d0d5dd; border-radius: 11px; outline: 0; color: var(--bam-navy); background: #fff; }
.brandina-wallet-form textarea { resize: vertical; }
.brandina-wallet-form input:focus,.brandina-wallet-form textarea:focus { border-color: var(--bam-brand); box-shadow: 0 0 0 3px color-mix(in srgb,var(--bam-brand) 12%,transparent); }
.brandina-wallet-form label > small,.brandina-wallet-balance-hint { color: #98a2b3; font-size: 11px; }
.brandina-wallet-form .brandina-account-primary-button { min-height: 46px; border-radius: 12px; font-size: 12px; }
.brandina-wallet-request-list { display: grid; gap: 8px; }
.brandina-wallet-request-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 11px; border: 1px solid #edf0f2; border-radius: 12px; }
.brandina-wallet-request-list article > div { display: grid; gap: 2px; }
.brandina-wallet-request-list strong { color: #344054; font-size: 12px; }
.brandina-wallet-request-list small { color: #98a2b3; font-size: 11px; }
.brandina-wallet-request-list article > span { padding: 5px 8px; border-radius: 999px; color: #344054; background: #f2f4f7; font-size: 11px; }
.brandina-wallet-request-list .is-paid { color: #067647; background: #ecfdf3; }
.brandina-wallet-request-list .is-pending,.brandina-wallet-request-list .is-approved { color: #b54708; background: #fffaeb; }
.brandina-wallet-request-list .is-rejected,.brandina-wallet-request-list .is-cancelled { color: #b42318; background: #fef3f2; }
.brandina-wallet-request-list form { grid-column: 1 / -1; margin: 0; }
.brandina-wallet-request-list form button { padding: 0; border: 0; cursor: pointer; color: var(--bam-red); background: none; font-size: 11px; }

/* ---------- Native WooCommerce endpoints ---------- */

.brandina-account-content .woocommerce-info,
.brandina-account-content .woocommerce-message,
.brandina-account-content .woocommerce-error { margin: 0 0 16px; padding: 13px 15px; border: 1px solid #b2ddff; border-radius: 13px; color: #175cd3; background: #eff8ff; font-size: 13px; line-height: 1.8; list-style: none; }
.brandina-account-content .woocommerce-message { color: #067647; border-color: #abefc6; background: #ecfdf3; }
.brandina-account-content .woocommerce-error { color: #b42318; border-color: #fecdca; background: #fef3f2; }
.brandina-account-content .woocommerce-info::before,.brandina-account-content .woocommerce-message::before,.brandina-account-content .woocommerce-error::before { display: none; }

.brandina-account-content table.shop_table { width: 100%; margin: 0; border: 1px solid var(--bam-line); border-collapse: separate; border-spacing: 0; border-radius: 16px; background: #fff; overflow: hidden; }
.brandina-account-content table.shop_table th,.brandina-account-content table.shop_table td { padding: 13px; border: 0; border-bottom: 1px solid #edf0f2; text-align: right; font-size: 13px; vertical-align: middle; }
.brandina-account-content table.shop_table th { color: #667085; background: #f8f9fa; font-size: 12px; font-weight: 750; }
.brandina-account-content table.shop_table tr:last-child td { border-bottom: 0; }
.brandina-account-content table.shop_table a { color: var(--bam-brand); font-weight: 750; }
.brandina-account-content table.shop_table .button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; margin: 2px; padding: 0 11px; border: 1px solid var(--bam-line); border-radius: 9px; color: #344054; background: #fff; font-size: 12px; }
.brandina-account-content table.shop_table .button.view { border-color: var(--bam-brand); color: #fff; background: var(--bam-brand); }

.brandina-account-content .woocommerce-Address-title,
.brandina-account-content .woocommerce-customer-details h2,
.brandina-account-content .woocommerce-order-details h2 { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; color: var(--bam-navy); font-size: 15px; }
.brandina-account-content .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.brandina-account-content .woocommerce-Address { width: auto; min-height: 170px; padding: 18px; border: 1px solid var(--bam-line); border-radius: 16px; background: #fff; }
.brandina-account-content address { color: #667085; font-size: 13px; font-style: normal; line-height: 2; }

.brandina-account-content form:not(.brandina-wallet-form):not([method="post"]),
.brandina-account-content .woocommerce-EditAccountForm,
.brandina-account-content .woocommerce-address-fields { max-width: 780px; }
.brandina-account-content .form-row { margin: 0 0 14px; }
.brandina-account-content .form-row label { display: block; margin-bottom: 6px; color: #475467; font-size: 13px; font-weight: 700; }
.brandina-account-content .input-text,
.brandina-account-content select,
.brandina-account-content textarea { width: 100%; min-height: 48px; margin: 0; padding: 10px 13px; border: 1px solid #d0d5dd; border-radius: 12px; outline: 0; color: var(--bam-navy); background: #fff; }
.brandina-account-content .input-text:focus,.brandina-account-content select:focus,.brandina-account-content textarea:focus { border-color: var(--bam-brand); box-shadow: 0 0 0 3px color-mix(in srgb,var(--bam-brand) 12%,transparent); }
.brandina-account-content fieldset { margin: 20px 0; padding: 17px; border: 1px solid var(--bam-line); border-radius: 15px; }
.brandina-account-content legend { padding: 0 7px; color: var(--bam-navy); font-size: 13px; font-weight: 800; }
.brandina-account-content button.button,
.brandina-account-content input.button { min-height: 45px; padding: 0 17px; border: 0; border-radius: 12px; color: #fff; background: var(--bam-brand); font-size: 12px; font-weight: 800; }
.brandina-account-content .woocommerce-Pagination { display: flex; gap: 8px; margin-top: 16px; }
.brandina-account-content .woocommerce-Pagination a { display: inline-flex; align-items: center; min-height: 39px; padding: 0 13px; border: 1px solid var(--bam-line); border-radius: 10px; color: #344054; background: #fff; font-size: 12px; }

/* ---------- Responsive contract ---------- */

@media (max-width: 1160px) {
	.brandina-auth-premium-shell { grid-template-columns: minmax(330px,.85fr) minmax(400px,1.15fr); }
	.brandina-auth-story { padding: 36px; }
	.brandina-account-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.brandina-account-quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
	.brandina-account-overview-grid.has-wallet { grid-template-columns: 1fr; }
	.brandina-dashboard-wallet-card { min-height: 240px; }
}

@media (max-width: 1040px) {
	.brandina-auth-premium-shell { grid-template-columns: 1fr; width: min(590px,100%); min-height: 0; }
	.brandina-auth-story { display: none; }
	.brandina-auth-mobile-logo { display: block; margin: 0 0 30px; text-align: center; }
	.brandina-auth-mobile-logo img { width: auto; max-width: 130px; max-height: 48px; }
	.brandina-account-page-wrap { width: min(calc(100% - 28px),var(--ba-container,1280px)); }
	.brandina-account-shell { grid-template-columns: minmax(0,1fr); gap: 14px; }
	.brandina-account-sidebar { position: static; width: 100%; }
	.brandina-account-profile-card { grid-template-columns: 58px minmax(0,1fr) minmax(170px,auto); justify-items: stretch; align-items: center; gap: 13px; padding: 15px; }
	.brandina-account-profile-card::before { inset: 0; width: 100%; height: 100%; opacity: .65; }
	.brandina-account-avatar { width: 58px; height: 58px; border-radius: 17px; }
	.brandina-account-avatar img { border-radius: 14px; }
	.brandina-account-profile-copy { margin: 0; text-align: right; }
	.brandina-account-profile-copy strong { max-width: none; }
	.brandina-account-profile-wallet { width: auto; min-width: 170px; margin: 0; }
	.brandina-account-status { display: none; }
	.brandina-account-navigation { padding: 8px; overflow: visible; }
	.brandina-account-navigation ul { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
	.brandina-account-navigation li { min-width: 0; }
	.brandina-account-navigation li a { grid-template-columns: 34px minmax(0,1fr); min-height: 54px; padding: 7px 9px; }
	.brandina-account-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
	.brandina-account-nav-icon { width: 34px; height: 34px; }
	.brandina-account-nav-arrow { display: none; }
	.brandina-account-navigation a b { min-width: 0; white-space: normal; overflow-wrap: break-word; }
	.brandina-wallet-layout { grid-template-columns: 1fr; }
	body.brandina-account-logged-in .brandina-entry-content > .woocommerce { grid-template-columns: minmax(0,1fr); width: calc(100% - 28px); }
}

@media (max-width: 760px) {
	body.brandina-account-page { font-size: var(--ba-mobile-font,14px); }
	body.brandina-account-page,
	body.brandina-account-page .site-main,
	body.brandina-account-page .brandina-singular-entry,
	body.brandina-account-page .brandina-entry-content,
	body.brandina-account-page .brandina-entry-content > .woocommerce,
	body.brandina-account-page .brandina-account-page-wrap,
	body.brandina-account-page .brandina-account-shell,
	body.brandina-account-page .brandina-account-sidebar,
	body.brandina-account-page .brandina-account-content { min-width: 0; max-width: 100%; }

	.brandina-auth-page.brandina-auth-premium { min-height: calc(100svh - 64px); padding: 12px; place-items: start center; }
	.brandina-auth-premium-shell { border-radius: 22px; box-shadow: 0 18px 50px rgba(16,24,40,.1); }
	.brandina-auth-premium .brandina-verify-shell { padding: 27px 20px; }
	.brandina-auth-mobile-logo { margin-bottom: 20px; }
	.brandina-auth-progress { margin-bottom: 22px; }
	.brandina-auth-premium .brandina-verify-header { margin-bottom: 22px; }
	.brandina-auth-premium .brandina-verify-header h1 { font-size: 24px; }
	.brandina-otp-actions { flex-direction: row; align-items: center; }

	.brandina-account-page-wrap { width: calc(100% - 18px); margin-top: 9px; margin-bottom: calc(var(--ba-bottom,56px) + 66px); }
	.brandina-account-page-header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 112px; margin-bottom: 12px; padding: 18px; border-radius: 20px; }
	.brandina-account-page-header h1 { margin-bottom: 4px; font-size: 21px; letter-spacing: -.3px; }
	.brandina-account-page-header p { max-width: none; font-size: 11px; line-height: 1.75; }
	.brandina-account-eyebrow { margin-bottom: 4px; font-size: 10px; }
	.brandina-account-shop-link { min-height: 42px; padding: 0 12px; border-radius: 12px; font-size: 11px; }
	.brandina-account-shell { display: grid; grid-template-columns: minmax(0,1fr); gap: 11px; }
	.brandina-account-sidebar,.brandina-account-content { width: 100%; min-width: 0; }
	.brandina-account-profile-card { grid-template-columns: 52px minmax(0,1fr); gap: 11px; padding: 13px; border-radius: 17px; }
	.brandina-account-avatar { width: 52px; height: 52px; }
	.brandina-account-profile-copy strong { font-size: 15px; }
	.brandina-account-profile-wallet { grid-column: 1 / -1; min-width: 0; margin-top: 1px; padding: 10px 12px; }
	.brandina-account-navigation { padding: 7px; border-radius: 17px; }
	.brandina-account-navigation ul { display: grid; grid-template-columns: repeat(var(--ba-mobile-columns,3),minmax(0,1fr)); width: 100%; gap: 6px; }
	.brandina-account-navigation li { width: auto; min-width: 0; }
	.brandina-account-navigation li a { display: flex !important; min-width: 0; min-height: 66px; padding: 7px 4px; flex-direction: column; justify-content: center; gap: 5px; text-align: center; }
	.brandina-account-nav-icon { width: 34px; height: 34px; }
	.brandina-account-navigation a b { min-width: 0; max-width: 100%; font-size: 10px; line-height: 1.5; text-align: center; white-space: normal; word-break: normal; overflow-wrap: break-word; }

	.brandina-account-content { padding: 12px; border-radius: 17px; overflow: visible; }
	.brandina-account-content-heading { margin-bottom: 14px; padding-bottom: 13px; }
	.brandina-account-content-heading > span { width: 40px; height: 40px; }
	.brandina-account-content-heading h2 { font-size: 18px; }
	.brandina-account-dashboard { gap: 11px; }
	.brandina-account-welcome-card { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; min-width: 0; min-height: 0; padding: 15px; border-radius: 17px; }
	.brandina-account-welcome-main { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: start; gap: 11px; min-width: 0; }
	.brandina-account-welcome-main > div { min-width: 0; }
	.brandina-account-welcome-icon { width: 44px; height: 44px; border-radius: 13px; }
	.brandina-account-welcome-main h2 { margin-top: 2px; font-size: 18px; word-break: normal; overflow-wrap: break-word; }
	.brandina-account-welcome-main p { max-width: none; font-size: 11px; word-break: normal; overflow-wrap: break-word; }
	.brandina-account-welcome-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 7px; }
	.brandina-account-welcome-actions a { min-width: 0; min-height: 41px; padding: 0 8px; font-size: 11px; white-space: normal; text-align: center; }
	.brandina-account-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
	.brandina-account-stat-card { align-items: flex-start; min-width: 0; min-height: 108px; padding: 12px; border-radius: 15px; }
	.brandina-account-stat-card > span { width: 37px; height: 37px; }
	.brandina-account-stat-card strong { max-width: 100%; font-size: 17px; }
	.brandina-account-stat-card.is-wallet strong { font-size: 12px; white-space: normal; }
	.brandina-account-stat-card em { font-size: 9px; }
	.brandina-account-overview-grid,.brandina-account-overview-grid.has-wallet,.brandina-wallet-layout { grid-template-columns: minmax(0,1fr); }
	.brandina-account-section-card { min-width: 0; padding: 14px; border-radius: 17px; overflow: hidden; }
	.brandina-account-section-header { gap: 8px; margin-bottom: 12px; }
	.brandina-account-section-header h3 { font-size: 14px; }
	.brandina-account-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
	.brandina-account-quick-grid > a { grid-template-columns: 36px minmax(0,1fr); min-width: 0; min-height: 62px; padding: 8px; }
	.brandina-account-quick-grid > a > span { width: 35px; height: 35px; }
	.brandina-account-quick-grid > a > i { display: none; }
	.brandina-account-quick-grid strong { font-size: 11px; }
	.brandina-account-quick-grid small { font-size: 9px; white-space: normal; line-height: 1.55; }
	.brandina-dashboard-wallet-card { min-height: 230px; padding: 18px; border-radius: 18px; }
	.brandina-dashboard-cart-items > a { min-width: 0; }
	.brandina-dashboard-cart-items strong,.brandina-recent-order-item strong,.brandina-order-primary { word-break: normal; overflow-wrap: break-word; }
	.brandina-recent-order-item { grid-template-columns: 66px minmax(0,1fr); gap: 9px; padding: 10px; }
	.brandina-order-product-stack span { width: 39px; height: 39px; }
	.brandina-order-total { grid-column: 2; text-align: right; }
	.brandina-order-actions { grid-column: 1 / -1; grid-row: auto; justify-content: stretch; }
	.brandina-order-actions a { flex: 1; justify-content: center; }
	.brandina-wallet-hero { min-height: 176px; padding: 20px; border-radius: 18px; }
	.brandina-wallet-hero-mark { width: 66px; height: 66px; border-radius: 20px; }
	.brandina-wallet-hero-mark svg { width: 31px; }
	.brandina-wallet-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.brandina-account-content .woocommerce-Addresses { grid-template-columns: 1fr; }

	.brandina-account-content table.shop_table_responsive thead,
	.brandina-account-content table.woocommerce-orders-table thead { display: none; }
	.brandina-account-content table.shop_table_responsive,
	.brandina-account-content table.shop_table_responsive tbody,
	.brandina-account-content table.woocommerce-orders-table,
	.brandina-account-content table.woocommerce-orders-table tbody { display: block; width: 100%; }
	.brandina-account-content table.shop_table_responsive tr,
	.brandina-account-content table.woocommerce-orders-table tr { display: grid; width: 100%; margin-bottom: 9px; padding: 8px 11px; border: 1px solid var(--bam-line); border-radius: 13px; background: #fff; }
	.brandina-account-content table.shop_table_responsive td,
	.brandina-account-content table.woocommerce-orders-table td { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 38px; padding: 7px 0; border: 0; border-bottom: 1px dashed var(--bam-line); text-align: left !important; }
	.brandina-account-content table.shop_table_responsive td:last-child,
	.brandina-account-content table.woocommerce-orders-table td:last-child { border-bottom: 0; }
	.brandina-account-content table.shop_table_responsive td::before,
	.brandina-account-content table.woocommerce-orders-table td::before { content: attr(data-title); color: var(--bam-subtle); font-size: 10px; font-weight: 750; text-align: right; }
	body.brandina-account-logged-in .brandina-entry-content > .woocommerce { display: grid; width: calc(100% - 18px); margin-top: 9px; }
	body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-navigation:not(.brandina-account-navigation) ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
	body.brandina-account-logged-in .brandina-entry-content > .woocommerce > .woocommerce-MyAccount-content:not(.brandina-account-content) { padding: 12px; }
}

@media (max-width: 480px) {
	.brandina-account-page-header p { display: none; }
	.brandina-account-shop-link { width: 42px; min-width: 42px; padding: 0; }
	.brandina-account-shop-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.brandina-account-welcome-main { grid-template-columns: 40px minmax(0,1fr); }
	.brandina-account-welcome-icon { width: 40px; height: 40px; }
	.brandina-account-welcome-main h2 { font-size: 16px; }
	.brandina-account-welcome-actions { grid-template-columns: 1fr; }
	.brandina-account-stat-card { min-height: 102px; padding: 10px; }
	.brandina-account-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.brandina-dashboard-cart-items > a { grid-template-columns: 46px minmax(0,1fr); }
	.brandina-dashboard-cart-items > a > b { grid-column: 2; }
	.brandina-dashboard-cart-footer { display: grid; }
	.brandina-dashboard-cart-actions,.brandina-dashboard-cart-footer form,.brandina-dashboard-cart-footer button { width: 100%; }
	.brandina-dashboard-cart-actions a { flex: 1; }
	.brandina-wallet-hero-mark { display: none; }
	.brandina-wallet-metrics { grid-template-columns: 1fr; }
	.brandina-wallet-transaction { grid-template-columns: 36px minmax(0,1fr); }
	.brandina-wallet-transaction > b { grid-column: 2; }
	body.brandina-account-page .brandina-auth-page.brandina-auth-premium { padding: 8px; }
	body.brandina-account-page .brandina-auth-premium .brandina-verify-shell { padding: 24px 16px; }
}

@media (max-width: 350px) {
	.brandina-account-navigation ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.brandina-account-quick-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.brandina-account-page * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Brandina Account 2.9.21 — fluid desktop canvas + mobile polish
   ========================================================= */

/* The generic page.php uses .brandina-container (global 1240px). On My Account
 * that parent width used to cap the dedicated account wrapper before its own
 * --ba-container could take effect. Remove the outer cap only on this route. */
body.brandina-account-page main#content.site-main.brandina-content-shell.brandina-container,
body.brandina-account-page .site-main.brandina-content-shell,
body.brandina-account-page .brandina-singular-entry,
body.brandina-account-page .brandina-entry-content {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}
body.brandina-account-page .brandina-entry-content > .woocommerce {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}

/* Only use the emergency native WooCommerce two-column fallback when the
 * Brandina wrapper is genuinely absent. The former unconditional grid was the
 * main desktop-width bug: it placed the whole Brandina wrapper inside the
 * fallback navigation track. */
@supports selector(:has(*)) {
    body.brandina-account-logged-in .brandina-entry-content > .woocommerce:not(:has(> .brandina-account-page-wrap)):has(> .woocommerce-MyAccount-navigation):has(> .woocommerce-MyAccount-content) {
        display: grid !important;
        grid-template-columns: var(--ba-sidebar, 320px) minmax(0, 1fr);
        gap: var(--ba-gap, 20px);
        width: min(var(--ba-container, 1800px), calc(100% - 48px)) !important;
        margin: var(--ba-top, 24px) auto var(--ba-bottom, 56px) !important;
    }
}

.brandina-account-page-wrap {
    width: min(var(--ba-container, 1800px), calc(100% - clamp(32px, 5vw, 72px)));
    max-width: none;
    margin-inline: auto;
}

@media (min-width: 1041px) {
    .brandina-account-shell {
        grid-template-columns: clamp(300px, var(--ba-sidebar, 320px), 360px) minmax(0, 1fr);
        gap: clamp(18px, 1.7vw, 28px);
    }
    .brandina-account-content {
        padding: clamp(22px, 2vw, 32px);
    }
    .brandina-account-page-header {
        min-height: 154px;
        padding: 30px clamp(30px, 3vw, 46px);
        border-radius: 28px;
    }
    .brandina-account-page-header h1 { font-size: clamp(30px, 2.7vw, 40px); }
    .brandina-account-page-header p { font-size: 14px; }
    .brandina-account-profile-card { padding: 28px 22px 22px; }
    .brandina-account-avatar { width: 84px; height: 84px; }
    .brandina-account-navigation { padding: 10px; }
    .brandina-account-navigation li a { min-height: 55px; padding-inline: 11px; }
    .brandina-account-dashboard { gap: 20px; }
    .brandina-account-welcome-card { min-height: 136px; padding: 24px; }
    .brandina-account-stat-card { min-height: 118px; padding: 17px; }
    .brandina-account-section-card { padding: 23px; }
}

/* Make the wallet reward state explicit inside the profile card. */
.brandina-account-profile-wallet span { justify-content: space-between; flex-wrap: wrap; }
.brandina-account-profile-wallet span em {
    margin-inline-start: auto;
    padding: 3px 7px;
    border-radius: 999px;
    color: #d1fadf;
    background: rgba(18,166,106,.18);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

/* Universal overflow guards for plugin-added endpoint content. */
.brandina-account-page-wrap,
.brandina-account-shell,
.brandina-account-sidebar,
.brandina-account-content,
.brandina-account-dashboard,
.brandina-account-dashboard > *,
.brandina-wallet-page,
.brandina-wallet-page > *,
.brandina-account-content form,
.brandina-account-content fieldset,
.brandina-account-content table,
.brandina-account-content img,
.brandina-account-content iframe {
    min-width: 0;
    max-width: 100%;
}
.brandina-account-content img { height: auto; }
.brandina-account-content iframe { width: 100%; }
.brandina-account-content pre,
.brandina-account-content code { max-width: 100%; overflow-wrap: anywhere; }

/* Tablet: use the entire available canvas, then stack the account modules. */
@media (max-width: 1040px) {
    body.brandina-account-page main#content.site-main.brandina-content-shell.brandina-container { width: 100% !important; }
    .brandina-account-page-wrap {
        width: calc(100% - 28px);
        max-width: none;
    }
    .brandina-account-shell { grid-template-columns: minmax(0,1fr); }
    .brandina-account-sidebar { order: 1; }
    .brandina-account-content { order: 2; }
}

/* Mobile layout deliberately uses fewer, larger touch targets rather than
 * squeezing the desktop cards into narrow columns. */
@media (max-width: 760px) {
    body.brandina-account-page { overflow-x: hidden; }
    .brandina-account-page-wrap {
        width: calc(100% - 16px);
        max-width: none;
        margin-top: 8px;
    }
    .brandina-account-page-header {
        grid-template-columns: minmax(0,1fr) auto;
        min-height: 0;
        padding: 18px;
    }
    .brandina-account-page-header > div { min-width: 0; }
    .brandina-account-page-header h1,
    .brandina-account-page-header p,
    .brandina-account-welcome-main h2,
    .brandina-account-welcome-main p,
    .brandina-account-section-header h3,
    .brandina-account-content-heading h2 {
        overflow-wrap: anywhere;
    }
    .brandina-account-profile-card {
        grid-template-columns: 58px minmax(0,1fr) auto;
        align-items: center;
        padding: 14px;
    }
    .brandina-account-profile-wallet {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 4px;
    }
    .brandina-account-status {
        grid-column: auto;
        justify-self: end;
        margin: 0;
    }
    .brandina-account-navigation { overflow: hidden; }
    .brandina-account-navigation ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .brandina-account-navigation li a { min-height: 72px; }
    .brandina-account-content { padding: 13px; overflow: hidden; }
    .brandina-account-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .brandina-account-overview-grid,
    .brandina-account-overview-grid.has-wallet,
    .brandina-wallet-layout { grid-template-columns: minmax(0,1fr); }
    .brandina-wallet-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .brandina-account-section-header { align-items: flex-start; }
    .brandina-account-section-header > a { flex: 0 0 auto; }
    .brandina-account-content table.shop_table_responsive td,
    .brandina-account-content table.woocommerce-orders-table td { text-align: right !important; }
}

@media (max-width: 560px) {
    .brandina-account-page-wrap { width: calc(100% - 12px); }
    .brandina-account-page-header {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        gap: 13px;
        padding: 17px 15px;
        border-radius: 18px;
    }
    .brandina-account-page-header p { display: block; font-size: 10.5px; }
    .brandina-account-shop-link {
        width: 100%;
        min-height: 43px;
        justify-content: center;
        padding: 0 12px;
    }
    .brandina-account-shop-link span {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
    .brandina-account-profile-card {
        grid-template-columns: 54px minmax(0,1fr);
        gap: 10px;
    }
    .brandina-account-status {
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: center;
    }
    .brandina-account-navigation ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .brandina-account-navigation li a { min-height: 70px; padding: 8px 5px; }
    .brandina-account-welcome-main { grid-template-columns: 42px minmax(0,1fr); }
    .brandina-account-welcome-actions { grid-template-columns: 1fr; }
    .brandina-account-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .brandina-account-stat-card { min-height: 104px; }
    .brandina-account-quick-grid { grid-template-columns: 1fr; }
    .brandina-wallet-hero { min-height: 160px; padding: 18px; }
    .brandina-wallet-hero-copy > strong { font-size: 25px; }
    .brandina-wallet-metrics { grid-template-columns: 1fr; }
    .brandina-wallet-transaction {
        grid-template-columns: 36px minmax(0,1fr);
        align-items: start;
    }
    .brandina-wallet-transaction > b {
        grid-column: 2;
        justify-self: start;
        white-space: normal;
    }
    .brandina-account-content table.shop_table_responsive td,
    .brandina-account-content table.woocommerce-orders-table td {
        align-items: flex-start;
        text-align: right !important;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .brandina-account-page-wrap { width: calc(100% - 8px); }
    .brandina-account-content { padding: 10px; }
    .brandina-account-navigation ul,
    .brandina-account-stat-grid { grid-template-columns: 1fr 1fr; }
    .brandina-account-stat-card { padding: 9px; }
}



/* 2.9.21 — manager withdrawal responses are explicit in the customer panel. */
.brandina-dashboard-wallet-alert{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 16px;border:1px solid #f5d58c;border-radius:17px;background:linear-gradient(135deg,#fffaeb,#fff);color:var(--bam-navy);text-decoration:none}.brandina-dashboard-wallet-alert>span{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:#fef0c7;color:#b54708}.brandina-dashboard-wallet-alert>span svg{width:21px}.brandina-dashboard-wallet-alert>div{display:grid;min-width:0;gap:2px}.brandina-dashboard-wallet-alert small{color:#b54708;font-size:10.5px;font-weight:800}.brandina-dashboard-wallet-alert strong{color:#344054;font-size:13px}.brandina-dashboard-wallet-alert p{margin:0;color:#667085;font-size:11px;line-height:1.8}.brandina-dashboard-wallet-alert>b{display:flex;align-items:center;gap:4px;color:var(--bam-brand);font-size:11px;white-space:nowrap}.brandina-dashboard-wallet-alert>b svg{width:13px;transform:rotate(180deg)}.brandina-dashboard-wallet-alert.is-paid{border-color:#b7e4cb;background:linear-gradient(135deg,#ecfdf3,#fff)}.brandina-dashboard-wallet-alert.is-paid>span{background:#dcfae6;color:#067647}.brandina-dashboard-wallet-alert.is-paid small{color:#067647}.brandina-dashboard-wallet-alert.is-rejected{border-color:#f2c5c0;background:linear-gradient(135deg,#fef3f2,#fff)}.brandina-dashboard-wallet-alert.is-rejected>span{background:#fee4e2;color:#b42318}.brandina-dashboard-wallet-alert.is-rejected small{color:#b42318}
.brandina-wallet-manager-alert{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;gap:12px;padding:15px 16px;border:1px solid #f5d58c;border-radius:17px;background:#fffaeb}.brandina-wallet-manager-alert-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;background:#fef0c7;color:#b54708}.brandina-wallet-manager-alert-icon svg{width:22px}.brandina-wallet-manager-alert>div{display:grid;min-width:0;gap:2px}.brandina-wallet-manager-alert small{color:#b54708;font-size:10.5px;font-weight:800}.brandina-wallet-manager-alert strong{color:#344054;font-size:14px}.brandina-wallet-manager-alert p{margin:2px 0 0;color:#667085;font-size:11.5px;line-height:1.85}.brandina-wallet-manager-alert blockquote,.brandina-wallet-request-response blockquote{margin:7px 0 0;padding:9px 10px;border:0;border-right:3px solid currentColor;border-radius:9px;background:rgba(255,255,255,.7);color:#475467;font-size:11px;line-height:1.8}.brandina-wallet-manager-alert time{color:#98a2b3;font-size:10px;white-space:nowrap}.brandina-wallet-manager-alert.is-paid{border-color:#b7e4cb;background:#ecfdf3}.brandina-wallet-manager-alert.is-paid .brandina-wallet-manager-alert-icon{background:#dcfae6;color:#067647}.brandina-wallet-manager-alert.is-paid small{color:#067647}.brandina-wallet-manager-alert.is-rejected{border-color:#f2c5c0;background:#fef3f2}.brandina-wallet-manager-alert.is-rejected .brandina-wallet-manager-alert-icon{background:#fee4e2;color:#b42318}.brandina-wallet-manager-alert.is-rejected small{color:#b42318}
.brandina-wallet-request-list article{align-items:start}.brandina-wallet-request-main{display:grid;gap:2px}.brandina-wallet-request-response{grid-column:1/-1;padding:9px 10px;border-radius:9px;background:#f8fafc}.brandina-wallet-request-response p{margin:0;color:#667085;font-size:10.8px;line-height:1.8}.brandina-wallet-request-list article.is-paid .brandina-wallet-request-response{background:#f3fbf6}.brandina-wallet-request-list article.is-rejected .brandina-wallet-request-response{background:#fff7f6}
@media(max-width:760px){.brandina-dashboard-wallet-alert,.brandina-wallet-manager-alert{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:13px}.brandina-dashboard-wallet-alert>span,.brandina-wallet-manager-alert-icon{width:42px;height:42px;border-radius:12px}.brandina-dashboard-wallet-alert>b,.brandina-wallet-manager-alert time{grid-column:2;justify-self:start}.brandina-wallet-request-response{padding:8px 9px}}
@media(max-width:460px){.brandina-dashboard-wallet-alert,.brandina-wallet-manager-alert{grid-template-columns:1fr}.brandina-dashboard-wallet-alert>span,.brandina-wallet-manager-alert-icon{width:38px;height:38px}.brandina-dashboard-wallet-alert>b,.brandina-wallet-manager-alert time{grid-column:1}.brandina-wallet-request-list article{grid-template-columns:1fr}.brandina-wallet-request-list article>span{justify-self:start}}
