.kklv {
	--kklv-accent: #f59f34;
	--kklv-accent-dark: #c56a00;
	--kklv-accent-ink: #291700;
	--kklv-ink: #202124;
	--kklv-muted: #62646b;
	--kklv-border: #dedfe3;
	--kklv-soft: #fff9f1;
	--kklv-card: #fff;
	margin: 28px 0;
	overflow: hidden;
	color: var(--kklv-ink);
	background: var(--kklv-card);
	border: 1px solid var(--kklv-border);
	border-radius: 14px;
	box-shadow: 0 16px 42px rgba(33, 33, 33, 0.08);
	font-family: inherit;
	scroll-margin-top: 90px;
}

.kklv *,
.kklv *::before,
.kklv *::after {
	box-sizing: border-box;
}

.kklv[hidden],
.kklv [hidden] {
	display: none !important;
}

.kklv__header {
	padding: 28px clamp(20px, 4vw, 40px) 24px;
	background: linear-gradient(135deg, #fff 0%, var(--kklv-soft) 100%);
	border-bottom: 1px solid var(--kklv-border);
}

.kklv__kicker {
	margin: 0 0 6px;
	color: var(--kklv-accent-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.kklv__title,
.kklv-results h3 {
	margin: 0;
	color: var(--kklv-ink);
	font-weight: 750;
	line-height: 1.2;
}

.kklv__title {
	font-size: clamp(26px, 4vw, 36px);
}

.kklv__intro {
	max-width: 760px;
	margin: 10px 0 0;
	color: var(--kklv-muted);
	font-size: 16px;
	line-height: 1.6;
}

.kklv__progress {
	display: grid;
	grid-template-columns: auto minmax(120px, 1fr);
	gap: 16px;
	align-items: center;
	padding: 14px clamp(20px, 4vw, 40px);
	color: var(--kklv-muted);
	font-size: 13px;
	font-weight: 700;
	border-bottom: 1px solid var(--kklv-border);
}

.kklv__progress-track {
	display: block;
	height: 7px;
	overflow: hidden;
	background: #ebecef;
	border-radius: 999px;
}

.kklv__progress-track > span {
	display: block;
	width: 25%;
	height: 100%;
	background: var(--kklv-accent);
	border-radius: inherit;
	transition: width 180ms ease;
}

.kklv__form {
	padding: clamp(18px, 3vw, 32px);
}

.kklv-results {
	padding: clamp(22px, 4vw, 40px);
}

.kklv-step {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.kklv-step > legend {
	display: block;
	width: 100%;
	margin: 0 0 16px;
	padding: 0;
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 750;
	line-height: 1.25;
}

.kklv-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.kklv-option {
	position: relative;
	display: block;
	min-width: 0;
	cursor: pointer;
}

.kklv-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.kklv-option__content {
	display: flex;
	min-height: 82px;
	padding: 14px 16px;
	flex-direction: column;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--kklv-border);
	border-radius: 10px;
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background 140ms ease;
}

.kklv-option__content strong {
	display: block;
	margin-bottom: 5px;
	font-size: 16px;
	line-height: 1.3;
}

.kklv-option__content > span {
	display: block;
	color: var(--kklv-muted);
	font-size: 14px;
	line-height: 1.45;
}

.kklv-option:hover .kklv-option__content {
	border-color: #dfa65e;
	transform: translateY(-1px);
}

.kklv-option input:checked + .kklv-option__content {
	background: #fff7ec;
	border-color: var(--kklv-accent);
	box-shadow: 0 0 0 2px rgba(245, 159, 52, 0.22);
}

.kklv-option input:focus-visible + .kklv-option__content,
.kklv button:focus-visible,
.kklv a:focus-visible,
.kklv [tabindex="-1"]:focus-visible {
	outline: 3px solid #b85f00;
	outline-offset: 3px;
}

.kklv-step__actions,
.kklv-results__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 16px;
}

.kklv-step.is-entering {
	animation: kklv-step-in 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes kklv-step-in {
	0% {
		opacity: 0;
		transform: translateX(26px) scale(0.985);
	}
	100% {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

.kklv-button,
.kklv-product__button {
	display: inline-flex;
	min-height: 46px;
	padding: 11px 18px;
	align-items: center;
	justify-content: center;
	color: var(--kklv-accent-ink);
	background: var(--kklv-accent);
	border: 1px solid var(--kklv-accent);
	border-radius: 8px;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.kklv-button:hover,
.kklv-product__button:hover {
	color: var(--kklv-accent-ink);
	background: var(--kklv-accent-dark);
	border-color: var(--kklv-accent-dark);
	transform: translateY(-1px);
}

.kklv-button--secondary {
	color: var(--kklv-ink);
	background: #fff;
	border-color: var(--kklv-border);
}

.kklv-button--secondary:hover {
	color: var(--kklv-ink);
	background: var(--kklv-soft);
	border-color: #bfc1c7;
}

.kklv-button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
	transform: none;
}

.kklv-results__header {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 22px;
}

.kklv-results__header h3 {
	font-size: clamp(24px, 3vw, 30px);
}

.kklv-results__header p:not(.kklv__kicker) {
	max-width: 820px;
	margin: 9px 0 0;
	color: var(--kklv-muted);
	line-height: 1.55;
}

.kklv__loading,
.kklv__error,
.kklv__empty,
.kklv__noscript,
.kklv--notice {
	padding: 16px 18px;
	background: var(--kklv-soft);
	border: 1px solid var(--kklv-border);
	border-radius: 8px;
	line-height: 1.5;
}

.kklv-results.is-loading {
	min-height: min(620px, 72vh);
}

.kklv-results.is-loading > :not(.kklv-results__header):not(.kklv__loading) {
	display: none !important;
}

.kklv__loading {
	display: flex;
	min-height: 340px;
	gap: 8px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: var(--kklv-muted);
	text-align: center;
}

.kklv__loading strong {
	color: var(--kklv-ink);
	font-size: 19px;
}

.kklv-loader {
	display: flex;
	height: 42px;
	gap: 7px;
	align-items: center;
	justify-content: center;
}

.kklv-loader span {
	display: block;
	width: 11px;
	height: 11px;
	background: var(--kklv-accent);
	border-radius: 50%;
	animation: kklv-loader-bounce 900ms ease-in-out infinite;
}

.kklv-loader span:nth-child(2) {
	animation-delay: 120ms;
}

.kklv-loader span:nth-child(3) {
	animation-delay: 240ms;
}

@keyframes kklv-loader-bounce {
	0%, 60%, 100% {
		transform: translateY(0);
		opacity: 0.55;
	}
	30% {
		transform: translateY(-10px);
		opacity: 1;
	}
}

.kklv__error {
	color: #8a1538;
	background: #fff3f5;
	border-color: #f0b6c2;
}

.kklv-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.kklv-product {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--kklv-border);
	border-radius: 10px;
}

.kklv-product.is-revealing {
	animation: kklv-product-in 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes kklv-product-in {
	0% {
		opacity: 0;
		transform: translateY(18px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.kklv-product--featured {
	border-color: var(--kklv-accent);
	box-shadow: 0 0 0 2px rgba(245, 159, 52, 0.18);
}

.kklv-product__badge {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 9px;
	padding: 5px 8px;
	color: var(--kklv-accent-ink);
	background: #fff1dc;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
}

.kklv-product__media {
	display: block;
	position: relative;
	padding-top: 100%;
	overflow: hidden;
	background: #f5f5f5;
}

.kklv-product__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
}

.kklv-product__content {
	display: flex;
	padding: 15px;
	flex: 1;
	flex-direction: column;
}

.kklv-product h4 {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.kklv-product h4 a {
	color: var(--kklv-ink);
	text-decoration: none;
}

.kklv-product__price {
	margin: auto 0 13px;
	font-size: 16px;
	font-weight: 750;
}

.kklv-product__button {
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
}

.kklv-addons {
	margin-top: 34px;
	padding-top: 26px;
	border-top: 1px solid var(--kklv-border);
}

.kklv-addons h3 {
	margin-bottom: 16px;
	font-size: 21px;
}

.kklv-product-grid--addons {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kklv-more-wrap,
.kklv-addons__more {
	display: flex;
	justify-content: center;
	margin: 22px 0 0;
}

.kklv-results__actions {
	flex-wrap: wrap;
	justify-content: center;
}

@media (max-width: 780px) {
	.kklv-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kklv-product-grid,
	.kklv-product-grid--addons {
		grid-template-columns: 1fr;
	}

	.kklv-results__header {
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	.kklv {
		margin: 14px 0;
		border-radius: 10px;
	}

	.kklv__header {
		padding: 14px 14px 12px;
	}

	.kklv__title {
		font-size: 22px;
	}

	.kklv__intro {
		display: -webkit-box;
		margin-top: 5px;
		overflow: hidden;
		font-size: 13px;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.kklv__progress {
		grid-template-columns: auto minmax(90px, 1fr);
		gap: 10px;
		padding: 8px 14px;
	}

	.kklv__form {
		padding: 13px 12px 14px;
	}

	.kklv-step > legend {
		margin-bottom: 10px;
		font-size: 18px;
		line-height: 1.2;
	}

	.kklv-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 7px;
	}

	.kklv-option__content {
		min-height: 58px;
		padding: 9px 10px;
		border-radius: 8px;
	}

	.kklv-option__content strong {
		margin: 0;
		font-size: 13px;
		line-height: 1.22;
	}

	.kklv-option__content > span {
		display: none;
	}

	.kklv-step__actions {
		margin-top: 10px;
	}

	.kklv-step__actions .kklv-button {
		min-height: 36px;
		padding: 7px 12px;
		font-size: 12px;
	}

	.kklv-product-grid {
		gap: 10px;
	}

	.kklv-product__content {
		padding: 11px;
	}

	.kklv-product h4 {
		font-size: 13px;
	}

	.kklv-results {
		padding: 16px 12px;
	}

	.kklv-results.is-loading {
		min-height: 520px;
	}

	.kklv__loading {
		min-height: 330px;
	}

	.kklv-results__actions .kklv-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kklv *,
	.kklv *::before,
	.kklv *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
