/* =========================================
   CATEGORY NAVIGATION
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.category-navbar {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* Main Menu */

.category-navbar .new-menu {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-navbar .new-menu::-webkit-scrollbar {
    display: none;
}


/* =========================================
   MENU ITEM
========================================= */

.category-navbar .new-menu-item {
    position: static;
    flex: 0 0 auto;
}

.new-menu-link:first-child {
    margin-left: 0;
}

.new-menu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    -moz-column-gap: 0.05rem;
    column-gap: 0.05rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: inherit;
    cursor: pointer;
    text-transform: uppercase;
    color: #000000;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
	margin:0 30px;
}

.new-menu-link:hover,
.new-menu-item.active > .new-menu-link {
    color: #000000;
}


/* =========================================
   MEGA MENU
========================================= */

.has-dropdown .new-mega-menu {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    width: 100%;
    min-height: 250px;

    background: #ffbe00;

    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);

    z-index: 9999;
}


/* SHOW DROPDOWN ON HOVER */

.has-dropdown:hover .new-mega-menu {
    display: block;
}


/* =========================================
   MEGA MENU CONTENT
========================================= */

.new-mega-menu-content {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;
    padding: 35px 40px;
}


/* CATEGORY TITLE */

.new-mega-menu-content h4 {
    margin: 0 0 25px;

    font-size: 22px;
    font-weight: 600;
    color: #222222;
}


/* Product List */

.category-navbar .product-list {
    display: grid;

    /* 2 columns */
    grid-template-columns: repeat(2, 1fr);

    column-gap: 60px;
    row-gap: 0;

    list-style: none;
    margin: 0;
    padding: 0;
}


/* Each Product */

.category-navbar .product-list li {
    margin: 0;
    padding: 0;

    min-height: 20px;

    display: flex;
    align-items: center;
}


/* Product Link */

.category-navbar .product-link {
    display: block;

    color: #1f2933;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;

    text-decoration: none !important;
	font-family: 'Inter', sans-serif;
    font-weight: 700;
    transition: 0.2s ease;
	background:none;
}

.category-navbar .product-link:hover {
    text-decoration: underline;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

    .new-menu-link {
        padding: 10px 16px;
        font-size: 15px;
    }

    .new-mega-menu-content {
        padding: 30px;
    }

    .product-list {
        grid-template-columns: repeat(4, minmax(150px, 1fr));
    }

}


/* =========================================
   SMALL TABLET
========================================= */

@media (max-width: 991px) {

    .new-menu {
        overflow-x: auto;
    }

    .new-menu-link {
        min-height: 58px;
        padding: 10px 15px;
        font-size: 14px;
    }

    .new-mega-menu-content {
        padding: 25px;
    }

    .new-mega-menu-content h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .product-list {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
        gap: 15px 25px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .new-menu-link {
        min-height: 52px;
        padding: 8px 14px;
        font-size: 14px;
    }

    /*
    Disable hover mega menu on mobile.
    You can later open this with JavaScript
    using an .open class.
    */

    .has-dropdown:hover .new-mega-menu {
        display: none;
    }

    .has-dropdown.open .new-mega-menu {
        display: block;
    }

    .has-dropdown .new-mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        min-height: auto;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .new-mega-menu-content {
        padding: 20px;
    }

    .new-mega-menu-content h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 20px;
    }

    .product-link {
        font-size: 14px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .new-mega-menu-content {
        padding: 15px;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .new-menu-link {
        padding: 8px 12px;
    }

}