

/* ---- Account page layout (used by page-my-account.php) ---- */
.gm-container--account {
	max-width: 1280px;
}
.gm-account-layout {
	width: 100%;
	padding: 24px 0 40px;
}
@media (min-width: 768px) {
	.gm-account-layout { padding: 32px 0 48px; }
}

/* ---- Logged-out: Segmented Login / Register Control ---- */
.gm-auth-wrap {
	width: 100%;
	max-width: 480px;
	margin: 20px auto 40px;
}

.gm-auth-card {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	padding: 28px 24px 26px;
	box-shadow: 0 16px 40px -12px rgba(15, 23, 42, .14), 0 0 0 1px rgba(255, 255, 255, .6) inset;
	position: relative;
	overflow: hidden;
}
@media (min-width: 480px) {
	.gm-auth-card { padding: 34px 32px 30px; }
}

.gm-auth-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--gm-primary), var(--gm-accent), var(--gm-primary));
	opacity: .9;
}

/* Remove default WooCommerce form outer box and paddings inside the card */
.gm-auth-card form.login,
.gm-auth-card form.register,
.woocommerce .gm-auth-card form.login,
.woocommerce .gm-auth-card form.register {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

/* Segmented Button Group Control */
.gm-segmented-control {
	display: flex;
	background: rgba(15, 23, 42, 0.05);
	padding: 5px;
	border-radius: 999px;
	margin-bottom: 24px;
	border: 1px solid rgba(15, 23, 42, 0.07);
	gap: 6px;
	position: relative;
}

.gm-segment-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--gm-muted);
	border: none;
	background: transparent;
	cursor: pointer;
	transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
	user-select: none;
}

.gm-segment-btn svg {
	opacity: 0.7;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.gm-segment-btn:hover {
	color: var(--gm-text);
}

.gm-segment-btn.is-active {
	background: #ffffff;
	color: var(--gm-primary);
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.gm-segment-btn.is-active svg {
	opacity: 1;
	color: var(--gm-primary);
}

/* Auth Panels */
.gm-auth-panel {
	display: none;
}

.gm-auth-panel.is-active {
	display: block;
	animation: gmAuthFadeIn 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes gmAuthFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Head */
.gm-auth-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.gm-auth-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--gm-primary) 14%, #fff), color-mix(in srgb, var(--gm-accent) 18%, #fff));
	color: var(--gm-primary);
	flex-shrink: 0;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--gm-primary) 15%, transparent);
}

.gm-auth-icon--accent {
	background: linear-gradient(135deg, color-mix(in srgb, var(--gm-accent) 22%, #fff), color-mix(in srgb, var(--gm-primary) 12%, #fff));
	color: var(--gm-accent);
	box-shadow: 0 4px 12px color-mix(in srgb, var(--gm-accent) 20%, transparent);
}

.gm-auth-title {
	font-size: 1.35rem;
	font-weight: 800;
	margin: 0 0 3px;
	color: var(--gm-text);
	line-height: 1.2;
}

.gm-auth-sub {
	font-size: 13.5px;
	color: var(--gm-muted);
	margin: 0;
	line-height: 1.45;
}

/* Form Groups & Inputs */
.gm-form-group {
	margin-bottom: 18px;
}

.gm-form-group .gm-form-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--gm-text);
	margin-bottom: 7px;
}

.gm-label-split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 7px;
}

.gm-lost-link {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gm-primary);
	text-decoration: none !important;
	transition: opacity 0.15s ease;
}

.gm-lost-link:hover {
	opacity: 0.8;
	text-decoration: underline !important;
}

.gm-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.gm-input-ico {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	transition: color 0.2s ease;
}

/* Override WooCommerce input padding with strong specificity to ensure text never overlaps icons */
.gm-auth-card .gm-input-wrap input.gm-form-input,
.gm-auth-card .gm-input-wrap input.input-text,
.woocommerce .gm-auth-card input.input-text.gm-form-input {
	width: 100% !important;
	padding-left: 44px !important;
	padding-right: 14px !important;
	padding-top: 13px !important;
	padding-bottom: 13px !important;
	border: 1.5px solid var(--gm-card-brd) !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.8) !important;
	color: var(--gm-text) !important;
	font: inherit !important;
	font-size: 14.5px !important;
	line-height: 1.4 !important;
	height: auto !important;
	box-sizing: border-box !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.gm-auth-card .gm-input-wrap--password input.gm-form-input,
.gm-auth-card .gm-input-wrap--password input.input-text,
.woocommerce .gm-auth-card .gm-input-wrap--password input.input-text.gm-form-input {
	padding-right: 48px !important;
}

.gm-auth-card .gm-input-wrap input.gm-form-input:focus,
.gm-auth-card .gm-input-wrap input.input-text:focus {
	outline: none !important;
	border-color: var(--gm-primary) !important;
	box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--gm-primary) 14%, transparent) !important;
	background: #ffffff !important;
}

.gm-input-wrap:focus-within .gm-input-ico {
	color: var(--gm-primary);
}

/* Hide WooCommerce duplicate injected password toggle button */
.gm-auth-card .show-password-input,
.woocommerce .gm-auth-card .show-password-input,
.gm-auth-card button.show-password-input,
.woocommerce button.show-password-input {
	display: none !important;
}

/* Password Strength Meter & Hint */
.gm-auth-card .woocommerce-password-strength {
	width: 100% !important;
	margin: 10px 0 6px !important;
	padding: 8px 14px !important;
	border-radius: 8px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	text-align: center !important;
	clear: both !important;
	display: block !important;
	box-sizing: border-box !important;
	transition: all 0.25s ease !important;
}

.gm-auth-card .woocommerce-password-strength.short {
	background: #fee2e2 !important;
	border: 1px solid #fca5a5 !important;
	color: #dc2626 !important;
}

.gm-auth-card .woocommerce-password-strength.bad {
	background: #ffedd5 !important;
	border: 1px solid #fdba74 !important;
	color: #ea580c !important;
}

.gm-auth-card .woocommerce-password-strength.good {
	background: #fef9c3 !important;
	border: 1px solid #fde047 !important;
	color: #ca8a04 !important;
}

.gm-auth-card .woocommerce-password-strength.strong {
	background: #dcfce7 !important;
	border: 1px solid #86efac !important;
	color: #16a34a !important;
}

.gm-auth-card .woocommerce-password-hint {
	display: block !important;
	font-size: 11.5px !important;
	color: var(--gm-muted) !important;
	margin: 6px 0 14px !important;
	line-height: 1.5 !important;
	clear: both !important;
	opacity: 0.85 !important;
}

/* Allow registration even if password is weak/medium, or keep submit button styled */
.gm-auth-card .woocommerce-form-register__submit.disabled,
.gm-auth-card .woocommerce-form-register__submit:disabled {
	opacity: 0.65 !important;
	cursor: not-allowed !important;
}

/* Custom Eye button inside the input */
.gm-pw-eye-btn {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	padding: 6px;
	margin: 0;
	cursor: pointer;
	color: #94a3b8;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.15s ease, background 0.15s ease;
	z-index: 4;
}

.gm-pw-eye-btn:hover {
	color: var(--gm-primary);
	background: rgba(15, 23, 42, 0.05);
}

/* Meta / Remember Me */
.gm-form-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 8px 0 20px;
}

.gm-remember-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--gm-text);
	cursor: pointer;
	user-select: none;
}

.gm-check-input {
	width: 17px !important;
	height: 17px !important;
	accent-color: var(--gm-primary);
	cursor: pointer;
	margin: 0 !important;
}

.gm-form-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12.5px;
	color: var(--gm-muted);
	background: rgba(37, 99, 235, 0.06);
	border: 1px solid rgba(37, 99, 235, 0.15);
	padding: 10px 12px;
	border-radius: 8px;
	margin: 0 0 16px;
}

.gm-form-note svg {
	color: var(--gm-primary);
	flex-shrink: 0;
	margin-top: 1px;
}

/* Submit Button */
.gm-form-submit-wrap {
	margin-top: 10px;
	clear: both !important;
	width: 100% !important;
}

.gm-auth-btn {
	width: 100% !important;
	float: none !important;
	clear: both !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 14px 24px !important;
	border: 0 !important;
	border-radius: 12px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	color: #fff !important;
	background: linear-gradient(135deg, var(--gm-primary), color-mix(in srgb, var(--gm-primary) 75%, var(--gm-accent))) !important;
	box-shadow: 0 8px 22px -6px color-mix(in srgb, var(--gm-primary) 60%, transparent) !important;
	cursor: pointer !important;
	transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease !important;
	position: relative !important;
	overflow: hidden !important;
}

