.brand-filter .brand-panel { width: min(740px, calc(100vw - 80px)); padding: 20px; border-radius: 8px; z-index: 15; }
.brand-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.brand-panel-head strong { color: var(--navy); font-size: 17px; }
.brand-panel-head span { color: var(--muted); font-size: 12px; }
.brand-panel .brand-search { width: 100%; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); margin-bottom: 16px; font-size: 14px; }
.brand-panel .brand-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; padding: 3px 6px 3px 3px; }
.brand-options a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; min-height: 64px; min-width: 0; padding: 10px 12px; border-radius: 6px; text-align: left; }
.brand-options b { font-size: 13px; overflow-wrap: anywhere; }
.brand-options small { color: var(--muted); font-size: 11px; font-weight: 400; overflow-wrap: anywhere; }
.brand-options a.active small { color: var(--orange); }
.brand-options a[hidden], .brand-panel .brand-empty[hidden] { display: none; }
.chips [data-brand-chip][hidden] { display: none; }
.brand-empty { padding: 24px 0; color: var(--muted); font-size: 14px; text-align: center; }
.brand-panel a:focus-visible, .brand-panel input:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
@media (max-width: 640px) {
  .brand-filter .brand-panel { width: 100%; padding: 12px; }
  .brand-panel .brand-options { grid-template-columns: repeat(2, minmax(0,1fr)); max-height: 300px; }
}
