/* BM unified form fields + account login */

:root {
	--bm-field-h: 52px;
	--bm-field-radius: 18px;
	--bm-field-border: #e4e4e7;
	--bm-field-border-focus: #4f6fcf;
	--bm-field-text: #18181b;
	--bm-field-placeholder: #a1a1aa;
	--bm-field-bg: #fff;
	--bm-btn-bg: #4f6fcf;
	--bm-btn-bg-hover: #3d5cb8;
	--bm-btn-radius: 999px;
	--bm-btn-shadow: 0 10px 24px rgba(79, 111, 207, 0.24);
}

/* ========== Global unified inputs (sitewide) ========== */
html body.elementor-kit-11 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]):not([type="range"]):not([type="color"]),
html body.elementor-kit-11 textarea,
html body.elementor-kit-11 select,
html body.elementor-kit-11 .woocommerce .input-text,
html body.elementor-kit-11 .woocommerce input.input-text,
html body.elementor-kit-11 .woocommerce textarea,
html body.elementor-kit-11 .woocommerce select,
html body.elementor-kit-11 .elementor-field-textual,
html body.elementor-kit-11 .elementor-field.elementor-size-sm,
html body.elementor-kit-11 .elementor-field.elementor-size-md,
html body.elementor-kit-11 .elementor-field.elementor-size-lg,
html body.elementor-kit-11 .elementor-field.elementor-size-xl {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box !important;
	min-height: var(--bm-field-h) !important;
	height: auto !important;
	padding: 0 16px !important;
	border: 1px solid var(--bm-field-border) !important;
	border-radius: var(--bm-field-radius) !important;
	background: var(--bm-field-bg) !important;
	color: var(--bm-field-text) !important;
	font-family: "Yekan Bakh", Tahoma, "Segoe UI", Arial, sans-serif !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

html body.elementor-kit-11 textarea {
	min-height: 120px !important;
	padding: 14px 16px !important;
	resize: vertical;
}

html body.elementor-kit-11 select {
	padding-left: 36px !important;
	background-image: linear-gradient(45deg, transparent 50%, #71717a 50%),
		linear-gradient(135deg, #71717a 50%, transparent 50%) !important;
	background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px) !important;
	background-size: 6px 6px, 6px 6px !important;
	background-repeat: no-repeat !important;
}

html body.rtl.elementor-kit-11 select {
	padding-left: 16px !important;
	padding-right: 36px !important;
	background-position: 18px calc(50% - 3px), 12px calc(50% - 3px) !important;
}

html body.elementor-kit-11 input::placeholder,
html body.elementor-kit-11 textarea::placeholder,
html body.elementor-kit-11 .elementor-field-textual::placeholder {
	color: var(--bm-field-placeholder) !important;
	opacity: 1 !important;
}

html body.elementor-kit-11 input:focus,
html body.elementor-kit-11 textarea:focus,
html body.elementor-kit-11 select:focus,
html body.elementor-kit-11 .woocommerce .input-text:focus,
html body.elementor-kit-11 .elementor-field-textual:focus {
	border-color: var(--bm-field-border-focus) !important;
	box-shadow: 0 0 0 3px rgba(79, 111, 207, 0.15) !important;
}

/* Password + text must match exactly */
html body.elementor-kit-11 input[type="password"],
html body.elementor-kit-11 input[type="text"],
html body.elementor-kit-11 input[type="email"],
html body.elementor-kit-11 input[type="tel"],
html body.elementor-kit-11 input[type="number"],
html body.elementor-kit-11 input[type="search"],
html body.elementor-kit-11 input[type="url"] {
	min-height: var(--bm-field-h) !important;
	border-radius: var(--bm-field-radius) !important;
}

/* ========== Account page shell ========== */
.bm-account-login-page #bm-bottom-nav,
.bm-account-login-page .bm-bottom-nav,
.bm-account-login-page .bm-ticker {
	display: none !important;
}

.bm-account-login-page .bm-account-dashboard-ui {
	display: none !important;
}

.bm-account-page:not(.bm-account-login-page) .bm-account-login-ui {
	display: none !important;
}

.bm-account-shell.e-con,
.bm-account-shell {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	background: #f4f4f5 !important;
}

.bm-account-card.e-con,
.bm-account-card {
	width: 100%;
	max-width: 420px;
	margin-inline: auto;
	background: #fff !important;
	border-radius: 18px !important;
	box-shadow: 0 8px 30px rgba(24, 24, 27, 0.08);
	box-sizing: border-box;
}

.bm-account-back .elementor-icon-wrapper,
.bm-account-back a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #3f3f46 !important;
	text-decoration: none !important;
}

.bm-account-back svg {
	width: 18px;
	height: 18px;
}

/* Two-step login shortcode */
.bm-login {
	position: relative;
	width: 100%;
	font-family: "Yekan Bakh", Tahoma, "Segoe UI", Arial, sans-serif;
	direction: rtl;
	text-align: right;
}

.bm-login__header {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin-bottom: 16px;
}

.bm-login__back {
	position: absolute;
	top: 4px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	color: #3f3f46;
	text-decoration: none;
}

.bm-login__site-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	max-width: 150px;
	text-decoration: none;
}

