.brands-list__item--bg-white {
    --brand-bg-color: #fff;
}

.brands-list__item--bg-grey {
    --brand-bg-color: #F8F8FC;
}

.brands-list__item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    padding: 10px 20px;
    position: relative;
    background-color: var(--light, var(--brand-bg-color)) var(--dark, #fff);
}

.brands-list__item--picture {
    padding: 0;
}

.brands-list__item--picture .brands-list__image-wrapper {
    padding: 24px;
    height: 80px;
    max-width: none;
    width: 100%;
    border: 1px solid var(--stroke_black);
    border-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.brands-list__picture {
    position: relative;
    height: 230px;
    width: 100%;
}

.brands-list__pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brands-list__items-wrapper .swiper-slide {
    width: auto;
}

.brands-list__image-wrapper {
    max-width: 100px;
    min-width: 96px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brands-list__image {
    max-width: 96px;
    max-height: 100%;
}

.brands-list__slider-wrap {
    position: relative;
}

@media (max-width:991px) {
    .brands-list__items-wrapper-- {
        padding: 0 24px
    }
}

@media (max-width:767px) {
    .brands-list--with-text .brands-list__items-wrapper {
        margin-top: 32px
    }
}

@media (max-width:600px) {
    .brands-list__item:not(.brands-list__item--picture) {
        padding-left: 31px;
        padding-right: 31px
    }

    .brands-list__picture {
        height: 150px
    }
}

.brands-list__items-wrapper--shrinked .brands-list__item {
    padding-block: 20px;
}

.brands-list__items-wrapper--shrinked .brands-list__image-wrapper {
    height: 48px;
}

.brands-list__items-wrapper--shrinked .brands-list__image {
    max-width: 64px;
}