.gm-auth-btn > span,
.gm-auth-btn > svg {
	transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Sleek embedded loading spinner */
.gm-auth-btn::after {
	content: '' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 22px !important;
	height: 22px !important;
	margin: -11px 0 0 -11px !important;
	border: 2.5px solid rgba(255, 255, 255, 0.35) !important;
	border-top-color: #ffffff !important;
	border-radius: 50% !important;
	opacity: 0 !important;
	pointer-events: none !important;
	transform: rotate(0deg) !important;
	transition: opacity 0.2s ease !important;
	box-sizing: border-box !important;
}

.gm-auth-btn.is-loading {
	cursor: wait !important;
	opacity: 0.92 !important;
}

.gm-auth-btn.is-loading > span,
.gm-auth-btn.is-loading > svg {
	opacity: 0 !important;
	transform: scale(0.85) !important;
}

.gm-auth-btn.is-loading::after {
	opacity: 1 !important;
	animation: gm-auth-spin 0.65s linear infinite !important;
}

@keyframes gm-auth-spin {
	to { transform: rotate(360deg); }
}

/* Completely hide the unprofessional floating TFA spinner gif */
.simbaotp_spinner,
img.simbaotp_spinner {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Clean overlay if blockUI is ever invoked */
.gm-auth-card .blockUI.blockOverlay {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: var(--gm-radius) !important;
	background: rgba(255, 255, 255, 0.72) !important;
	-webkit-backdrop-filter: blur(4px) !important;
	backdrop-filter: blur(4px) !important;
	z-index: 50 !important;
}
.gm-auth-card .blockUI.blockOverlay::before {
	display: none !important;
}

.gm-auth-btn:hover {
	transform: translateY(-1.5px) !important;
	box-shadow: 0 12px 28px -6px color-mix(in srgb, var(--gm-primary) 70%, transparent) !important;
}

.gm-auth-btn:active {
	transform: translateY(0) !important;
}

.gm-auth-btn--register {
	background: linear-gradient(135deg, var(--gm-primary), color-mix(in srgb, var(--gm-accent) 80%, var(--gm-primary))) !important;
}

/* Nextend Social Login & Divider */
.gm-auth-divider {
	display: flex;
	align-items: center;
	text-align: center;
	margin: 22px 0 16px;
	color: var(--gm-muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	width: 100% !important;
	clear: both !important;
}

.gm-auth-divider::before,
.gm-auth-divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid var(--gm-card-brd);
}

.gm-auth-divider span {
	padding: 0 14px;
	opacity: 0.85;
}

.gm-social-login-wrap {
	width: 100%;
	margin-bottom: 6px;
}

.gm-social-login-wrap .nsl-container {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
}

.gm-social-login-wrap .nsl-container-buttons {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	width: 100% !important;
}

.gm-social-login-wrap .nsl-container a {
	width: 100% !important;
	display: block !important;
	text-decoration: none !important;
	outline: none !important;
}

.gm-social-login-wrap .nsl-button.nsl-button-google {
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	border-radius: 12px !important;
	border: 1.5px solid var(--gm-card-brd) !important;
	background: #ffffff !important;
	box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .07) !important;
	transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 18px !important;
	box-sizing: border-box !important;
	cursor: pointer !important;
}

.gm-social-login-wrap .nsl-button.nsl-button-google:hover {
	transform: translateY(-1.5px) !important;
	box-shadow: 0 8px 20px -4px rgba(15, 23, 42, .12) !important;
	border-color: rgba(15, 23, 42, .2) !important;
	background: #ffffff !important;
}

.gm-social-login-wrap .nsl-button.nsl-button-google:active {
	transform: translateY(0) !important;
}

.gm-social-login-wrap .nsl-button.nsl-button-google .nsl-button-svg-container {
	margin-right: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
}

.gm-social-login-wrap .nsl-button.nsl-button-google .nsl-button-svg-container svg {
	width: 20px !important;
	height: 20px !important;
}

.gm-social-login-wrap .nsl-button.nsl-button-google .nsl-button-label-container {
	font-size: 14.5px !important;
	font-weight: 600 !important;
	color: #334155 !important;
	font-family: inherit !important;
	padding: 0 !important;
}

.gm-social-login-wrap .nsl-button.nsl-button-google .nsl-button-label-container b {
	font-weight: 700 !important;
	color: #0f172a !important;
}

/* Switch footer */
.gm-auth-switch-footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--gm-card-brd);
	text-align: center;
	font-size: 13.5px;
	color: var(--gm-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.gm-switch-link {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: var(--gm-primary) !important;
	cursor: pointer !important;
	text-decoration: none !important;
}

.gm-switch-link:hover {
	text-decoration: underline !important;
}

/* Legacy support */
.gm-login-wrap {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
}
@media (min-width: 980px) {
	.gm-login-wrap {
		grid-template-columns: 1fr 1fr;
		max-width: 920px;
		gap: 28px;
		margin: 0 auto;
	}
}

/* Kill WooCommerce column floats */
.gm-login-wrap .u-column1,
.gm-login-wrap .u-column2,
.gm-login-wrap .col-1,
.gm-login-wrap .col-2 {
	float: none !important;
	width: auto !important;
	padding: 0 !important;
}
.gm-login-wrap::after { display: none !important; }

.gm-login-card {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	padding: 36px 32px 30px;
	box-shadow: 0 8px 28px -16px rgba(15, 23, 42, .12);
	position: relative;
	overflow: hidden;
}
.gm-login-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--gm-primary), var(--gm-accent));
	opacity: .85;
}
.gm-login-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}
.gm-login-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--gm-primary) 12%, #fff), color-mix(in srgb, var(--gm-accent) 16%, #fff));
	color: var(--gm-primary);
	flex-shrink: 0;
}
.gm-login-icon--accent {
	background: linear-gradient(135deg, color-mix(in srgb, var(--gm-accent) 20%, #fff), color-mix(in srgb, var(--gm-primary) 10%, #fff));
	color: var(--gm-accent);
}
.gm-login-card .gm-login-title {
	font-size: 1.4rem; font-weight: 800;
	margin: 0 0 4px;
	color: var(--gm-text);
}
.gm-login-card .gm-login-sub {
	font-size: 14px; color: var(--gm-muted);
	margin: 0;
}

.gm-login-form .gm-form-row { margin: 0 0 16px; }
.gm-login-form .gm-form-label {
	display: block;
	font-size: 13px; font-weight: 600;
	color: var(--gm-text);
	margin-bottom: 7px;
}
.gm-login-form .required { color: #ef4444; margin-left: 2px; }
.gm-login-form .gm-form-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--gm-card-brd);
	border-radius: 10px;
	background: rgba(255,255,255,.65);
	color: var(--gm-text);
	font: inherit; font-size: 14.5px;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.gm-login-form .gm-form-input:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--gm-primary) 50%, transparent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gm-primary) 12%, transparent);
	background: #fff;
}

/* Password toggle */
.password-input {
	position: relative;
	display: block;
}
.password-input .gm-form-input {
	padding-right: 44px;
}
.woocommerce-account .password-input .show-password-input {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--gm-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, color .2s ease;
	z-index: 2;
}
.woocommerce-account .password-input .show-password-input::after {
	content: '' !important;
	font-family: none !important;
	speak: none !important;
	width: 18px;
	height: 18px;
	background: currentColor;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	mask-position: center;
	-webkit-mask-position: center;
	mask-size: contain;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
}
.woocommerce-account .password-input .show-password-input:hover,
.woocommerce-account .password-input .show-password-input:focus {
	background: color-mix(in srgb, var(--gm-primary) 8%, transparent);
	color: var(--gm-primary);
}
.woocommerce-account .password-input .show-password-input.display-password::after {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.88 9.88a3 3 0 1 0 4.24 4.24'/%3E%3Cpath d='M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68'/%3E%3Cpath d='M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61'/%3E%3Cline x1='2' x2='22' y1='2' y2='22'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.88 9.88a3 3 0 1 0 4.24 4.24'/%3E%3Cpath d='M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68'/%3E%3Cpath d='M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61'/%3E%3Cline x1='2' x2='22' y1='2' y2='22'/%3E%3C/svg%3E");
}

.gm-login-form .gm-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 6px 0 14px;
}
.gm-login-form .gm-remember {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 500;
	color: var(--gm-text);
	cursor: pointer;
	user-select: none;
}
.gm-login-form .gm-remember input[type="checkbox"] {
	width: 16px; height: 16px;
	accent-color: var(--gm-primary);
	cursor: pointer;
}

.gm-login-form .gm-btn-primary,
.woocommerce-account .woocommerce-EditAccountForm button[type="submit"],
.woocommerce-account .woocommerce-address-fields button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
	color: #fff;
	background: linear-gradient(135deg, var(--gm-primary), color-mix(in srgb, var(--gm-primary) 70%, var(--gm-accent)));
	box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--gm-primary) 60%, transparent);
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease;
}
.gm-login-form .gm-btn-primary:hover,
.woocommerce-account .woocommerce-EditAccountForm button[type="submit"]:hover,
.woocommerce-account .woocommerce-address-fields button[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--gm-primary) 75%, transparent);
}
@media (max-width: 639px) {
	.gm-login-form .gm-btn-primary { width: 100%; }
}

.gm-lost-password { margin: 16px 0 0; text-align: center; font-size: 13px; }
.gm-lost-password a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gm-muted);
	font-weight: 500;
	text-decoration: none;
	transition: color .2s ease;
}
.gm-lost-password a:hover { color: var(--gm-primary); }
.gm-lost-password a svg { opacity: .7; }

/* Or divider */
.gm-login-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	font-size: 12px;
	color: var(--gm-muted);
	font-weight: 500;
}
.gm-login-divider::before,
.gm-login-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--gm-card-brd);
}
.gm-form-note {
	font-size: 13px;
	color: var(--gm-muted);
	margin: 0 0 14px;
	background: color-mix(in srgb, var(--gm-bg-c) 60%, transparent);
	padding: 10px 12px;
	border-radius: 8px;
}

/* Privacy policy compact */
.gm-login-form .woocommerce-privacy-policy-text,
.gm-login-form .woocommerce-terms-and-conditions-wrapper {
	font-size: 12px;
	color: var(--gm-muted);
	line-height: 1.5;
	margin: 0 0 14px;
}
.gm-login-form .woocommerce-privacy-policy-text a { color: var(--gm-primary); font-weight: 600; }

/* ---- Lost password page ---- */
.woocommerce-ResetPassword.lost_reset_password,
.woocommerce-ResetPassword {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	padding: 36px 32px 30px;
	max-width: 460px;
	margin: 32px auto 0;
	box-shadow: 0 8px 28px -16px rgba(15, 23, 42, .12);
	position: relative;
	overflow: hidden;
}
.woocommerce-ResetPassword.lost_reset_password::before,
.woocommerce-ResetPassword::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--gm-primary), var(--gm-accent));
	opacity: .85;
}
.woocommerce-ResetPassword.lost_reset_password p:first-of-type,
.woocommerce-ResetPassword p:first-of-type {
	font-size: 14px;
	color: var(--gm-muted);
	margin: 0 0 20px;
	line-height: 1.55;
}
.woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row,
.woocommerce-ResetPassword .woocommerce-form-row {
	margin: 0 0 16px;
}
.woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row label,
.woocommerce-ResetPassword .woocommerce-form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--gm-text);
	margin-bottom: 7px;
}
.woocommerce-ResetPassword.lost_reset_password input[type="text"],
.woocommerce-ResetPassword input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--gm-card-brd);
	border-radius: 10px;
	background: rgba(255,255,255,.65);
	color: var(--gm-text);
	font: inherit;
	font-size: 14.5px;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.woocommerce-ResetPassword.lost_reset_password input[type="text"]:focus,
.woocommerce-ResetPassword input[type="text"]:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--gm-primary) 50%, transparent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gm-primary) 12%, transparent);
	background: #fff;
}
.woocommerce-ResetPassword.lost_reset_password button[type="submit"],
.woocommerce-ResetPassword button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
	color: #fff;
	background: linear-gradient(135deg, var(--gm-primary), color-mix(in srgb, var(--gm-primary) 70%, var(--gm-accent)));
	box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--gm-primary) 60%, transparent);
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease;
}
.woocommerce-ResetPassword.lost_reset_password button[type="submit"]:hover,
.woocommerce-ResetPassword button[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--gm-primary) 75%, transparent);
}
@media (max-width: 639px) {
	.woocommerce-ResetPassword.lost_reset_password,
	.woocommerce-ResetPassword {
		margin: 20px 16px 0;
		padding: 28px 22px 24px;
	}
	.woocommerce-ResetPassword.lost_reset_password button[type="submit"],
	.woocommerce-ResetPassword button[type="submit"] { width: 100%; }
}

/* Social / quick login hint (reserved class for future use) */
.gm-login-hint {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--gm-muted);
	margin: 12px 0 0;
	padding: 10px 12px;
	background: color-mix(in srgb, var(--gm-bg-c) 50%, transparent);
	border-radius: 8px;
}
.gm-login-hint-icon {
	width: 16px; height: 16px;
	flex-shrink: 0;
	color: var(--gm-primary);
}

/* ---- Logged-in: content full width (nav is hidden) ---- */
.gm-account-inner {
	display: block !important;
	gap: 0;
	grid-template-columns: 1fr !important;
	width: 100%;
	align-items: start;
}
@media (max-width: 767px) {
	.gm-account-inner {
		display: block !important;
	}
}

/* Override WooCommerce default float layout */
.gm-account-inner .woocommerce-MyAccount-navigation,
.gm-account-inner .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}
.gm-account-inner::after,
.gm-account-inner::before { display: none !important; }

/* Ensure content area stretches */
.gm-account-content {
	min-width: 0;
	width: 100%;
}

