/**
 * Renéra Nutrition — Login Page Styles
 *
 * Split layout: form pane (left, cream) + imagery pane (right, olive).
 * Loaded on is_account_page() via wp_enqueue_scripts.
 * Design tokens from design-system.css (enqueued at priority 5).
 *
 * @package HelloElementor
 */

/* =====================================================
   Reset Elementor wrappers — allow full-bleed layout
   ===================================================== */
body.woocommerce-account:not( .logged-in ) {
	overflow-x: hidden;
}

body.woocommerce-account:not( .logged-in ) .elementor-section,
body.woocommerce-account:not( .logged-in ) .elementor-container,
body.woocommerce-account:not( .logged-in ) .elementor-row,
body.woocommerce-account:not( .logged-in ) .elementor-column,
body.woocommerce-account:not( .logged-in ) .elementor-column-wrap,
body.woocommerce-account:not( .logged-in ) .elementor-widget-wrap,
body.woocommerce-account:not( .logged-in ) .elementor-widget-container,
body.woocommerce-account:not( .logged-in ) .elementor-shortcode,
body.woocommerce-account:not( .logged-in ) .e-container,
body.woocommerce-account:not( .logged-in ) .e-con,
body.woocommerce-account:not( .logged-in ) .e-con-inner,
body.woocommerce-account:not( .logged-in ) .woocommerce {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	overflow: visible !important;
}

/* =====================================================
   Page shell — CSS Grid split
   ===================================================== */
.rn-page {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax( 0, 1.05fr ) minmax( 0, 0.95fr );
	grid-auto-rows: minmax( 100vh, auto ); /* row is ≥ 100vh; both columns stretch equally */
	align-items: stretch;
}

/* =====================================================
   Form pane — left column, cream paper
   ===================================================== */
.rn-form-pane {
	position: relative;
	background: var( --renera-sand-300 );
	display: flex;
	flex-direction: column;
	padding: 36px 56px 40px;
	min-height: 100vh;
	box-sizing: border-box;
}

/* Botanical background wash — sits behind all content */
.rn-botanical-wash {
	position: absolute;
	inset: 0;
	background-image: url( '../images/decor/botanical-set-2.svg' );
	background-size: 120%;
	background-position: -60px -40px;
	background-repeat: no-repeat;
	opacity: 0.06;
	pointer-events: none;
}

/* =====================================================
   Top bar — wordmark + back link
   ===================================================== */
.rn-top-bar {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 2;
}

.rn-wordmark {
	font-family: var( --renera-font-serif-alt );
	font-weight: 400;
	font-size: 30px;
	color: var( --renera-olive-700 ) !important;
	letter-spacing: -0.02em;
	text-decoration: none !important;
	text-transform: none !important;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}
/* Inline brand logo (renera-primary.svg) — inherits currentColor, sized to the wordmark font */
.rn-wordmark__svg { height: 0.82em; width: auto; display: block; }
.rn-wordmark:focus-visible {
	outline: 2px solid var( --renera-olive-700 );
	outline-offset: 4px;
	border-radius: 2px;
}

.rn-top-link {
	font-family: var( --renera-font-mono );
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --renera-mute ) !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	min-height: 44px;   /* WCAG 2.5.5 — 44px tap target */
	gap: 8px;
	transition: color var( --renera-dur-fast ) var( --renera-ease );
}
.rn-top-link:hover { color: var( --renera-olive-700 ) !important; }
.rn-top-link:focus-visible {
	outline: 2px solid var( --renera-olive-700 );
	outline-offset: 2px;
	color: var( --renera-olive-700 ) !important;
}

/* =====================================================
   Form wrap — vertically centers the form card
   ===================================================== */
.rn-form-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
}

.rn-form-card {
	width: 100%;
	max-width: 440px;
}

/* =====================================================
   Eyebrow, headline, lead
   ===================================================== */
.rn-eyebrow {
	font-family: var( --renera-font-mono );
	font-size: 11px !important;
	font-weight: 400 !important;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var( --renera-mute ) !important;
	margin: 0 0 22px;
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.rn-eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var( --renera-clay-300 );
}

