/* ============ Luvherbs account page (login / sign up) ============ */

.lh-account-page {
	--lh-bg: #fbf9ee;
	--lh-card: #fffef9;
	--lh-border: #e3dfcc;
	--lh-ink: #0f1a14;
	--lh-muted: #5d665e;
	--lh-primary: #2d5a3a;
	--lh-error: #b3261e;

	background: var(--lh-bg);
	color: var(--lh-ink);
	font-family: 'Poppins', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}
.lh-account-page *,
.lh-account-page *::before,
.lh-account-page *::after { box-sizing: border-box; }

.lh-acc-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Hero ---------- */
.lh-acc-hero {
	background: linear-gradient(135deg, #e9f3de 0%, #d4ebd5 50%, #c6e5cb 100%);
	padding: 72px 0 80px;
}
.lh-acc-breadcrumb { font-size: 12px; color: var(--lh-muted); }
.lh-acc-breadcrumb a { color: inherit; text-decoration: none; }
.lh-acc-breadcrumb a:hover { color: var(--lh-primary); }
.lh-acc-eyebrow {
	margin: 20px 0 0;
	font-size: 12px;
	letter-spacing: .25em;
	text-transform: uppercase;
	color: var(--lh-primary);
}
.lh-acc-title {
	margin: 12px 0 0;
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--lh-ink);
}

.lh-acc-body { padding: 56px 0 80px; }

/* ---------- Auth box ---------- */
.lh-auth {
	max-width: 448px;
	margin: 0 auto;
}

/* notices */
.lh-account-page .woocommerce-notices-wrapper { margin: 0; }
.lh-account-page .woocommerce-error,
.lh-account-page .woocommerce-message,
.lh-account-page .woocommerce-info {
	list-style: none;
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid var(--lh-border);
	border-left: 3px solid var(--lh-primary);
	border-radius: 6px;
	background: var(--lh-card);
	color: var(--lh-ink);
	font-size: 13px;
	line-height: 1.6;
}
.lh-account-page .woocommerce-error { border-left-color: var(--lh-error); }
.lh-account-page .woocommerce-error::before,
.lh-account-page .woocommerce-message::before,
.lh-account-page .woocommerce-info::before { display: none; }
.lh-account-page .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
.lh-account-page .woocommerce-error a,
.lh-account-page .woocommerce-message a { color: var(--lh-primary); }

/* tabs */
.lh-auth .lh-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 4px;
	border: 1px solid var(--lh-border);
	border-radius: 2px;
	margin: 0 0 32px;
}
.lh-auth .lh-auth-tabs button.lh-auth-tab {
	margin: 0;
	padding: 10px 0;
	border: 0 !important;
	border-radius: 2px;
	background: transparent !important;
	color: var(--lh-muted) !important;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: none;
	transition: background .15s, color .15s;
}
.lh-auth .lh-auth-tabs button.lh-auth-tab.is-active {
	background: var(--lh-primary) !important;
	color: #fff !important;
}
.lh-auth .lh-auth-tabs button.lh-auth-tab:focus-visible {
	outline: 2px solid var(--lh-primary);
	outline-offset: 2px;
}

.lh-auth .lh-auth-panel[hidden] { display: none; }

/* forms (beat woocommerce.css card/border styles) */
.woocommerce .lh-auth form.lh-auth-form,
.woocommerce-page .lh-auth form.lh-auth-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: left;
}

.woocommerce .lh-auth form.lh-auth-form input.input-text,
.woocommerce-page .lh-auth form.lh-auth-form input.input-text {
	display: block;
	width: 100%;
	height: 51px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--lh-border);
	border-radius: 2px;
	background: transparent;
	color: var(--lh-ink);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: none;
	outline: none;
	transition: border-color .15s, background .15s;
}
.woocommerce .lh-auth form.lh-auth-form input.input-text::placeholder { color: var(--lh-muted); opacity: 1; }
.woocommerce .lh-auth form.lh-auth-form input.input-text:focus {
	border-color: var(--lh-primary);
	background: var(--lh-card);
}

