.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding: 22px;
  border: 2px solid #c7e5f5;
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 30px rgba(0, 92, 154, .08);
}

.catalog-search {
  display: grid;
  gap: 8px;
  width: min(100%, 620px);
  font-size: 12px;
  font-weight: 800;
  color: #175a82;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.catalog-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid #93cde9;
  border-radius: 13px;
  background: white;
  color: var(--ink);
  font: 700 16px/1.2 Manrope, Arial, sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.catalog-search input:focus {
  border-color: #008fca;
  box-shadow: 0 0 0 4px rgba(0, 164, 215, .14);
}

.catalog-count {
  margin: 0 0 13px;
  color: #397087;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-card-rich summary {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  min-height: 126px;
  padding: 14px;
}

.brand-card-rich summary > img {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
  background: #e9f7ff;
}

.brand-card-rich summary > span {
  min-width: 0;
}

.brand-card-rich summary b {
  overflow-wrap: anywhere;
}

.brand-card-rich summary small {
  margin-top: 5px;
}

.brand-card-rich[open] summary > img {
  box-shadow: 0 8px 18px rgba(0, 98, 166, .2);
}

.brand-card-rich .model-list {
  max-height: 250px;
  overflow: auto;
  border-top: 1px solid #dceaf2;
  padding-top: 16px;
}

.catalog-empty {
  margin: 20px 0 0;
  padding: 28px;
  border: 2px dashed #99cfe7;
  border-radius: 18px;
  background: white;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-count {
    margin: 0;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .brand-card-rich summary {
    grid-template-columns: 76px 1fr auto;
    gap: 11px;
    min-height: 106px;
    padding: 11px;
  }

  .brand-card-rich summary > img {
    width: 76px;
    height: 76px;
  }
}
