/* VL_BRAND_PAGES_20261124 — the brand list and a brand's page. Linked from head.tpl on those pages only. */

/* A brand's page: intro under the heading, categories as the rounded buttons of category pages, text below the products */
body#manufacturer .vl-brand-header { margin-bottom: 12px; }
body#manufacturer .vl-brand-intro { max-width: 72ch; color: var(--vl-muted, #5d6674); font-size: 15px; line-height: 1.55; margin-top: 8px; }
body#manufacturer .vl-brand-intro p:last-child { margin-bottom: 0; }
body#manufacturer .vl-brand-categories .vl-brand-count { color: var(--vl-muted, #5d6674); font-weight: 400; margin-left: 4px; }
body#manufacturer .vl-brand-description #manufacturer-description { max-width: 80ch; color: #111; line-height: 1.6; }
body#manufacturer .vl-brand-description #manufacturer-description p { margin: 0 0 14px; }

/* The brand list: names with counts, the largest first, then by letter */
body#manufacturer .vl-brands { max-width: 1200px; }
body#manufacturer .vl-brands h1 { margin-bottom: 24px; }
body#manufacturer .vl-brands-heading { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--vl-muted, #5d6674);
  font-weight: 600; margin: 0 0 12px; }
/* The theme makes every list on these pages a centred flex row (#manufacturer #main ul); these two are not. */
#manufacturer #main .vl-brands-top { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 32px; padding: 0; }
body#manufacturer .vl-brands-top a { display: inline-block; padding: 8px 14px; border: 1px solid var(--vl-line, #e2e5ea); border-radius: 999px;
  color: var(--vl-fg, #12161c); font-size: 14px; background: #fff; }
body#manufacturer .vl-brands-top a:hover { border-color: var(--vl-fg, #12161c); text-decoration: none; }
body#manufacturer .vl-brands-count { color: var(--vl-muted, #5d6674); font-size: 13px; margin-left: 2px; }
body#manufacturer .vl-brands-letters { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px 0; margin-bottom: 8px;
  border-top: 1px solid var(--vl-line, #e2e5ea); border-bottom: 1px solid var(--vl-line, #e2e5ea); }
body#manufacturer .vl-brands-letters a { min-width: 32px; padding: 4px 8px; text-align: center; border-radius: 4px; font-weight: 600;
  color: var(--vl-fg, #12161c); }
body#manufacturer .vl-brands-letters a:hover { background: var(--vl-surface, #f4f5f7); text-decoration: none; }
body#manufacturer .vl-brands-group { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--vl-line, #e2e5ea); scroll-margin-top: 16px; }
body#manufacturer .vl-brands-group h2 { font-size: 24px; margin: 0; line-height: 1.2; color: var(--vl-fg, #12161c); }
#manufacturer #main .vl-brands-group ul { display: block; columns: 4 200px; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
body#manufacturer .vl-brands-group li { break-inside: avoid; padding: 4px 0; font-size: 15px; }
body#manufacturer .vl-brands-group li a { color: var(--vl-fg, #12161c); }
body#manufacturer .vl-brands-group li a:hover { color: var(--vl-accent, #c63c32); }
@media (max-width: 575px) {
  body#manufacturer .vl-brands-group { grid-template-columns: 36px 1fr; gap: 8px; }
  #manufacturer #main .vl-brands-group ul { columns: 2 110px; column-gap: 16px; }
}
