.ka-auth-account-page .woocommerce > h2,
.ka-auth-account-page #customer_login,
.ka-auth-account-page .woocommerce-form-login,
.ka-auth-account-page .woocommerce-form-register,
.ka-auth-account-page .woocommerce-form-login-toggle,
.ka-auth-account-page .u-columns.col2-set {
	display: none !important;
}

.ka-auth-shell,
.ka-auth-shell *,
.ka-auth-shell *::before,
.ka-auth-shell *::after {
	box-sizing: border-box;
}

.ka-auth-shell {
	--ka-gold: var(--ka-primary, #d4af37);
	--ka-dark: #070707;
	--ka-navy: #102448;
	--ka-cream: #f8f5ee;
	--ka-border: #e6ddcc;
	--ka-muted: #716b63;
	position: relative;
	display: grid;
	grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr);
	width: min(100% - 28px, 1320px);
	min-height: 720px;
	margin: 38px auto;
	overflow: hidden;
	border: 1px solid rgba(212, 175, 55, .35);
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 30px 85px rgba(13, 22, 35, .14);
	font-family: inherit;
	line-height: 1.6;
}

.ka-auth-cosmos {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.ka-auth-cosmos span {
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ka-gold);
	box-shadow: 0 0 14px var(--ka-gold);
	animation: kaAuthBlink 2.2s ease-in-out infinite;
}

.ka-auth-cosmos span:nth-child(1) { top: 9%; left: 7%; }
.ka-auth-cosmos span:nth-child(2) { top: 32%; left: 37%; animation-delay: .6s; }
.ka-auth-cosmos span:nth-child(3) { right: 5%; bottom: 11%; animation-delay: 1.1s; }
.ka-auth-cosmos span:nth-child(4) { right: 29%; top: 6%; animation-delay: 1.6s; }

