.other-brands {
  padding: 90px 0;
  background: #f8f9fb;
}

.other-brands-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 18px;
}

.other-brands-search {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
}

.other-brands-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: #0c3d97;
  pointer-events: none;
}

.other-brands-search input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px 0 42px;
  border: 1px solid #e8ebef;
  background: #fff;
  color: #232323;
  font-size: 15px;
  line-height: 1.4;
}

.other-brands-search input::placeholder {
  color: #8a93a3;
}

.other-brands-search input:focus {
  outline: 3px solid #0c3d97;
  outline-offset: 2px;
  border-color: #0c3d97;
}

.other-brands-count {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.other-brands-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.other-brands-index-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid #e8ebef;
  color: #0c3d97;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.other-brands-index-link:hover,
.other-brands-index-link:focus-visible {
  background: #0c3d97;
  border-color: #0c3d97;
  color: #fff;
}

.other-brands-index-link:focus-visible {
  outline: 3px solid #8ab4f8;
  outline-offset: 2px;
}

.other-brands-index-link.is-empty,
.other-brands-index-link.is-hidden {
  background: transparent;
  border-color: transparent;
  color: #c5cad3;
  cursor: default;
  pointer-events: none;
}

.other-brands-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.other-brands-group {
  background: #fff;
  border: 1px solid #e8ebef;
  border-left: 3px solid #0c3d97;
  padding: 22px 26px;
  scroll-margin-top: 120px;
}

.other-brands-group.is-hidden {
  display: none;
}

.other-brands-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: static;
  z-index: auto;
  box-shadow: none;
  transition: none;
}

.other-brands-letter {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c3d97;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.other-brands-group-count {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #888;
}

.other-brands-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.other-brands-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 12px 28px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid #eef1f5;
}

.other-brands-row:first-child {
  border-top: 0;
  padding-top: 2px;
}

.other-brands-row.is-hidden {
  display: none;
}

.other-brands-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #232323;
}

.other-brands-products {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.other-brands-empty {
  padding: 36px 24px;
  background: #fff;
  border: 1px solid #e8ebef;
  text-align: center;
}

.other-brands-empty[hidden] {
  display: none;
}

.other-brands-empty p {
  margin: 0 0 18px;
  color: #555;
  line-height: 1.65;
}

.other-brands-more {
  margin: 28px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.65;
}

.other-brands-cta {
  margin-top: 28px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #e8ebef;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.other-brands-cta p {
  margin: 0;
  max-width: 640px;
  color: #666;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .other-brands {
    padding: 70px 0;
  }

  .other-brands-group {
    padding: 18px 16px;
  }

  .other-brands-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .other-brands-cta {
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .other-brands-index-link {
    transition: none;
  }
}
