/*!
 * Lizzard Auth Polished v2.1.0
 *
 * Sections:
 *  1.  Variables
 *  2.  Login page form refinements (body.liz-auth-active)
 *  3.  WC native password toggle fix
 *  4.  Name fields row (side-by-side)
 *  5.  Password strength indicator
 *  6.  B2B CTA card
 *  7.  B2B registration page (body.liz-b2b-page)
 *  8.  WC messages
 *  9.  Responsive
 *  10. Reduced motion
 */

:root {
	--liz-brand: #000000;
	--liz-brand-ring: rgba(0,0,0,0.10);
	--liz-radius: 8px;
	--liz-radius-lg: 14px;
	--liz-input-h: 48px;
	--liz-input-border: #d4d4d4;
	--liz-input-focus: var(--liz-brand);
	--liz-text: #111111;
	--liz-text-2: #555555;
	--liz-text-3: #888888;
	--liz-bg-subtle: #f7f7f7;
	--liz-transition: 200ms cubic-bezier(0.4,0,0.2,1);
}

/* ===========================================================
   2. Login page form refinements
   =========================================================== */

body.liz-auth-active .woocommerce-customer-login {
	gap: 48px;
}

body.liz-auth-active .woocommerce-customer-login__title {
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* Input upgrades */
body.liz-auth-active .woocommerce-form .woocommerce-Input,
body.liz-auth-active .woocommerce-form .input-text,
body.liz-auth-active .woocommerce-form select {
	height: var(--liz-input-h);
	border-radius: var(--liz-radius);
	border: 1.5px solid var(--liz-input-border);
	padding: 0 14px;
	font-size: 15px;
	transition: border-color var(--liz-transition), box-shadow var(--liz-transition);
	outline: none;
}

body.liz-auth-active .woocommerce-form .woocommerce-Input:focus,
body.liz-auth-active .woocommerce-form .input-text:focus,
body.liz-auth-active .woocommerce-form select:focus {
	border-color: var(--liz-input-focus);
	box-shadow: 0 0 0 3px var(--liz-brand-ring);
}

/* Labels */
body.liz-auth-active .woocommerce-form-row > label {
	font-size: 13px;
	font-weight: 600;
	color: var(--liz-text);
	margin-bottom: 6px;
}

/* Buttons */
body.liz-auth-active .woocommerce-form-login__submit,
body.liz-auth-active .woocommerce-form-register__submit {
	height: var(--liz-input-h);
	border-radius: var(--liz-radius);
	font-size: 15px;
	font-weight: 600;
}

/* Remember me row */
body.liz-auth-active .woocommerce-form-row--remember {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

body.liz-auth-active .woocommerce-lost-password {
	font-size: 13px;
	color: var(--liz-text-3);
	text-decoration: none;
	transition: color var(--liz-transition);
}

body.liz-auth-active .woocommerce-lost-password:hover {
	color: var(--liz-text);
	text-decoration: underline;
}

/* "Nieuwe klant" right panel — card style */
body.liz-auth-active .woocommerce-form-new {
	background: var(--liz-bg-subtle);
	border: 1.5px solid #e5e5e5;
	border-radius: var(--liz-radius-lg);
	padding: 24px;
}

/* ===========================================================
   3. WC native password toggle fix
   WC 9.9+ wraps password in <span class="password-input"> and
   adds <button class="show-password-input">. The default styling
   has an ugly square border. We fix it here.
   =========================================================== */

body.liz-auth-active .password-input,
body.liz-b2b-page .password-input {
	position: relative;
	display: block;
}

/* Fix the input inside WC's wrapper — remove double border */
body.liz-auth-active .password-input .woocommerce-Input,
body.liz-auth-active .password-input .input-text,
body.liz-b2b-page .password-input .woocommerce-Input,
body.liz-b2b-page .password-input .input-text {
	padding-right: 46px;
}

/* Restyle WC's native toggle button */
body.liz-auth-active .show-password-input,
body.liz-b2b-page .show-password-input {
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 36px;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--liz-text-3);
	transition: color var(--liz-transition);
	padding: 0;
	outline: none;
	z-index: 2;
}

body.liz-auth-active .show-password-input:hover,
body.liz-b2b-page .show-password-input:hover {
	color: var(--liz-text);
}

body.liz-auth-active .show-password-input:focus-visible,
body.liz-b2b-page .show-password-input:focus-visible {
	outline: 2px solid var(--liz-input-focus);
	outline-offset: -2px;
	border-radius: 4px;
}

/* Hide the ugly square border WC puts on the toggle */
body.liz-auth-active .show-password-input::after,
body.liz-b2b-page .show-password-input::after {
	border: none !important;
	box-shadow: none !important;
}

/* ===========================================================
   4. Name fields row (side-by-side)
   =========================================================== */

.liz-name-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 4px;
}