.rn-headline {
	font-family: var( --renera-font-serif ) !important;
	font-weight: 400 !important;
	font-size: 52px !important;
	line-height: 1.04 !important;
	letter-spacing: -0.015em !important;
	color: var( --renera-olive-700 ) !important;
	margin: 0 0 18px !important;
	text-wrap: balance;
}
.rn-headline em {
	font-style: italic !important;
	font-size: 1em !important;
	color: var( --renera-olive-700 ) !important;
}

.rn-lead {
	font-family: var( --renera-font-sans ) !important;
	font-size: 15px !important;
	line-height: 1.7 !important;
	color: var( --renera-mute ) !important;
	margin: 0 0 40px !important;
	max-width: 380px;
}

/* =====================================================
   WooCommerce notices — branded overrides
   Notices are relayed into .rn-form-card by JS after WC 8+ hides
   them in the Elementor wrapper with display:none server-side.
   ===================================================== */

/* Shared shell — strips WC defaults, applies brand base */
.rn-form-card .woocommerce-error,
.rn-form-card .woocommerce-message,
.rn-form-card .woocommerce-info {
	list-style: none !important;
	margin: 0 0 24px !important;
	padding: 13px 16px !important;
	border-radius: var( --renera-r-sm ) !important;
	font-family: var( --renera-font-sans ) !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
	color: var( --renera-ink ) !important;
	background-color: var( --renera-clay-100 ) !important;
	box-shadow: none !important;
}

/* WC renders a leading SVG / ::before icon — suppress both */
.rn-form-card .woocommerce-error::before,
.rn-form-card .woocommerce-message::before,
.rn-form-card .woocommerce-info::before {
	display: none !important;
}

/* Clean up list items inside the notice <ul> */
.rn-form-card .woocommerce-error li,
.rn-form-card .woocommerce-message li,
.rn-form-card .woocommerce-info li {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Error — terracotta left-stripe */
.rn-form-card .woocommerce-error {
	border: 1px solid var( --renera-clay-500 ) !important;
	border-left: 3px solid var( --renera-clay-700 ) !important;
}

/* Success — olive left-stripe */
.rn-form-card .woocommerce-message {
	background-color: var( --renera-sand-100 ) !important;
	border: 1px solid var( --renera-clay-300 ) !important;
	border-left: 3px solid var( --renera-olive-500 ) !important;
}

/* Info — olive-700 left-stripe */
.rn-form-card .woocommerce-info {
	background-color: var( --renera-sand-200 ) !important;
	border: 1px solid var( --renera-clay-300 ) !important;
	border-left: 3px solid var( --renera-olive-700 ) !important;
}

/* Links inside notices */
.rn-form-card .woocommerce-error a,
.rn-form-card .woocommerce-message a,
.rn-form-card .woocommerce-info a {
	color: var( --renera-olive-700 ) !important;
	text-decoration: underline !important;
	text-transform: none !important;
}

/* =====================================================
   Form — hairline underline fields
   ===================================================== */
.rn-form {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
}

.rn-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 22px;
}

.rn-field-label {
	font-family: var( --renera-font-mono );
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --renera-mute );
	display: block;
}

/* Hairline underline control — no box, border-bottom only */
/* Use !important to win against WooCommerce's global input styles */
.rn-field-control {
	position: relative;
	display: flex !important;
	align-items: center !important;
	border-bottom: 1px solid var( --renera-clay-300 );
	transition: border-color var( --renera-dur-fast ) var( --renera-ease );
}
.rn-field-control:focus-within {
	border-bottom-color: var( --renera-olive-700 );
	/* Add a 1px shadow flush under the existing border to read as a 2px underline
	   without triggering a 1px layout shift on focus. WCAG 2.4.7 contrast is
	   provided by the olive-700 color change against clay-300 default. */
	box-shadow: 0 1px 0 0 var( --renera-olive-700 );
}

