.car__section {
    padding-bottom: 0px;
}

.calculator__tabs-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

.calculator__tabs-item {
    border: 1px solid var(--bs-border-color);
    border-radius: 3px 0 0 0;
    flex: 1 48%;
    padding: 10px 0;
    display: grid;
    place-items: center;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background .3s ease;
}

.calculator__tabs-item.active {
    background: #1158e7;
    color: #fff;
}

.calculator__tabs-item:not(.active):hover {
    background: #facc1a;
    color: #fff;
}

.calculator__tabs-item:nth-child(2) {
    border-radius: 0 3px 0 0;
}

.calculator__tab-content {
    display: none;
}

.calculator__tab-content.active {
    display: block;
}

.calculator__result {
    margin-top: 40px;
}

.result__cars {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.result__cars .one-car-list {
    position: relative;
}

.result__cars .one-car-list:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 12px 12px;
    border-color: transparent transparent #fcaf17 transparent;
    bottom: 3px;
    right: 3px;
}

.result__cars .auto-img  img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.result__cars .car-params {
    flex-wrap: wrap;
    gap: 10px;
}

.result__cars .car-params span{
    flex: 1 46%;
    font-size: 16px;
}

.result__avareg-price {
    margin-bottom: 20px;
    font-size: clamp(22px, 3vw,30px);
}

.result__avareg-price span {
    color: #2f3437;
}

.block, .block select {
    position: relative;
    font-size: 1rem;
    min-width: 113px;
}

.fa-engine {
    background-image:url('/assets/templates/site/img/logos/engine.svg');
    width: 21px;
    height: 16px;
    background-size: cover;
    background-repeat: no-repeat;
}

.block,
.block select {
    position: relative;
    /*width: 300px;
    font-family: 'Arial';
    font-size: 12px;*/
    fonf-size: 1rem;
}
.car_calculator__result {
    padding-bottom: 1.5rem;
}
.block .placeholder {
    position: absolute;
    z-index: 1;
    left: 5px;
    top: 2px;
    pointer-events: none;
    background: #fff;
    color: var(--bs-body-color);
    padding: 0.275rem 1rem 0.075rem 0.75rem;
    opacity: 1;
}
.row .block .placeholder {
    /*left: 20px;*/
}

.calculator__tab-content .invalid {
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #dc3545;
}

.preloader {
    /*фиксированное позиционирование*/
    position: fixed;
    /* координаты положения */
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    /* фоновый цвет элемента */
    background: #00000082;
    /* размещаем блок над всеми элементами на странице (это значение должно быть больше, чем у любого другого позиционированного элемента на странице) */
    z-index: 1001;
}

.preloader__row {
    position: relative;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    margin-top: -35px;
    margin-left: -35px;
    text-align: center;
    animation: preloader-rotate 2s infinite linear;
}

.preloader__item {
    position: absolute;
    display: inline-block;
    top: 0;
    background-color: #1158e7;
    border-radius: 100%;
    width: 35px;
    height: 35px;
    animation: preloader-bounce 2s infinite ease-in-out;
}

.preloader__item:last-child {
    top: auto;
    bottom: 0;
    animation-delay: -1s;
}

@keyframes preloader-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes preloader-bounce {

    0%,
    100% {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }
}

.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
}

.loaded.preloader {
    display: none;
}

.block,
.block select {
    position: relative;
    /*width: 300px;
    font-family: 'Arial';
    font-size: 12px;*/
    fonf-size: 1rem;
}
.car_calculator__result {
    padding-bottom: 1.5rem;
}
.block .placeholder {
    position: absolute;
    z-index: 1;
    left: 5px;
    top: 2px;
    pointer-events: none;
    background: #fff;
    color: var(--bs-body-color);
    padding: 0.275rem 1rem 0.075rem 0.75rem;
    opacity: 1;
}
.row .block .placeholder {
    left: 20px;
}

.calculator__tab-content .invalid {
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #dc3545;
}

.car__calculator {
    position: relative;
}

.car__calculator .tooltip {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 1;
}

.car__calculator .tooltip__img {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    cursor: pointer;
    z-index: 2;
}

.car__calculator .tooltip .tooltip__content {
    display: none;
}

.car__calculator .tooltip:hover .tooltip__content{
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgb(180, 179, 179);
    padding: 8px;
    font-size: 14px;
    line-height: 120%;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(40px);
    display: block;
    z-index: 3;
    min-width: 280px;
}

@media screen and (max-width: 768px) {
    .calculator__tabs-item {
        flex: 1 100%;
        padding: 10px 12px;
    }
}

@media screen and (max-width: 490px){
    .calculator__tabs .row {
        gap: 1rem;
    }
}