/* =============================================================================
   Pep Research -- the Research Catalog (/catalog), Pepvela refocus 2026-10-11.
   Category chips, a search field, the .pvb-product grid (js/storefront.js and
   the static cards from scripts/generate-seo.js) and the Research Modules entry.
   ============================================================================= */

.pr-cat { padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 6vw, 80px); }
.pr-cat__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-chips .filter-btn { min-height: 40px; padding: 0 16px; border: 1px solid var(--brand-line-strong); border-radius: var(--brand-radius-pill); background: var(--brand-white); color: var(--brand-ink-2); font: 650 14px/1 var(--brand-font); cursor: pointer; transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.pr-chips .filter-btn:hover { border-color: var(--brand-indigo); color: var(--brand-indigo); }
.pr-chips .filter-btn.active, .pr-chips .filter-btn[aria-pressed="true"] { border-color: var(--brand-navy); background: var(--brand-navy); color: #fff; }
.pr-search { position: relative; display: flex; align-items: center; flex: 0 1 300px; min-width: 220px; }
.pr-search svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--brand-muted); pointer-events: none; }
.pr-search input { width: 100%; min-height: 44px; padding: 0 14px 0 42px; border: 1px solid var(--brand-line-strong); border-radius: var(--brand-radius-sm); background: var(--brand-white); color: var(--brand-navy); font: 500 15px/1 var(--brand-font); }
.pr-search input::placeholder { color: var(--brand-muted); }
.pr-search input:focus { outline: none; border-color: var(--brand-indigo); box-shadow: 0 0 0 3px var(--brand-tint); }
.pr-cat__status { display: flex; align-items: center; gap: 14px; min-height: 40px; margin: 18px 0 14px; }
.sf-count { font-size: 14px; font-weight: 600; color: var(--brand-muted); }
.sf-clear, .sf-resetlink { padding: 4px 2px; border: 0; background: none; color: var(--brand-indigo); font: 650 14px/1.3 var(--brand-font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sf-empty { margin-top: 18px; padding: 28px; border: 1px dashed var(--brand-line-strong); border-radius: var(--brand-radius); text-align: center; color: var(--brand-ink-2); }

.pr-modules { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(36px, 5vw, 56px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--brand-line); border-radius: var(--brand-radius-lg); background: var(--brand-surface); }
.pr-modules > div { display: flex; flex-direction: column; gap: 8px; max-width: 62ch; }
.pr-modules h2 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; }
.pr-modules p:not(.pvb-eyebrow) { font-size: 15.5px; line-height: 1.65; color: var(--brand-ink-2); }

@media (max-width: 640px) {
  .pr-search { flex: 1 1 100%; }
  .pr-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--brand-gutter)); padding: 2px var(--brand-gutter) 6px; scrollbar-width: none; }
  .pr-chips::-webkit-scrollbar { display: none; }
  .pr-chips .filter-btn { flex: none; }
  .pr-modules .pvb-btn { width: 100%; }
}
