.opacity-0 {
	opacity: 0;
}

.section-calc {
	margin-bottom: 64px;
}

.calc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
	margin-bottom: 8px;
}

.calc-params {
	border-radius: 8px;
	border: 1px solid #E0E0E0;
	padding: 16px;
}

.calc-step {
	display: flex;
	margin-bottom: 16px;
}

.calc-step__count {
	border-radius: 50%;
	background: #FEED00;
	margin-right: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 500;
	line-height: 20px;
	flex: 0 0 24px;
	height: 24px;
}

.calc-step__text {
	font-weight: 500;
	line-height: 24px;
}

.calc-step-1 {
	margin-bottom: 24px;
}

.balcony-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px 72px;
	margin-left: 24px;
}

.balcony-list-item {
	width: 100px;
	/* height: 96px; */
	border: 2px solid #F3F3F4;
	cursor: pointer;
	margin: 0 auto;
}

.balcony-list-item._active {
	border-radius: 4px;
	border: 2px solid #E31E24;
}

.balcony-list-item__ico {
	margin: 8px auto;
	display: flex;
}

.balcony-list-item__name {
	color: #000;
	text-align: center;
	font-size: 12px;
	line-height: 140%;
	max-width: 90px;
	margin: 0 auto;
}

.calc-step-2 {
	margin-bottom: 24px;
}

.glazing-type {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
	margin-left: 30px;
}

.glazing-type__item {
	border-radius: 8px;
	border: 1px solid #F3F3F4;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7px 20px;
	line-height: 16px;
	cursor: pointer;
}

.glazing-type__item>svg {
	margin-left: 4px;
}

.glazing-type__item._active {
	border: 1px solid #E30611;
}

.equipment {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
	margin-bottom: 68px;
	margin-left: 30px;
}

.equipment-list__item {
	display: flex;
	justify-content: space-between;
	border-radius: 8px;
	border: 1px solid #F3F3F4;
	padding: 8px 16px;
	line-height: 14px;
	cursor: pointer;
}

.equipment-list__item._active {
	border: 1px solid #E30611;
}

.equipment-list__item:not(:last-child) {
	margin-bottom: 16px;
}

.equipment-list__item-stars {
	display: flex;
}

.equipment-info {
	border-radius: 8px;
	border: 1px solid #F3F3F4;
	padding: 16px;
	color: #515257;
	background-color: #FAFAFA;
	background-repeat: no-repeat;
	background-position: right center;
	background-size: contain;
}

.equipment-info:nth-child(2) {
	background-image: url("calcpic/equipment/equipment-1.png");
}

.equipment-info:nth-child(3) {
	background-image: url("calcpic/equipment/equipment-2.png");
}

.equipment-info:nth-child(4) {
	background-image: url("calcpic/equipment/equipment_3.png");
}

.equipment-info__name {
	margin-bottom: 8px;
	font-weight: 500;
	line-height: 16px;
}

.equipment-info__params:not(:last-child) {
	margin-bottom: 8px;
}

.equipment-info__params-name {
	font-size: 12px;
	font-weight: 500;
	line-height: normal;
}

.equipment-info__params-value {
	font-size: 12px;
	font-weight: 400;
	line-height: normal;
}

.calc-step-4 {
	margin-bottom: 24px;
}

.decoration {
	display: grid;
	grid-template-columns: 144px 144px 144px;
	gap: 8px;
	margin-left: 32px;
}

.decoration-mobile {
	display: none;
}

.decoration__item .calc-checkbox {
	margin-bottom: 8px;
}

.calc-step-5 {
	margin-bottom: 24px;
}

.exterior-decoration .calc-checkbox {
	max-width: 192px;
}

.calc-step-6 {}

