/* css/components/browse-links.css — "Browse by language / category" links and
   the intro paragraph of browse pages (/language/urdu, /author/…). Filled in
   at deploy by scripts/build-storefront-pages.mjs. */
.browse-links {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}
.catalog-browse {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}
.browse-group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.browse-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.browse-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  border-radius: 999px;
  background: var(--surface, #fff);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.browse-chip:hover,
.browse-chip[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold);
}
.browse-count {
  font-size: 11px;
  color: var(--muted);
}
/* Browse pages show their heading; the plain catalog keeps it hidden. */
body[data-collection-type] .sec-head {
  display: flex;
  margin: 8px 0 10px;
}
.collection-intro {
  max-width: 760px;
  margin: -4px 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