/* Sidebar navigation */
.gm-account-nav {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	padding: 10px;
	box-shadow: 0 8px 28px -16px rgba(15, 23, 42, .12);
}
.gm-account-nav ul {
	margin: 0; padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.gm-account-nav li { margin: 0; }
.gm-account-nav .gm-account-nav-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: calc(var(--gm-radius) - 6px);
	font-size: 14px;
	font-weight: 600;
	color: var(--gm-text);
	transition: background .15s ease, color .15s ease;
	text-decoration: none;
}
.gm-account-nav .gm-account-nav-link:hover {
	background: color-mix(in srgb, var(--gm-primary) 8%, transparent);
	color: var(--gm-primary);
}
.gm-account-nav .gm-account-nav-link.is-active {
	background: var(--gm-primary);
	color: #fff;
	box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--gm-primary) 60%, transparent);
}
.gm-account-nav .gm-account-nav-icon {
	width: 20px; height: 20px;
	opacity: .7;
	flex-shrink: 0;
}
.gm-account-nav .is-active .gm-account-nav-icon { opacity: 1; }
.gm-account-nav-badge {
	margin-left: auto;
	min-width: 22px; height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--gm-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.gm-account-nav .is-active .gm-account-nav-badge {
	background: #fff;
	color: var(--gm-primary);
}

/* Content area */
.gm-account-content { min-width: 0; }

/* ---- Account section page titles (Orders, Addresses, Downloads, etc.) ---- */
.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > h3:first-child,
.gm-account-page-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 800;
	color: var(--gm-text);
	margin: 0 0 20px;
	padding: 0 0 14px;
	border-bottom: 2px solid var(--gm-card-brd);
	position: relative;
}
.woocommerce-MyAccount-content > h2::after,
.woocommerce-MyAccount-content > h3:first-child::after {
	content: '';
	position: absolute;
	left: 0; bottom: -2px;
	width: 48px; height: 2px;
	background: var(--gm-primary);
	border-radius: 2px;
}

/* ---- Redesigned GM Lounge Account Dashboard ---- */
.gm-account-dashboard {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

/* 1. Hero Profile Card */
.gm-account-hero {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	padding: 24px 28px;
	box-shadow: 0 8px 30px -16px rgba(15, 23, 42, .08);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}
.gm-account-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--gm-primary), var(--gm-accent));
}

.gm-account-profile-main {
	display: flex;
	align-items: center;
	gap: 18px;
}
.gm-account-avatar-wrap {
	position: relative;
	flex-shrink: 0;
	width: 68px;
	height: 68px;
}
.gm-account-avatar-img {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 2.5px solid #ffffff !important;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
	background: var(--gm-bg-b) !important;
}
.gm-account-avatar-dot {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #22c55e;
	border: 2.5px solid #ffffff;
	box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
}

.gm-account-profile-meta {
	min-width: 0;
}
.gm-account-name-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 3px;
}
.gm-account-name {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--gm-text);
	margin: 0;
	letter-spacing: -0.015em;
	line-height: 1.2;
}
.gm-account-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gm-primary) 12%, #ffffff);
	color: var(--gm-primary);
	border: 1px solid color-mix(in srgb, var(--gm-primary) 25%, transparent);
	font-size: 11.5px;
	font-weight: 700;
}
.gm-account-email {
	font-size: 13.5px;
	color: var(--gm-muted);
	margin: 0 0 4px;
	font-weight: 500;
}
.gm-account-joined {
	font-size: 11.5px;
	color: #94a3b8;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	display: block;
}

.gm-account-btn-edit {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border-radius: 999px;
	border: 1.5px solid var(--gm-card-brd);
	background: #ffffff;
	color: var(--gm-text);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: all 0.2s ease;
}
.gm-account-btn-edit:hover {
	border-color: var(--gm-primary);
	color: var(--gm-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px color-mix(in srgb, var(--gm-primary) 15%, transparent);
}

/* 2. Stats Grid */
.gm-account-stats-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.gm-account-stat-card {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: 16px;
	padding: 20px 22px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 112px;
	transition: all 0.22s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.04);
}
.gm-account-stat-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--gm-primary) 40%, var(--gm-card-brd));
	box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--gm-primary) 20%, transparent);
}

.gm-account-stat-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.gm-account-stat-icon {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.gm-stat--orders .gm-account-stat-icon {
	background: color-mix(in srgb, var(--gm-primary) 12%, #fff);
	color: var(--gm-primary);
	border: 1px solid color-mix(in srgb, var(--gm-primary) 22%, transparent);
}
.gm-stat--wallet .gm-account-stat-icon {
	background: rgba(34, 197, 94, 0.12);
	color: #16a34a;
	border: 1px solid rgba(34, 197, 94, 0.22);
}
.gm-stat--spent .gm-account-stat-icon {
	background: rgba(139, 92, 246, 0.12);
	color: #8b5cf6;
	border: 1px solid rgba(139, 92, 246, 0.22);
}

.gm-account-stat-arrow {
	color: #94a3b8;
	font-size: 16px;
	font-weight: 700;
	transition: transform 0.2s ease, color 0.2s ease;
}
.gm-account-stat-card:hover .gm-account-stat-arrow {
	transform: translateX(3px);
	color: var(--gm-primary);
}

.gm-account-wallet-pill {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.15);
	color: #15803d;
	border: 1px solid rgba(34, 197, 94, 0.3);
}
.gm-account-stat-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(139, 92, 246, 0.12);
	color: #7c3aed;
}

.gm-account-stat-number {
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--gm-text);
	line-height: 1.15;
	display: block;
	letter-spacing: -0.02em;
}
.gm-account-stat-title {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gm-muted);
	margin-top: 4px;
	display: block;
}

/* 3. Quick Nav Hub */
.gm-account-hub {
	margin-top: 4px;
}
.gm-account-hub-heading {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--gm-text);
	margin: 0 0 14px;
	letter-spacing: -0.01em;
}
.gm-account-hub-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.gm-hub-card {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: 16px;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.gm-hub-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--gm-primary) 35%, var(--gm-card-brd));
	box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.1);
}
.gm-hub-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}
.gm-hub-card:hover .gm-hub-icon-wrap {
	transform: scale(1.08);
}
.gm-hub-icon--orders  { background: color-mix(in srgb, var(--gm-primary) 12%, #fff); color: var(--gm-primary); }
.gm-hub-icon--wallet  { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.gm-hub-icon--track,
.gm-hub-icon--address { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.gm-hub-icon--account { background: rgba(249, 115, 22, 0.12); color: #ea580c; }
.gm-hub-icon--support { background: rgba(168, 85, 247, 0.12); color: #9333ea; }
.gm-hub-icon--logout  { background: rgba(239, 68, 68, 0.1); color: #dc2626; }

.gm-hub-text {
	flex: 1;
	min-width: 0;
}
.gm-hub-text h4 {
	font-size: 14.5px;
	font-weight: 800;
	color: var(--gm-text);
	margin: 0 0 2px;
}
.gm-hub-text p {
	font-size: 12px;
	color: var(--gm-muted);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 500;
}
.gm-hub-count {
	font-size: 11.5px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gm-primary) 14%, #fff);
	color: var(--gm-primary);
	border: 1px solid color-mix(in srgb, var(--gm-primary) 25%, transparent);
}
.gm-hub-arrow {
	color: #cbd5e1;
	font-size: 16px;
	font-weight: 700;
	transition: all 0.2s ease;
}
.gm-hub-card:hover .gm-hub-arrow {
	color: var(--gm-primary);
	transform: translateX(3px);
}
.gm-hub-card--logout:hover h4 {
	color: #dc2626;
}

/* 4. Recent Orders Section */
.gm-account-recent-section {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: 18px;
	padding: 22px 24px;
	box-shadow: 0 4px 18px -8px rgba(15, 23, 42, 0.06);
	margin-top: 4px;
}
.gm-account-recent-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1.5px solid var(--gm-card-brd);
}
.gm-account-recent-title {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--gm-text);
	margin: 0;
	letter-spacing: -0.01em;
}
.gm-account-recent-sub {
	font-size: 12.5px;
	color: var(--gm-muted);
	margin: 2px 0 0;
	font-weight: 500;
}
.gm-account-recent-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--gm-primary);
	text-decoration: none;
	transition: transform 0.15s ease;
}
.gm-account-recent-all:hover {
	transform: translateX(3px);
	text-decoration: underline;
}
.gm-account-recent-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.gm-account-recent-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 14px 18px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid var(--gm-card-brd);
	transition: all 0.2s ease;
}
.gm-account-recent-item:hover {
	border-color: color-mix(in srgb, var(--gm-primary) 35%, var(--gm-card-brd));
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.gm-account-recent-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 3px;
}
.gm-account-recent-num {
	font-size: 14.5px;
	font-weight: 800;
	color: var(--gm-text);
}
.gm-account-recent-date {
	font-size: 12px;
	color: var(--gm-muted);
	font-weight: 500;
}
.gm-account-recent-summary {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--gm-muted);
}
.gm-account-recent-dot {
	color: #cbd5e1;
}
.gm-account-recent-total {
	font-weight: 700;
	color: var(--gm-text);
}
.gm-account-recent-right {
	display: flex;
	align-items: center;
	gap: 12px;
}
.gm-account-status-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: color-mix(in srgb, var(--st-col) 12%, #fff);
	color: var(--st-col);
	border: 1px solid color-mix(in srgb, var(--st-col) 28%, transparent);
}
.gm-account-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--gm-primary);
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--gm-primary) 50%, transparent);
	transition: all 0.18s ease;
}
.gm-account-view-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
	.gm-account-hub-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.gm-account-hero {
		padding: 18px 16px;
	}
	.gm-account-avatar-wrap {
		width: 56px;
		height: 56px;
	}
	.gm-account-name {
		font-size: 1.2rem;
	}
	.gm-account-hero-actions {
		width: 100%;
	}
	.gm-account-btn-edit {
		width: 100%;
		justify-content: center;
		padding: 8px 14px;
	}

	/* Stats: 3 compact columns side by side */
	.gm-account-stats-row {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 8px !important;
	}
	.gm-account-stat-card {
		padding: 12px 10px !important;
		min-height: 96px !important;
		border-radius: 14px !important;
	}
	.gm-account-stat-top {
		margin-bottom: 8px !important;
	}
	.gm-account-stat-icon {
		width: 32px !important;
		height: 32px !important;
		border-radius: 9px !important;
	}
	.gm-account-stat-arrow {
		display: none !important;
	}
	.gm-account-wallet-pill,
	.gm-account-stat-badge {
		display: none !important;
	}
	.gm-account-stat-number {
		font-size: 1.05rem !important;
		letter-spacing: -0.01em !important;
	}
	.gm-account-stat-title {
		font-size: 11px !important;
		white-space: nowrap !important;
	}

	/* Quick Hub: 2-column app style grid */
	.gm-account-hub-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
	.gm-hub-card {
		padding: 12px 12px !important;
		gap: 10px !important;
		border-radius: 14px !important;
	}
	.gm-hub-icon-wrap {
		width: 38px !important;
		height: 38px !important;
		border-radius: 10px !important;
	}
	.gm-hub-text h4 {
		font-size: 13.5px !important;
	}
	.gm-hub-text p {
		display: none !important;
	}
	.gm-hub-arrow {
		display: none !important;
	}

	.gm-account-recent-section {
		padding: 18px 16px;
	}
	.gm-account-recent-item {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
	}
	.gm-account-recent-right {
		justify-content: space-between !important;
	}
}

/* ---- Orders Section & Table Styling ---- */
.gm-orders-wrapper {
	width: 100%;
	margin-bottom: 24px;
}

.gm-orders-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1.5px solid var(--gm-card-brd);
}

.gm-orders-header-title-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.gm-orders-title-bar {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gm-orders-accent-line {
	display: inline-block;
	width: 5px;
	height: 22px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--gm-primary) 0%, var(--gm-accent) 100%);
	box-shadow: 0 0 10px color-mix(in srgb, var(--gm-primary) 50%, transparent);
	flex-shrink: 0;
}

.gm-orders-title {
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--gm-text);
	margin: 0;
	letter-spacing: -0.015em;
}

.gm-orders-count-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gm-primary) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--gm-primary) 25%, transparent);
	color: var(--gm-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.gm-orders-track-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #ffffff;
	border: 1.5px solid var(--gm-card-brd);
	color: var(--gm-text);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .06);
	transition: all 0.2s ease;
}

.gm-orders-track-link:hover {
	border-color: var(--gm-primary);
	color: var(--gm-primary);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--gm-primary) 25%, transparent);
}

