/* Approved brand grid on the homepage. */
.brands-variant .hb-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin-inline:0;padding:0;overflow:visible;scroll-snap-type:none;scroll-padding:0}
.brands-variant .hb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:146px;padding:22px 12px;border-radius:0;background:var(--paper);transition:background .15s}
.brands-variant .hb img{width:52px;height:38px;object-fit:contain;grid-row:auto}
.brands-variant .hb b{font-size:14px;line-height:1.25;text-align:center;white-space:normal;overflow:visible;text-overflow:clip;max-width:100%}
.brands-variant .hb span{font-size:12px;line-height:1.3;color:var(--ink-3)}
.brands-variant .hb:hover{background:#f5f8ff;box-shadow:none}
.brands-variant .hb:focus-visible{outline:3px solid var(--red);outline-offset:-3px}
@media(max-width:1180px){.brands-variant .hb-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){
 .brands-variant .hb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .brands-variant .hb{min-height:120px;padding:16px 8px;gap:7px}
 .brands-variant .hb img{width:44px;height:32px}
 .brands-variant .hb b{font-size:13px}
 .brands-variant .hb span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.brands-variant .hb{transition:none}}
