.hnkg-membership-flow {
	--hnkg-red: #991219;
	--hnkg-dark: #120b0c;
	--hnkg-gold: #ffcd40;
	--hnkg-line: #e5e5e5;
	--hnkg-muted: #666;
	color: var(--hnkg-dark);
	font-family: inherit;
}

.hnkg-flow-header {
	margin: 0 auto 24px;
	max-width: 1120px;
	text-align: center;
}

.hnkg-flow-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 10px;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--hnkg-gold);
	color: #23150d;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.hnkg-flow-header h2 {
	margin: 0;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.02;
}

.hnkg-flow-header p:not(.hnkg-flow-kicker) {
	margin: 12px auto 0;
	max-width: 680px;
	color: var(--hnkg-muted);
	font-size: 18px;
}

.hnkg-flow-shell {
	margin: 0 auto;
	max-width: 1320px;
	border: 1px solid rgba(153, 18, 25, .08);
	border-radius: 16px;
	background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
	box-shadow: 0 22px 70px rgba(0, 0, 0, .14);
	overflow: clip;
}

.hnkg-flow-form {
	margin: 0;
}

.hnkg-flow-notices {
	padding: 18px 24px 0;
}

.hnkg-flow-notices .woocommerce-error,
.hnkg-flow-notices .woocommerce-message,
.hnkg-flow-notices .woocommerce-info {
	margin: 0;
	border-radius: 8px;
}

.hnkg-flow-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 14px;
	border-bottom: 1px solid rgba(153, 18, 25, .1);
	background:
		linear-gradient(90deg, rgba(153, 18, 25, .08), rgba(255, 205, 64, .12)),
		#f8f8f8;
}

.hnkg-flow-steps button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	border: 1px solid rgba(153, 18, 25, .1);
	border-radius: 999px;
	background: rgba(255, 255, 255, .82);
	color: #555;
	font: inherit;
	font-weight: 800;
	line-height: 1.1;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.hnkg-flow-steps button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(153, 18, 25, .12);
}

.hnkg-flow-steps button.is-active {
	border-color: rgba(153, 18, 25, .95);
	background: linear-gradient(135deg, var(--hnkg-red), #c01822);
	color: #fff;
	box-shadow: 0 12px 28px rgba(153, 18, 25, .24);
}

.hnkg-flow-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	gap: 34px;
	padding: 38px;
}

.hnkg-flow-panels {
	min-width: 0;
}

.hnkg-flow-panel {
	display: none;
}

.hnkg-flow-panel.is-active {
	display: block;
}

.hnkg-flow-panel h3 {
	margin: 0 0 10px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--hnkg-red);
	font-size: 24px;
	line-height: 1.2;
}

.hnkg-flow-panel p {
	margin: 0 0 22px;
	color: var(--hnkg-muted);
}

.hnkg-radio-row {
	display: grid;
	gap: 12px;
	margin: 18px 0 26px;
}

.hnkg-radio-row label,
.hnkg-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 700;
	line-height: 1.4;
}

.hnkg-radio-row input,
.hnkg-check input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--hnkg-red);
	flex: 0 0 auto;
}

.hnkg-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 24px;
}

.hnkg-field {
	display: grid;
	gap: 6px;
}

.hnkg-field span {
	color: #555;
	font-size: 13px;
	font-weight: 800;
}

.hnkg-field input,
.hnkg-field select {
	width: 100%;
	min-height: 46px;
	border: 0;
	border-bottom: 2px solid #d9d9d9;
	border-radius: 0;
	background: #fff;
	color: #111;
	font: inherit;
	font-weight: 700;
	outline: 0;
}

.hnkg-field input:focus,
.hnkg-field select:focus {
	border-bottom-color: var(--hnkg-red);
}

.hnkg-benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 28px;
}

.hnkg-benefits div {
	display: grid;
	gap: 4px;
	min-height: 104px;
	padding: 18px;
	border: 1px solid var(--hnkg-line);
	border-radius: 8px;
	background: #fafafa;
}

