.manufacturers-carousel {
    width: 100%;
}

.manufacturers-carousel__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

.manufacturers-carousel__wrap {
    position: relative;
    padding: 0 44px;
}

.manufacturers-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #5b4a54;
    font-size: 28px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.manufacturers-carousel__arrow:hover,
.manufacturers-carousel__arrow:focus {
    color: #ff1f12;
    outline: none;
}

.manufacturers-carousel__arrow--prev {
    left: 0;
}

.manufacturers-carousel__arrow--next {
    right: 0;
}

/*
 * Карточка производителя повторяет статический внешний вид
 * карточек компонента producers.list. Hover-эффекты намеренно
 * не переносились.
 */
.manufacturer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 185px;
    background: #fff;
    border: 1px solid #e3dfe1;
    text-decoration: none;
    overflow: hidden;
}

.manufacturer-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 135px;
    padding: 24px 26px;
    background: #fff;
}

.manufacturer-card__image img {
    display: block;
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.manufacturer-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 14px;
    background: #f1f2f3;
    border-top: 1px solid #e3dfe1;
}

.manufacturer-card__name {
    min-width: 0;
    width: 100%;
    text-align: center;
    color: #5f4d58;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
}


/* Состояние при наведении специально оставлено без визуальных изменений. */
.manufacturer-card:hover,
.manufacturer-card:focus {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .manufacturer-card {
        min-height: 170px;
    }

    .manufacturer-card__image {
        min-height: 120px;
        padding: 20px;
    }

    .manufacturer-card__image img {
        max-height: 80px;
    }
}

@media (max-width: 767.98px) {
    .manufacturers-carousel__title {
        font-size: 21px;
    }

    .manufacturers-carousel__wrap {
        padding: 0 30px;
    }

    .manufacturers-carousel__arrow {
        font-size: 24px;
    }

    .manufacturer-card {
        min-height: 150px;
    }

    .manufacturer-card__image {
        min-height: 105px;
        padding: 16px;
    }

    .manufacturer-card__image img {
        max-height: 65px;
    }

    .manufacturer-card__footer {
        min-height: 44px;
        padding: 8px 10px;
    }

    .manufacturer-card__name {
        font-size: 14px;
    }

    .manufacturer-card__footer-arrow {
        font-size: 18px;
    }
}
