.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

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

.brand-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-decoration: none;
    color: #222;
    overflow: hidden;
    transition: box-shadow .15s, border-color .15s;
    padding: 12px 16px;
    min-height: 0;
}

.brand-card:hover {
    border-color: #2b6ca3;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

.brand-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 0;
    min-height: 0;
}

.brand-photo img {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-name {
    display: block;
    padding: 0;
    font-size: 15px;
    color: #2b6ca3;
    border-top: none;
    font-weight: 400;
    text-align: left;
    line-height: 1.3;
}

.brand-card:hover .brand-name {
    color: #2b6ca3;
    font-weight: 700;
}