.custom-btn-close {
    position: absolute;
    right: -15px;
    top: -15px;
}

.form-control:focus {
    box-shadow: unset;
}

.calculator label {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 20px;

}

.calculator fieldset input {
    margin-bottom: 0;
}

.calculator fieldset label {
    margin-bottom: 0;
    margin-left: 8px;
    font-weight: 500;
}

.calculator-result__block h3 {
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 24px;
}

.total-price-text {
    font-weight: 700;
    font-size: 20px;

}

.calculator-result__block {
    font-size: 16px;
    margin-top: calc((100vw - 360px) /(1400 - 360)*(60 - 40) + 40px) !important;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

.calculator-result__block .values {
    gap: 120px;
    font-weight: 700;
}

.modal .calculator-result__block {
    margin-top: 0 !important;
}


.calculator-result .currency {
    font-size: 14px;
    padding-top: 20px;
    padding-inline: 5px;
    display: flex;
    justify-content: space-between;
    color: #808980;
}

.currency span:not(:first-child) {
    border-left: 1px solid #75757585;
    padding: 0 10px;
}

/* .won, .CN, .ena, .akz, .sanction, .nds, .similar-car{
    display: none;
} */

.calculator-result {
    max-height: 0;
    transition: all 1s ease-in-out;
    overflow: hidden;
}

.calculator-result.show {
    max-height: 10000px;
}

.similar-car {
    margin-top: calc((100vw - 360px) /(1400 - 360)*(60 - 40) + 40px) !important;
}


.modal-content-price {
    padding: 40px;
    border-radius: 24px;
    color: #F9F9F9;
}

#modal_price .modal-dialog {
    max-width: 1024px;
}

.total-price {
    padding: 1.5rem;
    font-size: 20px;
    border-color: rgb(82 82 911);
    border-top: 1px solid #EB1C24;
    border-bottom: 1px solid #EB1C24;
    margin: 20px 0;
    font-weight: 500;
    font-size: 24px;

}

.currency span:not(:first-child) {
    border-left: 1px solid #75757585;
    padding: 0 10px;
}

.catalog__desc {
    font-weight: 700;
    font-size: 24px;

}

.desc-item {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 24px;
}

.desc-item:nth-child(5) {
    margin-bottom: 120px;
}


.currency {
    font-size: 16px;
    padding-top: 20px;
    padding-inline: 5px;
    display: flex;
    justify-content: space-between;
    color: #9F9F9F;
}

.price-country-top {
    padding: 8px !important;
    border-radius: 12px !important;
    min-width: 130px;
}


.tof,
.duty,
.yts,
.price_country {
    color: #9F9F9F !important;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.all-auto button {
    max-width: 237px;
    margin-top: 60px !important;
}

.price-country-top span {
    margin-right: 10px;
}

#calculator_rezult.show {
    max-height: 1000px;
}


#calculator_rezult {
    max-height: 0;
    transition: .5s;
}

.col-3.price {
    flex-shrink: 0;
}

.catalog__title {
    margin-bottom: 18px;
}

@media (max-width: 1290px) {
    .calculator-result__block .values {
        gap: 61px;
    }
}

@media (max-width: 1150px) {

    .calculator-result__block,
    .tof,
    .duty,
    .yts,
    .price_country,
    .currency {
        font-size: 20px;
    }

    .modal-content-price {
        padding: 30px;
    }
}

@media (max-width: 990px) {
    .calculator-result__block .values {
        gap: 0;
    }

    .total-price {
        font-size: 24px;
    }

    .desc-item:nth-child(5) {
        margin-bottom: 80px;
    }
}

@media (max-width: 650px) {
    .calculator-result__block h3 {
        font-size: 18px;
    }

    .calculator-result__block,
    .tof,
    .duty,
    .yts,
    .price_country,
    .currency {
        font-size: 16px;
    }

    .total-price-text {
        font-size: 16px;
    }

    .total-price {
        font-size: 18px;
    }

    .modal-content-price {
        padding: 24px;
    }



}

@media (max-width: 768px) {
    .catalog__desc {
        font-size: 16px;
    }

    .cost-calculator {
        margin-top: 90px;
    }

    .desc-item {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .desc-item .col-1 {
        max-width: 30px !important;
    }

    .calculator label {
        font-size: 16px;
    }

    .desc-item:nth-child(5) {
        margin-bottom: 60px;
    }
}

@media (max-width: 420px) {
    .calculator-result__block h3 {
        font-size: 16px;
    }

    .calculator-result__block,
    .tof,
    .duty,
    .yts,
    .price_country,
    .currency {
        font-size: 14px;
    }

    .total-price-text {
        font-size: 14px;
    }

    .total-price {
        font-size: 16px;
    }

    .desc-item:nth-child(5) {
        margin-bottom: 40px;
    }
}