.gm-orders-track-link svg {
	color: var(--gm-primary);
}

.gm-orders-card {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	overflow: hidden;
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 8px 30px -12px rgba(15, 23, 42, .08);
	margin-bottom: 24px;
}

.gm-orders-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	font-size: 14px;
}

.gm-orders-table thead th {
	background: color-mix(in srgb, var(--gm-bg-b) 70%, transparent);
	color: var(--gm-muted);
	font-weight: 700;
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 14px 18px;
	border-bottom: 1.5px solid var(--gm-card-brd);
	text-align: left;
	white-space: nowrap;
}

.gm-orders-table tbody tr {
	transition: background 0.15s ease;
}

.gm-orders-table tbody tr:hover {
	background: color-mix(in srgb, var(--gm-primary) 3.5%, rgba(255, 255, 255, 0.7));
}

.gm-orders-table tbody tr + tr td {
	border-top: 1px solid var(--gm-card-brd);
}

.gm-orders-table td {
	padding: 16px 18px;
	vertical-align: middle;
	color: var(--gm-text);
}

/* Order cell (Thumb + ID + Date) */
.woocommerce-orders-table__cell-order-id-date {
	display: flex;
	align-items: center;
	gap: 12px;
}

.gm-order-thumb {
	display: inline-block;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	overflow: hidden;
	border: 1.5px solid var(--gm-card-brd);
	flex-shrink: 0;
	background: var(--gm-bg-b);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.gm-order-thumb:hover {
	transform: scale(1.05);
	border-color: var(--gm-primary);
}

.gm-order-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gm-order-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gm-order-num {
	font-size: 14.5px;
	font-weight: 800;
	color: var(--gm-text) !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.gm-order-num:hover {
	color: var(--gm-primary) !important;
}

.gm-order-date {
	font-size: 12px;
	color: var(--gm-muted);
	font-weight: 500;
}

.gm-order-product-info {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gm-text);
	display: inline-block;
}

.gm-order-product-info small {
	color: var(--gm-muted);
	font-weight: 700;
	font-size: 11.5px;
	margin-left: 2px;
}

.gm-order-total {
	font-size: 14.5px;
	font-weight: 800;
	color: var(--gm-text);
}

.gm-toggle-products {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--gm-primary) !important;
	text-decoration: none !important;
	padding: 4px 10px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--gm-primary) 10%, transparent);
}

.gm-toggle-products:hover {
	background: color-mix(in srgb, var(--gm-primary) 18%, transparent);
}

.gm-products-list {
	margin-top: 8px;
	padding-left: 10px;
	border-left: 2px solid var(--gm-primary);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Order ID Column (fallback) */
.gm-order-id-col {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gm-order-id-badge {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-weight: 800;
	font-size: 14.5px;
	color: var(--gm-text) !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.gm-order-id-badge:hover {
	color: var(--gm-primary) !important;
}

.gm-order-hash {
	color: var(--gm-primary);
	font-weight: 800;
}

.gm-order-product-preview {
	font-size: 12px;
	color: var(--gm-muted);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 240px;
}

.gm-order-extra-tag {
	font-size: 10.5px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 999px;
	background: var(--gm-card-brd);
	color: var(--gm-muted);
}

/* Date */
.gm-order-date-wrap {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--gm-muted);
	font-size: 13px;
	white-space: nowrap;
}

.gm-order-date-icon {
	opacity: 0.65;
	flex-shrink: 0;
	color: var(--gm-muted);
}

/* Status Badge */
.gm-order-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
	background: color-mix(in srgb, var(--status-color) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--status-color) 28%, transparent);
	color: var(--status-color);
	box-shadow: 0 2px 6px -1px color-mix(in srgb, var(--status-color) 15%, transparent);
}

.gm-order-status-badge::before {
	display: none !important;
}

.gm-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--status-color);
	flex-shrink: 0;
	box-shadow: 0 0 6px var(--status-color);
}

/* Total Amount */
.gm-order-price-wrap {
	display: flex;
	flex-direction: column;
	gap: 2px;
	white-space: nowrap;
}

.gm-order-total-val {
	font-size: 14.5px;
	font-weight: 800;
	color: var(--gm-text);
}

.gm-order-items-count {
	font-size: 11.5px;
	color: var(--gm-muted);
	font-weight: 500;
}

/* Action View Details Button */
.gm-order-actions-wrap {
	display: flex;
	justify-content: flex-end;
}

.gm-order-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--gm-primary), color-mix(in srgb, var(--gm-primary) 75%, var(--gm-accent)));
	color: #ffffff !important;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 14px -3px color-mix(in srgb, var(--gm-primary) 50%, transparent);
	transition: all 0.2s ease;
	white-space: nowrap;
}

.gm-order-view-btn:hover {
	transform: translateY(-1px) translateX(2px);
	box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--gm-primary) 65%, transparent);
	filter: brightness(1.06);
	color: #ffffff !important;
}

.gm-order-view-arrow {
	transition: transform 0.2s ease;
}

.gm-order-view-btn:hover .gm-order-view-arrow {
	transform: translateX(3px);
}

/* ── Mobile Stacked Order Cards ── */
@media (max-width: 767px) {
	.gm-orders-card {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		overflow: visible !important;
	}
	.gm-orders-table,
	.gm-orders-table thead,
	.gm-orders-table tbody {
		display: block !important;
		width: 100% !important;
	}
	.gm-orders-table thead {
		display: none !important;
	}
	.gm-orders-table tbody {
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
	}
	.gm-orders-table tbody tr {
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
		background: var(--gm-card) !important;
		border: 1px solid var(--gm-card-brd) !important;
		border-radius: var(--gm-radius) !important;
		padding: 16px 18px !important;
		-webkit-backdrop-filter: blur(14px) saturate(140%) !important;
		backdrop-filter: blur(14px) saturate(140%) !important;
		box-shadow: 0 4px 16px -6px rgba(15, 23, 42, .08) !important;
		position: relative !important;
	}
	.gm-orders-table tbody tr::before {
		content: '';
		position: absolute;
		left: 0;
		top: 14px;
		bottom: 14px;
		width: 3.5px;
		border-radius: 0 4px 4px 0;
		background: linear-gradient(180deg, var(--gm-primary), var(--gm-accent));
	}
	.gm-orders-table tbody tr + tr td {
		border-top: 0 !important;
	}
	.gm-orders-table td {
		display: flex !important;
		padding: 0 !important;
		border: 0 !important;
		width: 100% !important;
	}
	.gm-orders-table td.woocommerce-orders-table__cell-order-number,
	.gm-orders-table td.woocommerce-orders-table__cell-order-id-date {
		order: 1;
		justify-content: flex-start;
	}
	.gm-orders-table td.woocommerce-orders-table__cell-order-status {
		order: 2;
		justify-content: flex-start;
		margin-top: -2px;
	}
	.gm-orders-table td.woocommerce-orders-table__cell-order-products,
	.gm-orders-table td.woocommerce-orders-table__cell-order-date {
		order: 3;
		padding-top: 6px !important;
		border-top: 1px dashed var(--gm-card-brd) !important;
	}
	.gm-orders-table td.woocommerce-orders-table__cell-order-total {
		order: 4;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding-top: 8px !important;
		border-top: 1px solid var(--gm-card-brd) !important;
	}
	.gm-orders-table td.woocommerce-orders-table__cell-order-actions {
		order: 5;
		padding-top: 4px !important;
	}
	.gm-orders-table td.woocommerce-orders-table__cell-order-actions .gm-order-actions-wrap,
	.gm-orders-table td.woocommerce-orders-table__cell-order-actions .gm-order-view-btn {
		width: 100% !important;
		justify-content: center !important;
	}
}

/* ── Enhanced Smart Pagination ── */
.gm-orders-pagination-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 18px 22px;
	margin-top: 10px;
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 4px 18px -6px rgba(15, 23, 42, .06);
}

.gm-orders-pagination-info {
	font-size: 13.5px;
	color: var(--gm-muted);
	font-weight: 500;
}

.gm-orders-pagination-info strong {
	color: var(--gm-text);
	font-weight: 700;
}

.gm-orders-pagination-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.gm-pagination-pages {
	display: flex;
	align-items: center;
	gap: 5px;
}

.gm-page-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--gm-card-brd);
	color: var(--gm-text);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.18s ease;
	user-select: none;
}

.gm-page-num:hover {
	border-color: var(--gm-primary);
	color: var(--gm-primary);
	background: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px -2px rgba(15, 23, 42, .08);
}

.gm-page-num.is-active {
	background: linear-gradient(135deg, var(--gm-primary) 0%, color-mix(in srgb, var(--gm-primary) 70%, var(--gm-accent)) 100%) !important;
	color: #ffffff !important;
	border-color: transparent !important;
	box-shadow: 0 6px 18px -4px color-mix(in srgb, var(--gm-primary) 65%, transparent) !important;
	pointer-events: none;
}

.gm-page-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 38px;
	font-size: 15px;
	font-weight: 700;
	color: var(--gm-muted);
	letter-spacing: 0.1em;
	user-select: none;
}

.gm-pagination-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--gm-card-brd);
	color: var(--gm-text);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.18s ease;
	user-select: none;
	white-space: nowrap;
}

.gm-pagination-btn:hover:not(.is-disabled) {
	background: #ffffff;
	border-color: var(--gm-primary);
	color: var(--gm-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px -2px rgba(15, 23, 42, .08);
}

.gm-pagination-btn.is-disabled {
	opacity: 0.42;
	cursor: not-allowed;
	pointer-events: none;
	background: transparent;
	border-color: color-mix(in srgb, var(--gm-card-brd) 60%, transparent);
}

@media (max-width: 639px) {
	.gm-orders-pagination-wrap {
		flex-direction: column;
		align-items: center;
		padding: 16px 14px;
	}
	.gm-orders-pagination-nav {
		width: 100%;
		justify-content: center;
	}
}

/* ── Empty Orders State ── */
.gm-empty-orders-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 48px 24px;
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 8px 30px -12px rgba(15, 23, 42, .08);
	margin: 20px auto 40px;
	max-width: 580px;
}

.gm-empty-orders-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 22px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--gm-primary) 12%, #fff), color-mix(in srgb, var(--gm-accent) 18%, #fff));
	color: var(--gm-primary);
	margin-bottom: 20px;
	border: 1px solid color-mix(in srgb, var(--gm-primary) 20%, transparent);
	box-shadow: 0 8px 24px -6px color-mix(in srgb, var(--gm-primary) 20%, transparent);
}

.gm-empty-orders-title {
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--gm-text);
	margin: 0 0 8px;
}

.gm-empty-orders-sub {
	font-size: 14px;
	line-height: 1.55;
	color: var(--gm-muted);
	max-width: 440px;
	margin: 0 0 24px;
}

.gm-empty-orders-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 28px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--gm-primary), color-mix(in srgb, var(--gm-primary) 70%, var(--gm-accent)));
	color: #ffffff !important;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 8px 22px -6px color-mix(in srgb, var(--gm-primary) 60%, transparent);
	transition: transform .15s ease, box-shadow .2s ease;
}

.gm-empty-orders-btn:hover {
	transform: translateY(-1.5px);
	box-shadow: 0 12px 28px -6px color-mix(in srgb, var(--gm-primary) 70%, transparent);
	color: #ffffff !important;
}

