/* Brand collection page — pattern follows the Waterbox collection page
   (toolbar with search + selects, results bar with count, mobile filter
   sheet), rebuilt here since this sandbox has no access to the live
   waterbox.css to import directly. */
.brand-head { padding: 22px 0 30px; border-bottom: 1px solid var(--line); }
.brand-banner { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
.brand-banner-copy { display: grid; gap: 10px; }
.brand-logo-chip { display: inline-flex; align-items: center; height: 34px; margin-bottom: 4px; }
.brand-logo-chip img { max-width: 160px; max-height: 30px; object-fit: contain; }
.brand-logo-chip.on-dark { filter: none; }
.brand-banner-copy .eyebrow { color: var(--aqua); font: 700 .68rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.brand-banner-copy p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.brand-source-note { margin: 6px 0 0; padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface-2); color: var(--muted); font-size: .8rem; line-height: 1.5; }
.brand-source-note a { color: var(--aqua); font-weight: 600; }
@media (min-width: 860px) {
  .brand-banner { grid-template-columns: minmax(0,1fr) 240px; align-items: center; }
  .brand-banner-media { order: 2; }
}
.brand-banner-media { display: flex; align-items: center; justify-content: center; height: 180px; border-radius: var(--radius-lg); background: var(--surface-2); overflow: hidden; }
.brand-banner-media img { max-width: 84%; max-height: 84%; object-fit: contain; }

.brand-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 26px 0 18px; }
.brand-search { position: relative; flex: 1 1 260px; }
.brand-search input { width: 100%; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .92rem; }
.brand-search input:focus-visible { border-color: var(--aqua); }
.brand-results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
.brand-count { margin: 0; color: var(--muted); font-size: .85rem; }
.brand-reset { border: 0; background: none; padding: 0; color: var(--aqua); font-size: .82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.brand-reset[hidden] { display: none; }

.brand-grid-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }

@media (max-width: 719px) {
  .brand-head { padding: 16px 0 22px; }
  .brand-banner-media { height: 140px; }
}

.brand-mobile-category { display: none; }
@media (max-width: 719px) {
  .brand-mobile-category { display: grid; gap: 6px; margin: -5px 0 16px; }
  .brand-mobile-category label { color: var(--muted); font-size: .8rem; font-weight: 600; }
  .brand-mobile-category .fs-select { width: 100%; min-height: 44px; }
  [data-brand-chips] { display: none; }
}
