@font-face {
	font-family:  "Fira Sans";
	src:          url("/blog/wp-content/themes/reboot/assets_new/fonts/FiraSans-Regular.ttf") format("truetype");
	font-weight:  400;
	font-display: swap;
}

@font-face {
	font-family:  "Fira Sans";
	src:          url("/blog/wp-content/themes/reboot/assets_new/fonts/FiraSans-Italic.ttf") format("truetype");
	font-weight:  400;
	font-style:   italic;
	font-display: swap;
}

/*@font-face {*/

@font-face {
	font-family:  "Fira Sans";
	src:          url("/blog/wp-content/themes/reboot/assets_new/fonts/FiraSans-Medium.ttf") format("truetype");
	font-weight:  500;
	font-display: swap;
}

@font-face {
	font-family:  "Fira Sans";
	src:          url("/blog/wp-content/themes/reboot/assets_new/fonts/FiraSans-Bold.ttf") format("truetype");
	font-weight:  700;
	font-display: swap;
}

@font-face {
	font-family:  "Fira Sans";
	src:          url("/blog/wp-content/themes/reboot/assets_new/fonts/FiraSans-ExtraBold.ttf") format("truetype");
	font-weight:  900;
	font-display: swap;
}

.installment.fancybox__content {
	border-radius: 20px;
	padding: 40px;
	width: 1000px;
	text-wrap: pretty;
	font-size: 16px;
}

.installment .f-button.is-close-btn {
	--f-button-border-radius: 50% !important;
	--f-button-width: 40px !important;
	--f-button-height: 40px !important;
	--f-button-svg-width: 20px !important;
	--f-button-svg-height: 20px !important;
	--f-button-bg: #fa1212 !important;
	--f-button-hover-bg: #ff5555 !important;
	--f-button-active-bg: #ff5555 !important;
	--f-button-color: #fff !important;
	--f-button-hover-color: #fff !important;

	top: 0 !important;
	right: 0 !important;
	opacity: 1 !important;
}

