/** brands-tabs **/

.brands-tabs-container {
    position: relative;
    margin-bottom: 40px;
}

.brands-tab-nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 0;
}

.brands-tab-btn {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.brands-tab-btn:hover {
    color: #004684;
}

.brands-tab-btn.active {
    color: #004684;
    border-bottom-color: #004684;
}

.brands-tab-content {
    display: none !important;
    animation: fadeIn 0.4s ease;
}

.brands-tab-content.active {
    display: block !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/** responsive-css **/

@media only screen and (max-width: 991px) {
    .brands-tab-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #004684 #f0f0f0;
    }

    .brands-tab-nav::-webkit-scrollbar {
        height: 4px;
    }

    .brands-tab-nav::-webkit-scrollbar-track {
        background: #f0f0f0;
    }

    .brands-tab-nav::-webkit-scrollbar-thumb {
        background: #004684;
        border-radius: 2px;
    }

    .brands-tab-btn {
        padding: 10px 20px;
        font-size: 17px;
    }
}

@media only screen and (max-width: 767px) {
    .brands-tab-btn {
        padding: 10px 16px;
        font-size: 16px;
    }

    .brands-tabs-container {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 499px) {
    .brands-tab-btn {
        padding: 8px 14px;
        font-size: 15px;
    }
}