.liz-name-row .woocommerce-form-row {
	margin-bottom: 10px;
}

/* ===========================================================
   5. Password strength indicator
   =========================================================== */

.liz-pw-strength {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	min-height: 18px;
}

.liz-pw-strength__bar {
	flex: 1;
	height: 4px;
	background: #e5e5e5;
	border-radius: 99px;
	overflow: hidden;
}

.liz-pw-strength__fill {
	height: 100%;
	width: 0;
	border-radius: 99px;
	transition: width 300ms ease, background 300ms ease;
}

.liz-pw-strength[data-str="1"] .liz-pw-strength__fill { width:25%; background:#dc2626; }
.liz-pw-strength[data-str="2"] .liz-pw-strength__fill { width:50%; background:#d97706; }
.liz-pw-strength[data-str="3"] .liz-pw-strength__fill { width:75%; background:#65a30d; }
.liz-pw-strength[data-str="4"] .liz-pw-strength__fill { width:100%; background:#16a34a; }

.liz-pw-strength__label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
	min-width: 56px;
	text-align: right;
	color: var(--liz-text-3);
}

.liz-pw-strength[data-str="1"] .liz-pw-strength__label { color:#dc2626; }
.liz-pw-strength[data-str="2"] .liz-pw-strength__label { color:#d97706; }
.liz-pw-strength[data-str="3"] .liz-pw-strength__label { color:#65a30d; }
.liz-pw-strength[data-str="4"] .liz-pw-strength__label { color:#16a34a; }

/* Our own toggle (only used on B2B page where WC toggle may be absent) */
.liz-pw-wrap { position: relative; }
.liz-pw-wrap .woocommerce-Input,
.liz-pw-wrap .input-text { padding-right: 46px !important; }

.liz-pw-toggle {
	position: absolute;
	right: 0; top: 0; bottom: 0;
	width: 44px;
	background: none; border: none;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: var(--liz-text-3);
	transition: color var(--liz-transition);
	padding: 0; z-index: 2;
}
.liz-pw-toggle:hover { color: var(--liz-text); }
.liz-pw-toggle .liz-eye-hide { display: none; }
.liz-pw-toggle[aria-pressed="true"] .liz-eye-show { display: none; }
.liz-pw-toggle[aria-pressed="true"] .liz-eye-hide { display: block; }

/* ===========================================================
   5b. Section badge — "Particulier" on Nieuwe klant panel
   =========================================================== */

.liz-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: 4px;
	padding: 3px 9px;
	margin-bottom: 10px;
	line-height: 1.4;
}

.liz-badge--personal {
	color: #334155;
	background: #e2e8f0;
}

/* ===========================================================
   6. B2B CTA card
   =========================================================== */

.liz-b2b-cta {
	margin-top: 40px;
	border: 1.5px solid #e5e5e5;
	border-radius: var(--liz-radius-lg);
	overflow: hidden;
	background: var(--liz-bg-subtle);
}

.liz-b2b-cta__inner {
	padding: 28px 28px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.liz-b2b-cta__badge {
	display: inline-block;
	font-size: 10px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.12em;
	color: #fff; background: var(--liz-brand);
	border-radius: 4px; padding: 3px 8px;
	width: fit-content;
}

.liz-b2b-cta__heading {
	font-size: 18px; font-weight: 700;
	color: var(--liz-text); margin: 0;
	letter-spacing: -0.01em;
}

.liz-b2b-cta__desc {
	font-size: 14px; color: var(--liz-text-2);
	line-height: 1.6; margin: 0;
}

.liz-b2b-cta__btn { align-self: flex-start; text-decoration: none; }

.liz-b2b-cta__btn.gz-button {
	display: inline-flex; align-items: center;
	height: 44px; padding: 0 24px;
	border-radius: var(--liz-radius);
	font-size: 14px; font-weight: 600;
}

/* ===========================================================
   7. B2B registration page (body.liz-b2b-page)
   =========================================================== */

body.liz-b2b-page .site-main,
body.liz-b2b-page main,
body.liz-b2b-page #content {
	max-width: none !important;
}

.liz-b2b-wrap {
	max-width: 820px;
	margin: 0 auto;
	padding: 32px 24px 80px;
}

.liz-b2b-hero {
	text-align: center;
	margin-bottom: 36px;
}

.liz-b2b-hero__back {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 13px; color: var(--liz-text-3);
	text-decoration: none; margin-bottom: 20px;
	transition: color var(--liz-transition);
}
.liz-b2b-hero__back:hover { color: var(--liz-text); }

.liz-b2b-hero__badge {
	display: inline-block;
	font-size: 10px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.12em;
	color: var(--liz-text-3);
	background: var(--liz-bg-subtle);
	border: 1px solid #e5e5e5;
	border-radius: 99px; padding: 4px 14px;
	margin-bottom: 16px;
}

.liz-b2b-hero__title {
	font-size: clamp(1.5rem, 4vw, 2.125rem);
	font-weight: 700; letter-spacing: -0.025em;
	color: var(--liz-text); margin: 0 0 12px; line-height: 1.15;
}

.liz-b2b-hero__sub {
	font-size: 15px; color: var(--liz-text-2);
	line-height: 1.65; max-width: 560px;
	margin: 0 auto 24px;
}

.liz-b2b-hero__benefits {
	display: flex; flex-wrap: wrap;
	justify-content: center; gap: 8px 20px;
}

.liz-b2b-hero__benefit {
	display: inline-flex; align-items: center;
	gap: 5px; font-size: 13px; color: var(--liz-text-2);
}

.liz-b2b-hero__benefit svg { color: var(--liz-brand); flex-shrink: 0; }

.liz-b2b-form-card {
	background: #fff;
	border: 1.5px solid #e5e5e5;
	border-radius: var(--liz-radius-lg);
	padding: 32px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

/* B2B page inputs */
body.liz-b2b-page .woocommerce-form .woocommerce-Input,
body.liz-b2b-page .woocommerce-form .input-text,
body.liz-b2b-page .woocommerce-form select,
body.liz-b2b-page .woocommerce-customer-login .woocommerce-Input,
body.liz-b2b-page .woocommerce-customer-login .input-text,
body.liz-b2b-page .woocommerce-customer-login select {
	height: var(--liz-input-h);
	border-radius: var(--liz-radius);
	border: 1.5px solid var(--liz-input-border);
	padding: 0 14px; font-size: 15px;
	transition: border-color var(--liz-transition), box-shadow var(--liz-transition);
	outline: none; width: 100%;
}

body.liz-b2b-page .woocommerce-form .woocommerce-Input:focus,
body.liz-b2b-page .woocommerce-form .input-text:focus,
body.liz-b2b-page .woocommerce-form select:focus,
body.liz-b2b-page .woocommerce-customer-login .woocommerce-Input:focus,
body.liz-b2b-page .woocommerce-customer-login .input-text:focus {
	border-color: var(--liz-input-focus);
	box-shadow: 0 0 0 3px var(--liz-brand-ring);
}

body.liz-b2b-page .woocommerce-form-row > label,
body.liz-b2b-page .form-row > label {
	font-size: 13px; font-weight: 600;
	color: var(--liz-text); margin-bottom: 6px;
}

body.liz-b2b-page .woocommerce-form-row { margin-bottom: 16px; }

body.liz-b2b-page .woocommerce-form-register__submit,
body.liz-b2b-page .woocommerce-form-login__submit,
body.liz-b2b-page .woocommerce-Button {
	height: var(--liz-input-h);
	border-radius: var(--liz-radius);
	font-size: 15px; font-weight: 600;
}

body.liz-b2b-page .b2bking_registration_roles_dropdown_section_hidden {
	display: none;
}

.liz-b2b-notice {
	display: flex; align-items: flex-start; gap: 8px;
	margin-top: 24px; padding: 14px 16px;
	background: #eff6ff; border: 1px solid #bfdbfe;
	border-radius: var(--liz-radius);
	font-size: 13px; color: #1e40af; line-height: 1.55;
}

.liz-b2b-notice svg { flex-shrink: 0; margin-top: 1px; color: #3b82f6; }

/* ===========================================================
   8. WC messages
   =========================================================== */

body.liz-auth-active .woocommerce-error,
body.liz-auth-active .woocommerce-message,
body.liz-auth-active .woocommerce-info,
body.liz-b2b-page .woocommerce-error,
body.liz-b2b-page .woocommerce-message,
body.liz-b2b-page .woocommerce-info {
	border-radius: var(--liz-radius);
	font-size: 14px; line-height: 1.5;
	padding: 14px 18px;
	border-left: 3px solid;
	list-style: none;
	margin-bottom: 20px;
}

body.liz-auth-active .woocommerce-error,
body.liz-b2b-page .woocommerce-error {
	background: #fef2f2; border-left-color: #dc2626; color: #991b1b;
}

body.liz-auth-active .woocommerce-message,
body.liz-b2b-page .woocommerce-message {
	background: #f0fdf4; border-left-color: #16a34a; color: #166534;
}

body.liz-auth-active .woocommerce-info,
body.liz-b2b-page .woocommerce-info {
	background: #eff6ff; border-left-color: #2563eb; color: #1e40af;
}

/* ===========================================================
   9. Responsive
   =========================================================== */

@media (max-width: 479px) {
	.liz-name-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.liz-b2b-cta__inner { padding: 22px 20px; }
	.liz-b2b-wrap { padding: 20px 16px 60px; }
	.liz-b2b-form-card { padding: 24px 20px; }
	.liz-b2b-hero__benefits { flex-direction: column; align-items: center; gap: 6px; }
}

@media (min-width: 768px) {
	.liz-b2b-cta__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
	}
	.liz-b2b-cta__btn { flex-shrink: 0; }
}

/* ===========================================================
   10. Reduced motion
   =========================================================== */

@media (prefers-reduced-motion: reduce) {
	.liz-pw-strength__fill,
	body.liz-auth-active .woocommerce-Input,
	body.liz-b2b-page .woocommerce-Input {
		transition: none;
	}
}

/* ===========================================================
   11. B2BKing LOGIN page (body.liz-b2b-login-page)
   [b2bking_login_only] shortcode on /b2b-login/
   =========================================================== */

body.liz-b2b-login-page .site-main,
body.liz-b2b-login-page main,
body.liz-b2b-login-page #content {
	max-width: none !important;
}

/* Login header (injected via b2bking_login_only_form_display) */
.liz-b2b-login-header {
	text-align: center;
	margin-bottom: 28px;
}

.liz-b2b-login-heading {
	font-size: clamp(1.375rem, 3.5vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--liz-text);
	margin: 0 0 8px;
}

.liz-b2b-login-sub {
	font-size: 14px;
	color: var(--liz-text-2);
	line-height: 1.6;
	margin: 0;
}

/* Center the login form on the page */
body.liz-b2b-login-page .entry-content > .woocommerce,
body.liz-b2b-login-page .entry-content > div > .woocommerce {
	max-width: 460px;
	margin: 40px auto 60px;
	padding: 0 24px;
}

/* Form card */
body.liz-b2b-login-page .woocommerce-form-login,
body.liz-b2b-login-page .woocommerce form.login {
	background: #fff;
	border: 1px solid rgba(17,17,17,0.08);
	border-radius: 18px;
	padding: 32px;
	box-shadow: 0 10px 30px rgba(17,17,17,0.04);
}

/* Inputs */
body.liz-b2b-login-page .woocommerce form input.input-text,
body.liz-b2b-login-page .woocommerce form input[type="text"],
body.liz-b2b-login-page .woocommerce form input[type="email"],
body.liz-b2b-login-page .woocommerce form input[type="password"] {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fafafa;
	color: #111;
	font-size: 14px;
	box-shadow: none;
	transition: all 0.2s ease;
}

body.liz-b2b-login-page .woocommerce form input:focus {
	background: #fff;
	border-color: #111;
	outline: none;
	box-shadow: 0 0 0 3px var(--liz-brand-ring);
}

/* Labels */
body.liz-b2b-login-page .woocommerce form label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #111;
}

/* Rows */
body.liz-b2b-login-page .woocommerce form .form-row {
	margin-bottom: 18px;
}

/* Remember me */
body.liz-b2b-login-page .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #4b5563;
}

/* Lost password */
body.liz-b2b-login-page .woocommerce-LostPassword a,
body.liz-b2b-login-page .lost_password a {
	color: #111;
	text-decoration: none;
	font-size: 13px;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}
body.liz-b2b-login-page .woocommerce-LostPassword a:hover,
body.liz-b2b-login-page .lost_password a:hover {
	border-bottom-color: #111;
}

/* Button — pill shape */
body.liz-b2b-login-page .woocommerce button.button,
body.liz-b2b-login-page .woocommerce .button[name="login"] {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	padding: 0 24px;
	transition: all 0.2s ease;
}
body.liz-b2b-login-page .woocommerce button.button:hover {
	background: #222;
	transform: translateY(-1px);
}

/* WC's password toggle fix */
body.liz-b2b-login-page .password-input {
	position: relative;
	display: block;
}
body.liz-b2b-login-page .password-input input {
	padding-right: 46px;
}
body.liz-b2b-login-page .show-password-input {
	position: absolute;
	right: 2px; top: 50%; transform: translateY(-50%);
	width: 40px; height: 36px;
	background: none !important; border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: var(--liz-text-3);
}
body.liz-b2b-login-page .show-password-input:hover { color: var(--liz-text); }

/* Footer links */
.liz-b2b-login-footer {
	text-align: center;
	margin-top: 24px;
}

.liz-b2b-login-signup {
	font-size: 14px;
	color: var(--liz-text-2);
	margin: 0 0 8px;
}
.liz-b2b-login-signup a {
	font-weight: 600;
	color: var(--liz-text);
	text-decoration: none;
}
.liz-b2b-login-signup a:hover { text-decoration: underline; }

.liz-b2b-login-account {
	margin: 0;
}
.liz-b2b-login-account a {
	font-size: 13px;
	color: var(--liz-text-3);
	text-decoration: none;
}
.liz-b2b-login-account a:hover { color: var(--liz-text); }

/* Messages */
body.liz-b2b-login-page .woocommerce-error,
body.liz-b2b-login-page .woocommerce-message,
body.liz-b2b-login-page .woocommerce-info {
	border: 1px solid rgba(17,17,17,0.08);
	border-radius: 12px;
	background: #f9f9f9;
	color: #111;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 13px;
}

/* ===========================================================
   12. B2BKing REGISTRATION page — form styling
   Targets the actual form fields output by [b2bking_b2b_registration_only]
   =========================================================== */

/* Hide B2BKing's default heading (we have our own hero) */
body.liz-b2b-reg-page .b2bking_b2bregistration_only_register_header {
	display: none !important;
}

/* Form card */
body.liz-b2b-reg-page .liz-b2b-form-card .woocommerce-form-register,
body.liz-b2b-reg-page .liz-b2b-form-card form.register {
	background: #fff;
	border: 1px solid rgba(17,17,17,0.08);
	border-radius: 18px;
	padding: 32px;
	box-shadow: 0 10px 30px rgba(17,17,17,0.04);
}

/* Inputs */
body.liz-b2b-reg-page .woocommerce form input.input-text,
body.liz-b2b-reg-page .woocommerce form input[type="text"],
body.liz-b2b-reg-page .woocommerce form input[type="email"],
body.liz-b2b-reg-page .woocommerce form input[type="tel"],
body.liz-b2b-reg-page .woocommerce form input[type="password"],
body.liz-b2b-reg-page .woocommerce form select,
body.liz-b2b-reg-page .woocommerce form textarea {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fafafa;
	color: #111;
	font-size: 14px;
	box-shadow: none;
	transition: all 0.2s ease;
}

body.liz-b2b-reg-page .woocommerce form textarea {
	min-height: 120px;
	padding: 14px 16px;
	resize: vertical;
}

body.liz-b2b-reg-page .woocommerce form input:focus,
body.liz-b2b-reg-page .woocommerce form select:focus,
body.liz-b2b-reg-page .woocommerce form textarea:focus {
	background: #fff;
	border-color: #111;
	outline: none;
	box-shadow: 0 0 0 3px var(--liz-brand-ring);
}

/* Labels */
body.liz-b2b-reg-page .woocommerce form label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #111;
}

body.liz-b2b-reg-page .woocommerce form .required {
	color: #111;
	font-weight: 500;
}

/* Rows */
body.liz-b2b-reg-page .woocommerce form .form-row {
	margin-bottom: 18px;
}

/* Select arrow */
body.liz-b2b-reg-page .woocommerce form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 42px;
}

/* B2BKing role dropdown */
body.liz-b2b-reg-page #b2bking_registration_roles_dropdown {
	width: 100%;
	min-height: 52px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background-color: #fafafa;
	padding: 0 42px 0 16px;
}

/* B2BKing custom fields */
body.liz-b2b-reg-page .b2bking_custom_registration_field {
	margin-bottom: 18px;
}

/* Checkbox */
body.liz-b2b-reg-page .woocommerce form input[type="checkbox"] {
	accent-color: #111;
}

/* Button — pill shape */
body.liz-b2b-reg-page .woocommerce button.button,
body.liz-b2b-reg-page .woocommerce .button[name="register"],
body.liz-b2b-reg-page .woocommerce .woocommerce-form-register__submit {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	padding: 0 24px;
	transition: all 0.2s ease;
}
body.liz-b2b-reg-page .woocommerce button.button:hover {
	background: #222;
	transform: translateY(-1px);
}

/* ── Grid-based field pairing ────────────────────────────────── */
/* JS adds .liz-grid-form to the <form> and .liz-half to paired fields. */

@media (min-width: 640px) {
	body.liz-b2b-reg-page .liz-grid-form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 16px;
	}

	/* Every row spans full width by default */
	body.liz-b2b-reg-page .liz-grid-form > .form-row,
	body.liz-b2b-reg-page .liz-grid-form > .woocommerce-form-row,
	body.liz-b2b-reg-page .liz-grid-form > p,
	body.liz-b2b-reg-page .liz-grid-form > div {
		grid-column: 1 / -1;
	}

	/* Paired fields → half width (JS adds this class) */
	body.liz-b2b-reg-page .liz-grid-form > .liz-half {
		grid-column: span 1;
	}

	/* WC's native first/last also work */
	body.liz-b2b-reg-page .liz-grid-form > .form-row-first,
	body.liz-b2b-reg-page .liz-grid-form > .form-row-last {
		grid-column: span 1;
		float: none;
		width: 100%;
	}
}