/* Leading icons — explicit size + color so WC doesn't interfere */
.rn-field-control .rn-lead-icon {
	display: block !important;
	flex: 0 0 20px !important;
	width: 20px !important;
	height: 20px !important;
	margin-right: 14px !important;
	color: var( --renera-mute );
	transition: color var( --renera-dur-fast ) var( --renera-ease );
	pointer-events: none;
}
.rn-field-control:focus-within .rn-lead-icon {
	color: var( --renera-olive-700 );
}

/* The actual input — transparent, no border */
/* Specificity (0,1,1) for flex sizing — sufficient for own properties */
.rn-field-control input {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0 !important;
	padding: 14px 0;
	font-family: var( --renera-font-sans );
	font-size: 16px;
	color: var( --renera-ink );
	letter-spacing: var( --renera-track-sans );
	-webkit-appearance: none;
	appearance: none;
}
/* Nuclear specificity (0,4,1) — targets the exact classes WC puts on the input.
   Beats Elementor runtime CSS which typically reaches (0,2,1)–(0,3,1).
   All four border longhands are listed so no single-side rule can sneak through. */
.rn-page .rn-field .rn-field-control input.woocommerce-Input,
.rn-page .rn-field .rn-field-control input.woocommerce-Input:focus,
.rn-page .rn-field .rn-field-control input.woocommerce-Input:active,
.rn-page .rn-field .rn-field-control input.input-text,
.rn-page .rn-field .rn-field-control input.input-text:focus,
.rn-page .rn-field .rn-field-control input.input-text:active {
	border-top: 0 !important;
	border-right: 0 !important;
	border-bottom: 0 !important;
	border-left: 0 !important;
	outline: 0 !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.rn-field-control input::placeholder {
	color: var( --renera-mute );
	opacity: 0.6;
}

/* No input-level outline ring: browsers force :focus-visible to match on text
   inputs even for mouse clicks, so the prior 2px ring rendered as a box on
   every selection. Focus is instead indicated by the .rn-field-control's
   amplified underline (border-bottom + 1px box-shadow → reads as 2px olive). */

/* Eye toggle button */
.rn-eye-btn {
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 8px;
	min-width: 44px;   /* WCAG 2.5.5 — 44×44 minimum touch target */
	min-height: 44px;
	border-radius: 4px;
	color: var( --renera-mute );
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color var( --renera-dur-fast ) var( --renera-ease );
	flex-shrink: 0;
}
.rn-eye-btn:hover { color: var( --renera-olive-700 ); }
.rn-eye-btn:focus-visible {
	outline: 2px solid var( --renera-olive-700 );
	outline-offset: 2px;
	color: var( --renera-olive-700 );
}

/* Suppress browser credential/autofill icons */
.rn-field-control input::-webkit-credentials-auto-fill-button,
.rn-field-control input::-webkit-strong-password-auto-fill-button,
.rn-field-control input::-webkit-contacts-auto-fill-button,
.rn-field-control input::-webkit-caps-lock-indicator {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Suppress Chrome/Edge native password-reveal eye */
.rn-field-control input[type="password"]::-webkit-textfield-decoration-container,
.rn-field-control input[type="text"]::-webkit-textfield-decoration-container {
	display: none !important;
}
.rn-field-control input[type="password"]::-ms-reveal {
	display: none !important;
}

/* Suppress WooCommerce's JS-injected .show-password-input span —
   our rn-eye-btn handles this already */
.rn-field-control .show-password-input {
	display: none !important;
}

/* WooCommerce wraps #password in <span class="password-input"> at DOM-ready.
   The span is a column-direction flex container; the input is its cross-axis child.
   (1) Span must grow horizontally within .rn-field-control (flex: 1, min-width: 0).
   (2) Input must fill the span's full width — align-self:stretch + width:100%
       expand it on the cross axis of the column container. */
.rn-field-control .password-input {
	flex: 1 1 0 !important;
	min-width: 0 !important;
}
.rn-field-control .password-input input {
	align-self: stretch !important;
	width: 100% !important;
	min-width: 0 !important;
}

/* Suppress password-manager injected overlays — scoped to .rn-page so
   we never accidentally hide LastPass/1Password badges on cart/checkout
   if this stylesheet ever enqueues outside the login surface. */
.rn-page [data-lastpass-icon-root],
.rn-page [data-lastpass-infield],
.rn-page [data-dashlane-clip],
.rn-page [data-dashlane-observed],
.rn-page .lp-icon,
.rn-page .__lpform_input_wrap,
.rn-page div[id^="__lpform_"],
.rn-page div[id*="lastpass"],
.rn-page [data-1password-visible],
.rn-page com-1password-menu,
.rn-page [data-com-onepassword-filled],
.rn-page [data-bwignore] + div,
.rn-page iframe[id^="bw-"],
.rn-page iframe[id*="lastpass"],
.rn-page iframe[id*="1password"] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
.rn-page input[data-lpignore="true"] ~ div[style*="position: absolute"] { display: none !important; }

/* =====================================================
   Options row — "Keep me signed in" + "Forgot password"
   ===================================================== */
.rn-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: -6px 0 32px;
}

/* Custom checkbox */
.rn-check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-family: var( --renera-font-sans );
	font-size: 14px;
	color: var( --renera-ink );
	user-select: none;
}
.rn-check input[type="checkbox"] {
	/* Visually hide but KEEP IN A11Y TREE — screen readers (NVDA/JAWS/VO)
	   still announce checked state. display:none would remove it entirely.
	   Canonical visually-hidden pattern. WCAG 1.3.1 / 4.1.2. */
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect( 0, 0, 0, 0 ) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
}
/* Visible focus ring on the custom checkbox surrogate when the real input
   receives keyboard focus. Keyboard users get a clear indicator. */
