.brands-page {
    --brands-accent: #b43c26;
    --brands-ink: #272822;
    --brands-muted: #66685f;
    --brands-line: #deded5;
    color: var(--brands-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
.brands-page [hidden] { display: none !important; }
.brands-page [id] { scroll-margin-top: 120px; }
.brands-page h1, .brands-page h2, .brands-page h3, .brands-page h4 { font-family: inherit; font-weight: 600; }
.brands-page a { color: inherit; text-underline-offset: 4px; }
.brands-page a:focus-visible, .brands-page button:focus-visible, .brands-page input:focus-visible { outline: 3px solid var(--brands-accent); outline-offset: 4px; }
.brands-page .breadcrumb { font-size: 14px; margin-bottom: 28px; }
.brands-hero { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--brands-line); font-family: inherit; font-size: inherit; font-weight: inherit; }
.brands-eyebrow { margin: 0 0 15px; color: var(--brands-muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brands-hero h1 { margin: 0 0 22px; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.1; letter-spacing: -.035em; overflow-wrap: break-word; }
.brands-lead { max-width: 620px; color: var(--brands-muted); margin: 0; }
.brands-hero-note { align-self: end; padding: 24px; background: #f0efe8; border-left: 2px solid var(--brands-accent); }
.brands-note-number { display: block; margin-bottom: 14px; color: var(--brands-accent); font-size: 1.7rem; }
.brands-page .btn-danger { background: var(--brands-accent); border-color: var(--brands-accent); }
.brands-page .btn-danger:hover { background: #8f2c1c; border-color: #8f2c1c; }
.brands-page .btn { border-radius: 3px; font-size: 16px; padding: 11px 18px; }
.brands-directory { padding-top: 38px; }
.brands-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.brands-section-heading h2 { font-size: 1.6rem; margin: 0; }
.brands-muted { margin: 0; color: var(--brands-muted); font-size: 15px; }
.brands-tools { padding: 24px; background: #f0efe8; margin-bottom: 32px; }
.brands-search { max-width: 480px; margin-bottom: 20px; }
.brands-tools .form-label, .brands-materials legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.brands-tools .form-control { font-size: 16px; }
.brands-materials { margin: 0; padding: 0; }
.brands-category-options { display: flex; flex-wrap: wrap; gap: 8px; }
.brands-chip { padding: 8px 13px; color: var(--brands-ink); background: #fff; border: 1px solid #bfc1b5; border-radius: 3px; font: inherit; font-size: 15px; }
.brands-chip:hover { border-color: var(--brands-accent); }
.brands-chip[aria-pressed="true"] { color: #fff; background: var(--brands-ink); border-color: var(--brands-ink); }
.brands-filter-status { margin: 16px 0 0; color: var(--brands-muted); font-size: 15px; }
.brands-group { margin-bottom: 36px; }
.brands-group-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--brands-line); margin-bottom: 18px; }
.brands-group-heading h3 { font-size: 20px; margin: 0; }
.brands-group-heading a { color: var(--brands-muted); font-size: 15px; }
.brands-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.brands-card { min-width: 0; background: #fff; border: 1px solid var(--brands-line); border-radius: 4px; transition: border-color .15s, box-shadow .15s; }
.brands-card:hover { border-color: var(--brands-accent); box-shadow: 0 4px 14px #2728220c; }
.brands-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
/* Every supplied manufacturer image is 2000 × 2000, including its white margins. */
.brands-card-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 100%; height: 220px; padding: 20px; background: #fff; border-radius: 4px 4px 0 0; }
.brands-card-logo img { display: block; width: 180px; max-width: 100%; height: auto; max-height: 180px; object-fit: contain; }
.brands-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 20px; border-top: 1px solid var(--brands-line); }
.brands-card h4 { font-size: 20px; line-height: 1.35; margin: 0 0 10px; overflow-wrap: anywhere; }
.brands-card-material { color: var(--brands-muted); font-size: 16px; line-height: 1.5; margin-bottom: 16px; }
.brands-card-count { margin: auto 0 16px; color: var(--brands-muted); font-size: 15px; line-height: 1.5; }
.brands-card-action { display: flex; justify-content: space-between; gap: 8px; color: var(--brands-accent); font-size: 16px; line-height: 1.5; font-weight: 600; }
.brands-empty { padding: 28px; border: 1px solid var(--brands-line); background: #fff; margin-block: 24px; }
.brands-empty h3 { font-size: 1.25rem; }
.brands-empty p { color: var(--brands-muted); }
.brands-service { border-top: 1px solid var(--brands-line); padding-block: 36px; }
.brands-service h2 { font-size: 1.6rem; margin-bottom: 24px; }
.brands-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.brands-step { color: var(--brands-accent); font-size: .8rem; font-weight: 700; }
.brands-service h3 { margin-block: 12px; font-size: 1.1rem; }
.brands-service p, .brands-service a { font-size: 16px; }
.brands-service p { color: var(--brands-muted); }
.brands-service a { font-weight: 600; }
.brands-help { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-block: 10px 40px; padding: 32px; background: #f0efe8; }
.brands-help > div { max-width: 650px; }
.brands-help h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.25; }
.brands-help p:last-child { color: var(--brands-muted); margin-bottom: 0; font-size: 16px; }
.brands-help .btn { flex-shrink: 0; }
@media (max-width: 991px) {
    .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .brands-hero { grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; }
    .brands-hero-note { padding: 18px; }
}
@media (max-width: 767px) {
    .brands-hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
    .brands-hero-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
    .brands-hero-note p { margin: 0; }
    .brands-note-number { display: none; }
    .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .brands-tools { padding: 18px; }
    .brands-service-grid { grid-template-columns: 1fr; gap: 24px; }
    .brands-service-grid > div + div { border-top: 1px solid var(--brands-line); padding-top: 20px; }
    .brands-help { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
}
@media (max-width: 599px) {
    .brands-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .brands-card { transition: none; }
}