.ka-auth-intro {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(34px, 5vw, 66px);
	color: #fff;
	background:
		radial-gradient(circle at 12% 10%, rgba(212,175,55,.24), transparent 34%),
		radial-gradient(circle at 90% 88%, rgba(212,175,55,.12), transparent 31%),
		linear-gradient(145deg, #020202, #090909 65%, #171103);
}

.ka-auth-intro::after {
	content: "";
	position: absolute;
	right: -130px;
	bottom: -120px;
	width: 360px;
	height: 360px;
	border: 1px solid rgba(212,175,55,.18);
	border-radius: 50%;
	box-shadow: inset 0 0 0 70px rgba(212,175,55,.03), inset 0 0 0 140px rgba(212,175,55,.025);
	animation: kaAuthRotate 32s linear infinite;
}

.ka-auth-brand-mark {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 78px;
	height: 78px;
	margin-bottom: 26px;
	border: 1px dashed rgba(212,175,55,.72);
	border-radius: 50%;
	color: #090909;
	background: var(--ka-gold);
	box-shadow: 0 0 35px rgba(212,175,55,.24);
}

.ka-auth-brand-mark::after {
	content: "";
	position: absolute;
	inset: -9px;
	border: 1px solid rgba(212,175,55,.25);
	border-radius: 50%;
	animation: kaAuthRotate 14s linear infinite;
}

.ka-auth-brand-mark span {
	font-size: 36px;
	font-weight: 800;
}

.ka-auth-eyebrow {
	margin: 0 0 12px;
	color: var(--ka-gold);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ka-auth-intro h1 {
	max-width: 560px;
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(38px, 5.2vw, 67px);
	font-weight: 900;
	line-height: 1.03;
	letter-spacing: -.052em;
}

.ka-auth-intro h1 em {
	color: var(--ka-gold);
	font-style: normal;
}

.ka-auth-lead {
	max-width: 580px;
	margin: 0 0 28px;
	color: rgba(255,255,255,.68);
	font-size: 14px;
}

.ka-auth-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ka-auth-benefits span {
	padding: 11px 13px;
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 13px;
	color: rgba(255,255,255,.72);
	background: rgba(255,255,255,.04);
	font-size: 10px;
}

.ka-auth-card {
	position: relative;
	z-index: 3;
	padding: clamp(25px, 4vw, 48px);
	background:
		linear-gradient(180deg, rgba(212,175,55,.025), transparent 180px),
		#fff;
}

.ka-auth-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 7px;
	margin-bottom: 30px;
	padding: 7px;
	border: 1px solid var(--ka-border);
	border-radius: 18px;
	background: #f7f4ed;
}

.ka-auth-tabs button,
.ka-auth-methods button,
.ka-stepper button {
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 0 !important;
	box-shadow: none !important;
	font-family: inherit !important;
}

.ka-auth-tabs button {
	min-height: 46px;
	padding: 9px 10px;
	border-radius: 13px !important;
	cursor: pointer;
	color: #6d675f !important;
	background: transparent !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1.3;
}

.ka-auth-tabs button.is-active {
	color: #090909 !important;
	background: var(--ka-gold) !important;
	box-shadow: 0 9px 22px rgba(212,175,55,.19) !important;
}

.ka-auth-global-message {
	display: none;
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid #e1d7c3;
	border-radius: 14px;
	font-size: 11px;
	font-weight: 650;
}

.ka-auth-global-message.is-visible { display: block; }
.ka-auth-global-message.is-success { color: #075f37; border-color: #b9e1ca; background: #f0fff6; }
.ka-auth-global-message.is-error { color: #8d2e22; border-color: #edbbb4; background: #fff4f2; }
.ka-auth-global-message.is-info { color: #6c5717; border-color: #e8d697; background: #fffaf0; }

.ka-auth-panel { display: none; }
.ka-auth-panel.is-active { display: block; animation: kaAuthPanel .38s ease both; }

.ka-auth-panel-head { margin-bottom: 24px; }
.ka-auth-panel-head > span {
	display: inline-block;
	margin-bottom: 6px;
	color: #97750f;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .11em;
	text-transform: uppercase;
}
.ka-auth-panel-head h2 {
	margin: 0 0 7px;
	color: var(--ka-navy) !important;
	font-size: clamp(27px, 3.6vw, 42px);
	font-weight: 900;
	line-height: 1.13;
	letter-spacing: -.038em;
}
.ka-auth-panel-head p { margin: 0; color: var(--ka-muted); font-size: 11px; }

.ka-auth-methods {
	display: inline-grid;
	grid-template-columns: repeat(2, minmax(130px, 1fr));
	gap: 6px;
	margin-bottom: 20px;
	padding: 5px;
	border: 1px solid var(--ka-border);
	border-radius: 999px;
	background: #faf8f3;
}
.ka-auth-methods button {
	min-height: 39px;
	padding: 8px 15px;
	border-radius: 999px !important;
	cursor: pointer;
	color: #6d665d !important;
	background: transparent !important;
	font-size: 10px !important;
	font-weight: 800 !important;
}
.ka-auth-methods button.is-active { color: #fff !important; background: var(--ka-navy) !important; }

.ka-auth-form { display: grid; gap: 16px; }
.ka-grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.ka-field-full { grid-column: 1 / -1; }
.ka-field { display: block; min-width: 0; margin: 0; }
.ka-field > span:first-child,
.ka-upload-card > span:first-child {
	display: block;
	margin-bottom: 7px;
	color: #302c27;
	font-size: 10px;
	font-weight: 820;
}
.ka-field b,
.ka-upload-card b { color: #b52d20; }

.ka-auth-shell input,
.ka-auth-shell select,
.ka-auth-shell textarea {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid #dfd8cb !important;
	border-radius: 14px !important;
	outline: none !important;
	color: #222 !important;
	background: #fff !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 12px !important;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

.ka-auth-shell textarea { min-height: 110px !important; resize: vertical; line-height: 1.65; }
.ka-auth-shell input:focus,
.ka-auth-shell select:focus,
.ka-auth-shell textarea:focus {
	border-color: var(--ka-gold) !important;
	background: #fffdf8 !important;
	box-shadow: 0 0 0 4px rgba(212,175,55,.12) !important;
}

.ka-auth-shell input.is-invalid,
.ka-auth-shell select.is-invalid,
.ka-auth-shell textarea.is-invalid { border-color: #c64232 !important; box-shadow: 0 0 0 4px rgba(198,66,50,.09) !important; }
.ka-auth-shell input.is-valid { border-color: #299966 !important; }
.ka-field small { display: block; margin-top: 6px; color: #8a847b; font-size: 8.5px; line-height: 1.5; }
.ka-email-check.is-success { color: #13814f; }
.ka-email-check.is-error { color: #b1382b; }

.ka-password-wrap { position: relative; display: block; }
.ka-password-wrap input { padding-right: 48px !important; }
.ka-toggle-password {
	position: absolute !important;
	top: 50% !important;
	right: 9px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	min-height: 34px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: #8a806d !important;
	background: #f4f0e7 !important;
	box-shadow: none !important;
	transform: translateY(-50%) !important;
	cursor: pointer !important;
}

.ka-check {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 10px;
	padding: 13px 14px;
	border: 1px solid #e7dfd0;
	border-radius: 13px;
	background: #fcfaf5;
}
.ka-check input { width: 17px !important; height: 17px !important; min-height: 17px !important; margin-top: 2px !important; padding: 0 !important; accent-color: var(--ka-gold); }
.ka-check span { color: #69635b; font-size: 9.5px; line-height: 1.65; }

.ka-primary-button,
.ka-secondary-button,
.ka-text-button {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	min-height: 50px !important;
	padding: 11px 20px !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 10px !important;
	font-weight: 850 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	transition: transform .22s ease, color .22s ease, background-color .22s ease, opacity .22s ease !important;
}
.ka-primary-button { border: 1px solid var(--ka-gold) !important; color: #090909 !important; background: var(--ka-gold) !important; box-shadow: 0 12px 28px rgba(212,175,55,.18) !important; }
.ka-primary-button:hover { transform: translateY(-2px) !important; border-color: #090909 !important; color: var(--ka-gold) !important; background: #090909 !important; }
.ka-secondary-button { border: 1px solid var(--ka-navy) !important; color: #fff !important; background: var(--ka-navy) !important; }
.ka-secondary-button:hover { transform: translateY(-2px) !important; border-color: var(--ka-gold) !important; color: #090909 !important; background: var(--ka-gold) !important; }
.ka-text-button { min-height: 40px !important; padding-inline: 10px !important; border: 0 !important; color: #7d6b32 !important; background: transparent !important; }
.ka-primary-button:disabled,
.ka-secondary-button:disabled { opacity: .6 !important; cursor: wait !important; transform: none !important; }

.ka-otp-box {
	display: grid;
	gap: 14px;
	padding: 18px;
	border: 1px solid rgba(212,175,55,.48);
	border-radius: 17px;
	background: linear-gradient(145deg, #fffaf0, #fff);
}
.is-hidden { display: none !important; }

.ka-stepper {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 7px;
	margin-bottom: 25px;
}
.ka-stepper button {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	min-width: 0;
	min-height: 46px;
	padding: 8px 10px;
	border: 1px solid var(--ka-border) !important;
	border-radius: 13px !important;
	color: #766f64 !important;
	background: #faf8f3 !important;
	font-size: 9px !important;
	font-weight: 800 !important;
}
.ka-stepper button b { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; color: #7b6d42; background: #eee8da; }
.ka-stepper button.is-active { color: #090909 !important; border-color: var(--ka-gold) !important; background: #fff9e7 !important; }
.ka-stepper button.is-active b,
.ka-stepper button.is-complete b { color: #090909; background: var(--ka-gold); }

.ka-form-step { display: none; }
.ka-form-step.is-active { display: block; animation: kaAuthPanel .35s ease both; }
.ka-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }

.ka-choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ka-choice-row label { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border: 1px solid #e3dccf; border-radius: 999px; background: #fff; color: #5e5850; font-size: 9px; font-weight: 700; }
.ka-choice-row input { width: 15px !important; height: 15px !important; min-height: 15px !important; padding: 0 !important; accent-color: var(--ka-gold); }

.ka-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 19px 0; }
.ka-upload-card { display: block; min-width: 0; padding: 16px; border: 1px dashed #cfbd82; border-radius: 16px; background: #fffdf7; }
.ka-upload-card input[type="file"] { min-height: 46px !important; padding: 9px !important; border-style: solid !important; font-size: 9px !important; }
.ka-upload-card small { display: block; margin-top: 6px; color: #8a8175; font-size: 8px; }

.ka-verify-stage { max-width: 480px; margin: 20px auto 0; padding: 28px; border: 1px solid #e5d7ab; border-radius: 22px; background: #fffaf0; text-align: center; }
.ka-verify-icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin-bottom: 14px; border-radius: 50%; color: #090909; background: var(--ka-gold); font-size: 24px; }
.ka-verify-stage h3 { margin: 0 0 7px; color: var(--ka-navy) !important; font-size: 25px; }
.ka-verify-stage p { margin: 0 0 18px; color: var(--ka-muted); font-size: 10px; }
.ka-verify-stage .ka-text-button { margin-top: 9px !important; }

.ka-honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.ka-auth-already-logged { padding: 20px; border: 1px solid #ded4c2; border-radius: 16px; background: #fffdf8; }
.ka-auth-already-logged a { color: #8a6b0e; font-weight: 800; }

@keyframes kaAuthRotate { to { transform: rotate(360deg); } }
@keyframes kaAuthBlink { 0%,100% { opacity:.2; transform:scale(.7); } 50% { opacity:1; transform:scale(1.4); } }
@keyframes kaAuthPanel { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

@media (max-width: 1080px) {
	.ka-auth-shell { grid-template-columns: 1fr; }
	.ka-auth-intro { min-height: 430px; }
	.ka-auth-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
	.ka-auth-shell { width: calc(100% - 16px); margin: 16px auto; border-radius: 22px; }
	.ka-auth-intro { min-height: auto; padding: 34px 24px; }
	.ka-auth-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ka-auth-card { padding: 24px 18px; }
	.ka-auth-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ka-grid-form { grid-template-columns: 1fr; }
	.ka-field-full { grid-column: auto; }
	.ka-upload-grid { grid-template-columns: 1fr; }
	.ka-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
	.ka-auth-intro h1 { font-size: 40px; }
	.ka-auth-benefits { grid-template-columns: 1fr; }
	.ka-auth-tabs { grid-template-columns: 1fr 1fr; }
	.ka-auth-methods { width: 100%; grid-template-columns: 1fr 1fr; }
	.ka-stepper button span { display: none; }
	.ka-stepper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ka-stepper button { justify-content: center !important; padding: 7px !important; }
	.ka-step-actions { align-items: stretch; flex-direction: column-reverse; }
	.ka-step-actions > * { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.ka-auth-shell *, .ka-auth-shell *::before, .ka-auth-shell *::after { animation: none !important; transition: none !important; }
}
