/**/
#brands {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
#brands .header{
    display: flex;
    gap: 20px;
}
#brands .header .button {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none !important;
    outline: none !important;
    border: none !important;
}
#brands .header .button span {
    font-family: "Lato_font", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 142%;
    color: var(--bg-color-1);
    text-transform: uppercase;
}
#brands .header .title{
    font-family: "Pretty_font", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 110%;
    color: #444444;
    text-transform: uppercase;
}
#brands .inner{
    /*display: grid;*/
    /*grid-template-columns: repeat(5, 1fr);*/
    /*grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));*/
    /*grid-auto-rows: 515px;*/
    gap: 10px;

    /*overflow-x: auto;*/

    display: flex;
    flex-direction: column;

    margin-left: -40px;
    margin-right: -40px;
}
#brands .inner .inner-brands{
    display: flex;

    justify-content: center;
    overflow-x: visible;

    width: 100%;

    padding: 2px;
}
#brands .inner .inner-brands .slider-inner{
    display: flex;
    width: 100%;
    gap: 4px;
}
#brands .inner .row-brands {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    /*scrollbar-width: none;*/
}
#brands .inner .row-brands > .company-el:first-child{
    margin-left: 40px;
}
#brands .inner .row-brands > .company-el:last-child{
    margin-right: 40px;
}
#brands .inner .company-el{
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0 40px;

    border: 1px solid #E2E2E2;

    height: 100px;
    min-width: 220px;

    overflow: hidden;

    flex: 1;
}
#brands .inner .company-el .bg-img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 783px) {
    #brands .header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    #brands .header .button {
        margin: 0;
    }
    #brands .header .button span {
        font-size: 11px;
    }
    #brands .inner .company-el {
        padding: unset;

        height: 90px;
        min-width: 144px;
    }
}
@media (min-width: 784px) {
    #brands .inner .slider-inner {
        transform: none !important;
    }
    #brands .inner .slider-inner {
        overflow-x: auto !important;
    }
}