.rn-check input[type="checkbox"]:focus-visible + .rn-check-box {
	outline: 2px solid var( --renera-olive-700 );
	outline-offset: 2px;
}
.rn-check-box {
	position: relative;
	width: 18px;
	height: 18px;
	box-sizing: border-box;
	border: 1px solid var( --renera-clay-300 );
	border-radius: 4px;
	background: var( --renera-sand-200 );
	display: inline-flex;
	flex-shrink: 0;
	overflow: hidden;
	transition: background 0.15s var( --renera-ease ), border-color 0.15s var( --renera-ease );
}
.rn-check input[type="checkbox"]:checked + .rn-check-box {
	background: var( --renera-olive-700 );
	border-color: var( --renera-olive-700 );
}
.rn-check input[type="checkbox"]:checked + .rn-check-box::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 9px;
	height: 5px;
	border-left: 1.5px solid var( --renera-sand-200 );
	border-bottom: 1.5px solid var( --renera-sand-200 );
	transform: rotate( -45deg );
}

/* Forgot password link */
.rn-forgot {
	font-family: var( --renera-font-mono );
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --renera-olive-700 ) !important;
	text-decoration: none !important;
	border-bottom: 1px solid var( --renera-clay-300 );
	padding-bottom: 2px;
	transition: border-color var( --renera-dur-fast ) var( --renera-ease ),
	            color var( --renera-dur-fast ) var( --renera-ease );
}
.rn-forgot:hover {
	color: var( --renera-olive-500 ) !important;
	border-color: var( --renera-olive-500 );
}
.rn-forgot:focus-visible {
	outline: 2px solid var( --renera-olive-700 );
	outline-offset: 3px;
	color: var( --renera-olive-700 ) !important;
}

/* =====================================================
   Primary submit button
   ===================================================== */
.rn-btn-primary {
	width: 100%;
	height: 56px;
	background: var( --renera-olive-700 );
	color: var( --renera-sand-200 );
	border: 1px solid var( --renera-olive-700 );
	border-radius: var( --renera-r-sm );
	font-family: var( --renera-font-mono );
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	transition: background var( --renera-dur-fast ) var( --renera-ease );
}
.rn-btn-primary:hover { background: var( --renera-olive-800 ); }
.rn-btn-primary .rn-arrow {
	transition: transform var( --renera-dur-base ) var( --renera-ease );
}
.rn-btn-primary:hover .rn-arrow { transform: translateX( 4px ); }

