.lvimp-flow {
	font-family: var(--global-body-font-family);
	color: black;
	background: white;
	border: 1px solid grey;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 12px 32px grey;
	overflow: hidden;
}

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

.lvimp-flow__progress {
	margin-bottom: 24px;
}

.lvimp-flow__progress-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.lvimp-flow__progress-text {
	font-family: var(--global-body-font-family);
	font-size: 14px;
	color: black;
}

.lvimp-flow__progress-track {
	width: 100%;
	height: 8px;
	background: white;
	border: 1px solid grey;
	border-radius: 12px;
	overflow: hidden;
}

.lvimp-flow__progress-bar {
	width: 0%;
	height: 100%;
	background: red;
	border-radius: 12px;
	transition: width 220ms ease;
}

.lvimp-flow__stage {
	min-height: 260px;
}

.lvimp-flow__question {
	animation: lvimpFadeUp 220ms ease both;
}

.lvimp-flow__eyebrow {
	font-family: var(--global-body-font-family);
	font-size: 14px;
	color: grey;
	margin: 0 0 8px;
}

.lvimp-flow__title {
	font-family: var(--global-heading-font-family);
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.15;
	color: black;
	margin: 0 0 10px;
}

.lvimp-flow__help {
	font-family: var(--global-body-font-family);
	font-size: 15px;
	color: black;
	margin: 0 0 22px;
	max-width: 760px;
}

.lvimp-flow__options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.lvimp-flow__option {
	position: relative;
	appearance: none;
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 1px solid grey;
	border-radius: 12px;
	background: white;

	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	cursor: pointer;
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
	animation: lvimpCardIn 220ms ease both;
}


button.lvimp-flow__option:hover,
button.lvimp-flow__option:focus-visible,
button.lvimp-flow__option:active {
	transform: translateY(-3px);
	border-color: black;
	box-shadow: 0 10px 22px grey;
	outline: none;
}

button.lvimp-flow__option:hover .lvimp-flow__option-label,
button.lvimp-flow__option:focus-visible .lvimp-flow__option-label,
button.lvimp-flow__option:active .lvimp-flow__option-label {
    color:white;
}

.lvimp-flow__option.is-selected .lvimp-flow__option-label {
    	color:#fff!important;
}

.lvimp-flow__option.is-selected {
	border-color: red;
	box-shadow: 0 10px 22px grey;
	background:red!important;
}

.lvimp-flow__option.is-selected::after {
	content: "✓";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: red;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--global-heading-font-family);
	font-size: 16px;
	line-height: 1;
}

.lvimp-flow__option-icon {
	width: 46px;
	height: 46px;
	border: 1px solid grey;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--global-heading-font-family);
	font-size: 22px;
	color: black;
	background: white;
}

.lvimp-flow__option-label {
	font-family: var(--global-heading-font-family);
	font-size: 15px;
	line-height: 1.25;
	color: black;
}

.lvimp-flow__option:nth-child(1) {
	animation-delay: 20ms;
}

.lvimp-flow__option:nth-child(2) {
	animation-delay: 45ms;
}

.lvimp-flow__option:nth-child(3) {
	animation-delay: 70ms;
}

.lvimp-flow__option:nth-child(4) {
	animation-delay: 95ms;
}

.lvimp-flow__option:nth-child(5) {
	animation-delay: 120ms;
}

.lvimp-flow__option:nth-child(6) {
	animation-delay: 145ms;
}

.lvimp-flow__option:nth-child(7) {
	animation-delay: 170ms;
}

.lvimp-flow__option:nth-child(8) {
	animation-delay: 195ms;
}

.lvimp-flow__option:nth-child(9) {
	animation-delay: 220ms;
}

.lvimp-flow__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
}

.lvimp-flow__button {
	border-radius: 12px;
	background: red;
}

.lvimp-flow__button--back {
}

.lvimp-flow__button--next {
}

.lvimp-flow__button[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.lvimp-flow__summary {
	margin-top: 12px;
	padding: 20px;
	border: 1px solid grey;
	border-radius: 12px;
	background: white;
	animation: lvimpFadeUp 220ms ease both;
}

.lvimp-flow__summary h3 {
	font-family: var(--global-heading-font-family);
	color: black;
	margin: 0 0 12px;
}

.lvimp-flow__summary-content {
	white-space: pre-line;
	font-family: var(--global-body-font-family);
	color: black;
	margin-bottom: 14px;
}

.lvimp-flow__summary p {
	margin: 0;
	color: black;
}

.lvimp-flow__form {
	margin-top: 24px;
	animation: lvimpFadeUp 220ms ease both;
}

@keyframes lvimpFadeUp {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes lvimpCardIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1024px) {
	.lvimp-flow__options {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.lvimp-flow {
		padding: 18px;
	}

	.lvimp-flow__options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.lvimp-flow__option {
		padding: 12px;
	}

	.lvimp-flow__option-icon {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.lvimp-flow__option-label {
		font-size: 14px;
	}

	.lvimp-flow__actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}
}

@media (max-width: 420px) {
	.lvimp-flow__options {
		grid-template-columns: 1fr;
	}

	.lvimp-flow__option {
		aspect-ratio: auto;
		min-height: 130px;
	}
}