.brands.hidden {
  opacity: 0;
}
.brands__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 16px;
}
@media (max-width: 1199.98px) {
  .brands__row {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 991.98px) {
  .brands__row {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 767.98px) {
  .brands__row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575.98px) {
  .brands__row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.brands__item.hidden {
  display: none;
}
.brands__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 16px;
  gap: 24px;
  background-color: #fff;
  border: 1px solid var(--bs-primary);
  border-radius: 24px;
  transition: box-shadow 0.25s ease-out;
  cursor: pointer;
}
.brands__card:hover, .brands__card:focus {
  box-shadow: var(--box-shadow-primary);
}
@media (max-width: 575.98px) {
  .brands__card {
    flex-direction: column-reverse;
    gap: 8px;
    padding: 8px 8px 16px;
  }
}
.brands__picture {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}
.brands__img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.brands__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 575.98px) {
  .brands__text {
    align-items: center;
  }
}
.brands__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #24242d;
}
.brands__quantity {
  display: inline-block;
  font-size: 0.75rem;
  color: #7b748b;
  white-space: nowrap;
}
.brands__more {
  display: flex;
  justify-content: center;
}
.brands__more button {
  margin-top: 20px;
}
.brands-btn {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
}
.brands .js-brands-button-back {
  padding: 5px 10px;
}
.brands .js-brands-button-back svg {
  transform: rotate(90deg);
  color: var(--bs-white);
}
