#brands {
  margin-top: 29px;
  margin-bottom: 63px;
}
#brands .container {
  --content-width: 1310px;
}
#brands .brands-inner {
  padding: 43px 0 50px 0;
  overflow: hidden;
}

#brands h3 {
  margin: 0 auto 50px auto;
  font-size: 39px;
}

#brands a {
  margin-top: 50px;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
}

#brands .swiper-button-next {
  right: 0;
}

#brands .swiper-slide {
  width: auto;
  height: auto;
}

#brands .swiper-slide img {
  display: block;
}

#brands .swiper-button-prev {
  left: 0;
}

#brands .swiper-button-next,
#brands .swiper-button-prev {
  top: 12px;
  color: #939292;
  background-color: var(--middle-gray);
  --swiper-navigation-size: 27px;
  opacity: 1;
  height: 100%;
  width: 26px;
  display:none
}
@media screen and (max-width: 776px ) {
  #brands {
    margin: 0;
  }
  #brands h3 {
    font-size: 25px;
  }
}
@media screen and (max-width: 576px ) {
  #brands .brands-inner {
    padding: 43px 0 20px 0;
  }
  #brands .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #brands .swiper-slide img {
    max-width: 30vw;
    height: auto !important;
  }
}