.brands-page {
    margin-bottom: 132px;
}

.brands-page .flex {
    justify-content: center;
}

.brands-page .brands_list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.brands_list .brands_item {
    width: calc(25% - 11px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    padding-right: 20px;
    padding-bottom: 30px;
    padding-left: 20px;
    gap: 20px;
    border-radius: 20px;
    border: 1px solid #DFDFDF;
    background: #FFF;
}

.brands_list .brands_item .brands_item_img {
    width: 100%;
    max-width: 166px;
    height: 141px;
}

.brands_list .brands_item .brands_item_link {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #000;
    text-align: center;
}

.brands_list .brands_item .brands_item_link:hover {
    color: #877FB0;
}

@media only screen and (max-width: 1440px) {
    .brands_list .brands_item {
        width: calc(33.333% - 11px);
    }
}

@media only screen and (max-width: 1199px) {
    .brands_list .brands_item {
        width: calc(25% - 11px);
    }
}

@media only screen and (max-width: 991px) {
    .brands_list .brands_item {
        width: calc(33.333% - 11px);
    }
}

@media only screen and (max-width: 768px) {
    .brands_list .brands_item {
        width: calc(50% - 11px);
    }
}

@media only screen and (max-width: 550px) {
    .brands-page .container-big {
        padding-left: 10px;
        padding-right: 10px;
    }

    .brands_list .brands_item {
        padding-top: 14px;
        padding-right: 10px;
        padding-bottom: 20px;
        padding-left: 10px;
        gap: 5px;
    }

    .brands_list .brands_item .brands_item_img {
        max-width: 100px;
        height: 85px;
    }

    .brands_list .brands_item .brands_item_link {
        font-size: 16px;
    }
}

@media only screen and (max-width: 290px) {
    .brands-page .brands_list {
        flex-direction: column;
    }

    .brands_list .brands_item {
        width: 100%;
    }
}
