body.category-page {
  background: #0b0c13;
  color: #fff;
}

.category-page .site-header {
  background: rgba(15, 18, 27, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.category-main {
  min-height: 70vh;
}

.category-hero {
  position: relative;
  width: 100%;
  min-height: clamp(300px, 42vw, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #0b0c13;
}

.category-hero__image,
.category-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.category-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 8, 15, 0.9) 0%, rgba(6, 8, 15, 0.46) 52%, rgba(6, 8, 15, 0.18) 100%),
    linear-gradient(0deg, #0b0c13 0%, rgba(11, 12, 19, 0.78) 15%, rgba(11, 12, 19, 0) 48%);
}

.category-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, #0b0c13);
}

.category-hero__content {
  position: relative;
  z-index: 1;
  width: min(96vw, 2400px);
  margin: 0 auto;
  padding: 56px 24px 92px;
}

.category-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.category-hero h1 {
  margin: 0 0 12px;
  max-width: 18ch;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.02;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}

.category-hero__content > p:last-child {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.category-content {
  position: relative;
  z-index: 2;
  width: min(96vw, 2400px);
  margin: -58px auto 0;
  padding: 0 16px 120px;
}

.category-content .browse-sort {
  margin: 0 0 22px;
}

.category-not-found {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 120px;
  text-align: center;
}

.category-not-found h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.category-not-found p {
  color: rgba(255, 255, 255, 0.75);
}

.category-not-found a {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--teal), var(--purple));
  color: #05070e;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 700px) {
  .category-hero {
    min-height: 360px;
  }

  .category-hero__content {
    padding: 42px 18px 78px;
  }

  .category-content {
    margin-top: -42px;
    padding-inline: 12px;
  }
}