/* Order details table (view-order page) */
.woocommerce-account .woocommerce-table--order-details {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	overflow: hidden;
	box-shadow: 0 8px 28px -16px rgba(15, 23, 42, .12);
	width: 100% !important;
	table-layout: auto;
}
.woocommerce-account .woocommerce-table--order-details thead th {
	background: color-mix(in srgb, var(--gm-bg-b) 50%, transparent);
	color: var(--gm-muted); font-weight: 700; font-size: 11.5px;
	text-transform: uppercase; letter-spacing: .04em;
	padding: 12px 16px; border-bottom: 1px solid var(--gm-card-brd);
	text-align: left;
}
.woocommerce-account .woocommerce-table--order-details thead th.product-total,
.woocommerce-account .woocommerce-table--order-details thead th:last-child {
	text-align: right !important;
}
.woocommerce-account .woocommerce-table--order-details tbody td,
.woocommerce-account .woocommerce-table--order-details tfoot td,
.woocommerce-account .woocommerce-table--order-details tfoot th {
	padding: 12px 16px; border-top: 1px solid var(--gm-card-brd);
	color: var(--gm-text); font-size: 14px;
}
.woocommerce-account .woocommerce-table--order-details tbody td.product-name,
.woocommerce-account .woocommerce-table--order-details .product-name {
	word-break: break-word !important;
	overflow-wrap: anywhere !important;
}
.woocommerce-account .woocommerce-table--order-details tbody td.product-total,
.woocommerce-account .woocommerce-table--order-details tbody td:last-child {
	text-align: right !important;
	white-space: nowrap !important;
	width: 1%;
}
.woocommerce-account .woocommerce-table--order-details tfoot th {
	text-align: left !important;
	white-space: nowrap !important;
}
.woocommerce-account .woocommerce-table--order-details tfoot td {
	text-align: right !important;
}
.gm-tracking-details-wrap .woocommerce-order-details table.woocommerce-table--order-details {
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	background: transparent !important;
}

/* ---- Account forms (edit-account, addresses) ---- */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	border-radius: var(--gm-radius);
	padding: 28px;
	box-shadow: 0 8px 28px -16px rgba(15, 23, 42, .12);
}
.woocommerce-account .woocommerce-EditAccountForm label,
.woocommerce-account .woocommerce-address-fields label,
.woocommerce-account .woocommerce-form-row label {
	font-size: 13px;
	font-weight: 600;
	color: var(--gm-text);
	margin-bottom: 7px;
	display: block;
}
.woocommerce-account .woocommerce-EditAccountForm input,
.woocommerce-account .woocommerce-address-fields input,
.woocommerce-account .woocommerce-EditAccountForm select,
.woocommerce-account .woocommerce-address-fields select {
	padding: 11px 14px;
	border: 1px solid var(--gm-card-brd);
	border-radius: 10px;
	background: rgba(255,255,255,.65);
	color: var(--gm-text);
	font: inherit;
	font-size: 14.5px;
	width: 100%;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.woocommerce-account .woocommerce-EditAccountForm input:focus,
.woocommerce-account .woocommerce-address-fields input:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--gm-primary) 50%, transparent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gm-primary) 12%, transparent);
	background: #fff;
}

/* Notices */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info {
	border-radius: var(--gm-radius);
	padding: 14px 18px 14px 16px;
	font-size: 14px;
	margin-bottom: 20px;
	background: var(--gm-card);
	border: 1px solid var(--gm-card-brd);
	position: relative;
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 8px 28px -16px rgba(15, 23, 42, .12);
}
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-error::before,
.woocommerce-account .woocommerce-info::before {
	content: '';
	position: absolute;
	left: 0; top: 10%; bottom: 10%;
	width: 4px;
	border-radius: 2px;
}
.woocommerce-account .woocommerce-message { color: #15803d; }
.woocommerce-account .woocommerce-message::before { background: #22c55e; }
.woocommerce-account .woocommerce-error   { color: #b91c1c; }
.woocommerce-account .woocommerce-error::before   { background: #ef4444; }
.woocommerce-account .woocommerce-info    { color: var(--gm-primary); }
.woocommerce-account .woocommerce-info::before    { background: var(--gm-primary); }
.woocommerce-account .woocommerce-message a,
.woocommerce-account .woocommerce-error a,
.woocommerce-account .woocommerce-info a { font-weight: 600; text-decoration: underline; }

/* ---- Wallet plugin — override all plugin styles ---- */
/* ---- Wallet plugin — Executive Design System ---- */
.woocommerce-account .woo-wallet-my-wallet-container,
.woo-wallet-my-wallet-container {
	--wbg: #ffffff;
	--wbrd: var(--gm-card-brd);
	--wpri: var(--gm-primary);
	--wtxt: var(--gm-text);
	--wmut: var(--gm-muted);
	--wrad: var(--gm-radius);
	width: 100%;
}

/* Hide legacy wallet elements */
.woocommerce-account .woo-wallet-header,
.woocommerce-account .woo-wallet-top-section,
.woocommerce-account span.woo-wallet-icon-wallet {
	display: none !important;
}

/* ── Executive Wallet Hero Card ── */
.gm-wallet-hero-card {
	background: #ffffff !important;
	border: 1px solid var(--wbrd) !important;
	border-radius: var(--wrad) !important;
	box-shadow: 0 8px 32px -12px rgba(15, 23, 42, .09), 0 0 0 1px rgba(255, 255, 255, .8) inset !important;
	margin-bottom: 24px !important;
	position: relative !important;
	overflow: hidden !important;
}
.gm-wallet-hero-card::before {
	content: '' !important;
	position: absolute !important;
	inset: 0 0 auto !important;
	height: 3.5px !important;
	background: linear-gradient(90deg, var(--wpri), var(--gm-accent), var(--wpri)) !important;
}

.gm-wallet-hero-inner {
	padding: 24px 28px 22px;
}
@media (max-width: 600px) {
	.gm-wallet-hero-inner { padding: 18px 16px 16px !important; }
}

.gm-wallet-hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.gm-wallet-badge-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gm-wallet-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--wtxt);
	background: rgba(15, 23, 42, .04);
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, .07);
}
.gm-wallet-chip svg {
	color: var(--wpri);
}

.gm-wallet-status-dot-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #16a34a;
	background: rgba(22, 163, 74, .08);
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(22, 163, 74, .2);
}

.gm-wallet-live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #16a34a;
	animation: gm-pulse-dot 2s ease-in-out infinite;
}

.gm-wallet-account-user {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--wmut);
}

.gm-wallet-balance-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.gm-wallet-label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--wmut);
	display: block;
	margin-bottom: 4px;
}

.gm-wallet-amount-display {
	font-size: clamp(2rem, 4.5vw, 2.75rem);
	font-weight: 800;
	color: var(--wtxt);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.gm-wallet-amount-display .woocommerce-Price-currencySymbol {
	font-size: 0.6em;
	font-weight: 600;
	opacity: 0.65;
	margin-left: 2px;
}

.gm-wallet-quick-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
@media (max-width: 600px) {
	.gm-wallet-balance-row {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 14px !important;
	}
	.gm-wallet-quick-actions {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 10px !important;
		width: 100% !important;
	}
	.gm-wallet-hero-btn {
		justify-content: center !important;
		width: 100% !important;
		box-sizing: border-box !important;
		text-align: center !important;
		padding: 10px 14px !important;
		font-size: 13px !important;
	}
}

.gm-wallet-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform .15s ease, box-shadow .2s ease;
	cursor: pointer;
}
.gm-wallet-hero-btn--primary {
	background: linear-gradient(110deg, var(--wpri) 0%, color-mix(in srgb, var(--gm-accent) 90%, var(--wpri)) 50%, var(--wpri) 100%);
	color: #ffffff !important;
	box-shadow: 0 4px 14px -3px color-mix(in srgb, var(--wpri) 60%, transparent);
}
.gm-wallet-hero-btn--primary:hover {
	transform: translateY(-1.5px);
	box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--wpri) 70%, transparent);
	color: #ffffff !important;
}

.gm-wallet-hero-btn--secondary {
	background: rgba(15, 23, 42, .04);
	color: var(--wtxt) !important;
	border: 1.5px solid var(--wbrd);
}
.gm-wallet-hero-btn--secondary:hover {
	transform: translateY(-1.5px);
	background: #ffffff;
	border-color: rgba(15, 23, 42, .18);
	color: var(--wtxt) !important;
}

/* ── Segmented Navigation Bar ── */
.gm-wallet-nav-bar {
	border-top: 1px solid var(--wbrd);
	background: rgba(15, 23, 42, .015);
	padding: 10px 24px;
}
@media (max-width: 600px) {
	.gm-wallet-nav-bar {
		padding: 8px 12px !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
		scrollbar-width: none !important;
	}
	.gm-wallet-nav-bar::-webkit-scrollbar {
		display: none !important;
	}
	.gm-wallet-nav-pills {
		flex-wrap: nowrap !important;
		width: max-content !important;
		gap: 6px !important;
	}
	.gm-wallet-nav-pill {
		white-space: nowrap !important;
		flex-shrink: 0 !important;
		padding: 7px 14px !important;
		font-size: 12.5px !important;
	}
}

.gm-wallet-nav-pills {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.gm-wallet-nav-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wmut);
	text-decoration: none !important;
	transition: all .18s ease;
	border: 1px solid transparent;
}
.gm-wallet-nav-pill:hover {
	color: var(--wtxt);
	background: rgba(255, 255, 255, .8);
}
.gm-wallet-nav-pill.is-active {
	background: #ffffff;
	color: var(--wpri);
	font-weight: 700;
	box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .08);
	border-color: rgba(15, 23, 42, .08);
}
.gm-wallet-nav-pill svg,
.gm-wallet-nav-pill .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
}

/* ── Content Area Card ── */
.woocommerce-account .woo-wallet-content-area,
.gm-wallet-content-area {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

/* ── Stat Cards Grid (Overview) ── */
.woo-wallet-stats-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px !important;
	margin-bottom: 24px !important;
}
@media (max-width: 768px) {
	.woo-wallet-stats-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}
}

.woo-wallet-stat-card {
	background: #ffffff !important;
	border: 1px solid var(--wbrd) !important;
	border-radius: var(--wrad) !important;
	padding: 20px 22px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	box-shadow: 0 4px 18px -6px rgba(15, 23, 42, .06) !important;
	transition: transform .2s ease, box-shadow .2s ease !important;
	position: relative !important;
	overflow: hidden !important;
}
.woo-wallet-stat-card:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .12) !important;
}

.woo-wallet-stat-card__icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}
.woo-wallet-stat-card--brand .woo-wallet-stat-card__icon,
.woo-wallet-stat-card:nth-child(1) .woo-wallet-stat-card__icon {
	background: rgba(34, 197, 94, .12);
	color: #16a34a;
}
.woo-wallet-stat-card:nth-child(2) .woo-wallet-stat-card__icon {
	background: rgba(239, 68, 68, .12);
	color: #dc2626;
}
.woo-wallet-stat-card:nth-child(3) .woo-wallet-stat-card__icon {
	background: rgba(234, 88, 12, .12);
	color: var(--wpri);
}

.woo-wallet-stat-card__value {
	font-size: 1.45rem !important;
	font-weight: 800 !important;
	color: var(--wtxt) !important;
	line-height: 1.2 !important;
	letter-spacing: -0.01em !important;
}
.woo-wallet-stat-card__value .woocommerce-Price-currencySymbol {
	font-size: .6em;
	opacity: .6;
	margin-left: 2px;
}

.woo-wallet-stat-card__label {
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .04em !important;
	color: var(--wmut) !important;
}

/* ── Recent Transactions Card (Overview) ── */
.woo-wallet-transactions-list {
	background: #ffffff !important;
	border: 1px solid var(--wbrd) !important;
	border-radius: var(--wrad) !important;
	padding: 24px !important;
	box-shadow: 0 4px 18px -6px rgba(15, 23, 42, .06) !important;
}

.ww-txn-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--wbrd);
}

