.catalog-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-button {
  position: static;
  flex: 0 0 auto;
  text-decoration: none;
}

.catalog-main {
  max-width: 1080px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.catalog-heading h1 {
  margin: 4px 0 0;
}

.catalog-search {
  display: flex;
  gap: 8px;
  width: min(100%, 440px);
}

.catalog-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid #c7d0d4;
  border-radius: 6px;
  padding: 10px 12px;
  color: #172126;
  background: #fff;
  font: inherit;
}

.catalog-count {
  color: #637177;
  margin: 0 0 12px;
}

.level-list {
  border-top: 1px solid #dce2e4;
}

.level-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 12px 4px;
  border-bottom: 1px solid #dce2e4;
}

.level-cover {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #172126;
  color: #fff;
  font-weight: 700;
}

.level-copy {
  min-width: 0;
}

.level-copy h2 {
  margin: 0 0 6px;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.level-copy p {
  margin: 0;
  color: #637177;
  overflow-wrap: anywhere;
}

.level-rating {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #bcc7cb;
  border-radius: 50%;
  font-weight: 700;
}

.catalog-empty {
  padding: 56px 0;
  border-top: 1px solid #dce2e4;
  text-align: center;
}

.catalog-empty h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.catalog-empty p {
  margin: 0;
  color: #637177;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .catalog-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-search {
    width: 100%;
  }

  .level-row {
    grid-template-columns: 56px minmax(0, 1fr) 42px;
    gap: 12px;
  }

  .level-cover {
    width: 56px;
    height: 56px;
  }

}
