/*
 * Catalogue filters.
 *
 * The panel sits directly above a product list and only exists when the list can
 * actually be narrowed, so it is drawn as a quiet strip rather than a sidebar: a
 * card on the page surface, the choices as chips that match the family rail, and
 * the count beside each choice in the muted colour so the label stays the loudest
 * thing in the chip.
 *
 * The selected chip inverts rather than only changing colour, so the state is
 * readable without colour vision, and the whole control is a list of links: it
 * works with JavaScript unavailable and with a keyboard alone.
 */
.aq-filters {
  border: 1px solid #DBE3EA;
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px 16px;
  margin-bottom: 20px;
}
.aq-filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.aq-filters-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #687684;
}
.aq-filters-clear {
  font-size: 13px;
  font-weight: 600;
  color: #0F5FB8;
  text-decoration: none;
}
.aq-filters-clear:hover { text-decoration: underline; }
.aq-filters-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 12px;
}
.aq-filters-group { min-width: 0; }
.aq-filters-legend {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #40505E;
}
.aq-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aq-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #DBE3EA;
  border-radius: 999px;
  background: #fff;
  color: #17212B;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}
.aq-filter:hover { border-color: #0F5FB8; color: #0F5FB8; }
.aq-filter.is-current {
  border-color: #0F5FB8;
  background: #0F5FB8;
  color: #fff;
}
.aq-filter-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #687684;
}
.aq-filter.is-current .aq-filter-count { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 640px) {
  .aq-filters-groups { flex-direction: column; gap: 12px; }
  .aq-filter { font-size: 12px; }
}
