@charset "UTF-8";

:root {
    /* Фирменные цвета */
    --colors__firm_violet: #340F54;
    --colors__firm_white: #ffffff;
    --colors__firm_gray: #818691;
    --colors__firm_red: #FA494C;
    --colors__firm_red_hover: #E33639;
    --colors__firm_green: #43A771;
    --colors__firm_text_dark: #1b1b21;
}

/* 

Стили формы фильтра по цене 

*/

.widget_wrapper {
    background-color: var(--colors__firm_white);
    padding: 20px 25px;
    border-radius: 15px;
    border: 1px solid var(--colors__firm_gray);
}


.search_car_by_price__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    column-gap: 25px;
}

.search_car_by_price__field {
    text-align: center;
    border: 1px solid var(--colors__firm_gray);
    margin-bottom: 20px;
    width: 260px;
    height: 260px;
    background-color: #edf0f6;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.search_car_by_price__field:hover::after {
    content: "";
    width: 8px;
    height: 100%;
    display: flex;
    background-color: var(--colors__firm_red);
    position: absolute;
    top: 0;
}

.search_car_by_price__image {
    overflow: hidden;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_car_by_price__image img {
    /* width: 100%;
    height: 100%; */
}

.search_car_by_price__text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.search_car_by_price__title {
    font-size: 18px;
    font-weight: 400;
    color: #282828;
    text-transform: uppercase;
}

.search_car_by_price__subtitle {
    font-size: 15px;
    font-weight: 300;
    color: #808080;
}

@media only screen and (max-width: 768px) {
    .search_car_by_price__field {
        width: 100%;
        max-height: 260px;
        margin-bottom: 20px;
    }

    .search_car_by_price__row {
        display: block;
    }

    .search_car_by_price__image img {
        width: 100%;
        height: auto;
    }
}