.bm-login__site-logo img {
	display: block;
	width: auto;
	height: 44px;
	max-width: 150px;
	object-fit: contain;
}

.bm-login__title {
	margin: 0 0 8px;
	color: #18181b;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
}

.bm-login__hint {
	margin: 0 0 20px;
	color: #71717a;
	font-size: 14px;
	line-height: 1.7;
}

.bm-login__error {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid #fecaca;
	border-radius: 16px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 13px;
	line-height: 1.7;
}

.bm-login__error-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: #dc2626;
}

.bm-login__error-icon svg,
.bm-login__error-icon .lucide {
	width: 18px;
	height: 18px;
	stroke-width: 2;
}

.bm-login__error-text {
	flex: 1 1 auto;
	min-width: 0;
}

.bm-login__error.is-empty {
	display: none;
}

.bm-login__form {
	display: none;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.bm-login__form.is-active {
	display: flex;
}

.bm-login__input,
.bm-login input.bm-login__input {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	min-height: var(--bm-field-h) !important;
	height: var(--bm-field-h) !important;
	padding: 0 16px !important;
	border: 1px solid var(--bm-field-border) !important;
	border-radius: var(--bm-field-radius) !important;
	background: var(--bm-field-bg) !important;
	color: var(--bm-field-text) !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	outline: none !important;
	text-align: right;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.bm-login__input::placeholder {
	color: var(--bm-field-placeholder) !important;
	opacity: 1 !important;
}

.bm-login__input:focus {
	border-color: var(--bm-field-border-focus) !important;
	box-shadow: 0 0 0 3px rgba(79, 111, 207, 0.15) !important;
}

.bm-login__password-wrap {
	position: relative;
	width: 100%;
}

.bm-login__password-wrap .bm-login__input {
	padding-left: 62px !important;
}

.bm-login__toggle-pass,
html body.elementor-kit-11 .bm-login button.bm-login__toggle-pass {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 36px;
	min-height: 36px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #8b8f9c !important;
	box-shadow: none !important;
	cursor: pointer;
	z-index: 2;
	-webkit-appearance: none !important;
	appearance: none !important;
	transition: color 0.15s ease, opacity 0.15s ease;
}

.bm-login__toggle-pass:hover,
html body.elementor-kit-11 .bm-login button.bm-login__toggle-pass:hover {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #4f6fcf !important;
}

.bm-login__toggle-pass:focus {
	outline: none;
}

.bm-login__toggle-pass:focus-visible {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #4f6fcf !important;
	outline: 2px solid rgba(79, 111, 207, 0.35);
	outline-offset: 2px;
}

.bm-login__toggle-pass[aria-pressed="true"],
html body.elementor-kit-11 .bm-login button.bm-login__toggle-pass[aria-pressed="true"] {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #4f6fcf !important;
}

.bm-login__eye {
	display: block;
	width: 19px;
	height: 19px;
	stroke-width: 2;
	pointer-events: none;
}

.bm-login__eye--hide {
	display: none;
}

.bm-login__toggle-pass[aria-pressed="true"] .bm-login__eye--show {
	display: none;
}

.bm-login__toggle-pass[aria-pressed="true"] .bm-login__eye--hide {
	display: block;
}

.bm-login__submit,
html body.elementor-kit-11 .bm-login button.bm-login__submit,
html body.elementor-kit-11 .bm-login .bm-login__submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	width: 100% !important;
	min-height: 54px !important;
	height: 54px !important;
	margin: 2px 0 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: var(--bm-btn-radius) !important;
	background: linear-gradient(180deg, #5b7adf 0%, #4f6fcf 100%) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
	line-height: 1 !important;
	box-shadow: var(--bm-btn-shadow) !important;
	cursor: pointer;
	-webkit-appearance: none !important;
	appearance: none !important;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bm-login__submit svg,
.bm-login__submit .lucide,
.bm-login__submit [data-lucide] {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	stroke-width: 2.25;
	pointer-events: none;
}

.bm-login__submit [data-bm-btn-label] {
	display: inline-block;
}

.bm-login__submit:hover,
.bm-login__submit:focus,
html body.elementor-kit-11 .bm-login button.bm-login__submit:hover,
html body.elementor-kit-11 .bm-login button.bm-login__submit:focus {
	background: linear-gradient(180deg, #4f6fcf 0%, #3d5cb8 100%) !important;
	box-shadow: 0 12px 26px rgba(79, 111, 207, 0.28) !important;
	color: #fff !important;
}

.bm-login__submit:active {
	transform: translateY(1px);
	box-shadow: 0 6px 14px rgba(79, 111, 207, 0.2) !important;
}

.bm-login__submit:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(79, 111, 207, 0.22), var(--bm-btn-shadow) !important;
}

.bm-login__lost {
	margin: 0;
	text-align: center;
	font-size: 13px;
}

.bm-login__lost a {
	color: #71717a;
	text-decoration: none;
}

.bm-login__lost a:hover {
	color: var(--bm-btn-bg);
}

.bm-login[data-mode="login"] [data-bm-panel="register"],
.bm-login[data-mode="register"] [data-bm-panel="login"] {
	display: none;
}

.bm-login__switch {
	margin: 4px 0 0;
	color: #71717a;
	font-size: 13px;
	text-align: center;
}

.bm-login__switch a {
	color: #4f6fcf;
	font-weight: 700;
	text-decoration: none;
}

.bm-login__switch a:hover,
.bm-login__switch a:focus {
	color: #3d5cb8;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bm-login__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bm-login__submit.is-loading {
	opacity: 0.82;
	pointer-events: none;
}

@media (max-width: 480px) {
	.bm-login__submit,
	html body.elementor-kit-11 .bm-login button.bm-login__submit {
		min-height: 52px !important;
		height: 52px !important;
	}
}

/* WooCommerce lost/reset password inside the Elementor account card */
.bm-lost-password__content .woocommerce-ResetPassword,
.bm-lost-password__content .lost_reset_password {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}

.bm-lost-password__content .woocommerce-ResetPassword > p:first-child {
	display: none;
}

.bm-lost-password__content .form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.bm-lost-password__content label {
	display: block;
	margin: 0 0 7px;
	color: #3f3f46;
	font-size: 13px;
	font-weight: 600;
}

.bm-lost-password__content .required {
	color: #ef4444;
}

.bm-lost-password__content input.input-text {
	height: var(--bm-field-h) !important;
	text-align: right;
}

.bm-lost-password__content button.button,
.bm-lost-password__content .woocommerce-Button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 54px !important;
	margin: 2px 0 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: var(--bm-btn-radius) !important;
	background: linear-gradient(180deg, #5b7adf 0%, #4f6fcf 100%) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	box-shadow: var(--bm-btn-shadow) !important;
	cursor: pointer;
}

.bm-lost-password__content button.button:hover,
.bm-lost-password__content button.button:focus {
	background: linear-gradient(180deg, #4f6fcf 0%, #3d5cb8 100%) !important;
}

.bm-lost-password__content .clear {
	display: none;
}

.bm-lost-password__login-link {
	display: block;
	margin-top: 18px;
	color: #71717a;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
}

.bm-lost-password__login-link:hover,
.bm-lost-password__login-link:focus {
	color: var(--bm-btn-bg);
}

.bm-lost-password .woocommerce-password-strength,
.bm-lost-password .woocommerce-password-hint {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.7;
}

.bm-lost-password__content .woocommerce-message {
	margin: 0;
	padding: 14px;
	border: 1px solid #bbf7d0;
	border-radius: 12px;
	background: #f0fdf4;
	color: #166534;
	font-size: 13px;
	line-height: 1.8;
}

.bm-reset-sent {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

.bm-reset-sent__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 2px auto 18px;
	border: 1px solid #bbf7d0;
	border-radius: 50%;
	background: #f0fdf4;
	color: #16a34a;
	box-shadow: 0 8px 22px rgba(22, 163, 74, 0.12);
}

.bm-reset-sent__message {
	margin: 0;
	color: #27272a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.9;
	text-align: center;
}

.bm-reset-sent__tips {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 18px 0 20px;
	padding: 14px 16px !important;
	border: 1px solid #e4e4e7;
	border-radius: 12px;
	background: #fafafa;
	list-style: none !important;
}

.bm-reset-sent__tips li {
	position: relative;
	margin: 0;
	padding-right: 17px;
	color: #62626b;
	font-size: 12px;
	line-height: 1.75;
}

.bm-reset-sent__tips li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	right: 1px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #4f6fcf;
}

.bm-reset-sent__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	box-sizing: border-box;
	border-radius: var(--bm-btn-radius);
	background: linear-gradient(180deg, #5b7adf 0%, #4f6fcf 100%);
	box-shadow: var(--bm-btn-shadow);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bm-reset-sent__button:hover,
.bm-reset-sent__button:focus {
	background: linear-gradient(180deg, #4f6fcf 0%, #3d5cb8 100%);
	box-shadow: 0 12px 26px rgba(79, 111, 207, 0.28);
}

.bm-account-dashboard {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px 16px 48px;
	box-sizing: border-box;
	font-family: "Yekan Bakh", Tahoma, "Segoe UI", Arial, sans-serif;
}

/* Mobile */
@media (max-width: 767px) {
	.bm-account-login-page {
		overflow-x: hidden;
	}

	.bm-account-shell.e-con,
	.bm-account-shell,
	.bm-account-shell.e-con-full {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 100vh !important;
		min-height: 100dvh !important;
		justify-content: center !important;
		align-items: stretch !important;
		background: #fff !important;
		padding: 0 20px !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	.bm-account-shell > .e-con-inner {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 100vh !important;
		min-height: 100dvh !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: stretch !important;
		padding: 0 !important;
	}

	.bm-account-card.e-con,
	.bm-account-card {
		width: 100% !important;
		max-width: 100% !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		padding: 24px 0 !important;
		margin: 0 !important;
		align-self: stretch !important;
	}

	.bm-account-login-page .bm-account-card .elementor-element,
	.bm-account-login-page .bm-login,
	.bm-account-login-page .bm-login__form,
	.bm-account-login-page .bm-login__input,
	.bm-account-login-page .bm-login__submit {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
}

.bm-account-page:not(.bm-account-login-page) .bm-account-shell {
	background: var(--bm-account-bg, #f7f8fb) !important;
	justify-content: flex-start !important;
	align-items: stretch !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
}

.bm-account-page:not(.bm-account-login-page) .bm-account-shell > .e-con-inner,
.bm-account-page:not(.bm-account-login-page) .bm-account-dashboard-ui,
.bm-account-page:not(.bm-account-login-page) .bm-account-dashboard-ui > .e-con-inner {
	min-height: 100vh !important;
	min-height: 100dvh !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto !important;
	box-sizing: border-box !important;
}

/* ========== Logged-in account design system ========== */
.bm-account-page:not(.bm-account-login-page) {
	--bm-account-blue: #4f6fcf;
	--bm-account-blue-dark: #3d5cb8;
	--bm-account-blue-soft: #eef2ff;
	--bm-account-bg: #f7f8fb;
	--bm-account-card: #fff;
	--bm-account-border: #e4e7ef;
	--bm-account-text: #18181b;
	--bm-account-muted: #71717a;
	background: var(--bm-account-bg);
	min-height: 100vh;
	min-height: 100dvh;
}

.bm-account-page:not(.bm-account-login-page) .bm-account-dashboard-ui,
.bm-account-page:not(.bm-account-login-page) .bm-account-dashboard-ui > .e-con-inner {
	max-width: none !important;
	width: 100% !important;
}

.bm-account-dashboard {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 36px 24px 72px;
	box-sizing: border-box;
	font-family: "Yekan Bakh", Tahoma, "Segoe UI", Arial, sans-serif;
	direction: rtl;
}

.bm-account-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
	padding: 22px 24px;
	border: 1px solid var(--bm-account-border);
	border-radius: 18px;
	background: linear-gradient(135deg, #fff 30%, #f1f4ff 100%);
	box-shadow: 0 8px 28px rgba(24, 24, 27, 0.05);
}

.bm-account-hero__identity {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.bm-account-hero__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	border-radius: 18px;
	background: var(--bm-account-blue);
	color: #fff;
	font-size: 24px;
	font-weight:700;
	box-shadow: 0 8px 20px rgba(79, 111, 207, 0.24);
}

.bm-account-hero__copy { min-width: 0; }
.bm-account-hero__eyebrow {
	margin: 0 0 3px;
	color: var(--bm-account-blue);
	font-size: 12px;
	font-weight: 700;
}
.bm-account-hero__title {
	margin: 0;
	color: var(--bm-account-text);
	font-size: 21px;
	font-weight:700;
	line-height: 1.5;
}
.bm-account-hero__email {
	margin: 2px 0 0;
	color: var(--bm-account-muted);
	font-size: 12px;
	direction: ltr;
	text-align: right;
}

.bm-account-hero__logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 15px;
	border: 1px solid #f1d2d7;
	border-radius: 12px;
	background: #fff7f8;
	color: #c43b4d !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
}
.bm-account-hero__logout:hover,
.bm-account-hero__logout:focus { background: #ffedef; color: #a92739 !important; }
.bm-account-hero__logout svg { width: 17px; height: 17px; }

.bm-account-dashboard__woocommerce > .woocommerce {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
}

.bm-account-dashboard .woocommerce-MyAccount-navigation {
	grid-column: 1;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 10px !important;
	border: 1px solid var(--bm-account-border);
	border-radius: 18px;
	background: var(--bm-account-card);
	box-shadow: 0 8px 28px rgba(24, 24, 27, 0.045);
	position: sticky;
	top: 94px;
}

.bm-account-dashboard .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.bm-account-dashboard .woocommerce-MyAccount-navigation li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
}

.bm-account-dashboard .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 46px;
	padding: 0 13px;
	border-radius: 12px;
	color: #52525b !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color .15s ease, color .15s ease;
}

.bm-account-dashboard .woocommerce-MyAccount-navigation a:hover,
.bm-account-dashboard .woocommerce-MyAccount-navigation a:focus {
	background: #f7f8fb;
	color: var(--bm-account-text) !important;
}

.bm-account-dashboard .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--bm-account-blue-soft);
	color: var(--bm-account-blue-dark) !important;
}

.bm-account-nav__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
}
.bm-account-nav__icon svg { width: 18px; height: 18px; stroke-width: 1.8; }

.bm-account-dashboard .woocommerce-MyAccount-content {
	grid-column: 2;
	float: none !important;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 26px !important;
	border: 1px solid var(--bm-account-border);
	border-radius: 18px;
	background: var(--bm-account-card);
	box-shadow: 0 8px 28px rgba(24, 24, 27, 0.045);
	color: var(--bm-account-text);
}

.bm-account-dashboard .woocommerce-MyAccount-content > :first-child { margin-top: 0 !important; }
.bm-account-dashboard .woocommerce-MyAccount-content > :last-child { margin-bottom: 0 !important; }
.bm-account-dashboard .woocommerce-MyAccount-content h2,
.bm-account-dashboard .woocommerce-MyAccount-content h3 {
	margin: 0 0 18px;
	color: var(--bm-account-text);
	font-weight:700;
	line-height: 1.5;
}
.bm-account-dashboard .woocommerce-MyAccount-content h2 { font-size: 20px; }
.bm-account-dashboard .woocommerce-MyAccount-content h3 { font-size: 16px; }
.bm-account-dashboard .woocommerce-MyAccount-content p {
	color: #52525b;
	font-size: 14px;
	line-height: 1.9;
}

/* Dashboard */
.woocommerce-dashboard .bm-account-dashboard-ui .woocommerce-MyAccount-content > p {
	display: none;
}
.bm-account-section-heading { margin: 0 0 18px; }
.bm-account-section-heading h2 { margin: 0 0 5px !important; }
.bm-account-section-heading p { margin: 0 !important; color: var(--bm-account-muted) !important; font-size: 13px !important; }
.bm-account-overview {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}
.bm-account-overview__card {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--bm-account-border);
	border-radius: 15px;
	background: #fff;
	color: var(--bm-account-text) !important;
	text-decoration: none !important;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.bm-account-overview__card:hover {
	transform: translateY(-2px);
	border-color: #ccd5f2;
	box-shadow: 0 10px 24px rgba(79, 111, 207, .1);
}
.bm-account-overview__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 13px;
	background: var(--bm-account-blue-soft);
	color: var(--bm-account-blue-dark);
}
.bm-account-overview__icon svg { width: 20px; height: 20px; }
.bm-account-overview__content { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.bm-account-overview__content strong { font-size: 13px; font-weight:700; }
.bm-account-overview__content small { margin-top: 3px; color: var(--bm-account-muted); font-size: 11px; line-height: 1.5; }
.bm-account-overview__arrow { width: 16px; height: 16px; flex: 0 0 16px; color: #a1a1aa; }

/* Notices */
.bm-account-dashboard .woocommerce-message,
.bm-account-dashboard .woocommerce-info,
.bm-account-dashboard .woocommerce-error {
	margin: 0 0 20px !important;
	padding: 14px 16px !important;
	border: 1px solid #cbd5f3 !important;
	border-radius: 13px !important;
	background: #f4f6ff !important;
	color: #34447b !important;
	font-size: 13px;
	line-height: 1.8;
}
.bm-account-dashboard .woocommerce-error { border-color: #fecdd3 !important; background: #fff1f2 !important; color: #9f1239 !important; }
.bm-account-dashboard .woocommerce-message::before,
.bm-account-dashboard .woocommerce-info::before,
.bm-account-dashboard .woocommerce-error::before { display: none !important; }

/* Orders */
.bm-account-dashboard table.shop_table {
	width: 100%;
	margin: 0 !important;
	border: 1px solid var(--bm-account-border) !important;
	border-collapse: separate !important;
	border-spacing: 0;
	border-radius: 14px;
	overflow: hidden;
	font-size: 13px;
}
.bm-account-dashboard table.shop_table th,
.bm-account-dashboard table.shop_table td {
	padding: 14px 13px !important;
	border: 0 !important;
	border-bottom: 1px solid #edf0f5 !important;
	background: #fff !important;
	text-align: right;
	vertical-align: middle;
}
.bm-account-dashboard table.shop_table thead th { background: #f8f9fc !important; color: #52525b; font-weight: 700; }
.bm-account-dashboard table.shop_table tr:last-child td { border-bottom: 0 !important; }
.bm-account-dashboard table.shop_table tbody tr:hover td { background: #fbfcff !important; }

/* Addresses */
.bm-account-dashboard .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 22px 0 0 !important;
}
.bm-account-dashboard .woocommerce-Address {
	float: none !important;
	width: 100% !important;
	min-height: 190px;
	margin: 0 !important;
	padding: 18px !important;
	border: 1px solid var(--bm-account-border);
	border-radius: 15px;
	background: #fbfcff;
}
.bm-account-dashboard .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.bm-account-dashboard .woocommerce-Address-title h2,
.bm-account-dashboard .woocommerce-Address-title h3 { margin: 0 !important; font-size: 15px !important; }
.bm-account-dashboard .woocommerce-Address-title .edit {
	float: none !important;
	padding: 6px 10px;
	border-radius: 9px;
	background: var(--bm-account-blue-soft);
	color: var(--bm-account-blue-dark) !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
}
.bm-account-dashboard address { margin: 0; color: #52525b; font-size: 13px; font-style: normal; line-height: 2; }

/* Forms and buttons */
.bm-account-dashboard .form-row { margin: 0 0 16px !important; padding: 0 !important; }
.bm-account-dashboard .form-row label { display: block; margin: 0 0 7px; color: #3f3f46; font-size: 13px; font-weight: 700; }
.bm-account-dashboard fieldset {
	margin: 24px 0 18px;
	padding: 20px;
	border: 1px solid var(--bm-account-border);
	border-radius: 14px;
}
.bm-account-dashboard legend { padding: 0 8px; color: var(--bm-account-text); font-size: 14px; font-weight:700; }
.bm-account-dashboard .button,
.bm-account-dashboard button.button,
.bm-account-dashboard input.button,
.bm-account-dashboard a.button,
.bm-account-dashboard a.woocommerce-button,
.bm-account-dashboard .woocommerce-button,
.bm-account-dashboard .woocommerce-orders-table__cell-order-actions a,
.bm-account-dashboard .woocommerce-MyAccount-content a.button,
.bm-account-dashboard .order-actions a,
.bm-account-dashboard .woocommerce-table--order-details .product-name a + a,
.bm-account-dashboard .woocommerce-orders-table a.woocommerce-button.view {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 42px !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: var(--bm-account-blue) !important;
	color: #fff !important;
	fill: #fff !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
.bm-account-dashboard .button:hover,
.bm-account-dashboard button.button:hover,
.bm-account-dashboard input.button:hover,
.bm-account-dashboard a.button:hover,
.bm-account-dashboard a.woocommerce-button:hover,
.bm-account-dashboard .woocommerce-button:hover,
.bm-account-dashboard .woocommerce-orders-table__cell-order-actions a:hover,
.bm-account-dashboard .order-actions a:hover {
	background: var(--bm-account-blue-dark) !important;
	color: #fff !important;
}

/* Order product titles stay readable links, not solid buttons */
.bm-account-dashboard .woocommerce-orders-table a:not(.button):not(.woocommerce-button),
.bm-account-dashboard .woocommerce-table--order-details .product-name > a {
	background: transparent !important;
	color: var(--bm-account-blue-dark) !important;
	min-height: 0 !important;
	padding: 0 !important;
	font-weight: 700 !important;
}

.bm-account-dashboard .woocommerce-pagination { margin-top: 20px; }
.bm-account-dashboard .woocommerce-pagination .button + .button { margin-right: 8px; }

@media (max-width: 900px) {
	.bm-account-dashboard { padding: 28px 18px 64px; }
	.bm-account-dashboard__woocommerce > .woocommerce { grid-template-columns: 210px minmax(0, 1fr); gap: 16px; }
	.bm-account-overview { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.bm-account-page:not(.bm-account-login-page) .bm-account-shell,
	.bm-account-page:not(.bm-account-login-page) .bm-account-dashboard-ui { background: var(--bm-account-bg) !important; }
	.bm-account-dashboard { padding: 18px 14px calc(var(--bm-bottom-nav-offset, 72px) + 34px); }
	.bm-account-hero { align-items: flex-start; margin-bottom: 14px; padding: 16px; border-radius: 16px; }
	.bm-account-hero__avatar { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; font-size: 20px; }
	.bm-account-hero__title { font-size: 17px; }
	.bm-account-hero__email { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.bm-account-hero__logout { width: 42px; min-width: 42px; height: 42px; padding: 0; }
	.bm-account-hero__logout span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.bm-account-dashboard__woocommerce > .woocommerce { display: block; }
	.bm-account-dashboard .woocommerce-MyAccount-navigation {
		position: static;
		width: calc(100% + 28px) !important;
		margin: 0 -14px 14px !important;
		padding: 0 14px 8px !important;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.bm-account-dashboard .woocommerce-MyAccount-navigation::-webkit-scrollbar { display: none; }
	.bm-account-dashboard .woocommerce-MyAccount-navigation ul { flex-direction: row; gap: 7px; width: max-content; }
	.bm-account-dashboard .woocommerce-MyAccount-navigation a {
		min-height: 40px;
		padding: 0 13px;
		border: 1px solid var(--bm-account-border);
		border-radius: 999px;
		background: #fff;
		font-size: 12px;
		white-space: nowrap;
	}
	.bm-account-dashboard .woocommerce-MyAccount-navigation li.is-active a { border-color: #bac7ec; }
	.bm-account-dashboard .woocommerce-MyAccount-navigation li:last-child { display: none; }
	.bm-account-dashboard .woocommerce-MyAccount-content { padding: 18px 16px !important; border-radius: 16px; }
	.bm-account-overview { margin-top: 18px; }
	.bm-account-overview__card { padding: 14px; }
	.bm-account-dashboard .woocommerce-Addresses { grid-template-columns: 1fr; }
	.bm-account-dashboard .woocommerce-Address { min-height: 0; }
	.bm-account-dashboard fieldset { padding: 16px 13px; }
	.bm-account-dashboard table.shop_table_responsive { border: 0 !important; overflow: visible; }
	.bm-account-dashboard table.shop_table_responsive thead { display: none; }
	.bm-account-dashboard table.shop_table_responsive tbody { display: grid; gap: 12px; }
	.bm-account-dashboard table.shop_table_responsive tr {
		display: block;
		padding: 8px 14px;
		border: 1px solid var(--bm-account-border);
		border-radius: 14px;
		background: #fff;
	}
	.bm-account-dashboard table.shop_table_responsive td {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 10px 0 !important;
		border-bottom: 1px solid #edf0f5 !important;
		text-align: left !important;
	}
	.bm-account-dashboard table.shop_table_responsive td:last-child { border-bottom: 0 !important; }
	.bm-account-dashboard table.shop_table_responsive td::before { color: var(--bm-account-muted); font-weight: 600; text-align: right; }
}
