body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
}

.brands-index-context {
  background: linear-gradient(180deg, #9fadb8 0%, #b5c1cb 10%, #c6d1d9 24%, #d5dee4 52%, #d8e6ef 80%, #edf4ff 100%);
  --brands-hero-height: 170px;
}

.brands-index-context .page {
  background: transparent;
}

.brands-index-context .page::before {
  display: none;
}

.brands-index-context .brands-page-shell {
  min-height: 100vh;
  padding: 0 20px 20px;
  padding-top: 88px;
}

.brands-index-context .brands-page-shell {
  padding-left: 0;
  padding-right: 0;
}

.brands-index-context .brands-page-main {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 0;
  align-items: start;
}

.brands-index-context .brands-page-hero,
.brands-index-context .brands-page-products {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  overflow: hidden;
}

.brands-index-context .brands-page-hero::before,
.brands-index-context .brands-page-products::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 36%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.brands-index-context .brands-page-hero {
  position: fixed;
  top: 104px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  z-index: 5;
  display: grid;
  gap: 10px;
  padding: 28px;
}

.brands-index-context .brands-page-eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f59e0b;
  font-weight: 700;
}

.brands-index-context .brands-page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.brands-index-context .brands-page-hero p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  max-width: 62ch;
}

.brands-index-context .brands-page-products {
  position: relative;
  z-index: 6;
  margin-top: calc(var(--brands-hero-height) + 18px);
  padding: 0;
  background: transparent;
}

.brands-index-context .brands-page-products .glass-nav-filter,
.brands-index-context .brands-page-products .glass-nav-overlay,
.brands-index-context .brands-page-products .glass-nav-specular {
  border-radius: inherit;
}

.brands-index-context .brands-page-products .glass-nav-filter {
  backdrop-filter: blur(7px);
  filter: url(#glass-distortion) saturate(122%) brightness(1.08);
}

.brands-index-context .brands-page-products .glass-nav-overlay {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 36%, rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
}

.brands-index-context .brands-page-products .glass-nav-specular {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.brands-index-context .brands-page-products-content {
  position: relative;
  z-index: 4;
  padding: 24px;
}

.brands-index-context .brands-page-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.brands-index-context .brands-page-products-head h2,
.brands-index-context .brands-page-products-head span {
  margin: 0;
}

.brands-index-context .brands-page-products-head span {
  color: #64748b;
  font-weight: 600;
}

.brands-page-list {
  display: grid;
  gap: 0;
}

.brands-page-group {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.brands-page-group:first-child {
  border-top: 0;
  padding-top: 4px;
}

.brands-page-letter {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #334155;
}

.brands-page-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 22px;
}

.brands-page-link {
  color: #0f172a;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.45;
  transition: color 0.18s ease, transform 0.18s ease;
}

.brands-page-link:hover,
.brands-page-link:focus-visible {
  color: #2563eb;
  transform: translateX(2px);
  outline: none;
}

@media (max-width: 900px) {
  .brands-page-group {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .brands-page-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brands-index-context {
    --brands-hero-height: 154px;
  }

  .brands-index-context .brands-page-shell {
    padding: 0 12px 12px;
    padding-top: 82px;
  }

  .brands-index-context .brands-page-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brands-index-context .brands-page-hero {
    top: 94px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    padding: 22px;
  }

  .brands-index-context .brands-page-products {
    margin-top: calc(var(--brands-hero-height) + 14px);
  }

  .brands-index-context .brands-page-products-content {
    padding: 18px;
  }

  .brands-page-group {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0;
  }

  .brands-page-letter {
    font-size: 1.05rem;
  }

  .brands-page-items {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .brands-page-link {
    font-size: 0.94rem;
  }
}