/* Mobile: single column always */
@media (max-width: 639px) {
	body.liz-b2b-reg-page .liz-grid-form > .liz-half {
		grid-column: 1 / -1;
	}
}

/* "Already have B2B account?" link */
.liz-b2b-already-have {
	text-align: center;
	margin-top: 20px;
	font-size: 14px;
	color: var(--liz-text-2);
}
.liz-b2b-already-have a {
	font-weight: 600;
	color: var(--liz-text);
	text-decoration: none;
}
.liz-b2b-already-have a:hover { text-decoration: underline; }

/* WC password toggle on B2B reg page */
body.liz-b2b-reg-page .password-input {
	position: relative;
	display: block;
}
body.liz-b2b-reg-page .password-input input { padding-right: 46px; }
body.liz-b2b-reg-page .show-password-input {
	position: absolute;
	right: 2px; top: 50%; transform: translateY(-50%);
	width: 40px; height: 36px;
	background: none !important; border: none !important;
	box-shadow: none !important;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: var(--liz-text-3);
}

/* Messages */
body.liz-b2b-reg-page .woocommerce-error,
body.liz-b2b-reg-page .woocommerce-message,
body.liz-b2b-reg-page .woocommerce-info {
	border: 1px solid rgba(17,17,17,0.08);
	border-radius: 12px;
	background: #f9f9f9;
	color: #111;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 13px;
}

/* Mobile */
@media (max-width: 767px) {
	body.liz-b2b-login-page .entry-content > .woocommerce,
	body.liz-b2b-login-page .entry-content > div > .woocommerce {
		padding: 0 16px;
		margin: 24px auto 40px;
	}

	body.liz-b2b-login-page .woocommerce-form-login,
	body.liz-b2b-login-page .woocommerce form.login,
	body.liz-b2b-reg-page .liz-b2b-form-card .woocommerce-form-register,
	body.liz-b2b-reg-page .liz-b2b-form-card form.register {
		padding: 22px 18px;
		border-radius: 16px;
	}
}