/* WooCommerce injects a privacy-policy notice inside the register form via
   woocommerce_register_form hook — its <a> needs the same olive treatment. */
.rn-form .woocommerce-privacy-policy-text {
	font-family: var( --renera-font-sans ) !important;
	font-size: 13px !important;
	color: var( --renera-mute ) !important;
	line-height: 1.6 !important;
	margin: 0 0 24px !important;
}
.rn-form .woocommerce-privacy-policy-text a {
	color: var( --renera-olive-700 ) !important;
	text-decoration: underline !important;
	text-transform: none !important;
}

/* =====================================================
   Form footer — "New to Renéra?" + create account link
   ===================================================== */
.rn-form-footer {
	margin-top: 36px;
	margin-bottom: 0;
	font-family: var( --renera-font-sans ) !important;
	font-size: 14px;
	color: var( --renera-mute );
	text-align: center;
}

/* Zero out WooCommerce's default form bottom spacing so the gap above
   the footer matches the 20px margin-top, same as the /login/ page. */
#rn-login .rn-form {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
/* #rn-login prefix raises specificity to (1,1,1) to beat .woocommerce a (0,1,1) */
#rn-login .rn-form-footer a {
	font-family: var( --renera-font-sans ) !important;
	font-weight: 700 !important;
	color: var( --renera-olive-700 ) !important;
	text-decoration: none !important;
	text-transform: none !important;
	border-bottom: 1px solid var( --renera-olive-700 ) !important;
	padding-bottom: 1px;
	margin-left: 6px;
}
#rn-login .rn-form-footer a:hover {
	color: var( --renera-olive-500 ) !important;
	border-bottom-color: var( --renera-olive-500 ) !important;
}

/* =====================================================
   Legal footer — pinned to bottom of form pane
   ===================================================== */
.rn-legal {
	position: relative;
	z-index: 2;
	margin-top: 28px;
	font-family: var( --renera-font-mono );
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --renera-mute );
	opacity: 0.6;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.rn-legal-links {
	display: flex;
	gap: 18px;
}
.rn-legal a {
	color: inherit !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent;
}
.rn-legal a:hover { border-bottom-color: var( --renera-clay-300 ); }

/* =====================================================
   Captcha / Cerber hide
   ===================================================== */
.rn-form-card [class*="cerber"],
.rn-form-card [id*="cerber"],
.rn-form-card .math-captcha,
.rn-form-card .math-captcha-form-field,
.rn-form-card p.math-captcha {
	display: none !important;
}

/* =====================================================
   Image pane — right column, olive background
   ===================================================== */
.rn-image-pane {
	position: relative;
	overflow: hidden;
	background: var( --renera-olive-700 );
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100vh;
	align-self: stretch; /* fill the full grid row height */
	isolation: isolate;
}

/* Botanical wash pseudo-element — pale sage on dark olive */
.rn-image-pane::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url( '../images/decor/botanical-set-1.svg' );
	background-size: 130%;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.12;
	filter: brightness( 2.5 ) saturate( 0.3 );
	z-index: 0;
}

/* Product packaging — floating render, centered */
.rn-product-floater {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -55% );
	max-width: 70%;
	z-index: 2;
	filter: drop-shadow( 0 30px 60px rgba( 0, 0, 0, 0.25 ) );
}

/* Baroque corner ornament */
.rn-baroque-corner {
	position: absolute;
	top: 40px;
	right: 40px;
	width: 64px;
	height: 64px;
	opacity: 0.5;
	z-index: 2;
	filter: brightness( 2.5 ) saturate( 0.3 );
}