.hnkg-benefits strong {
	color: var(--hnkg-red);
	font-size: 25px;
	line-height: 1;
}

.hnkg-benefits span {
	font-weight: 700;
}

.hnkg-check {
	margin: 14px 0;
	color: #333;
}

.hnkg-muted {
	color: var(--hnkg-muted);
	font-size: 14px;
}

.hnkg-card-preview-wrap {
	position: sticky;
	top: 24px;
	align-self: start;
	padding: 18px;
	border: 1px solid rgba(153, 18, 25, .08);
	border-radius: 14px;
	background:
		radial-gradient(circle at 50% 0%, rgba(255, 205, 64, .18), transparent 36%),
		#fff;
	box-shadow: 0 16px 38px rgba(0, 0, 0, .08);
}

.hnkg-card-label {
	margin: 0 0 12px;
	color: #555;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.hnkg-card-stack {
	display: grid;
	gap: 18px;
}

.hnkg-card-preview {
	position: relative;
	width: 100%;
	aspect-ratio: 3159 / 1996;
	border: 1px solid rgba(255, 205, 64, .18);
	border-radius: 18px;
	background: #111;
	box-shadow: 0 18px 35px rgba(0, 0, 0, .22);
	overflow: hidden;
}

.hnkg-card-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hnkg-card-text {
	position: absolute;
	z-index: 2;
	color: #f2cf70;
	font-weight: 900;
	line-height: 1.1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
	text-transform: uppercase;
}

.hnkg-card-back-value {
	position: absolute;
	z-index: 3;
	left: 38%;
	width: 47.5%;
	color: #1f150d;
	font-weight: 900;
	line-height: 1.05;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .24);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hnkg-card-back-name {
	top: 38.8%;
	font-size: clamp(13px, 1.7vw, 20px);
}

.hnkg-card-back-birth {
	top: 54.2%;
	font-size: clamp(13px, 1.55vw, 19px);
}

.hnkg-card-back-start {
	top: 69.4%;
	font-size: clamp(13px, 1.55vw, 19px);
}

.hnkg-card-number {
	left: 37%;
	bottom: 12%;
	width: 28%;
	color: #1a1410;
	font-size: clamp(12px, 1.5vw, 18px);
	text-align: center;
	text-shadow: none;
}

.hnkg-review-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0 24px;
}

.hnkg-review-list div {
	padding: 12px 14px;
	border: 1px solid var(--hnkg-line);
	border-radius: 8px;
	background: #fafafa;
}

.hnkg-review-list span {
	display: block;
	margin-bottom: 3px;
	color: #666;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.hnkg-review-list strong {
	color: #111;
}

.hnkg-flow-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 28px;
}

.hnkg-btn {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 6px;
	background: var(--hnkg-red);
	color: #fff;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}

.hnkg-btn-secondary {
	background: #eee;
	color: #222;
}

.hnkg-btn-submit {
	display: none;
	background: var(--hnkg-gold);
	color: #1b1110;
}

.hnkg-flow-form.is-final-step .hnkg-btn-submit {
	display: inline-flex;
	align-items: center;
}

.hnkg-flow-form.is-final-step [data-hnkg-next] {
	display: none;
}

.hnkg-flow-notice {
	padding: 16px;
	border-left: 4px solid #b91c1c;
	background: #fee2e2;
	color: #7f1d1d;
}

.hnkg-account-card {
	max-width: 520px;
}

@media (max-width: 980px) {
	.hnkg-flow-grid {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.hnkg-card-preview-wrap {
		position: static;
		order: -1;
	}

	.hnkg-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.hnkg-flow-steps {
		grid-template-columns: 1fr 1fr;
	}

	.hnkg-field-grid,
	.hnkg-benefits,
	.hnkg-review-list {
		grid-template-columns: 1fr;
	}

	.hnkg-flow-actions {
		flex-direction: column;
	}

	.hnkg-btn {
		width: 100%;
		justify-content: center;
	}
}
