.brands-directory { --brands-red: #bc221a; background: #faf9f8; color: #242424; padding: 16px 0 40px; }
.brands-directory [hidden] { display: none !important; }
.brands-directory a:focus-visible, .brands-directory button:focus-visible, .brands-directory input:focus-visible { outline: 3px solid var(--brands-red); outline-offset: 4px; }
.brands-breadcrumb { display: flex; gap: 10px; font-size: 12px; color: #737373; margin-bottom: 12px; }
.brands-breadcrumb a { color: #555; }
.brands-hero h1 { color: #242424; font-size: clamp(23px, 3vw, 30px); line-height: 1.3; letter-spacing: -.5px; margin: 0; }
.brands-hero h1 span { color: var(--brands-red); }
.brands-tools { margin-top: 14px; padding: 14px; background: #fff; border: 1px solid #ece8e6; border-radius: 12px; }
.brands-search { max-width: 420px; margin-bottom: 12px; }
.brands-search label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.brands-search-field { display: flex; align-items: center; gap: 12px; border: 1px solid #dfdbd9; border-radius: 12px; padding: 0 14px; background: #fcfbfa; }
.brands-search-field > span { font-size: 28px; color: #777; }
.brands-search-field input { width: 100%; min-width: 0; border: 0; height: 40px; background: transparent; padding: 0; color: #242424; font-size: 14px; }
.brands-search-field button { background: transparent; border: 0; color: var(--brands-red); padding: 10px 0; font-size: 12px; font-weight: 600; }
.brands-alphabet { display: flex; flex-wrap: wrap; gap: 7px; }
.brands-alphabet a, .brands-alphabet > span { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 40px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.brands-alphabet a { color: #333; background: #f5f3f2; transition: background .18s, color .18s; }
.brands-alphabet a:hover, .brands-alphabet a:focus-visible { background: var(--brands-red); color: white; }
.brands-alphabet > span, .brands-alphabet a[aria-disabled="true"] { background: #fafafa; color: #aaa; }
.brands-result-count { margin: 12px 0 0; color: #737373; font-size: 12px; }
.brands-group { margin-top: 18px; }
.brands-group-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.brands-group-heading h2 { display: grid; place-items: center; background: #f9eae6; color: var(--brands-red); border-radius: 9px; width: 34px; height: 34px; font-size: 19px; margin: 0; scroll-margin-top: 150px; }
.brands-group-heading > span { color: #777; font-size: 13px; }
.brands-group-heading > a { margin-left: auto; color: #777; font-size: 12px; }
.brands-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.brand-card { border: 1px solid #ece8e6; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.brand-card:has(a):hover { border-color: #e4bcb5; box-shadow: 0 8px 24px #44221a08; transform: translateY(-3px); }
.brand-card-content { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 12px; min-height: 90px; height: 100%; color: #242424; text-align: center; }
.brand-card-content h3 { font-size: 14px; color: #242424; line-height: 1.4; overflow-wrap: anywhere; max-width: 100%; margin: 0; letter-spacing: .4px; }
.brand-card-hint { display: block; color: #777; font-size: 11px; margin-top: 7px; }
.brands-empty { padding: 60px 24px; text-align: center; border: 1px dashed #e4d8d4; border-radius: 18px; margin-top: 30px; background: #fff; }
.brands-empty h2 { font-size: 24px; color: #333; margin-bottom: 12px; }
.brands-empty p { color: #777; margin-bottom: 15px; }
.brands-empty a { color: var(--brands-red); }
@media (max-width: 1199px) { .brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991px) { .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .brands-directory { padding: 12px 0 30px; }
    .brands-tools { padding: 12px; }
    .brands-alphabet { gap: 6px; } .brands-alphabet a, .brands-alphabet > span { width: 36px; }
    .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .brand-card-content { padding: 16px 10px; }
}
@media (prefers-reduced-motion: reduce) { .brands-directory * { transition: none; } .brand-card:has(a):hover { transform: none; } }
