* {
    font-family: var(--font-family);
}
.without-header .wrapper,
.wrapper .content {
    padding: 0;
}
.model-links{display:flex;flex-wrap:wrap;line-height:1.5;margin-bottom:2rem;justify-content:center}.model-links__count{color:var(--third-gray);font-size:2rem;margin-left:3px;transition:color .2s ease-in-out}.model-links__link{color:var(--secondary-gray);font-size:2.4rem}.model-links__link:not(:last-child){margin-right:1.6rem;margin-bottom:.8rem}

.instock__title {
    padding: 4rem 2.5rem 1.5rem;
}
.instock__title-title {
    color: var(--dark-model);
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 400;
    margin: 2rem 0 1.4rem;
    padding: 0;
}
.instock__title-title + .model-links {
    display: none;
}
.instock-container.swiper {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 4rem;
}
a.actions-list__card {
    box-sizing: border-box;
    border: 1px solid #e2e4e3;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.09);
    color: var(--dark-model);
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    height: auto;
}
.actions-list__picture {
    display: block;
}
.actions-list__picture img {
    display: block;
}
.actions-list__card-title {
    font-family: var(--font-family-title);
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 1.2rem;
}
.actions-list__card-subtitle {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}
.actions-list__card-subtitle_specs:not(:last-child) {
    margin-bottom: 1.2rem;
}
.actions-list__card-price {
    font-weight: 500;
    font-variation-settings: "wght" 500;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}
.actions-list__card-price_price span {
    font-size: 1.3em;
}

.actions-list__card-price_count {
    color: var(--accent-green);
    align-self: flex-end;
}
.actions-list__card-cta {
    justify-self: center;
    margin-top: 2.4rem;
    /* margin-top: auto; */
}
.actions-list__card-cta .btn {
    background-color: var(--footer-btns-bg);
    border: 1px solid var(--footer-btns-bg);
    color: var(--white);
    padding: 1.2rem 4.8rem;
    width: 100%;
}
.actions-list__card-cta .btn__content {
    font-size: 1.6rem;
    padding: 0;
    margin: 0;
}

a.instock-car, a.instock-car:visited{
    color: #000;
}
.instock-car {
    height: 300px;
    display: block;
    position: relative;
    padding: 20px;
    text-decoration: none;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
    border-collapse: collapse;
    background: url('/bitrix/components/allsites/new.instock.cars.selection/templates/.default/imgs/carbg.jpg') no-repeat bottom right transparent;
}