.ww-txn-title {
	font-size: 1.15rem !important;
	font-weight: 800 !important;
	color: var(--wtxt) !important;
	margin: 0 !important;
}

.ww-txn-meta {
	font-size: 12px;
	font-weight: 700;
	color: var(--wmut);
	background: rgba(15, 23, 42, .05);
	padding: 4px 10px;
	border-radius: 999px;
}

.ww-txn-table {
	display: table !important;
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

.ww-txn-row {
	display: table-row !important;
	transition: background .15s ease;
}
.ww-txn-row:not(.ww-txn-row--head):hover {
	background: rgba(15, 23, 42, .02);
}

.ww-txn-cell {
	display: table-cell !important;
	padding: 14px 16px !important;
	vertical-align: middle !important;
	border-bottom: 1px solid color-mix(in srgb, var(--wbrd) 60%, transparent) !important;
	font-size: 13.5px !important;
	color: var(--wtxt) !important;
}
.ww-txn-row--head .ww-txn-cell {
	font-size: 11.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .05em !important;
	color: var(--wmut) !important;
	background: rgba(15, 23, 42, .02) !important;
	border-bottom: 1.5px solid var(--wbrd) !important;
}

.ww-txn-cell--amount {
	text-align: right !important;
	font-weight: 700 !important;
	font-size: 14px !important;
}
.ww-txn-cell--amount.is-debit {
	color: #dc2626 !important;
}
.ww-txn-cell--amount.is-credit {
	color: #16a34a !important;
}

/* Badges for transaction categories */
.ww-badge {
	display: inline-flex !important;
	align-items: center !important;
	padding: 3px 10px !important;
	border-radius: 999px !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	text-transform: capitalize !important;
}
.ww-badge--danger {
	background: rgba(239, 68, 68, .1) !important;
	color: #dc2626 !important;
	border: 1px solid rgba(239, 68, 68, .2) !important;
}
.ww-badge--brand,
.ww-badge--success {
	background: rgba(34, 197, 94, .1) !important;
	color: #16a34a !important;
	border: 1px solid rgba(34, 197, 94, .2) !important;
}
.ww-badge--accent {
	background: rgba(168, 85, 247, .1) !important;
	color: #9333ea !important;
	border: 1px solid rgba(168, 85, 247, .2) !important;
}

/* ── Recent Transactions Feed (Dual-Mode: Desktop Table / Mobile Cards) ── */
.gm-txn-mobile-feed {
	display: none !important;
}

@media (max-width: 767px) {
	.woo-wallet-my-wallet-container .woo-wallet-transactions-list {
		padding: 0 !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
	}
	.ww-txn-head {
		margin-bottom: 12px !important;
		padding-bottom: 8px !important;
	}
	.ww-txn-table--desktop {
		display: none !important;
	}
	.gm-txn-mobile-feed {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		width: 100% !important;
	}
}

/* ── Top Up Page Studio (2-Column) ── */
.gm-topup-layout {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 22px;
	align-items: start;
}
@media (max-width: 860px) {
	.gm-topup-layout {
		grid-template-columns: 1fr;
	}
}

.gm-topup-card,
.gm-topup-info-card {
	background: #ffffff !important;
	border: 1px solid var(--wbrd) !important;
	border-radius: var(--wrad) !important;
	padding: 26px 28px !important;
	box-shadow: 0 4px 18px -6px rgba(15, 23, 42, .06) !important;
}
@media (max-width: 600px) {
	.gm-topup-card,
	.gm-topup-info-card { padding: 20px 18px !important; }
}

.gm-topup-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--wbrd);
}

.gm-topup-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--wpri) 12%, #fff);
	color: var(--wpri);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1.5px solid color-mix(in srgb, var(--wpri) 22%, transparent);
}

.gm-topup-title {
	font-size: 1.2rem !important;
	font-weight: 800 !important;
	color: var(--wtxt) !important;
	margin: 0 0 3px !important;
}
.gm-topup-sub {
	font-size: 13px !important;
	color: var(--wmut) !important;
	margin: 0 !important;
}

.gm-topup-field-wrap {
	margin-bottom: 20px;
}

.gm-topup-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 700;
	color: var(--wtxt);
	margin-bottom: 8px;
}
.gm-topup-limits {
	font-size: 12px;
	color: var(--wmut);
	font-weight: 500;
}

.gm-topup-input-container {
	position: relative;
	display: flex;
	align-items: center;
}

.gm-topup-currency-prefix {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 800;
	color: var(--wpri);
	pointer-events: none;
}

.gm-topup-input {
	width: 100% !important;
	padding: 14px 18px 14px 44px !important;
	font-size: 26px !important;
	font-weight: 800 !important;
	color: var(--wtxt) !important;
	background: #ffffff !important;
	border: 2px solid var(--wbrd) !important;
	border-radius: 14px !important;
	outline: none !important;
	transition: border-color .2s ease, box-shadow .2s ease !important;
	box-sizing: border-box !important;
}
.gm-topup-input:focus {
	border-color: var(--wpri) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wpri) 14%, transparent) !important;
}

/* Quick Amount Presets */
.gm-topup-presets-wrap {
	margin-bottom: 24px;
}
.gm-topup-presets-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--wmut);
	margin-bottom: 10px;
}
.gm-topup-presets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
@media (max-width: 480px) {
	.gm-topup-presets { grid-template-columns: repeat(2, 1fr); }
}

.gm-preset-btn {
	padding: 10px 12px;
	background: rgba(15, 23, 42, .03);
	border: 1.5px solid var(--wbrd);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	color: var(--wtxt);
	cursor: pointer;
	transition: all .16s ease;
	text-align: center;
}
.gm-preset-btn:hover {
	border-color: var(--wpri);
	background: #ffffff;
	transform: translateY(-1px);
}
.gm-preset-btn.is-selected {
	background: color-mix(in srgb, var(--wpri) 10%, #fff) !important;
	border-color: var(--wpri) !important;
	color: var(--wpri) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpri) 14%, transparent) !important;
}

.gm-topup-submit-btn {
	width: 100% !important;
	padding: 14px 24px !important;
	border-radius: 999px !important;
	background: linear-gradient(110deg, var(--wpri) 0%, color-mix(in srgb, var(--gm-accent) 90%, var(--wpri)) 50%, var(--wpri) 100%) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	border: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	cursor: pointer !important;
	box-shadow: 0 6px 20px -4px color-mix(in srgb, var(--wpri) 65%, transparent) !important;
	transition: transform .15s ease, box-shadow .2s ease !important;
}
.gm-topup-submit-btn:hover {
	transform: translateY(-1.5px) !important;
	box-shadow: 0 10px 26px -4px color-mix(in srgb, var(--wpri) 75%, transparent) !important;
	color: #fff !important;
}

/* Right Column Benefits Card */
.gm-topup-info-title {
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	color: var(--wtxt) !important;
	margin: 0 0 18px !important;
}

.gm-topup-benefits {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 24px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
}
.gm-topup-benefits li {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
}
.gm-benefit-icon {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}
.gm-benefit-icon--green { background: rgba(34, 197, 94, .12); color: #16a34a; }
.gm-benefit-icon--orange { background: rgba(234, 88, 12, .12); color: var(--wpri); }
.gm-benefit-icon--blue { background: rgba(59, 130, 246, .12); color: #3b82f6; }

.gm-topup-benefits strong {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--wtxt);
	margin-bottom: 2px;
}
.gm-topup-benefits p {
	font-size: 12.5px !important;
	color: var(--wmut) !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}

.gm-topup-supported-gateways {
	border-top: 1px solid var(--wbrd);
	padding-top: 18px;
	text-align: center;
}
.gm-gateways-label {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--wmut);
	margin-bottom: 10px;
}
.gm-gateways-img {
	height: 34px;
	width: auto;
	margin: 0 auto;
	display: block;
}

/* ── Statement Page Enhancements ── */
.woo-wallet-statement {
	background: #ffffff !important;
	border: 1px solid var(--wbrd) !important;
	border-radius: var(--wrad) !important;
	padding: 24px 28px !important;
	box-shadow: 0 4px 18px -6px rgba(15, 23, 42, .06) !important;
}
@media (max-width: 600px) {
	.woo-wallet-statement { padding: 18px 16px !important; }
}

.ww-stmt-masthead {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 14px !important;
	margin-bottom: 22px !important;
	padding-bottom: 16px !important;
	border-bottom: 1px solid var(--wbrd) !important;
}

.ww-stmt-title {
	font-size: 1.25rem !important;
	font-weight: 800 !important;
	color: var(--wtxt) !important;
	margin: 0 0 4px !important;
}
.ww-stmt-period {
	font-size: 13px !important;
	color: var(--wmut) !important;
	margin: 0 !important;
}

.ww-stmt-actions {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

.ww-stmt-ghost {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 8px 16px !important;
	border-radius: 999px !important;
	border: 1.5px solid var(--wbrd) !important;
	background: #ffffff !important;
	color: var(--wtxt) !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	text-decoration: none !important;
	transition: all .15s ease !important;
}
.ww-stmt-ghost:hover {
	border-color: rgba(15, 23, 42, .2) !important;
	background: rgba(15, 23, 42, .03) !important;
	transform: translateY(-1px) !important;
}

.woo-wallet-my-wallet-container .ww-stmt-filter,
.ww-stmt-filter {
	display: flex !important;
	align-items: flex-end !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
	background: rgba(15, 23, 42, .02) !important;
	padding: 16px 18px !important;
	border-radius: 12px !important;
	border: 1px solid var(--wbrd) !important;
	margin-bottom: 20px !important;
}
.woo-wallet-my-wallet-container .ww-stmt-field,
.ww-stmt-field {
	gap: 10px !important;
}
.ww-stmt-field label {
	display: block !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .04em !important;
	color: var(--wmut) !important;
	margin-bottom: 5px !important;
}
.ww-stmt-field input[type="date"] {
	padding: 9px 12px !important;
	border: 1.5px solid var(--wbrd) !important;
	border-radius: 9px !important;
	background: #ffffff !important;
	font-size: 13.5px !important;
	font-family: inherit !important;
	color: var(--wtxt) !important;
}
.ww-stmt-apply {
	padding: 10px 22px !important;
	border-radius: 999px !important;
	background: linear-gradient(110deg, var(--wpri) 0%, color-mix(in srgb, var(--gm-accent) 90%, var(--wpri)) 50%, var(--wpri) 100%) !important;
	color: #fff !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	border: 0 !important;
	cursor: pointer !important;
	box-shadow: 0 4px 12px -3px color-mix(in srgb, var(--wpri) 60%, transparent) !important;
	transition: transform .15s ease !important;
}
.ww-stmt-apply:hover {
	transform: translateY(-1px) !important;
}

/* Statement Equation Strip */
.ww-stmt-equation {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	list-style: none !important;
	padding: 14px 20px !important;
	margin: 0 0 24px !important;
	background: rgba(15, 23, 42, .025) !important;
	border: 1px solid var(--wbrd) !important;
	border-radius: 12px !important;
	flex-wrap: wrap !important;
}
.ww-stmt-term {
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
}
.ww-stmt-term-label {
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .04em !important;
	color: var(--wmut) !important;
}
.ww-stmt-term-value {
	font-size: 1.25rem !important;
	font-weight: 800 !important;
	color: var(--wtxt) !important;
}
.ww-stmt-term-value.is-credit {
	color: #16a34a !important;
}
.ww-stmt-term-value.is-debit {
	color: #dc2626 !important;
}
.ww-stmt-term.is-closing .ww-stmt-term-value {
	color: var(--wpri) !important;
}
.ww-stmt-op {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: var(--wmut) !important;
}

/* Statement Table */
table.ww-stmt-table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 1px solid var(--wbrd) !important;
	border-radius: 12px !important;
	overflow: hidden !important;
}
table.ww-stmt-table th {
	background: rgba(15, 23, 42, .03) !important;
	padding: 12px 14px !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .04em !important;
	color: var(--wmut) !important;
	border-bottom: 1px solid var(--wbrd) !important;
}
table.ww-stmt-table td {
	padding: 12px 14px !important;
	font-size: 13.5px !important;
	color: var(--wtxt) !important;
	border-bottom: 1px solid color-mix(in srgb, var(--wbrd) 60%, transparent) !important;
}
table.ww-stmt-table tr:last-child td {
	border-bottom: 0 !important;
}
table.ww-stmt-table td.is-credit {
	color: #16a34a !important;
	font-weight: 700 !important;
}
table.ww-stmt-table td.is-debit {
	color: #dc2626 !important;
	font-weight: 700 !important;
}
table.ww-stmt-table td.ww-stmt-running {
	font-weight: 800 !important;
}

