.brand-nav-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 16px 0 20px;
}

.brand-nav-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 25px;
  background: #155fbe;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}

.brand-nav-tile:hover,
.brand-nav-tile:focus {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.08);
}

.brand-nav-tile.is-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

section#main.brand-nav-loading #products {
  opacity: .55;
  transition: opacity .15s ease;
}

section#main.brand-nav-loading .brand-nav-tile {
  pointer-events: none;
}

@media (max-width: 991px) {
  .brand-nav-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .brand-nav-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .brand-nav-tile {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }
}
