/*
Theme Name: NagpurWala
Theme URI: https://nagpurwala.com
Author: Ram Lanjewar
Description: Custom Marketplace Theme
Version: 1.0
Text Domain: nagpurwala
*/
/* ===============================
   Category Navigation
================================= */

.category-scroll{
    background-color: var(--primary-color);
    display:flex;
    align-items:center;
    gap:8px;

    overflow-x:auto;
    overflow-y:hidden;

    white-space:nowrap;

    scrollbar-width:none;
    -ms-overflow-style:none;

    padding:10px 0;

}

.category-scroll::-webkit-scrollbar{

    display:none;

}


/*=========================================
=            Category Links
=========================================*/

.category-scroll a{

    display:flex;
    align-items:center;
    justify-content:center;

    gap:8px;

    padding:10px 18px;

    color:var(--text-color);

    background:transparent;

    border-radius:30px;

    font-size:15px;

    font-weight:500;

    transition:var(--transition);

    white-space:nowrap;

}

.category-scroll a i{

    font-size:16px;

    color:var(--primary-color);

    transition:var(--transition);

}


/*=========================================
=            Hover
=========================================*/

.category-scroll a:hover{

    background:var(--primary-color);

    color:var(--white);

    transform:translateY(-2px);

    box-shadow:var(--shadow-sm);

}

.category-scroll a:hover i{

    color:var(--white);

}


/*=========================================
=            Active
=========================================*/

.category-scroll a.active{

    background:var(--primary-color);

    color:var(--white);

    box-shadow:var(--shadow-sm);

}

.category-scroll a.active i{

    color:var(--white);

}


/*=========================================
=            ALL CATEGORIES
=========================================*/

.category-scroll a:first-child{

    background:var(--secondary-color);

    color:var(--white);

    font-weight:600;

}

.category-scroll a:first-child i{

    color:var(--white);

}

.category-scroll a:first-child:hover{

    background:var(--primary-color);

}


/*=========================================
=            Border
=========================================*/

.category-scroll a{

    border:1px solid transparent;

}

.category-scroll a:hover{

    border-color:var(--primary-color);

}


/*=========================================
=            Mobile
=========================================*/

@media (max-width:991px){

    .category-scroll{

        gap:6px;

        padding:8px 0;

    }

    .category-scroll a{

        padding:8px 14px;

        font-size:14px;

    }

    .category-scroll a i{

        font-size:15px;

    }

}