.brands-section {
  background-color: var(--bs-white);
  border-radius: 24px;
}
@media (max-width: 575.98px) {
  .brands-section {
    padding-top: 0 !important;
  }
}
.brands__row {
  margin: 0 -10px;
}
.brands__item, .brands-models__item {
  width: 50%;
  padding: 0 10px;
}
@media (min-width: 375px) {
  .brands__item, .brands-models__item {
    width: 33.33%;
  }
}
@media (min-width: 576px) {
  .brands__item, .brands-models__item {
    width: 25%;
  }
}
@media (min-width: 768px) {
  .brands__item, .brands-models__item {
    width: 20%;
  }
}
@media (min-width: 992px) {
  .brands__item, .brands-models__item {
    width: 16.66%;
  }
}
@media (min-width: 1200px) {
  .brands__item, .brands-models__item {
    width: 12.5%;
  }
}
@media (min-width: 1440px) {
  .brands__item, .brands-models__item {
    width: 10%;
  }
}
.brands__item.hidden, .brands-models__item.hidden {
  display: none;
}
.brands__card {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 8px;
  border-radius: 12px;
  transition: box-shadow 0.25s ease-out;
  flex-direction: column;
  height: 114px;
  box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.07);
  cursor: pointer;
}
@media (max-width: 767.98px) {
  .brands__card {
    margin-top: 15px;
  }
}
.brands__card:hover, .brands__card:focus {
  box-shadow: 0 4px 12px rgba(187, 187, 187, 0.45);
}
.brands__picture {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}
.brands__img {
  max-width: 100%;
  max-height: 100%;
}
.brands__name {
  text-align: center;
  color: var(--bs-body-color);
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Oswald", Arial, sans-serif;
}
@media (min-width: 576px) {
  .brands__name {
    margin-top: 6px;
  }
}
@media (max-width: 575.98px) {
  .brands__quantity {
    display: flex;
    color: var(--bs-body-color);
    margin-left: 4px;
  }
  .brands__quantity:before {
    content: "(";
  }
  .brands__quantity:after {
    content: ")";
  }
}
@media (min-width: 576px) {
  .brands__quantity {
    margin-top: 6px;
    color: var(--bs-primary);
  }
}
.brands-models__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 12px 8px;
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  transition: box-shadow 0.25s ease-out;
}
.brands-models__card:hover, .brands-models__card:focus {
  box-shadow: 0 4px 12px rgba(187, 187, 187, 0.45);
}
.brands-models__name {
  text-align: center;
  color: var(--bs-body-color);
}
.brands-models__quantity {
  text-align: center;
  color: var(--bs-body-color);
}
.brands__more {
  display: flex;
  justify-content: center;
}
.brands__more button {
  margin-top: 20px;
}
.brands .js-brands-button-back {
  padding: 5px 10px;
}
.brands .js-brands-button-back svg {
  transform: rotate(90deg);
}
