/* Abecedni pregled brendova: namerno jednostavan, kao katalog proizvođača. */
.brands-index {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 0 4rem;
}

.brands-index__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 0 1.75rem;
    margin: 0 0 2.25rem;
    border-bottom: 1px solid #d9e0e4;
}

.brands-index__eyebrow {
    margin: 0 0 .4rem;
    color: #1e779f;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.brands-index h2 {
    margin: 0 0 .5rem;
    color: #273945;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 700;
}

.brands-index__intro p:not(.brands-index__eyebrow) {
    max-width: 690px;
    margin: 0;
    color: #617480;
    line-height: 1.55;
}

.brands-index__count {
    flex: 0 0 auto;
    margin: 0;
    color: #60717c;
    font-size: .9rem;
    white-space: nowrap;
}

.brands-index__count strong {
    display: block;
    color: #1d779f;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.brands-index__groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem 3rem;
}

.brands-index__group {
    min-width: 0;
    break-inside: avoid;
}

.brands-index__group h3 {
    margin: 0;
    padding: 0 0 .55rem;
    color: #1e779f;
    border-bottom: 2px solid #1e779f;
    font-size: 1.4rem;
    font-weight: 700;
}

.brands-index__group ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.brands-index__group li {
    margin: 0;
    border-bottom: 1px solid #e5eaed;
}

.brands-index__group a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 2.65rem;
    color: #324651;
    font-size: .96rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease, padding .15s ease;
}

.brands-index__group a:hover,
.brands-index__group a:focus {
    padding-left: .45rem;
    color: #16729c;
    background: #f1f7f9;
    outline: 0;
}

.brands-index__group small {
    flex: 0 0 auto;
    color: #7b8b94;
    font-size: .74rem;
    font-weight: 400;
    white-space: nowrap;
}

.brands-index__empty {
    padding: 1.25rem;
    margin: 0;
    color: #617480;
    background: #f4f7f8;
}

@media (max-width: 991px) {
    .brands-index__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .brands-index { padding: 1rem 0 2.5rem; }
    .brands-index__intro { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .brands-index__count strong { display: inline; font-size: 1.1rem; }
    .brands-index__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
}

@media (max-width: 480px) {
    .brands-index__groups { grid-template-columns: 1fr; }
}