.instock-car:first-child {
    border-top: 1px solid #e5e5e5;
}
.instock-car-name {
    color: #0a4595;
    font-size: 20px;
    line-height: 20px;
}
.instock-car-year {
    color:#7f7f7f;
    font-size: 12px;
}
.instock-car-head{
    position: absolute;
    top: 0;
    left:0;
    padding: 20px 20px 0;
}
.instock-car-img {
    margin-top: 30px;
    text-align: center;
}
.instock-car-img img {
    max-height: 130px;
    width: auto;
}
.instock-car-compl {
    font-size: 18px;
}
.instock-car-modif {
    font-size: 12px;
}
.instock-car-discount {
    display: inline-block;
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 20px;
    color:#fff;
    position: relative;
    background-color : #d90202;
}
.instock-car-discount:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 0 11px;
    border-color: transparent transparent transparent #d90202;
    position: absolute;
    right: -11px;
    top:0;

}
.price-block {
    padding: 0 20px 20px;
    position: absolute;
    left:0;
    bottom: 0;
    width: 100%;
    align-items: center;
}
.bottom-price{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.instock-car-price {
    font-size: 18px;
}
.instock-car-count {
    color:#7f7f7f;
    font-size: 12px;
    position: relative;
}
.instock-car-count:before {
    display: block;
    position: absolute;
    top:4px;
    left:-9px;
    content: " ";
    width: 5px;
    height: 5px;
    background: #91ce79;
    border-radius: 50%;
}
.load-block {
   padding: 25px 0;
    text-align: center;
    background-color: #fff;
    margin-bottom: 20px;
}
.load-btn {
    text-decoration: none;
    display: inline-block;
    height: 18px;
    color: #b8976d;

}
.load-btn span.load-text{
    margin-left: 5px;
    position: relative;
    top:-6px;
    border-bottom: 2px dotted #b8976d;
}
.load-btn span.load-img {
    display: inline-block;
    border-bottom: none;
    width: 20px;
    height: 19px;
    background: url('/bitrix/components/allsites/new.instock.cars.selection/templates/.default/imgs/load-bg.jpg') no-repeat top left transparent;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
.load-btn:hover span.load-img {
    -moz-transform: rotate(360deg); /* Для Firefox */
    -ms-transform: rotate(360deg); /* Для IE */
    -webkit-transform: rotate(360deg); /* Для Safari, Chrome, iOS */
    -o-transform: rotate(360deg); /* Для Opera */
    transform: rotate(360deg);
}

#instock-filter,
#instock-cars-selection-content{
    float: none !important;
    width: 100%  !important;
}

@media only screen and (min-width: 640px){
    .actions-list__card-subtitle {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .instock-car-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .instock-car {
        width: 50%;
    }
    .instock-car:nth-child(2){
        border-top: 1px solid #e5e5e5;
    }
    .instock-car:nth-child(2n-1){
        border-right: 1px solid #e5e5e5;
    }
}
@media only screen and (min-width: 1040px){
    .istcok__title-title {
        margin: 1.5rem 0 2.5rem;
    }
    .content {
        padding: 0;
    }
    .instock-container.swiper {
        padding-bottom: 6rem;
    }
    .page-content.instock__title {
        padding: 4rem 5rem 0;
    } 
    .instock__title-title {
        /* font-size: 4.2rem; */
        line-height: 1;
    } 
    .instock-car {
        position: relative;
        width: 25%;
        padding: 20px 10px 20px 20px;
        border-right: 1px solid #e5e5e5;
        -webkit-transition: all .13s ease-out;
        -moz-transition: all .13s ease-out;
        -o-transition: all .13s ease-out;
        transition: all .13s ease-out;
    }
    .actions-list__card {
        font-size: 1.8rem;
        transition: all ease-in-out 0.23s;
    }
    .actions-list__card:hover {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.09);
    }
    .actions-list__card-cta .btn {
        padding: 1.2rem 4.8rem;
        transition: all ease-in-out .23s;
    }
    .actions-list__card:hover .actions-list__card-cta .btn {
        background-color: var(--accent-green);
        border: 1px solid var(--accent-green);
    }
    .actions-list__card-title {
        font-size: 3.2rem;
    }
    .actions-list__card-subtitle {
        font-size: 2rem;
    }
    .actions-list__card-subtitle_specs:not(:last-child) {
        margin-bottom: 0.6rem;
    }
    .actions-list__card-cta .btn__content {
        font-size: 1.8rem;
    }




    .instock-car:hover{
        z-index: 100;
        backface-visibility: visible;
        -webkit-box-shadow: 6px 6px 18px 0px rgba(50, 50, 50, 0.36);
        -moz-box-shadow:    6px 6px 18px 0px rgba(50, 50, 50, 0.36);
        box-shadow:         6px 6px 18px 0px rgba(50, 50, 50, 0.36);
    }

    .instock-car:first-child,
    .instock-car:nth-child(2),
    .instock-car:nth-child(3),
    .instock-car:nth-child(4) {
        border-top: 1px solid #e5e5e5;
    }
    .instock-car-wrapper {
        border-top: none;
        border-left: 1px solid #e5e5e5;
        border-bottom: none;
        border-right: none;
        margin-bottom: 10px;
    }
    .instock-car-img {
        margin-top: 35px;
    }
    .instock-car-img img {
        max-height: 110px;
    }
}