.sq * { box-sizing: border-box; }
.sq {
	width: 100%;
	display: block;
}

.sq__title.sq__h {
	font-weight: 700;
	font-size: 20px;
	line-height: 100%;
	letter-spacing: 0.01em;
	color: #0c2636;	
}

.sq__p {
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: #3e525e;	
}

.sq__step {
	font-weight: 400;
	font-size: 20px;
	line-height: 100%;
	letter-spacing: 0.01em;
	color: #0c2636;
}

.sq__card {
	background: #f3f4f6;
	border-radius: 18px;
	padding: 24px;
	min-height:388px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sq__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.sq__h {
	font-weight: 700;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0.02em;
	color: #0c2636;
}

.sq__p {
	margin: 0 0 18px;
	color: rgba(15, 26, 42, .75);
}

.sq__body { /*min-height: 260px;*/ }

.sq__screen { 
	display: none;
}
.sq__screen.is-active { display: block; }

.sq__actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 107px;
}
.sq__actions--right { justify-content: flex-end; }
.sq__actions--left { justify-content: flex-start; }

.sq__btn {
	appearance: none;
	border: 1px solid rgba(62, 82, 94, 0.25);
	background: #f3f4f6;
	padding: 16px 24px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	color: #0c2636;
}

.sq__btn--primary {
	border-color: #0f2637;
	background: #0f2637;
	color: #fff;
}

.sq__btn:disabled {
	opacity: .5;
	cursor: not-allowed;
}

/* Slider */
/* === Custom slider like Figma === */
.sq__slider--custom {
	margin-top: 14px;
	position: relative;
}

.sq__track {
	position: relative;
	height: 25px;
	display: flex;
	align-items: center;
}

/* line */
.sq__track::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: #3e525e;
	opacity: 0.35;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 2px;
}

.sq__track-fill {
	position: absolute;
	left: 0;
	height: 1px;
	background: #4187c8;
	opacity: 1;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 2px;
	width: 0%;
}

.sq__track-before,
.sq__track-after {
	display:block;
	width:1px;
	height:11px;
	background: #4187c8;
	position:absolute;
}

.sq__track-before {
	top:7.5px;
	left:0;
}

.sq__track-after {
	top:7.5px;
	right:0;
}

/* native input, but visually custom */
.sq__range--custom {
	width: 100%;
	margin: 0;
	background: transparent;
	position: relative;
	z-index: 2;
	-webkit-appearance: none;
	appearance: none;
	height: 34px; /* so thumb is easy to grab */
}

/* Remove default track */
.sq__range--custom::-webkit-slider-runnable-track {
	height: 2px;
	background: transparent;
}
.sq__range--custom::-moz-range-track {
	height: 2px;
	background: transparent;
}

/* Thumb (circle) */
.sq__range--custom::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #2a6df5;
	border: 3px solid #fff;
	box-shadow: 0 8px 18px rgba(0,0,0,.15);
	cursor: pointer;
	margin-top: -7px; /* center thumb over 2px line */
}
.sq__range--custom::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #2a6df5;
	border: 3px solid #fff;
	box-shadow: 0 8px 18px rgba(0,0,0,.15);
	cursor: pointer;
}

/* ticks under line */
.sq__ticks {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 36px;
}

.sq__tick {
	border-radius: 8px;
	width: 36px;
	height: 42px;
	display:flex;
	justify-content:center;
	align-items:center;
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	text-align: center;
	border:none;
	background:transparent;
	cursor:pointer;
	color: #3e525e;
	opacity: 0.35;
}

/* highlighted numbers 1..selected */
.sq__tick.is-active {
	color: #2a6df5;
	font-weight: 700;
	color: #0c2636;
	background: #fff;
	opacity: 1;
}

/* the white "bubble" with current value (like in your screenshot) */
.sq__bubble {
	display:none;
}


/* Choices (radio buttons as buttons) */
.sq__choices {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.sq__choice {
	background: #fff;
	border-radius: 6px;
	padding: 16px 24px 16px 16px;
	cursor: pointer;
	text-align: left;
	display:flex;
	align-items:center;
	gap:8px;
	border:none;
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: #0c2636;
}

.sq__choice span {
	display:block;
	width:24px;
	height:24px;
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23F3F4F6' /%3E%3C/svg%3E");
}

.sq__choice.is-selected span {
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23F3F4F6' /%3E%3Ccircle cx='12' cy='12.0703' r='11.5' fill='%234187C8' stroke='white' /%3E%3Ccircle cx='12' cy='12.0352' r='5' fill='white' /%3E%3C/svg%3E");
}

.sq__choice.is-selected {
	background: #4187c8;
	color:#fff;
}

/* Counters */
.sq__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px 0;
}

.sq__counter {
	padding: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #fff;
}

.sq__counter-left {
	display:flex;
	align-items:center;
	gap:5px;
}

.sq__counter-name { 
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: #0c2636;
}
.sq__counter-liters { 
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: rgba(12, 38, 54, 0.25);
}

