.df-calc {
	background: #fff;
	color: #000;
	font-family: "Montserrat", sans-serif;
}

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

.df-calc__inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: var(--df-section-y, 72px) var(--df-section-x, 24px);
}

.df-calc__title {
	margin: 0 0 40px;
	color: #000;
	font-family: "Montserrat", sans-serif;
	font-size: var(--df-title-size, 50px);
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	text-transform: none;
}

.df-calc__controls {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 16px;
	row-gap: 16px;
	width: 100%;
	max-width: 900px;
	margin: 0 auto 32px;
}

.df-calc__field {
	display: contents;
}

.df-calc__label {
	white-space: nowrap;
	font-size: 16px;
	line-height: 1.3;
}

.df-calc__select {
	position: relative;
	width: 100%;
	min-width: 0;
}

.df-calc button,
.df-calc [type="button"],
.df-calc [type="submit"] {
	color: inherit;
	background-color: transparent;
	border-color: currentColor;
}

.df-calc__select-head,
.df-calc__select-head:hover,
.df-calc__select-head:focus,
.df-calc__select-head:active,
.df-calc__select-head:focus-visible {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 10px 14px;
	overflow: hidden;
	border: 1px solid #000 !important;
	border-radius: 5px;
	background: #fff !important;
	background-color: #fff !important;
	color: #000 !important;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	outline: none;
}

.df-calc__select-head > span {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.df-calc__select-head::after {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-left: 12px;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 10L12 14L8 10' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s ease;
}

.df-calc__select.is-open .df-calc__select-head::after {
	transform: rotate(180deg);
}

.df-calc__select-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	max-height: 240px;
	overflow: auto;
	background: #131313;
	color: #fff;
	border: 1px solid #131313;
}

.df-calc__select-list[hidden] {
	display: none;
}

.df-calc__option,
.df-calc__option:hover,
.df-calc__option:focus,
.df-calc__option:active {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: transparent !important;
	background-color: transparent !important;
	color: #fff !important;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	outline: none;
}

.df-calc__option:last-child {
	border-bottom: 0;
}

.df-calc__option:hover,
.df-calc__option:focus {
	background: rgba(255, 255, 255, 0.12) !important;
	background-color: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
}

.df-calc__photo {
	display: flex;
	justify-content: center;
	width: 100%;
}

.df-calc__photo img {
	display: block;
	width: min(720px, 100%);
	height: auto;
	border-radius: 0;
	object-fit: contain;
}

.df-calc__result {
	margin-top: 32px;
}

.df-calc__result[hidden] {
	display: none;
}

.df-calc__result-title {
	margin: 0 0 20px;
	font-size: 18px;
	font-weight: 500;
	text-align: center;
}

.df-calc__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	max-width: 960px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.df-calc__list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	line-height: 1.4;
}

.df-calc__check {
	display: inline-block;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.df-calc__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 64px;
	margin-top: 48px;
}

.df-calc__offer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.df-calc__price {
	font-size: 22px;
	line-height: 1.2;
}

.df-calc__price strong {
	font-size: 32px;
	font-weight: 600;
}

.df-calc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 280px;
	padding: 12px 70px;
	border: none;
	border-radius: 5px;
	background: #1d1d1db8;
	color: #fff;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	line-height: 1.2;
	cursor: pointer;
}

.df-calc__btn,
.df-calc__btn:hover,
.df-calc__btn:focus,
.df-calc__btn:active {
	background: #1d1d1db8 !important;
	background-color: #1d1d1db8 !important;
	border: none !important;
	color: #fff !important;
}

.df-calc__btn:hover,
.df-calc__btn:focus,
.df-calc__btn:active {
	background: #131313 !important;
	background-color: #131313 !important;
	color: #fff !important;
}

.df-calc__meta {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 20px;
}

.df-calc__meta li {
	display: flex;
	align-items: center;
	gap: 10px;
}

@media (max-width: 767px) {
	.df-calc__controls {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.df-calc__field {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.df-calc__footer {
		flex-direction: column-reverse;
		gap: 24px;
		margin-top: 28px;
	}

	.df-calc__btn {
		width: 100%;
		min-width: 0;
		padding: 12px 24px;
		font-size: 16px;
	}

	.df-calc__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.df-calc__price strong {
		font-size: 26px;
	}

	.df-calc__meta {
		font-size: 16px;
	}
}

.df-calc__disclaimer {
	margin: 32px auto 0;
	max-width: 720px;
	padding: 0;
	color: #000;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	text-align: center;
}
