.brand-logos.section-compact-list {
    margin: 0 0 30px !important;
}
.brand-logos.section-compact-list:before,
.brand-logos.section-compact-list:after { content: none !important; }
.brand-logos .row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin: 0 !important;
}
.brand-logos .row:before,
.brand-logos .row:after { content: none !important; }
.brand-logos .row [class*="col-"] {
    float: none !important;
    flex: 0 0 calc((100% - 7 * 20px) / 8) !important;
    max-width: calc((100% - 7 * 20px) / 8) !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.brand-logos .section-compact-list__item {
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 0 7px rgba(0,0,0,0.25) !important;
    height: 85px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    flex-direction: row !important;
}
.brand-logos .section-compact-list__image {
    width: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    max-height: 65px !important;
}
.brand-logos .section-compact-list__image img {
    max-width: 100% !important;
    max-height: 65px !important;
    width: auto !important;
    height: auto !important;
}
.brand-logos .section-compact-list__info { display: none !important; }
.brand-logos .section-compact-list__item--text .section-compact-list__info {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 0 !important;
}
.brand-logos .section-compact-list__item--text {
    padding: 0 !important;
}
.brand-logos .section-compact-list__item--text .section-compact-list__link {
    font-size: 12px;
    line-height: 1.2;
    color: #333;
    text-decoration: none;
    word-break: break-word;
}
.brand-logos__all {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.brand-logos__all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: color 0.2s ease;
}
.brand-logos__all-link:hover {
    color: var(--theme-base-color, #b91111);
    text-decoration: none;
}
.brand-logos__all-arrow {
    transition: transform 0.2s ease;
}
.brand-logos__all-link:hover .brand-logos__all-arrow {
    transform: translateX(4px);
}
/* Лимит по количеству: desktop >=992px, mobile <=991px */
@media (min-width: 992px) {
    .brand-logos .row .brand-logos__hide-desktop { display: none !important; }
}
@media (max-width: 991px) {
    .brand-logos .row .brand-logos__hide-mobile { display: none !important; }
}
@media (max-width: 1199px) {
    .brand-logos .row { gap: 16px !important; }
    .brand-logos .row [class*="col-"] {
        flex: 0 0 calc((100% - 3 * 16px) / 4) !important;
        max-width: calc((100% - 3 * 16px) / 4) !important;
    }
}
@media (max-width: 991px) {
    .brand-logos .row { gap: 12px !important; }
    .brand-logos .row [class*="col-"] {
        flex: 0 0 calc((100% - 3 * 12px) / 4) !important;
        max-width: calc((100% - 3 * 12px) / 4) !important;
    }
    .brand-logos .section-compact-list__item { height: 75px !important; padding: 8px !important; }
    .brand-logos .section-compact-list__image img { max-height: 55px !important; }
}
@media (max-width: 767px) {
    .brand-logos .row { gap: 10px !important; }
    .brand-logos .row [class*="col-"] {
        flex: 0 0 calc((100% - 3 * 10px) / 4) !important;
        max-width: calc((100% - 3 * 10px) / 4) !important;
    }
    .brand-logos .section-compact-list__item { height: 65px !important; padding: 6px !important; }
    .brand-logos .section-compact-list__image img { max-height: 48px !important; }
}
@media (max-width: 480px) {
    .brand-logos .row { gap: 8px !important; }
    .brand-logos .row [class*="col-"] {
        flex: 0 0 calc((100% - 2 * 8px) / 3) !important;
        max-width: calc((100% - 2 * 8px) / 3) !important;
    }
}