.calc-counter {
	display: flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 8px;
	border: 1px solid #F3F3F4;
	background: linear-gradient(0deg, #FAFAFA 0%, #FAFAFA 100%), #D9D9D9;
	height: 32px;
	margin-left: 16px;
}

.calc-counter__minus {
	display: flex;
	cursor: pointer;
}

.calc-counter__value {
	width: 32px;
	text-align: center;
	color: #515257;
	font-size: 14px;
	line-height: 16px;
}

.calc-counter__plus {
	display: flex;
	cursor: pointer;
}

.additionally {
	margin-bottom: 77px;
}

.additionally__item {
	display: flex;
}

.additionally .calc-checkbox {
	max-width: 220px;
}

.additionally .calc-checkbox:not(:last-child) {
	margin-bottom: 16px;
}

.calc-params-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.current-step {
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	margin-right: 16px;
}

.current-step>span {
	color: #E30611;
}

.step-next {
	border-radius: 4px;
	background: #FEED00;
	padding: 8px 22px;
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
}

.step-back {
	border-radius: 4px;
	border: 1px solid #1D2023;
	cursor: pointer;
	padding: 8px 31px;
	color: #1D2023;
	text-align: center;
	font-size: 14px;
	line-height: 16px;
}

.calc-balcony-image {
	margin-bottom: 31px;
	height: 437px;
	position: relative;
}

.calc-balcony-image.calc-balcony-image_mobile {
	display: none;
}

.calc-balcony-image img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.calc-balcony-image__blinds img {
	z-index: 2;
}

.calc-balcony-image_lights img {
	z-index: 3;
}

.calc-balcony-image__wall img {
	z-index: 1;
}

.calc-balcony-image__sheathing img,
.calc-balcony-image__windowsill img {
	z-index: 2;
}

.calc-info {
	border-radius: 8px;
	border: 1px solid #E0E0E0;
	background: #FFF;
	box-shadow: 10px 10px 100px -48px rgba(15, 15, 15, 0.10);
	padding: 16px;
}

.calc-info-current {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.price {
	margin-left: 16px;
	color: #1D2023;
	text-align: right;
	font-size: 18px;
	font-weight: 500;
	line-height: 32px;
}

.price span {
	font-size: 14px;
}

.calc-info-discount {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #E31E24;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 32px;
	margin-bottom: 4px;
}

.price-discount {
	margin-left: 16px;
	white-space: nowrap;
	text-align: right;
}

.price-discount span {
	font-size: 14px;
}

.calc-info-buttons {
	display: flex;
	margin-bottom: 20px;
}

.calc-send {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 200px;
	margin-right: 16px;
	border-radius: 4px;
	background: #FEED00;
	height: 32px;
	line-height: 32px;
}

.calc-callback {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 200px;
	border-radius: 4px;
	border: 1px solid #FEED00;
	height: 32px;
	line-height: 32px;
}

.calc-info-descr {
	font-size: 12px;
	line-height: 20px;
}

.calc-note {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
	font-size: 12px;
	line-height: 20px;
}

/* components */
.help {
	display: flex;
	cursor: pointer;
	margin-left: 4px;
	position: relative;
}

.help:hover .help-modal {
	display: block;
}

.help-modal {
	display: none;
	font-size: 12px;
	line-height: 16px;
	padding: 12px 16px;
	position: absolute;
	bottom: calc(100% + 16px);
	left: 50%;
	transform: translateX(-50%);
	width: 246px;
	background: #fff;
	box-shadow: 0px 45px 13px 0px rgba(0, 0, 0, 0.00), 0px 29px 11px 0px rgba(0, 0, 0, 0.01), 0px 16px 10px 0px rgba(0, 0, 0, 0.05), 0px 7px 7px 0px rgba(0, 0, 0, 0.09), 0px 2px 4px 0px rgba(0, 0, 0, 0.10);
}

.help-modal::after {
	content: "";
	width: 12px;
	height: 6px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6' fill='none'%3E%3Cpath d='M0 0L6 6L12 0L0 0Z' fill='white'/%3E%3C/svg%3E");
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
}

.calc-checkbox {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px 4px 12px;
	border-radius: 8px;
	border: 1px solid #F3F3F4;
	background: linear-gradient(0deg, #FAFAFA 0%, #FAFAFA 100%), #D9D9D9;
}

.calc-checkbox-label {
	display: flex;
	align-items: center;
	flex: 1;
}

.calc-checkbox-label input {
	margin: 0;
	position: absolute;
	opacity: 0;
	visibility: hidden;
}

.calc-checkbox-label input:checked+.calc-checkbox-label__icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='3' width='18' height='18' rx='4' fill='%23E30611'/%3E%3Cpath d='M8 12L10.6667 15L16 9' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.calc-checkbox-label__icon {
	width: 24px;
	height: 24px;
	margin-right: 4px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='3.5' fill='%23F3F3F4' stroke='%239F9F9F'/%3E%3C/svg%3E");
}

.calc-checkbox-label__text {
	color: #9F9F9F;
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	white-space: nowrap;
}

.calc-dropdown {
	position: relative;
	margin-bottom: 8px;
}

.calc-dropdown-layer {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.calc-dropdown-list._active {
	opacity: 1;
	visibility: visible;
}

.calc-dropdown__current {
	border-radius: 8px;
	border: 1px solid #F3F3F4;
	background: #FAFAFA;
	padding: 8px 8px 8px 12px;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	position: relative;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
}

.calc-dropdown__current::after {
	content: "";
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%231D2023' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	width: 16px;
	height: 16px;
	display: block;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.calc-dropdown__current::before {
	content: "";
	background: linear-gradient(270deg, #FAFAFA 55.44%, rgba(250, 250, 250, 0.53) 76.22%, rgba(250, 250, 250, 0.00) 98.94%);
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 50px;
}

.calc-color .calc-dropdown__current {
	display: flex;
	align-items: center;
	padding: 4px 8px 4px 12px;
}

.calc-color .calc-dropdown-list__item {}

.calc-color .calc-dropdown-list__item img {
	min-width: 192px;
	display: block;
	border-radius: 40px;
}

.calc-color__current {
	width: 24px;
	flex: 0 0 24px;
	height: 24px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 8px;
}

.calc-color__current img {
	width: 100%;
	height: 100%;
}

.calc-color__text {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 15px;
	width: calc(100% - 16px);
	text-align: center;
}

.calc-dropdown-list {
	border-radius: 8px;
	border: 1px solid #FAFAFA;
	background: #FFF;
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	min-width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s;
	z-index: 2;
}

.calc-dropdown-list__item {
	padding: 8px;
	cursor: pointer;
	position: relative;
}

.calc-dropdown-list__item._white {
	color: #ffffff;
}

.calc-dropdown-list__item:hover {
	background: #EDEFF3;
}

@media (max-width: 1023px) {
	.section-calc {
		margin-bottom: 32px;
	}

	.calc-grid {
		grid-template-columns: 1fr;
	}

	.calc-params {
		margin-bottom: 16px;
	}

	.balcony-list {
		grid-template-columns: 96px 96px;
		gap: 16px 32px;
	}

	.balcony-mobile {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

	.calc-balcony-image.calc-balcony-image_mobile {
		display: block;
	}

	.balcony-decoration {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.decoration {
		grid-template-columns: 144px 144px;
	}

	.glazing-type {
		display: flex;
	}

	.glazing-type__item {
		width: 100%;
		max-width: 208px;
	}

	.equipment {
		margin-bottom: 24px;
		grid-template-columns: 208px 1fr;
	}

	.calc-balcony-image {
		display: none;
		height: 287px;
		margin-bottom: 0;
	}

	.calc-balcony-image.calc-balcony-image_back {
		height: 243px;
	}

	.calc-info-discount {
		margin-bottom: 16px;
	}

	.calc-send,
	.calc-callback {
		width: 100%;
	}

	.calc-note {
		display: block;
	}

	.opacity-0 {
		display: none;
	}
}

@media (max-width: 767px) {
	.calc-step__count {
		font-size: 10px;
		flex: 0 0 16px;
		height: 16px;
	}

	.calc-step__text {
		line-height: 16px;
		font-size: 14px;
	}

	.calc-params {
		padding: 16px;
	}

	.balcony-list {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 10px;
		margin-left: 0;
	}

	.balcony-list-item {
		width: 96px;
	}

	.additionally {
		margin-bottom: 24px;
	}

	.balcony-mobile {
		grid-template-columns: 1fr;
	}

	.decoration {
		grid-template-columns: 1fr;
	}

	.calc-balcony-image {
		height: 208px;
	}

	/* Дальше после калькулятора стили идут */
	.glazing-type {
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;
		margin-left: 0;
	}

	.glazing-type__item {
		font-size: 12px;
		max-width: 100%;
	}

	.equipment {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-left: 0;
	}

	.equipment-list__item {
		padding: 12px 16px;
	}

	.equipment-info:nth-child(1),
	.equipment-info:nth-child(2),
	.equipment-info:nth-child(3) {
		background-image: none;
	}

	.calc-info-discount {
		font-size: 16px;
		line-height: 1;
	}

	.price-discount {
		font-size: 18px;
	}

	.calc-info-buttons {
		flex-direction: column;
	}

	.calc-send,
	.calc-callback {
		height: 40px;
	}

	.calc-send {
		margin-right: 0;
		margin-bottom: 8px;
	}

	.balcony-decoration {
		grid-template-columns: 1fr;
	}

	.decoration {
		margin-left: 0;
		display: none;
	}

	.decoration-mobile {
		display: block;
	}

	.decoration-mobile__item {
		border-bottom: 1px solid #F3F3F4;
		margin-bottom: 8px;
		padding-bottom: 8px;
	}

	.decoration-mobile-checkbox {
		display: flex;
		margin-bottom: 8px;
	}

	.decoration-mobile-checkbox .calc-checkbox-label {
		flex: 0;
	}

	.decoration-mobile-color {
		display: flex;
		align-items: center;
	}

	.decoration-mobile-color__current {
		display: flex;
		align-items: center;
	}

	.decoration-mobile-color__current img {
		width: 24px;
		height: 24px;
		border-radius: 50%;
		margin-right: 8px;
	}

	.decoration-mobile-color__select {
		color: #E30611;
		font-size: 14px;
		line-height: 16px;
		text-align: right;
		flex: 1;
		margin-left: 8px;
	}

	.help-modal {
		left: -60px;
		transform: translate(0);
	}

	.help-modal::after {
		left: 60px;
		transform: translate(0);
	}
}

@media (max-width: 479px) {
	.balcony-list-item {
		height: auto;
		width: auto;
	}
}

.decoration-modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	overflow: auto;
}

.decoration-modal__layer {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000000A3;
}

.decoration-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
}

.decoration-modal__wrap {
	position: relative;
	z-index: 1;
	margin: 20px;
}

.decoration-modal__content {
	background: #FFFFFF;
	box-shadow: 0px 4px 20px 0px #00000040;
	border-radius: 20px;
	padding: 24px;
	position: relative;
}

.decoration-modal__content-title {
	text-align: center;
	margin-bottom: 40px;
	font-size: 18px;
	font-weight: 500;
	line-height: 20px;
}

.modal-material:not(:last-child) {
	margin-bottom: 14px;
}

.modal-material__title {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 500;
	line-height: 16px;
	color: #9F9F9F;
}

.modal-material-dropdown {
	position: relative;
}

.modal-material-dropdown__current {
	padding: 8px;
	border-radius: 3px;
	border: 1px solid #E5E5E5;
	background: linear-gradient(0deg, #FAFAFA 0%, #FAFAFA 100%), #FFF;
	position: relative;
}

.modal-material-dropdown__current::after {
	content: "";
	width: 16px;
	height: 16px;
	display: block;
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%231D2023' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.modal-material-dropdown__list {
	display: none;
	border-radius: 8px;
	border: 1px solid #FAFAFA;
	background: #FFF;
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	width: 100%;
	z-index: 1;
}

.modal-material-dropdown__list._active {
	display: block;
}

.modal-material-dropdown__list-item {
	padding: 8px;
	position: relative;
	display: flex;
	justify-content: center;
}

.modal-material-dropdown__list-item._white {
	color: #fff;
}

.modal-material-dropdown__list-item img {
	max-width: 192px;
}