.brands__wrap {
  padding: 20px 0;
}
@media (max-width: 575.98px) {
  .brands__wrap {
    padding: 0 0 20px;
  }
}
.brands__row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-gap: 16px;
}
@media (max-width: 1199.98px) {
  .brands__row {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media (max-width: 991.98px) {
  .brands__row {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 767.98px) {
  .brands__row {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 680px) {
  .brands__row {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 580px) {
  .brands__row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .brands__row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .brands__item:nth-child(n+13) {
    display: none;
  }
}
@media (max-width: 580px) {
  .brands__item:nth-child(n+10) {
    display: none;
  }
}
@media (max-width: 480px) {
  .brands__item:nth-child(n+9) {
    display: none;
  }
}
.brands.-show .brands__item {
  display: block !important;
}
.brands.-show .brands__buttons {
  display: none;
}
.brands__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 16px;
  border: 1px solid var(--bs-gray-200);
  border-radius: 12px;
  background-color: rgba(245, 244, 247, 0.4);
  backdrop-filter: blur(1px);
  height: 100%;
  transition: all 0.3s ease-in-out;
}
.brands__card:hover {
  background-color: var(--bs-primary);
  box-shadow: var(--bs-box-shadow);
}
.brands__card:hover .brands__name {
  color: var(--bs-white);
}
.brands__card:hover .brands__quantity {
  color: var(--bs-white);
}
.brands__picture {
  margin-bottom: 8px;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 575.98px) {
  .brands__picture {
    min-width: 40px;
    max-width: 40px;
    height: 40px;
  }
}
.brands__img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(1);
  transition: filter 0.2s ease-in;
}
.brands__name {
  font-family: "AtypText Bold", Arial, sans-serif;
  color: var(--bs-body-color);
  margin-right: 2px;
  font-size: 0.875rem;
}
.brands__quantity {
  margin-top: 4px;
  padding: 0 4px 1px;
  border-radius: 12px;
  background: rgba(29, 39, 43, 0.1);
  color: var(--bs-body-color);
  font-size: 0.75rem;
}
@media (max-width: 575.98px) {
  .brands__quantity {
    font-size: 0.8125rem;
  }
}
.brands__buttons {
  text-align: center;
}
@media (min-width: 681px) {
  .brands__buttons {
    display: none;
  }
}
.brands-btn {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
}