/* Pane content — bottom-aligned editorial block */
.rn-pane-content {
	position: relative;
	z-index: 2;
	padding: 56px 56px 60px;
	color: var( --renera-sand-200 );
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.rn-pane-eyebrow {
	font-family: var( --renera-font-mono );
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba( 246, 238, 232, 0.7 );
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.rn-pane-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: rgba( 246, 238, 232, 0.4 );
}

.rn-pane-quote {
	font-family: var( --renera-font-serif );
	font-style: italic;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.08;
	letter-spacing: -0.012em;
	color: var( --renera-sand-200 );
	margin: 0;
	text-wrap: balance;
	max-width: 480px;
}

.rn-pane-attribution {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
	font-family: var( --renera-font-mono );
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba( 246, 238, 232, 0.7 );
}
.rn-pane-attribution::before {
	content: "";
	width: 36px;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
}

/* =====================================================
   Hero image — full-cover (register page lifestyle shot)
   ===================================================== */
.rn-hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	opacity: 0.92;
	mix-blend-mode: multiply;
}

/* =====================================================
   Success card — shown after account creation
   ===================================================== */

/* =====================================================
   Confirmation note — register-specific callout
   ===================================================== */
.rn-confirm-note {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0 32px;
	padding: 14px 16px;
	background: var( --renera-sand-200 );
	border: 1px solid var( --renera-clay-200 );
	border-left: 2px solid var( --renera-olive-500 );
	border-radius: var( --renera-r-sm );
	font-family: var( --renera-font-sans );
	font-size: 13px;
	line-height: 1.55;
	color: var( --renera-ink-soft );
}
.rn-confirm-dot {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var( --renera-olive-500 );
	box-shadow: 0 0 0 4px rgba( 91, 126, 80, 0.15 );
}

/* =====================================================
   Footer secondary links — "Log in · Lost your password?"
   ===================================================== */
.rn-footer-links {
	margin-top: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-family: var( --renera-font-mono );
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.rn-footer-links a {
	color: var( --renera-olive-700 );
	text-decoration: none;
	border-bottom: 1px solid var( --renera-clay-300 );
	padding-bottom: 2px;
	transition: border-color var( --renera-dur-fast ) var( --renera-ease ),
	            color var( --renera-dur-fast ) var( --renera-ease );
}
.rn-footer-links a:hover {
	color: var( --renera-olive-500 );
	border-bottom-color: var( --renera-olive-500 );
}
.rn-footer-links a:focus-visible {
	outline: 2px solid var( --renera-olive-700 );
	outline-offset: 3px;
	color: var( --renera-olive-700 );
}
.rn-footer-sep {
	color: var( --renera-clay-300 );
}

/* =====================================================
   Perks list — register imagery pane
   ===================================================== */
.rn-pane-perks {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.rn-pane-perks li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-family: var( --renera-font-sans );
	font-size: 14px;
	line-height: 1.55;
	color: rgba( 246, 238, 232, 0.88 );
	max-width: 420px;
}
.rn-perk-num {
	flex: 0 0 auto;
	font-family: var( --renera-font-mono );
	font-size: 10px;
	letter-spacing: 0.18em;
	color: rgba( 246, 238, 232, 0.55 );
	margin-top: 4px;
	min-width: 22px;
}

/* =====================================================
   Full-bleed shell — hide site header + footer on
   logged-out My Account to mirror wp-login.php look.
   Targets Elementor Pro location sections, Hello
   Elementor's generic wrappers, and common WP IDs.
   ===================================================== */
body.woocommerce-account:not( .logged-in ) [data-elementor-type="header"],
body.woocommerce-account:not( .logged-in ) .elementor-location-header,
body.woocommerce-account:not( .logged-in ) [data-elementor-type="footer"],
body.woocommerce-account:not( .logged-in ) .elementor-location-footer,
body.woocommerce-account:not( .logged-in ) .site-header,
body.woocommerce-account:not( .logged-in ) .site-footer,
body.woocommerce-account:not( .logged-in ) #masthead,
body.woocommerce-account:not( .logged-in ) #colophon {
	display: none !important;
}

