.brand-showcase { --picks-line: #e5e7eb; --picks-blue: #0053e8; scroll-margin-top: 20px; }
.brands-header { gap: 12px 20px; margin-bottom: clamp(12px, 1.65vw, 22px); }
.brands-header h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
.brand-track {
  --brand-gap: clamp(10px, 1.3vw, 16px);
  display: grid; position: relative; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--brand-gap)) / 4); gap: var(--brand-gap);
  overflow-x: auto; margin: 0; padding: 3px 4px 10px 0; list-style: none;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.brand-track li { min-width: 0; scroll-snap-align: start; }
.brand-tile {
  display: grid; position: relative; place-items: center;
  min-height: clamp(115px, 11vw, 152px); padding: 16px 10px;
  border: 1px solid #e5e7eb; border-radius: 20px; background: #fff;
  box-shadow: 0 3px 8px #16283f07;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.brand-tile:is(:hover, :focus-visible) { border-color: #b7c9f5; box-shadow: 0 7px 15px #1a31580e; }
.brand-tile:focus-visible { outline-offset: -4px; }
.brand-tile img {
  width: 63%; max-width: 165px; height: clamp(44px, 5.3vw, 66px);
  object-fit: contain; filter: grayscale(1) contrast(1.12);
  transition: transform .2s ease;
}
.brand-tile .brand-logo-light { filter: brightness(.08); }
.brand-tile:hover img { transform: scale(1.045); }
.collection-filter {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 8px; padding: 5px 10px 5px 13px;
  border: 1px solid #c8d7fb; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font-size: .86rem; font-weight: 750;
}
.collection-filter:hover { border-color: var(--blue); }
.collection-filter span:last-child { font-size: 1.18rem; line-height: 1; }
@media (max-width: 950px) {
  .brand-track { grid-auto-columns: calc((100% - 2 * var(--brand-gap)) / 3); }
}
@media (max-width: 650px) {
  .brand-track { grid-auto-columns: calc((100% - var(--brand-gap)) / 2); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-tile, .brand-tile img { transition: none; }
  .brand-tile:hover img { transform: none; }
}