.installment__content {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.installment__image {
	border-radius: 12px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.installment__info {
	display: grid;
	justify-items: start;
	align-content: start;
	gap: 20px;
}

.installment__badge {
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: #ff6347;
	color: #fff;
	border-radius: 0 4px 4px 0;
	padding: 20px 40px;
	font-size: 20px;
	transform: translateX(-40px);
	max-height: 60px;
}

.installment__title {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.3;
}

.installment__highlight {
	color: #ff6347;
}

.installment__text {
	opacity: .8;
}

.installment__form {
	display: grid;
	gap: 10px;
	transition: opacity .3s ease;
}

.installment__form.loading {
	opacity: .4;
	pointer-events: none;
}

.installment__input {
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #b6b6b6;
	font-weight: 300;
	transition: border-color .3s ease;
}

.installment__input::placeholder {
	font: inherit;
	color: #757575;
}

.installment__input.failed {
	border-color: #fa1212;
}

.installment__button {
	background-color: #075c6c;
	color: #fff;
	border-radius: 4px;
	padding: 24px;
	font-size: 18px;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
	transition: opacity .3s ease;
}

.installment__button:hover {
	opacity: .8;
}

.installment__agreement {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	font-size: 12px;
}

.installment__checkbox {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 15px;
	height: 15px;
	border-radius: 2px;
	border: 1px solid #013a51;
	transition: background-color .3s ease, border-color .3s ease;
}

.installment__checkbox::before {
	content: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 17 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.7071 0.792893C17.0976 1.18342 17.0976 1.81658 16.7071 2.20711L6.70711 12.2071C6.31658 12.5976 5.68342 12.5976 5.29289 12.2071L0.292893 7.20711C-0.0976311 6.81658 -0.0976311 6.18342 0.292893 5.79289C0.683417 5.40237 1.31658 5.40237 1.70711 5.79289L6 10.0858L15.2929 0.792893C15.6834 0.402369 16.3166 0.402369 16.7071 0.792893Z' fill='white'/%3E%3C/svg%3E%0A");
	line-height: 0;
}

.installment__checkbox:checked {
	background-color: #013a51;
}

.installment__checkbox.failed {
	border-color: #fa1212;
}

@media (max-width: 900px) {
	.installment.fancybox__content {
		width: 375px;
		padding: 15px;
	}

	.installment .f-button.is-close-btn {
		--f-button-width: 30px !important;
		--f-button-height: 30px !important;

		top: 15px !important;
		right: 15px !important;
	}

	.installment__content {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.installment__image {
		height: 200px;
	}

	.installment__info {
		gap: 15px;
	}

	.installment__badge {
		padding: 10px 15px;
		font-size: 16px;
		transform: translateX(-15px);
		max-height: 40px;
	}

	.installment__title {
		font-size: 28px;
	}

	.installment__title br {
		display: none;
	}

	.installment__input {
		padding: 15px 20px;
	}

	.installment__button {
		padding: 20px;
		font-size: 16px;
	}
}

/* CALC */

.calc {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
}

.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: #0000005e;
}

.calc__wrapper {
    position: relative;
    z-index: 9;
    max-width: 1200px;
    display: flex;
    width: 100%;
    gap: 10px;
    flex-direction: column;
}

.calc__left {
    display: flex;
    gap: 10px;
    max-width: 100%;
}

.calc__form {
    display: flex;
    position: relative;
    max-width: 100%;
    width: 100%;
    flex-direction: row-reverse;
    justify-content: flex-end;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    gap: 24px;
    max-height: 245px;
    overflow: hidden;
}

.calc__left__top {
    width: 100%;
    max-width: calc(100% - 505px);
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.calc__left__bottom {
    background: #013A51;
    border-radius: 20px;
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 495px;
    justify-content: space-between;
	/* position: relative; */
}

h3.calc__title {
    margin: 0;
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    color: #000;
}

.calc__params {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc__params__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc__params__item p {
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: #000;
    vertical-align: middle;
}

.calc__params__item__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calc__params__item__input {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    padding: 6px 12px;
    color: #333;
    border-radius: 30px;
    background: #F5F7F8;
    cursor: pointer;
    transition: all .25s ease;
}

.calc__params__item__input:hover, .calc__params__item__input.active {
    background: #1677E9;
    color: #fff;
}

.calc__left__bottom .result {
    gap: 32px;
}

.calc__left__bottom .result p {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.result__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result__item .value {
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
}

.result__item .params {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #A7B6BC;
}

.result__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc__left__bottom .result__title {
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    color: #fff;
}

.close {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    transition: all .5s ease;
    z-index: 99999;
}

.close svg path, .close svg circle {
    stroke: #fff;
}

.calc__form__text {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: #333;
}

.calc__form__wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc__form__wrapper .installment__form {
    gap: 20px;
}

button.installment__button {}

.calc__form__wrapper .installment__form button.installment__button {
    background: #1677E9;
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    padding: 21px 32px;
    border-radius: 10px;
    margin: 0;
}

.calc__form__wrapper .installment__input {
    border-color: transparent;
    background: #F5F7F8;
    border-radius: 10px;
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    padding: 18px 24px;
    width: 288px;
}

.calc__form__wrapper .installment__input::placeholder {
    color: #013A5199;
}

.calc__form__wrapper .installment__agreement span {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #333;
}

.calc__form__wrapper .installment__agreement span a {
    border-bottom: 1px solid #1677E9;
    color: #1677E9;
}

.calc__form__wrapper .installment__form .installment__checkbox {
    height: 14px;
    width: 14px;
    border-color: #1677E9;
    border-radius: 1px;
    display: flex;
    justify-content: center;
    align-items: c;
}

.calc__form__wrapper .installment__form label.installment__agreement {
    cursor: pointer;
}

.calc__form__wrapper .installment__form .installment__checkbox:checked {
    background: transparent;
}

.calc__form__wrapper .installment__form .installment__checkbox::before {
    content: '';
    width: 15px;
    height: 15px;
    background: url(/includes/popup-installment/img/check.svg) no-repeat center;
    transition: all .5s ease;
    opacity: 0;
}

.calc__form__wrapper .installment__form .installment__checkbox:checked::before {
    opacity: 1;
}

.form__media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 375px;
    height: 375px;
    position: absolute;
    top: 20px;
    right: 60px;
}

.calc__form__wrapper .installment__input:focus {
    border-color: #187be5;
}

.close:hover {
    opacity: .7;
}

/* RADIO BTNS */
    /* Контейнер для одной радиокнопки и её метки */
    .radio-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        position: relative;
    }

    /* Стилизация радиокнопки:
       - Убираем стандартное оформление с помощью appearance
       - Настраиваем размеры, границу и скругление */
    .radio-input {
        display: flex;
        justify-content: center;
        align-items: center;
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        border: 1px solid #013A51;
        border-radius: 50%;
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        cursor: pointer;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        margin: 0;
    }

    /* Стилизация выбранного состояния радиокнопки */
    .radio-input:checked {
        /* background-color: #0d6efd; */
        border-color: #187be5;
        /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); */
    }

    /* Стилизация отключённого состояния радиокнопки */
    .radio-input:disabled {
        filter: none;
        opacity: 0.5;
        cursor: not-allowed;
    }

    /* Стилизация метки радиокнопки при отключённом состоянии */
    .radio-input:disabled ~ .radio-label {
        opacity: 0.5;
        cursor: not-allowed;
    }

.calc__params__item.collectors .calc__params__item__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.calc__params__item__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #333;
}

.calc__params__item__radio label {
	cursor: pointer;
}

.radio-input::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1677E9;
    transition: all .25s ease;
    opacity: 0;
}

.radio-input:checked::before {
    opacity: 1;
}

.radio-input:checked+label {
    color: #187be5;
}

.inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.labels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc__btn {
    position: fixed;
    width: 200px;
    height: 80px;
    left: 40px;
    bottom: 100px;
    background: linear-gradient(262.47deg, #088F91 0%, #34E1E4 100%);
    color: #fff;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    vertical-align: middle;
    overflow: hidden;
    transition: all .5s ease;
    cursor: pointer;
    z-index: 99;
}

.calc__btn img {
    position: absolute;
    left: 0;
    width: 120px;
    bottom: 0;
}

.calc__btn .close {
    display: flex;
    right: 4px;
    top: 4px;
    justify-content: center;
    align-items: center;
}