/* Hide the sticky-header offset spacer section that sits above the form.
   The My Account Elementor page (post 3921) has a first child section
   that compensates for the fixed header height — hidden here, it's not needed. */
body.woocommerce-account:not( .logged-in ) .elementor-3921 > .elementor-element:first-child {
	display: none !important;
}

/* Remove Elementor inner-container top padding that creates a residual gap */
body.woocommerce-account:not( .logged-in ) .elementor-3921 .e-con-inner {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.woocommerce-account:not( .logged-in ) #page,
body.woocommerce-account:not( .logged-in ) #content,
body.woocommerce-account:not( .logged-in ) .site-content,
body.woocommerce-account:not( .logged-in ) #primary,
body.woocommerce-account:not( .logged-in ) #main,
body.woocommerce-account:not( .logged-in ) .entry-content,
body.woocommerce-account:not( .logged-in ) .woocommerce {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* =====================================================
   Responsive — collapse image pane at 980px (login) / 760px (register)
   ===================================================== */
@media ( max-width: 980px ) {
	.rn-page {
		grid-template-columns: 1fr !important;
	}
	/* Register page stays 2-col until its own 760px breakpoint */
	.rn-page--register {
		grid-template-columns: minmax( 0, 0.95fr ) minmax( 0, 1.05fr ) !important;
	}
	.rn-image-pane {
		display: none;
	}
	.rn-page--register .rn-image-pane {
		display: block;
	}
	.rn-form-pane {
		padding: 32px 24px;
	}
}

@media ( max-width: 760px ) {
	.rn-page--register {
		grid-template-columns: 1fr !important;
	}
	.rn-page--register .rn-image-pane {
		display: none;
	}
	.rn-page--register .rn-headline {
		font-size: 40px !important;
	}
	.rn-page--register .rn-field-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.rn-page--register .rn-field-row .rn-field {
		margin-bottom: 20px;
	}
}

/* =====================================================
   Register page overrides — scoped to .rn-page--register
   (Applied via JS when register tab is active in form-login.php,
   and statically on form-register.php via the modifier class.)
   ===================================================== */
.rn-page--register {
	grid-template-columns: minmax( 0, 0.95fr ) minmax( 0, 1.05fr );
}

/* Visually swap pane order: image LEFT, form RIGHT */
.rn-page--register .rn-image-pane { order: 1; }
.rn-page--register .rn-form-pane  { order: 2; }

.rn-page--register .rn-headline {
	font-size: 48px !important;
	margin: 0 0 16px !important;
}

.rn-page--register .rn-lead {
	margin: 0 0 36px !important;
}

.rn-page--register .rn-field {
	margin-bottom: 20px;
}

.rn-page--register .rn-form-card {
	max-width: 460px;
}

.rn-page--register .rn-form-wrap {
	padding: 32px 0;
}

.rn-page--register .rn-hero-image {
	opacity: 0.85;
}

.rn-page--register .rn-image-pane.tone-olive .rn-hero-image {
	mix-blend-mode: multiply;
	opacity: 0.85;
}

.rn-page--register .rn-confirm-dot {
	box-shadow: 0 0 0 4px rgba( 125, 138, 95, 0.15 );
}

.rn-page--register .rn-legal {
	margin-top: 24px;
}

.rn-page--register .rn-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin-bottom: 20px;
}

.rn-page--register .rn-field-row .rn-field {
	margin-bottom: 0;
}

.rn-page--register .rn-divider {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 8px 0 24px;
	color: var( --renera-mute );
}

.rn-page--register .rn-divider::before,
.rn-page--register .rn-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var( --renera-clay-300 );
}

.rn-page--register .rn-divider span {
	font-family: var( --renera-font-mono );
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* =====================================================
   Respect prefers-reduced-motion (WCAG 2.3.3)
   Disables transitions for users who opted in at the OS level.
   ===================================================== */
@media ( prefers-reduced-motion: reduce ) {
	.rn-page,
	.rn-page *,
	.rn-page *::before,
	.rn-page *::after {
		transition: none !important;
		animation: none !important;
	}
}
