.kspec-brands {
    background: #fff;
    border-radius: 8px;
    padding: 10px clamp(12px, 2vw, 28px);
}
.kspec-brands .kspec-brands-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px 8px;
}
.kspec-brands .kspec-brands-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 4px 8px;
    color: #222;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
    border-radius: 5px;
}
.kspec-brands .kspec-brands-grid img {
    display: block;
    width: 100%;
    max-width: 145px;
    height: 50px;
    object-fit: contain;
}
.kspec-brands a:hover, .kspec-brands summary:hover { background: #f6f5f1; }
.kspec-brands a:focus-visible, .kspec-brands summary:focus-visible { outline: 2px solid currentColor; }
.kspec-brands details { border-top: 1px solid #e8e5de; }
.kspec-brands summary { cursor: pointer; width: fit-content; margin: auto; padding: 12px; font-weight: 600; }
.kspec-brands details:not([open]) summary span:last-child,
.kspec-brands details[open] summary span:first-child { display: none; }
@media (max-width: 767px) {
    .kspec-brands .kspec-brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
