.shop-brand-page--list {
    padding-bottom: 24px;
}

.shop-brand-page__intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 1rem;
}

.shop-brand-page__intro::after {
    content: none;
}

.shop-brand-page__intro .cat-desc-img {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 110px;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    margin: 0;
}

.shop-brand-page__intro .cat-desc-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.shop-brand-page__intro .cat-desc-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
}

.shop-brand-page .block-wrapper > .catalog__settings,
.shop-brand-page .block-wrapper > #catalog-ajax-root {
    clear: both;
    width: 100%;
}

.shop-brand-page .catalog__settings .settings__wrapper {
    justify-content: flex-end;
}

.shop-brand-page .catalog__settings .settings__view {
    justify-content: flex-end;
    margin-bottom: 0;
}

.shop-brand-page__catalog-link {
    margin-top: 1.25rem;
}

.brand-catalog__block {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.brand-catalog__logo {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 0 0 125px;
    width: 125px;
    height: 130px;
    min-height: 130px;
    padding: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.brand-catalog__logo-media {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    margin: 0 0 5px;
    text-decoration: none;
    color: inherit;
}

.brand-catalog__logo-media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-catalog__name {
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    color: var(--color-text);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    text-decoration: none;
}

.brand-catalog__name:hover {
    opacity: 0.85;
}

.shop-brand-grid {
    display: grid;
    grid-template-columns: repeat(var(--brand-items, 4), minmax(120px, 1fr));
    gap: 14px;
}

.shop-brand-grid.is-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 6px;
}

.shop-brand-grid.is-carousel .shop-brand-grid__item {
    min-width: 180px;
    flex: 0 0 180px;
}

@media (max-width: 1100px) {
    .shop-brand-grid {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }
}

@media (max-width: 780px) {
    .shop-brand-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

.shop-brand-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-family: "Roboto", Arial, sans-serif;
    transition: box-shadow .15s ease, transform .15s ease;
}

.shop-brand-grid__item:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.shop-brand-grid__item img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}
