/* Listing page heading and the small links above the products. Category
   tiles were removed in November 2026 (big retailers navigate categories via
   the menu, a back link and the overview's product-type pills). */
.shop-listing .shop-hero,
.shop-listing .category-hero {
  padding: calc(var(--header-height, 149px) + 1.25rem) 0 1rem;
  background: #fff;
}
.shop-listing .category-hero__content { max-width: none; }
.shop-listing .shop-hero h1,
.shop-listing .category-hero h1 {
  margin-bottom: .5rem;
  color: var(--heading, #0f172a);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.shop-listing .shop-hero p,
.shop-listing .category-hero p {
  max-width: 70rem;
  color: var(--text-muted, #5f6e84);
  font-size: .875rem;
  line-height: 1.5;
}
.shop-discovery { padding-bottom: 1rem; }
.shop-discovery__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-bottom: .625rem;
}
.shop-discovery__all,
.shop-discovery__project {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2rem;
  color: var(--heading, #0f172a);
  font-size: .8125rem;
  font-weight: 700;
  text-decoration: none;
}
.shop-discovery__all[aria-current],
.shop-discovery__all:hover { color: var(--shop-accent-text, #1D4E89); }
.shop-discovery__all:hover,
.shop-discovery__project:hover { text-decoration: underline; text-underline-offset: .2em; }
.shop-discovery__project span {
  padding: .25rem .5rem;
  border-radius: 4px;
  background: var(--cta-bg, #1D4E89);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  white-space: nowrap;
}
.shop-discovery a:focus-visible { outline: 2px solid var(--shop-accent-text, #1D4E89); outline-offset: 3px; }

@media (max-width: 767px) {
  .shop-listing .shop-hero,
  .shop-listing .category-hero { padding-top: calc(var(--header-height, 60px) + 1rem); padding-bottom: .75rem; }
  .shop-listing .shop-hero h1,
  .shop-listing .category-hero h1 { font-size: 1.5rem; }
  .shop-discovery__topline { gap: .25rem .5rem; margin-bottom: .375rem; }
  .shop-discovery__all,
  .shop-discovery__project { font-size: .75rem; gap: .375rem; }
  .shop-discovery__project span { padding-inline: .375rem; font-size: .625rem; }
}

