:root {
	--icmn-shop-gold: var(--wd-primary-color, #dd9933);
	--icmn-shop-ink: var(--wd-title-color, #242424);
	--icmn-shop-text: var(--wd-text-color, #565656);
	--icmn-shop-line: rgba(0, 0, 0, .12);
	--icmn-shop-soft: #f7f7f7;
}

.icmn-login-shell {
	display: grid;
	grid-template-columns: minmax(280px, .86fr) minmax(420px, 1.14fr);
	width: min(960px, calc(100vw - 60px));
	max-width: none !important;
	margin: 40px auto !important;
	border: 1px solid var(--icmn-shop-line);
	border-radius: 0;
	background: #fff;
	box-shadow: 0 24px 70px rgba(36, 36, 36, .09);
	color: var(--icmn-shop-text);
	font-family: var(--wd-text-font, "Noto Sans", Arial, Helvetica, sans-serif);
	overflow: hidden;
}

/*
 * The login page uses a Gutenberg constrained column (450px). Let that
 * column occupy the content row so normal auto margins center the shell.
 */
body.page-id-491 .wp-block-column:has(> .icmn-login-shell),
body.page-id-491 .wp-container-core-column-is-layout-d4780d4f {
	width: 100%;
	max-width: none !important;
	flex-basis: 100% !important;
}

.icmn-login-shell.icmn-login-shell--compact {
	display: block;
	width: min(560px, calc(100vw - 40px));
	max-width: 560px !important;
}

.icmn-login-brand {
	position: relative;
	display: flex;
	min-height: 620px;
	padding: 48px 42px 38px;
	flex-direction: column;
	background:
		radial-gradient(circle at 100% 0, rgba(221, 153, 51, .2), transparent 38%),
		linear-gradient(145deg, #2b2a28 0%, #1d1d1c 72%);
	color: rgba(255, 255, 255, .76);
	isolation: isolate;
}

.icmn-login-brand::after {
	position: absolute;
	right: -54px;
	bottom: -82px;
	z-index: -1;
	width: 250px;
	height: 250px;
	border: 1px solid rgba(221, 153, 51, .22);
	border-radius: 50%;
	box-shadow: 0 0 0 32px rgba(221, 153, 51, .035), 0 0 0 64px rgba(221, 153, 51, .025);
	content: "";
}

.icmn-login-brandmark {
	display: flex;
	align-items: center;
	gap: 13px;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .04em;
	text-decoration: none !important;
}

.icmn-login-brandmark img {
	display: block;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	background: #fff;
	object-fit: cover;
}

.icmn-login-brand-copy {
	margin-top: 86px;
}

.icmn-login-eyebrow,
.icmn-login-kicker {
	display: block;
	margin-bottom: 14px;
	color: var(--icmn-shop-gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.2;
}

.icmn-login-brand-copy h2 {
	max-width: none;
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(24px, 2vw, 28px);
	font-weight: 600;
	letter-spacing: -.025em;
	line-height: 1.25;
	white-space: nowrap;
}

.icmn-login-brand-copy p {
	max-width: 300px;
	margin: 0;
	color: rgba(255, 255, 255, .66);
	font-size: 14px;
	line-height: 1.85;
}

.icmn-login-benefits {
	display: grid;
	gap: 14px;
	margin: 42px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.icmn-login-benefits li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
}

.icmn-login-benefits li span {
	display: inline-flex;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(221, 153, 51, .52);
	border-radius: 50%;
	color: var(--icmn-shop-gold);
	font-size: 10px;
	font-weight: 700;
}

.icmn-login-brand-foot {
	margin: auto 0 0;
	color: rgba(255, 255, 255, .42);
	font-size: 11px;
	letter-spacing: .08em;
}

.icmn-login-panel {
	padding: 56px clamp(34px, 5.2vw, 72px) 46px;
	background: #fff;
}

.icmn-login-heading {
	margin-bottom: 30px;
}

.icmn-login-heading h2 {
	margin: 0 0 10px;
	color: var(--icmn-shop-ink);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.35;
}

.icmn-login-heading p {
	margin: 0;
	color: #777;
	font-size: 13px;
	line-height: 1.75;
}

.icmn-login-wechat,
.icmn-login-submit {
	display: flex;
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 10px 20px;
	border: 0;
	border-radius: 0;
	background: var(--icmn-wechat, #07c160);
	box-shadow: none;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	text-align: center;
	text-decoration: none !important;
	transition: filter .2s ease, transform .2s ease;
}

.icmn-login-wechat:hover,
.icmn-login-submit:hover {
	color: #fff !important;
	filter: brightness(.94);
}

.icmn-login-wechat:focus-visible,
.icmn-login-submit:focus-visible,
.icmn-login-send:focus-visible,
.icmn-login-input:focus-visible,
.icmn-password-login input[type="submit"]:focus-visible,
.icmn-login-method-tab:focus-visible {
	outline: 2px solid var(--icmn-shop-gold);
	outline-offset: 3px;
}

.icmn-login-qr-dialog {
	position: fixed;
	width: min(420px, calc(100vw - 32px));
	max-width: none;
	margin: auto;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, .14);
	border-radius: 0;
	background: #fff;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
	overflow: visible;
}

.icmn-login-qr-dialog::backdrop {
	background: rgba(20, 20, 20, .62);
	backdrop-filter: blur(2px);
}

.icmn-login-qr-close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 2;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #777;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.icmn-login-qr-frame {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
	background: #fff;
}

.icmn-login-submit {
	margin-top: 18px;
	background: var(--icmn-primary, #dd9933);
	text-transform: uppercase;
}

.icmn-login-submit:disabled,
.icmn-login-send:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.icmn-login-divider {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 22px 0;
	color: #999;
	font-size: 11px;
	letter-spacing: .06em;
}

.icmn-login-divider::before,
.icmn-login-divider::after {
	flex: 1;
	height: 1px;
	background: var(--icmn-shop-line);
	content: "";
}

.icmn-login-label {
	display: block;
	margin: 17px 0 7px;
	color: var(--icmn-shop-ink);
	font-size: 13px;
	font-weight: 500;
}

.icmn-login-input,
.icmn-password-login input[type="text"],
.icmn-password-login input[type="password"] {
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	padding: 0 14px;
	border: 2px solid rgba(0, 0, 0, .1);
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: var(--icmn-shop-ink);
	font-size: 14px;
	transition: border-color .25s ease, box-shadow .25s ease;
}

.icmn-login-input::placeholder,
.icmn-password-login input::placeholder {
	color: #aaa;
}

.icmn-login-input:focus,
.icmn-password-login input[type="text"]:focus,
.icmn-password-login input[type="password"]:focus {
	border-color: var(--icmn-shop-gold);
	box-shadow: 0 0 0 3px rgba(221, 153, 51, .1);
	outline: none;
}

.icmn-login-code-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 116px;
	gap: 10px;
}

.icmn-login-send {
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid var(--icmn-shop-ink);
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: var(--icmn-shop-ink);
	font-size: 12px;
	font-weight: 600;
	text-transform: none;
	transition: background-color .2s ease, color .2s ease;
}

.icmn-login-send:hover {
	background: var(--icmn-shop-ink);
	color: #fff;
}

.icmn-login-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 16px;
	color: #777;
	font-size: 11px;
	line-height: 1.65;
}

.icmn-login-consent input {
	width: 15px;
	height: 15px;
	margin: 3px 0 0;
	flex: 0 0 15px;
	accent-color: var(--icmn-shop-gold);
}

.icmn-login-consent a {
	border-bottom: 1px solid currentColor;
	color: var(--icmn-shop-ink);
	text-decoration: none;
}

.icmn-login-status {
	min-height: 20px;
	margin-top: 12px;
	color: var(--icmn-success, #18794e);
	font-size: 12px;
	line-height: 1.6;
}

.icmn-login-status.is-error,
.icmn-login-notice--error {
	color: var(--icmn-danger, #b42318);
}

.icmn-login-notice {
	margin-bottom: 20px;
	padding: 12px 14px;
	border-inline-start: 3px solid var(--icmn-success, #18794e);
	border-radius: 0;
	background: #f3f8f4;
	color: #276749;
	font-size: 13px;
	line-height: 1.65;
}

.icmn-login-notice--error {
	border-inline-start-color: var(--icmn-danger, #b42318);
	background: #fff4f2;
}


.icmn-login-method-switch {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	margin-bottom: 20px;
	padding: 4px;
	border: 1px solid rgba(0, 0, 0, .08);
	background: #f3f2ef;
}

.icmn-login-method-tab {
	position: relative;
	min-height: 42px;
	padding: 8px 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #858585;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.icmn-login-method-tab::after {
	position: absolute;
	right: 18px;
	bottom: 5px;
	left: 18px;
	height: 2px;
	background: var(--icmn-shop-gold);
	content: "";
	opacity: 0;
	transform: scaleX(.45);
	transition: opacity .2s ease, transform .2s ease;
}

.icmn-login-method-tab:hover {
	color: var(--icmn-shop-ink);
}

.icmn-login-method-tab.is-active {
	background: #fff;
	box-shadow: 0 4px 14px rgba(36, 36, 36, .07);
	color: var(--icmn-shop-ink);
}

.icmn-login-method-tab.is-active::after {
	opacity: 1;
	transform: scaleX(1);
}

.icmn-login-method-stage {
	min-height: 355px;
}

.icmn-login-method-panel[hidden] {
	display: none;
}

.icmn-login-method-panel.is-active {
	animation: icmn-login-method-enter .22s ease both;
}

@keyframes icmn-login-method-enter {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.icmn-password-login {
	color: #666;
}

.icmn-password-login form {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.icmn-password-login form p {
	margin-bottom: 0;
}

.icmn-password-login form label {
	display: block;
	margin: 17px 0 7px;
	color: var(--icmn-shop-ink);
	font-size: 13px;
	font-weight: 500;
}

.icmn-password-login .login-remember {
	margin-top: 16px;
}

.icmn-password-login .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #777;
	font-size: 11px;
	font-weight: 400;
}

.icmn-password-login input[type="checkbox"] {
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: var(--icmn-shop-gold);
}

.icmn-password-login input[type="submit"] {
	min-height: 48px;
	width: 100%;
	margin-top: 18px;
	padding: 10px 20px;
	border: 0;
	border-radius: 0;
	background: var(--icmn-primary, #dd9933);
	box-shadow: none;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	transition: filter .2s ease;
}

.icmn-password-login input[type="submit"]:hover {
	color: #fff;
	filter: brightness(.94);
}

.icmn-login-security-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 22px 0 0;
	color: #9a9a9a;
	font-size: 10px;
	line-height: 1.5;
	text-align: center;
}

.icmn-login-security-note span {
	color: var(--icmn-shop-gold);
	font-weight: 700;
}

.icmn-login-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.icmn-login-test-page .whb-header,
.icmn-login-test-page .wd-prefooter,
.icmn-login-test-page .wd-footer,
.icmn-login-test-page .page-title {
	display: none !important;
}

.icmn-login-test-heading {
	display: grid;
	gap: 5px;
	margin-bottom: 22px;
	padding: 13px 15px;
	border-inline-start: 3px solid var(--icmn-shop-gold);
	background: #fbf7ef;
	color: #5d4a29;
}

.icmn-login-test-heading strong {
	font-size: 15px;
}

.icmn-login-test-heading span {
	font-size: 12px;
}

.icmn-login-test-logout {
	display: inline-block;
	margin-left: 8px;
	font-weight: 600;
}

.icmn-checkout-bind {
	margin: 0 0 24px;
	padding: 18px 20px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-inline-start: 4px solid var(--icmn-shop-gold);
	border-radius: 0;
	background: #fbf8f1;
}

.icmn-checkout-bind h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.icmn-checkout-bind > p {
	margin: 0 0 14px;
	color: #6c6253;
}

.icmn-checkout-bind .icmn-bind-status > p {
	display: none;
}

.icmn-checkout-bind .icmn-login-wechat {
	display: inline-flex;
	width: auto;
	min-width: 160px;
	margin: 0;
	padding-right: 18px;
	padding-left: 18px;
}

@media (max-width: 768.98px) {
	.icmn-login-shell {
		grid-template-columns: 1fr;
		width: calc(100vw - 24px);
		margin: 20px auto 32px !important;
		box-shadow: 0 16px 46px rgba(36, 36, 36, .08);
	}

	.icmn-login-brand {
		min-height: 0;
		padding: 24px 24px 25px;
	}

	.icmn-login-brand::after,
	.icmn-login-benefits,
	.icmn-login-brand-foot {
		display: none;
	}

	.icmn-login-brandmark img {
		width: 40px;
		height: 40px;
	}

	.icmn-login-brand-copy {
		margin-top: 26px;
	}

	.icmn-login-brand-copy h2 {
		max-width: none;
		margin-bottom: 10px;
		font-size: 24px;
		white-space: normal;
	}

	.icmn-login-brand-copy p {
		max-width: none;
		font-size: 12px;
		line-height: 1.7;
	}

	.icmn-login-panel {
		padding: 30px 24px 28px;
	}

	.icmn-login-heading {
		margin-bottom: 24px;
	}

	.icmn-login-heading h2 {
		font-size: 24px;
	}
}

@media (max-width: 420px) {
	.icmn-login-shell {
		width: calc(100vw - 16px);
		margin-top: 12px;
	}

	.icmn-login-brand,
	.icmn-login-panel {
		padding-right: 20px;
		padding-left: 20px;
	}

	.icmn-login-code-row {
		grid-template-columns: minmax(0, 1fr) 106px;
		gap: 8px;
	}

	.icmn-login-send {
		padding-inline: 8px;
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.icmn-login-shell *,
	.icmn-login-shell *::before,
	.icmn-login-shell *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