.sq__counter-controls {
	display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #07303a;
    border-radius: 6px;
    background: #f3f4f6;
    width: 82px;
    height: 36px;
    justify-content: center;
}

.sq__icon-btn {
	cursor: pointer;
	line-height: 1;
	font-weight: 400;
	font-size: 14px;
	line-height: 100%;
	color: #0c2636;
	border:none;
}

.sq__counter-val {
	min-width: 28px;
	text-align: center;
	font-weight: 400;
	font-size: 14px;
	line-height: 100%;
	color: #0c2636;
}

/* Final */
.sq__final {
	display:flex;
	/* justify-content:space-between; */
	gap:58px;
}

.sq__final-card {
	border-radius: 14px;
	padding: 32px;
	background: #fff;
	max-width: 392px;
}

.sq__discount { font-size: 20px; }

.sq__final-sq-card {
	display:flex;
	gap:58px;
}

.sq__final-sq-card-item {
	display:flex;
	flex-direction:column;
	gap:24px;
}

.sq__final-sq-card-item span {
	display:block;
}

.sq__final-sq-card-item-title {
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: rgba(24, 32, 37, 0.7);
}

.sq__final-sq-card-item-text {
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0.02em;
	color: #0c2636;
	padding-top:12px;
}

.sq__final-sq-card-item-text a {
	color: #4187c8;
}

.sq__price {
	font-weight: 700;
	font-size: 32px;
	line-height: 100%;
	color: #0c2636;
	padding-top:24px;
}

.sq__des {
	font-weight: 400;
	font-size: 16px;
	line-height: 130%;
	color: #3e525e;
	padding-top:14px;
}

.sq_step-six.is-active {
	display: flex;
    justify-content: flex-start;
    gap: 24px;
	flex-wrap:wrap;
}

.sq_step-six.is-active .sq__final-card {
	display:flex;
	flex-direction:column;
	justify-content:space-between;
}

.sq_step-six.is-active .sq__h {
	font-weight: 700;
	font-size: 24px;
	line-height: 120%;
	letter-spacing: 0.01em;
	color: #0c2636;
}

.sq_step-six.is-active .sq__price {
	padding-top:8px;
	padding-bottom:20px;
}

.sq_step-six.is-active .sq__des {
	padding:0;
}

.quiz-form_des p,
.quiz-form_input p,
.quiz-form p {
	margin:0;
}

.quiz-form_title {
	font-weight: 700;
	font-size: 20px;
	line-height: 100%;
	color: #0c2636;
}

.quiz-form_des {
	font-weight: 400;
	font-size: 16px;
	line-height: 140%;
	color: #3e525e;
	padding:14px 0px 32px 0px;
}

.quiz-form_input input[type=text] {
	margin-bottom:16px;
}

.quiz-form_input input[type=text],
.quiz-form_input input[type=tel] {
	/* display:block; */
	border-radius: 6px;
	padding: 16px;
	width: 100%;
	height: 48px;
	background: #fff;
	border:none;
}

.quiz-form_input-title {
	font-weight: 700;
	font-size: 20px;
	line-height: 100%;
	color: #0c2636;
	padding:32px 0px 16px 0px;
}

.quiz-form_input .wpcf7-form-control.wpcf7-radio {
	display:flex;
	gap:16px;
}

.wpcf7-list-item-label {
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: #0c2636;
}

.quiz-form_input input[type=submit] {
	border-radius: 6px;
	width: 100%;
	height: 48px;
	background: #0c2636;
	border:none;
	cursor:pointer;
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	color: #fff;
	margin-bottom:24px;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
	font-weight: 400;
	font-size: 16px;
	line-height: 120%;
	color:rgba(5, 15, 21, 0.3);
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label a {
	color:rgba(5, 15, 21, 0.3);
}

.pum-quiz .sq__actions {
	margin-top:15px;
}

.pum-quiz .sq__choices,
.pum-quiz .sq__grid {
	grid-template-columns: 1fr;
}

.popmake-content .sq__btn {
	width:100%;
	margin-top:32px;
}

.popmake-content .sq__final-sq-card {
	flex-direction:column;
	gap:12px;
}

.popmake-content .site-form-second-block {
	/* padding:0; */
}

.pum-quiz .sq__final {
	flex-direction:column;
}

.pum-quiz .sq__final-card {
	max-width:100%;
}

/* Responsive */
@media (max-width: 1024px) {
.sq__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sq__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
.sq__card { padding: 16px; }
.sq__choices { grid-template-columns: 1fr; }
.sq__grid { grid-template-columns: 1fr; }
/* .sq__actions { flex-direction: column; } */
.sq__btn {
	flex:1;
}

.sq__actions {
	margin-top:48px;
}

.sq__final {
	flex-direction:column;
}

.sq__step {
	font-size:14px;
}

.sq__title.sq__h {
	width:249px;
}
}