/* subnav.css — sub-category filter banners */

#subnav-track {
  position: fixed;
  top: calc(var(--topbar-h) + var(--secnav-h));
  left: 0; right: 0;
  height: var(--subnav-h);
  z-index: 280;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

/* Each section has its own subnav row */
.subnav-row {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.subnav-row::-webkit-scrollbar { display: none; }
.subnav-row.visible { opacity: 1; pointer-events: all; }

/* Filter pill buttons */
.filter-pill {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  color: var(--mid);
  background: var(--white);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-pill.active {
  background: var(--sc-color);
  color: #fff;
  border-color: var(--sc-color);
}

.filter-pill:not(.active):active {
  background: var(--light);
}
