.section-brands {
    position: relative;
	overflow:hidden
}


.brand-tab-contents {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
}

.section-brands .websima-button-more {
    margin: 24px 0 0 96px;
}
.brands-content{
    padding-left: 58px;
}
.brands-tabs {
    background: rgba(255, 255, 255, 1);
    z-index: 2;
    position: relative;
    padding: 0.5rem 0.5rem 5rem 0.5rem;
    margin-top: 1.5rem;
}

.brands-tab-item {
    display: flex;
    gap: 20px;
	 padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
}


.brands-tab-item::after {
    content: '';
    width: 100%;
    height: 4px;
    background: rgba(225, 230, 241, 1);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 8px;
}

.brands-tab-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: rgba(237, 28, 36, 1);
    border-radius: 8px;
    z-index: 2;
    transform-origin: left center;
    transform: scaleX(0);
}

.brands-tab-item.active::before {
    animation: tabProgress 9s linear forwards;
}

@keyframes tabProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.brands-tab-item img {
    max-width: 70px;
    transition: 0.3s;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.brands-tab-item:hover img,
.brands-tab-item.active img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

.brands-item-content span {
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    color: rgba(19, 9, 17, 1);
}

.brands-item-content p {
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    color: rgba(99, 100, 102, 1);
}

.brand-tab-item-content {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    /* از راست بیاد */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.brand-tab-item-content.active {
    display: block;
}

.brand-tab-item-content.show {
    opacity: 1;
    transform: translateX(0);
}

.brands-content .section-subtitle {
    max-width: 361px;
}

.brands-Swiper img{
    width: 100%;
}



@media (max-width: 991px) {
    .section-brands .websima-button-more{
        margin: 24px auto 0;
    }
    .brand-tab-contents {
        position: unset;
        width: 100%;
    }

    .brands-content .section-title {
        text-align: center;
    }

    .brands-content .section-subtitle {
        text-align: center;
    }

    .brands-tabs {
        padding: 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 32px;
        margin-bottom: 20px;
    }

    .brands-tab-item {
        margin: 0;
        padding: 0;
    }

    .brands-item-content {
        display: none;
    }

    .brands-tab-item::after {
        display: none;
    }

    .brands-tab-item::before {
        display: none;
    }

    .brands-Swiper-btns {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        margin-top: 28px;
    }

    .brand-tab-contents .swiper-button-prev,
    .brand-tab-contents .swiper-button-next {
        position: unset;
        margin: 0;
        border-color: rgba(188, 145, 44, 1);
        width: 57px;
        height: 57px;
    }

    .brand-tab-contents .swiper-button-prev i:before,
    .brand-tab-contents .swiper-button-next i:before {
        color: rgba(188, 145, 44, 1);
    }
    .brand-tab-contents .swiper-button-prev i,
    .brand-tab-contents .swiper-button-next i {
        font-size: 14px;
    }
    .brands-content {
        padding-left: 0;
    }
}