/* Statement Badges & Amount formatting */
.ww-stmt-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	line-height: 1.1;
}
.ww-stmt-badge--credit {
	background: rgba(34, 197, 94, .12);
	color: #16a34a;
}
.ww-stmt-badge--debit {
	background: rgba(239, 68, 68, .12);
	color: #dc2626;
}
span.ww-stmt-bal-prefix {
	display: none;
}

/* Mobile feed hidden on desktop */
.gm-stmt-mobile-feed {
	display: none !important;
}

/* Statement Mobile View: Executive Card Feed with Zero Horizontal Overflow */
@media (max-width: 767px) {
	.gm-wallet-quick-actions {
		display: none !important;
	}
	.ww-stmt-masthead {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 12px !important;
		margin-bottom: 16px !important;
	}
	.ww-stmt-actions {
		width: 100% !important;
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 8px !important;
	}
	.ww-stmt-ghost {
		width: 100% !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		padding: 9px 10px !important;
		font-size: 12px !important;
		white-space: nowrap !important;
	}
	.ww-stmt-filter {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		padding: 14px !important;
		border-radius: 14px !important;
		background: rgba(15, 23, 42, .02) !important;
		border: 1px solid var(--wbrd) !important;
		margin-bottom: 16px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	.woo-wallet-my-wallet-container .ww-stmt-field,
	.ww-stmt-field {
		width: 100% !important;
		box-sizing: border-box !important;
		gap: 10px !important;
	}
	.ww-stmt-field label {
		font-size: 11px !important;
		margin-bottom: 4px !important;
	}
	.ww-stmt-field input[type="date"] {
		width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		font-size: 13.5px !important;
		padding: 9px 12px !important;
		background: #ffffff !important;
	}
	.ww-stmt-apply {
		width: 100% !important;
		text-align: center !important;
		padding: 11px 16px !important;
		border-radius: 10px !important;
		font-size: 13.5px !important;
		margin-top: 2px !important;
		box-sizing: border-box !important;
	}

	/* Summary Cards: 2x2 Grid on Mobile with proper sizing so numbers NEVER cut off */
	.ww-stmt-equation {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 8px !important;
		padding: 12px !important;
		margin: 0 0 16px !important;
		border-radius: 14px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	.ww-stmt-op {
		display: none !important;
	}
	.ww-stmt-term {
		background: #ffffff !important;
		border: 1px solid var(--wbrd) !important;
		border-radius: 12px !important;
		padding: 10px 10px !important;
		box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.04) !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}
	.ww-stmt-term-label {
		font-size: 10.5px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: .04em !important;
		color: var(--wmut) !important;
		margin-bottom: 2px !important;
		white-space: nowrap !important;
	}
	.ww-stmt-term-value {
		font-size: clamp(0.85rem, 3.4vw, 1.1rem) !important;
		font-weight: 800 !important;
		line-height: 1.25 !important;
		display: block !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}
	.ww-stmt-term-value .woocommerce-Price-amount {
		display: inline-block !important;
		max-width: 100% !important;
	}
	.ww-stmt-term-value .woocommerce-Price-currencySymbol {
		font-size: 0.8em !important;
		opacity: 0.8 !important;
	}
	.ww-stmt-term.is-closing {
		grid-column: span 2 !important;
		background: color-mix(in srgb, var(--wpri) 6%, #ffffff) !important;
		border-color: color-mix(in srgb, var(--wpri) 35%, var(--wbrd)) !important;
	}

	/* ── Statement: Hide Desktop Table on Mobile ── */
	.ww-stmt-tablewrap {
		display: none !important;
	}

	/* ── Mobile App-Style Transaction Feed ── */
	.gm-stmt-mobile-feed {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		width: 100% !important;
		margin-bottom: 20px !important;
	}

	/* Opening & Closing Balance Banners */
	.gm-stmt-m-rule {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 13px 16px !important;
		border-radius: 12px !important;
		box-sizing: border-box !important;
		width: 100% !important;
	}
	.gm-stmt-m-rule--opening {
		background: #f8fafc !important;
		border: 1.5px dashed #cbd5e1 !important;
	}
	.gm-stmt-m-rule--closing {
		background: color-mix(in srgb, var(--wpri) 5%, #ffffff) !important;
		border: 1.5px solid color-mix(in srgb, var(--wpri) 30%, #e2e8f0) !important;
	}
	.gm-stmt-m-rule-label {
		font-size: 11.5px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: .04em !important;
		color: #64748b !important;
	}
	.gm-stmt-m-rule--closing .gm-stmt-m-rule-label {
		color: var(--wtxt) !important;
	}
	.gm-stmt-m-rule-value {
		font-size: 14.5px !important;
		font-weight: 800 !important;
		color: var(--wtxt) !important;
		white-space: nowrap !important;
	}
	.gm-stmt-m-rule--closing .gm-stmt-m-rule-value {
		font-size: 15.5px !important;
		color: var(--wpri) !important;
	}

	/* Shared Mobile Transaction Card (Statement & Recent Transactions) */
	.gm-stmt-m-list {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		width: 100% !important;
	}

	.gm-stmt-m-card {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		padding: 14px 16px !important;
		background: #ffffff !important;
		border: 1px solid rgba(15, 23, 42, 0.08) !important;
		border-radius: 14px !important;
		box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04) !important;
		box-sizing: border-box !important;
		width: 100% !important;
		transition: border-color .15s ease, box-shadow .15s ease !important;
	}
	.gm-stmt-m-card:hover {
		border-color: color-mix(in srgb, var(--wpri) 35%, rgba(15, 23, 42, 0.12)) !important;
		box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08) !important;
	}

	/* Directional SVG Icon */
	.gm-stmt-m-icon {
		width: 38px !important;
		height: 38px !important;
		border-radius: 10px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex-shrink: 0 !important;
	}
	.gm-stmt-m-card.is-credit .gm-stmt-m-icon {
		background: #ecfdf5 !important;
		color: #16a34a !important;
		border: 1px solid #d1fae5 !important;
	}
	.gm-stmt-m-card.is-debit .gm-stmt-m-icon {
		background: #fef2f2 !important;
		color: #dc2626 !important;
		border: 1px solid #fee2e2 !important;
	}

	/* Middle Info Column: Title & Meta */
	.gm-stmt-m-info {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 4px !important;
	}
	.gm-stmt-m-title {
		font-size: 13.5px !important;
		font-weight: 700 !important;
		color: #0f172a !important;
		line-height: 1.35 !important;
		word-break: break-word !important;
	}
	.gm-stmt-m-meta {
		display: flex !important;
		align-items: center !important;
		gap: 6px !important;
		flex-wrap: wrap !important;
	}
	.gm-stmt-m-chip {
		display: inline-flex !important;
		align-items: center !important;
		padding: 2px 7px !important;
		border-radius: 5px !important;
		font-size: 10px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: .03em !important;
		line-height: 1.3 !important;
	}
	.gm-stmt-m-chip--credit {
		background: #f0fdf4 !important;
		color: #15803d !important;
	}
	.gm-stmt-m-chip--debit {
		background: #fef2f2 !important;
		color: #b91c1c !important;
	}
	.gm-stmt-m-date {
		font-size: 11px !important;
		color: #94a3b8 !important;
		font-weight: 500 !important;
		white-space: nowrap !important;
	}

	/* Right Column: Amount & Running Balance (Never Cut Off) */
	.gm-stmt-m-figures {
		flex-shrink: 0 !important;
		text-align: right !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-end !important;
		gap: 3px !important;
	}
	.gm-stmt-m-amount {
		font-size: 15px !important;
		font-weight: 800 !important;
		white-space: nowrap !important;
		letter-spacing: -0.01em !important;
	}
	.gm-stmt-m-amount.credit {
		color: #16a34a !important;
	}
	.gm-stmt-m-amount.debit {
		color: #dc2626 !important;
	}
	.gm-stmt-m-balance {
		font-size: 11.5px !important;
		font-weight: 600 !important;
		color: #64748b !important;
		white-space: nowrap !important;
	}
	.gm-stmt-m-bal-lbl {
		font-weight: 500 !important;
		opacity: 0.75 !important;
	}

	/* Suppress any plugin pseudo-element injection */
	.ww-stmt-table td:before,
	.ww-stmt-table th:before,
	.ww-txn-table td:before,
	.ww-txn-table th:before {
		display: none !important;
		content: none !important;
	}
}
.woocommerce-account .woo-wallet-section-title {
	font-size: 16px !important; font-weight: 700 !important;
	margin: 0 0 14px !important; color: var(--wtxt) !important;
}

/* ---- Balance History — plain <table> ---- */
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-list {
	overflow: hidden !important; padding: 0 !important;
}
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table {
	width: 100% !important; min-width: 0 !important;
	border-collapse: collapse !important; border: 0 !important;
}
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table th {
	background: color-mix(in srgb, var(--gm-bg-b) 50%, transparent) !important;
	color: var(--wmut) !important; font-weight: 700 !important; font-size: 12px !important;
	padding: 12px 14px !important; border: 0 !important;
	border-bottom: 1px solid var(--wbrd) !important;
	text-align: left !important; text-transform: uppercase !important; letter-spacing: .04em !important;
}
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table td {
	padding: 12px 14px !important; border: 0 !important;
	border-bottom: 1px solid var(--wbrd) !important;
	color: var(--wtxt) !important; font-size: 14px !important;
	background: transparent !important;
}
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tr:last-child td { border-bottom: 0 !important; }
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tr { transition: background .15s ease; }
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tr:hover td { background: rgba(255,255,255,.45) !important; }
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table .amount { font-weight: 700 !important; white-space: nowrap !important; text-align: right !important; }
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table .debit  { color: #dc2626 !important; }
.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table .credit { color: #15803d !important; }

/* Balance History mobile — 2-line rows */
@media (max-width: 767px) {
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table {
		display: block !important; width: 100% !important;
		min-width: 0 !important; max-width: 100% !important;
		overflow: hidden !important;
	}
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table thead {
		display: none !important;
	}
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tbody {
		display: flex !important; flex-direction: column !important; width: 100% !important;
	}
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tbody tr {
		display: grid !important; width: 100% !important; max-width: 100% !important;
		grid-template-columns: 1fr auto;
		grid-template-areas: "date amount" "desc desc";
		gap: 2px 10px !important; padding: 10px 4px !important;
		align-items: baseline !important;
		border-bottom: 1px solid var(--wbrd) !important;
	}
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tbody tr:last-child { border-bottom: 0 !important; }
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tbody td {
		padding: 0 !important; border: 0 !important;
		display: block !important; width: auto !important;
		min-width: 0 !important; max-width: 100% !important;
	}
	/* Line 1 left: date */
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tbody td:nth-child(1) {
		grid-area: date !important; font-size: 12px !important;
		font-weight: 700 !important; color: var(--wtxt) !important;
	}
	/* Line 1 right: amount */
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tbody td:nth-child(3) {
		grid-area: amount !important; text-align: right !important;
		font-size: 13px !important; white-space: nowrap !important;
	}
	/* Line 2: description */
	.woocommerce-account .woo-wallet-my-wallet-container .woo-wallet-transactions-table tbody td:nth-child(2) {
		grid-area: desc !important; font-size: 12px !important;
		color: var(--wmut) !important;
		overflow: hidden !important; text-overflow: ellipsis !important;
		white-space: nowrap !important;
	}
}

/* ---- Transactions — Tabulator.js overrides ---- */

/* Filter controls */
.woocommerce-account .woo-wallet-table-controls {
	display: flex !important; align-items: center !important; gap: 8px !important;
	flex-wrap: wrap !important; margin-bottom: 14px !important;
}
.woocommerce-account .woo-wallet-table-controls input[type="date"] {
	border: 1px solid var(--wbrd) !important; border-radius: 8px !important;
	padding: 7px 10px !important; font-size: 13px !important;
	background: rgba(255,255,255,.6) !important; color: var(--wtxt) !important;
	font-family: inherit !important; flex: 1 !important; min-width: 0 !important;
}
.woocommerce-account .woo-wallet-filter-sep {
	color: var(--wmut) !important; font-size: 14px !important;
}
.woocommerce-account .wc-wallet-filter-clear {
	border: 1px solid var(--wbrd) !important; border-radius: 8px !important;
	padding: 6px 12px !important; background: var(--wbg) !important;
	color: var(--wmut) !important; font-size: 16px !important; cursor: pointer !important;
	line-height: 1 !important;
}

/* Tabulator container */
.woocommerce-account .tabulator {
	border: 0 !important; background: transparent !important;
	font-family: inherit !important; font-size: 14px !important;
	width: 100% !important; overflow: visible !important;
}
.woocommerce-account .woo-wallet-transactions-list {
	overflow: visible !important;
}

/* Tabulator header */
.woocommerce-account .tabulator .tabulator-header {
	background: color-mix(in srgb, var(--gm-bg-b) 50%, transparent) !important;
	border-bottom: 1px solid var(--wbrd) !important;
	color: var(--wmut) !important;
	overflow: visible !important; width: 100% !important;
}
.woocommerce-account .tabulator .tabulator-header-contents,
.woocommerce-account .tabulator .tabulator-headers {
	width: 100% !important; display: flex !important; overflow: visible !important;
}
.woocommerce-account .tabulator .tabulator-col {
	background: transparent !important; border: 0 !important;
	flex: 1 !important; width: auto !important; min-width: 0 !important;
}
.woocommerce-account .tabulator .tabulator-col .tabulator-col-title {
	font-size: 12px !important; font-weight: 700 !important;
	color: var(--wmut) !important; text-transform: uppercase !important;
	letter-spacing: .04em !important; padding: 10px 12px !important;
}
.woocommerce-account .tabulator .tabulator-col-resize-handle {
	display: none !important;
}

/* Tabulator rows */
.woocommerce-account .tabulator .tabulator-tableholder {
	overflow: visible !important; height: auto !important; width: 100% !important;
}
.woocommerce-account .tabulator .tabulator-table {
	width: 100% !important;
}
.woocommerce-account .tabulator .tabulator-row {
	background: transparent !important;
	border-bottom: 1px solid var(--wbrd) !important;
	min-height: auto !important;
	display: flex !important; width: 100% !important;
}
.woocommerce-account .tabulator .tabulator-row:last-child { border-bottom: 0 !important; }
.woocommerce-account .tabulator .tabulator-row:hover {
	background: rgba(255,255,255,.45) !important;
}
.woocommerce-account .tabulator .tabulator-cell {
	border: 0 !important; padding: 12px !important;
	color: var(--wtxt) !important; font-size: 14px !important;
	overflow: visible !important; text-overflow: unset !important;
	white-space: normal !important;
	flex: 1 !important; width: auto !important; min-width: 0 !important;
	height: auto !important;
}
.woocommerce-account .tabulator .tabulator-cell[tabulator-field="amount"] {
	text-align: right !important;
}
.woocommerce-account .tabulator .tabulator-responsive-collapse { display: none !important; }

/* Amount colors */
.woocommerce-account .tabulator mark.credit {
	background: none !important; color: #15803d !important;
	font-weight: 700 !important;
}
.woocommerce-account .tabulator mark.debit {
	background: none !important; color: #dc2626 !important;
	font-weight: 700 !important;
}

/* Tabulator footer / pagination */
.woocommerce-account .tabulator .tabulator-footer {
	background: transparent !important; border-top: 1px solid var(--wbrd) !important;
	padding: 10px 0 !important;
}
.woocommerce-account .tabulator .tabulator-footer .tabulator-paginator {
	display: flex !important; align-items: center !important;
	gap: 6px !important; flex-wrap: wrap !important; font-size: 13px !important;
	color: var(--wmut) !important;
}
.woocommerce-account .tabulator .tabulator-page-size {
	border: 1px solid var(--wbrd) !important; border-radius: 6px !important;
	padding: 4px 8px !important; font-size: 13px !important;
	background: rgba(255,255,255,.6) !important; color: var(--wtxt) !important;
}
.woocommerce-account .tabulator .tabulator-page {
	border: 1px solid var(--wbrd) !important; border-radius: 6px !important;
	padding: 4px 10px !important; background: var(--wbg) !important;
	color: var(--wtxt) !important; font-size: 12px !important; font-weight: 600 !important;
	cursor: pointer !important;
}
.woocommerce-account .tabulator .tabulator-page.active,
.woocommerce-account .tabulator .tabulator-page:hover:not([disabled]) {
	background: var(--wpri) !important; color: #fff !important;
	border-color: transparent !important;
}
.woocommerce-account .tabulator .tabulator-page[disabled] {
	opacity: .4 !important; cursor: default !important;
}

/* ---- Mobile: compact 2-line rows (Tabulator) ---- */
@media (max-width: 767px) {
	.woocommerce-account .woo-wallet-content-area { padding: 14px !important; }
	.woocommerce-account .woo-wallet-section-title { font-size: 14px !important; margin: 0 0 10px !important; }
	.woocommerce-account .woo-wallet-table-controls { margin-bottom: 10px !important; }

	/* Hide header + responsive collapse fallback + resize handles */
	.woocommerce-account .tabulator .tabulator-header { display: none !important; }
	.woocommerce-account .tabulator .tabulator-responsive-collapse { display: none !important; }
	.woocommerce-account .tabulator .tabulator-col-resize-handle { display: none !important; }
	.woocommerce-account .tabulator .tabulator-tableholder { height: auto !important; }

	/* Force ALL cells visible — Tabulator responsive hides date+amount via inline style */
	.woocommerce-account .tabulator .tabulator-cell {
		display: block !important;
		width: auto !important; height: auto !important;
		padding: 0 !important; flex: unset !important;
	}

	/* Row = 2-line grid */
	.woocommerce-account .tabulator .tabulator-row {
		display: grid !important;
		grid-template-columns: 1fr auto;
		grid-template-areas: "date amount" "details details";
		gap: 2px 10px !important;
		padding: 10px 4px !important;
		align-items: baseline !important;
		width: 100% !important;
	}
	/* Line 1 left: date */
	.woocommerce-account .tabulator .tabulator-cell[tabulator-field="date"] {
		grid-area: date !important;
		font-size: 12px !important; font-weight: 700 !important;
		color: var(--wtxt) !important;
	}
	/* Line 1 right: amount */
	.woocommerce-account .tabulator .tabulator-cell[tabulator-field="amount"] {
		grid-area: amount !important; text-align: right !important;
		font-size: 13px !important; white-space: nowrap !important;
	}
	/* Line 2: description (muted) */
	.woocommerce-account .tabulator .tabulator-cell[tabulator-field="details"] {
		grid-area: details !important;
		font-size: 12px !important; color: var(--wmut) !important;
		overflow: hidden !important; text-overflow: ellipsis !important;
		white-space: nowrap !important;
	}

	/* Pagination */
	.woocommerce-account .tabulator .tabulator-footer .tabulator-paginator {
		justify-content: center !important; font-size: 12px !important;
	}
	.woocommerce-account .tabulator .tabulator-page { padding: 3px 8px !important; font-size: 11px !important; }
}

/* ---- Wallet Topup / Transfer forms ---- */
.woocommerce-account .woo-wallet-form-wrapper {
	max-width: 420px !important;
}
.woocommerce-account .woo-wallet-add-amount {
	display: flex !important; flex-direction: column !important; gap: 12px !important;
}
.woocommerce-account .woo-wallet-add-amount label {
	font-size: 13px !important; font-weight: 700 !important;
	color: var(--wmut) !important; text-transform: uppercase !important;
	letter-spacing: .04em !important;
}
.woocommerce-account .woo-wallet-balance-to-add,
.woocommerce-account .woo-wallet-form-wrapper input[type="number"],
.woocommerce-account .woo-wallet-form-wrapper input[type="text"],
.woocommerce-account .woo-wallet-form-wrapper input[type="email"],
.woocommerce-account .woo-wallet-form-wrapper select,
.woocommerce-account .woo-wallet-form-wrapper textarea {
	width: 100% !important; box-sizing: border-box !important;
	border: 1px solid var(--wbrd) !important; border-radius: var(--wrad) !important;
	padding: 12px 16px !important; font-size: 16px !important;
	font-family: inherit !important; font-weight: 600 !important;
	color: var(--wtxt) !important;
	background: rgba(255,255,255,.6) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	backdrop-filter: blur(8px) !important;
	transition: border-color .2s ease, box-shadow .2s ease !important;
	outline: none !important;
}
.woocommerce-account .woo-wallet-balance-to-add:focus,
.woocommerce-account .woo-wallet-form-wrapper input:focus,
.woocommerce-account .woo-wallet-form-wrapper select:focus,
.woocommerce-account .woo-wallet-form-wrapper textarea:focus {
	border-color: var(--wpri) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpri) 15%, transparent) !important;
}
.woocommerce-account .woo-wallet-balance-to-add::placeholder {
	color: var(--wmut) !important; font-weight: 400 !important; opacity: .6 !important;
}
.woocommerce-account .woo-add-to-wallet,
.woocommerce-account .woo-wallet-form-wrapper input[type="submit"],
.woocommerce-account .woo-wallet-form-wrapper button[type="submit"] {
	width: 100% !important; box-sizing: border-box !important;
	padding: 13px 24px !important; border: 0 !important;
	border-radius: var(--wrad) !important;
	background: var(--wpri) !important; color: #fff !important;
	font-size: 14px !important; font-weight: 700 !important;
	font-family: inherit !important; letter-spacing: .02em !important;
	cursor: pointer !important;
	transition: background .2s ease, transform .15s ease, box-shadow .2s ease !important;
	box-shadow: 0 4px 16px -6px color-mix(in srgb, var(--wpri) 40%, transparent) !important;
}
.woocommerce-account .woo-add-to-wallet:hover,
.woocommerce-account .woo-wallet-form-wrapper input[type="submit"]:hover,
.woocommerce-account .woo-wallet-form-wrapper button[type="submit"]:hover {
	background: color-mix(in srgb, var(--wpri) 85%, #000) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--wpri) 50%, transparent) !important;
}
.woocommerce-account .woo-add-to-wallet:active,
.woocommerce-account .woo-wallet-form-wrapper input[type="submit"]:active,
.woocommerce-account .woo-wallet-form-wrapper button[type="submit"]:active {
	transform: translateY(0) !important;
}
