main .section:has(.brand-item):not(:has(.index-category)) {
    margin-top: 32px !important;
}

main .brand-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f6f5f2 !important;
    border: 1px solid #e5e3df !important;
    border-radius: 16px !important;
    padding: 18px 12px !important;
    min-height: 150px !important;
    height: 100% !important;
    transition: all 0.25s ease !important;
}

main .brand-item .brand-item__img {
    width: 100% !important;
    height: 80px !important;
    max-width: none !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 12px !important;
}

main .brand-item .brand-item__img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 150px !important;
    max-height: 80px !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
    border-radius: 0 !important;
}

main .brand-item .brand-item__title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #263D40 !important;
    text-align: center !important;
}

main .brand-item:hover {
    background: #eeece8 !important;
    border-color: #779193 !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(38,61,64,0.12);
}

@media (max-width: 767px) {
    main .brand-item {
        min-height: 120px !important;
        padding: 12px !important;
        border-radius: 12px !important;
    }

    main .brand-item .brand-item__img {
        height: 60px !important;
        margin-bottom: 8px !important;
    }

    main .brand-item .brand-item__title {
        font-size: 13px !important;
    }
}
/* Корректировка отступов блока брендов */

main .section:has(.brand-item):not(:has(.index-category)) {
    padding-bottom: 16px !important;
}

@media (max-width: 767px) {
    main .section:has(.brand-item):not(:has(.index-category)) {
        padding-bottom: 8px !important;
    }

    main .re-container-mob__inner:has(.brand-item) {
        padding-bottom: 0 !important;
    }

    main .section:has(.brand-item):not(:has(.index-category)) .mt-4 {
        margin-top: 16px !important;
    }
}