.lh-auth a.lh-forgot {
	display: block;
	margin: -4px 0 0;
	text-align: right;
	font-size: 12px;
	color: var(--lh-primary);
	text-decoration: none;
}
.lh-auth a.lh-forgot:hover { text-decoration: underline; }

.woocommerce .lh-auth button.lh-btn-primary,
.woocommerce-page .lh-auth button.lh-btn-primary {
	display: block;
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 28px;
	border: 0;
	border-radius: 2px;
	background: var(--lh-primary) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .02em;
	line-height: 1.4;
	text-transform: none;
	cursor: pointer;
	transition: opacity .15s;
}
.woocommerce .lh-auth button.lh-btn-primary:hover { opacity: .9; }

.lh-auth .lh-auth-terms {
	margin: 24px 0 0;
	text-align: center;
	font-size: 12px;
	line-height: 1.6;
	color: var(--lh-muted);
}
.lh-auth .lh-auth-terms a { color: var(--lh-primary); text-decoration: none; }
.lh-auth .lh-auth-terms a:hover { text-decoration: underline; }

/* ---------- Lost password / reset password ---------- */
.lh-acc-body--guest .woocommerce-ResetPassword,
.lh-acc-body--guest form.lost_reset_password {
	max-width: 448px;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background: transparent;
}
.lh-acc-body--guest .woocommerce-ResetPassword > p:first-child {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--lh-muted);
}
.lh-acc-body--guest .woocommerce-ResetPassword .form-row {
	float: none;
	width: 100%;
	margin: 0 0 16px;
	padding: 0;
}
.lh-acc-body--guest .woocommerce-ResetPassword label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 400;
	color: var(--lh-muted);
}
.lh-acc-body--guest .woocommerce-ResetPassword input.input-text {
	width: 100%;
	height: 51px;
	padding: 0 18px;
	border: 1px solid var(--lh-border);
	border-radius: 2px;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	color: var(--lh-ink);
	box-shadow: none;
}
.lh-acc-body--guest .woocommerce-ResetPassword input.input-text:focus {
	border-color: var(--lh-primary);
	outline: none;
	background: var(--lh-card);
}
.lh-acc-body--guest .woocommerce-ResetPassword button.button {
	display: block;
	width: 100%;
	height: 54px;
	margin: 0;
	border: 0;
	border-radius: 2px;
	background: var(--lh-primary) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}

/* ---------- Logged-in dashboard (light touch) ---------- */
.lh-acc-body--user .woocommerce {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.lh-acc-body--user .woocommerce-MyAccount-navigation,
.lh-acc-body--user .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}
.lh-acc-body--user .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid var(--lh-border);
	border-radius: 12px;
	background: var(--lh-card);
}
.lh-acc-body--user .woocommerce-MyAccount-navigation li { margin: 0; border: 0; }
.lh-acc-body--user .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 11px 14px;
	border-radius: 6px;
	font-size: 14px;
	color: var(--lh-muted);
	text-decoration: none;
}
.lh-acc-body--user .woocommerce-MyAccount-navigation li.is-active a,
.lh-acc-body--user .woocommerce-MyAccount-navigation a:hover {
	background: var(--lh-primary);
	color: #fff;
}
.lh-acc-body--user .woocommerce-MyAccount-content {
	padding: 28px;
	border: 1px solid var(--lh-border);
	border-radius: 12px;
	background: var(--lh-card);
	font-size: 14px;
	line-height: 1.7;
}
.lh-acc-body--user .woocommerce-MyAccount-content a { color: var(--lh-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
	.lh-acc-hero { padding: 56px 0 60px; }
	.lh-acc-body { padding: 40px 0 60px; }
	.lh-acc-body--user .woocommerce { grid-template-columns: 1fr; gap: 24px; }
}