.brands {
    max-width: 100%;
    margin: 25px 0 35px; /*background: url(/uploads/textura/tt02.png) repeat;*/
}

.brands__item {
    width: 200px;
    height: 100px;
    display: flex;
    justify-content: center;
}

.brands__link {
    display: flex;
    text-align: center;
}

.owl-carousel .owl-item img {
    width: auto !important;
    height: auto;
    object-fit: contain;
}

.brands__arrow {
    font-size: 26px;
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    width: 30px;
    height: 30px;
    margin: auto;
    padding: 5px;
    user-select: none;
    border: 1px solid #dadada;
    border-radius: 5px;
    background: #fff;
    align-items: center;
    justify-content: center;
    opacity: .2;
    transition: .3s;
}

.brands:hover .brands__arrow {
    opacity: .6;
}

.brands__arrow:hover {
    opacity: 1;
}

.brands .owl-prev, .brands .owl-next {
    position: absolute;
    z-index: 12;
    top: 0;
    display: flex;
    height: 100% !important;
    cursor: pointer;
    user-select: none;
    align-items: center;
    justify-content: center;
}

.brands .owl-dots {
    text-align: center;
    position: absolute;
    bottom: -30px;
    margin: auto;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brands .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
}

.brands .owl-dots .owl-dot {
    border: 1px solid;
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #FFF;
    display: block;
    transition: opacity 200ms ease;
    border-radius: 30px;
}

.brands .owl-dots .owl-dot.active, .brands .owl-dots .owl-dot:hover {
    background: #FF4747;
}

.brands__arrow-left {
    left: -10px;
}

.brands__arrow-right {
    right: -10px;
}

.brands .owl-prev {
    left: 0;
}

.brands .owl-next {
    right: 0;
}

.brands .owl-prev.disabled, .brands .owl-next.disabled {
    display: none;
}

.brands__arrow svg {
    width: 100%;
}

.brands .owl-item {
    display: flex;
    justify-content: center;
}

.brands .c-carousel__title {
    font-size: 22px;
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    text-align: center;
}

@media (max-width: 767px) {
    .brands .c-carousel__title {
        font-size: 18px;
    }
}

.brands .c-carousel__title--span {
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 15px;
    color: #333;
    background: #fff;
    border: 1px solid #999;
    border-radius: 3px;
    line-height: 1;
    display: block;
    width: fit-content;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .brands .c-carousel__title--span {
        padding: 0 16px;
    }
}

.brands .c-carousel__title--span:hover .brands .c-carousel__title--more {
    text-decoration: underline;
}

.brands .c-carousel__title--more {
    font-size: 16px;
    text-transform: lowercase;
    color: #999;
    display: block;
}

@media (max-width: 767px) {
    .brands .c-carousel__title--more {
        font-size: 11px;
    }
}

.brands .c-carousel__title:before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    margin: auto;
    content: '';
    background: #CCC;
}

.pr-brand .brands {
    margin-top: 0;
}

.brands-page .uk-heading-line {
    margin: 20px;
}

.brands-container > div {
    gap: 10px;
}

.brands-container .item-brand {
    padding: 10px 5px;
}

.brands-container .brand-shadow {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Эффекты перехода */
}

.brands-container .brand-shadow:hover {
    border: 1px solid #999;
    transform: translateY(-10px); /* Поднимаем карточку вверх */
    box-shadow: 1px 4px rgba(102, 102, 102, 0.3), 0 0 40px rgba(102, 102, 102, 0.1) inset, 0 9px 9px -3px rgba(102, 102, 102, 0.4);
}

.brands-container .brand-shadow .name-brand {
    border: 1px dotted #999;
    border-radius: 3px;
    color: goldenrod;
    font-size: 1.4rem;
    font-weight: 100;
    text-transform: uppercase;
    margin: 10px auto;
    padding: 1px 30px;
}

.brands-container .brand-shadow .desc-brand {
    width: 290px;
    font-size: 1.2rem !important;
    line-height: 1.3;
    max-height: 200px;
    overflow-y: auto; /* Включаем вертикальный скролл */
    padding-right: 10px; /* Для комфортного размещения контента */
    scrollbar-width: thin; /* Для браузеров на основе Gecko (Firefox) */
    scrollbar-color: #20B2AA #f0f0f5; /* Цвет ползунка и фона скроллбара */
}

/* Для Webkit (Chrome, Edge, Safari) */
.brands-container .brand-shadow .desc-brand::-webkit-scrollbar {
    width: 8px; /* Ширина скроллбара */
    background-color: #f0f0f5; /* Цвет фона скроллбара */
}

.brands-container .brand-shadow .desc-brand::-webkit-scrollbar-thumb {
    background-color: #20B2AA; /* Цвет ползунка */
    border-radius: 4px; /* Закругленные углы */
}

.brands-container .brand-shadow .desc-brand::-webkit-scrollbar-thumb:hover {
    background-color: #FF4747; /* Цвет ползунка при наведении */
}

.brands-container .brand-shadow .desc-brand::-webkit-scrollbar-track {
    background-color: #f0f0f5; /* Цвет трека скроллбара */
}

.brands-container .brand-shadow img {
    width: auto;
    height: 120px;
}

.brands-container .link-brand {
    border-bottom: 1px dashed;
    color: var(--main-color);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.brands-container .link-brand:hover {
    color: var(--secondary-color);
}