/*MEDIA QUERY MIN WIDTH > 992*/
@media screen and (min-width: 992px) {
    /*HORIZONTAL CATEGORY*/
    #horizontal-category .categories-header {
        display: none!important;
    }
    #horizontal-category {
        flex-grow: 1;
        min-width: 0;
        max-width: 80%;
    }
    #horizontal-category .JSlevel-1 {
        position: relative;
        display: flex!important;
        background: #30323A!important;
        border: none!important;
        overflow-x: auto;
        z-index: 2!important;
    }
    .menu-background-category-horizontal {
        background: #30323a;
    }
    #horizontal-category .JSlevel-1::-webkit-scrollbar {
        height: 6px;  
    }
    #horizontal-category .JSlevel-1::-webkit-scrollbar-track, .horizontal-category-menu .pages_dropdown_menu .main-menu::-webkit-scrollbar-track {
        background: #ddd; 
        border-radius: 10px;
        margin-bottom: 15px;
    }
    #horizontal-category .JSlevel-1::-webkit-scrollbar-thumb, .horizontal-category-menu .pages_dropdown_menu .main-menu::-webkit-scrollbar-thumb {
        background: var(--global_color); 
        border-radius: 4px;
    }
    #horizontal-category .JSlevel-1>li:hover>a:after {
        display: none!important;
    }
    #horizontal-category .JSlevel-1 > li > a {
        padding: 14px!important;
        color: #fff;
        font-size: 14px!important;
        font-weight: 500;
        display: flex;
        align-items: center;
        width: max-content;
    }
    #horizontal-category .JSlevel-2 .lvl-2-img-cont {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    #horizontal-category .JSlevel-2 > div > li > a {
        display: flex!important;
        gap: 5px;
    }
    #horizontal-category .category-grid-autofit {
        grid-template-columns: repeat(auto-fit, minmax(20%, 1fr))!important;
    }
    #horizontal-category .JSlevel-1>li:hover>a {
        color: #000;
        background: #fff;
        font-weight: 500;
    }
    #horizontal-category .JSlevel-1>li:hover {
        box-shadow: none!important;
    }
    #horizontal-category .JSlevel-2 {
        z-index: 8;
        position: fixed;
        max-width: 1320px;
        display: none!important;
        min-height: unset;
    }
    /* .horizontal-category-menu {
        width: max-content;
    } */
    .horizontal-category-menu .pages_dropdown_menu {
        background: var(--categories_title_bg);
        padding: 9px;
        text-transform: uppercase;
        text-align: center;
        color: #fff;
        position: relative;
        margin: 9px 9px 8px 0px;
        border-radius: 3px;
        z-index: 9;
    }
    .horizontal-category-menu .pages_dropdown_menu .main-menu::-webkit-scrollbar {
        width: 6px;
    }
    .horizontal-category-menu .pages_dropdown_menu .main-menu::-webkit-scrollbar-track {
        background: #fff; 
    }
    .horizontal-category-menu .pages_dropdown_menu:before {
        content: "";
        position: absolute;
        right: 0;
        top: 100%;
        width: 100%; 
        height: 20px; 
        background: transparent;
        z-index: 8;
        min-width: 170px;
    }
    .horizontal-category-menu .pages_dropdown_menu .main-menu {
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        width: 100%;
        background: #fff;
        z-index: 8;
        color: #000;
        min-width: 200px;
        font-size: 14px;
        text-transform: capitalize;
        display: none;
        box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
        height: 300px;
        overflow-y: auto;
        border-radius: 3px;
    }
    .horizontal-category-menu .pages_dropdown_menu .main-menu > li > a {
        padding: 10px 15px;
        text-align: left;
    }
    .horizontal-category-menu .pages_dropdown_menu:hover .main-menu, .horizontal-category-menu .main-menu:hover {
        display: flex!important;
        flex-direction: column;
    } 
    .menu-background-category-horizontal #responsive-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #horizontal-category .mouseovered .JSlevel-2 {
        display: block!important;
    }
    #horizontal-category .mouseovered {
        background: #fff;
    }
    #horizontal-category .mouseovered > a{
        color: #000!important;
        border-top-color: rgba(0, 0, 0, .07)!important;
        border-bottom-color: rgba(0, 0, 0, .07)!important;
    }
    .horizontal-category-menu .drop-2 {
        text-align: left;
        background: #ddd;
        width: 100%;
        position: static;
    }
    .left_right_icon {
        font-size: 18px;
        color: #fff;
        cursor: pointer;
        z-index: 8;
        align-items: center;
        gap: 5px;
    }
    .home_icon {
        color: #fff;
        z-index: 9;
        background: #4a4c56;
        padding: 18px;
    }
    /*HORIZONTAL CATEGORY END*/
    /*----------------------------------------*/
    /*CATEGORY ON CLICK*/
    #category-on-click {
        padding: 0;
        width: 260px;
        margin-right: 10px;
    }
    .category-on-click-menu {
        width: max-content;
    }
    .category-main-menu {
        background: #000;
    }
    .category-on-click-menu .main-menu li a {
        padding: 13px 5px!important;
    }
    #category-on-click .categories-header {
        padding: 11px 10px;
        margin-top: 5px;
    }
    #category-on-click .JSlevel-1 {
        display: none;
        background: #f1f3f4;
        border: none;
        border-top: solid 20px #f1f3f4;
        height: 65vh;
        overflow-y: auto;
        width: 260px !important;
        direction: rtl;
        unicode-bidi: bidi-override;
        border-radius: 0 0 0 15px;
    }
    #category-on-click .JSlevel-1>li:hover>a:after {
        display: none;
    }
    #category-on-click .JSlevel-1 li a {
        position: relative;
        padding: 12px 15px;
        overflow: hidden;
        font-size: 15px;
        min-height: 30px;
        display: flex;
        align-items: center;
        color: #818181;
        border: none;
        font-weight: 600;
    }
    #category-on-click .JSlevel-1 li:hover {
        box-shadow: none;
        border: none!important;
    }
    #category-on-click .JSlevel-1 li:hover .JSlevel-2 {
        display: none;
    }
    #category-on-click .JSlevel-1 li:hover .JSlevel-1 li a {
        opacity: .7;
    }
    #category-on-click  #JScategories .JSlevel-1 > li a {
        text-align: left;
    }
    #category-on-click  .JSlevel-1 > * {
        direction: ltr;          
    }
    #category-on-click .JSlevel-1::-webkit-scrollbar, #category-on-click .JSlevel-2::-webkit-scrollbar {
        width: 4px;  
    }
    #category-on-click .JSlevel-1::-webkit-scrollbar-track, #category-on-click  .JSlevel-2::-webkit-scrollbar-track {
        background: #ddd; 
        border-radius: 10px;
        margin-bottom: 15px;
    }
    #category-on-click .JSlevel-1::-webkit-scrollbar-thumb, #category-on-click .JSlevel-2::-webkit-scrollbar-thumb {
        background: var(--categories_title_bg); 
        border-radius: 4px;
    }
    #category-on-click .JSlevel-2 {
        position: fixed !important;
        height: 65vh !important;
        min-height: auto;
        padding: 0 20px 60px 20px !important;
        border-radius: 0 0 15px 0;
        max-width: 100%!important;
        overflow-y: auto;
        justify-content: center;
        font-weight: 500;
        font-size: 90%;
        word-break: break-word;
    }
    #category-on-click .JSlevel-2-title .view-all {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    #category-on-click .view-all a, #category-on-click .view-all i {
        padding: 0!important;
        color: #000!important;
    }
    #category-on-click .category-grid-autofit {
        grid-template-columns: repeat(3, 1fr);
    }
    #category-on-click .show-me {
        display: block!important;
    }
    #category-on-click .categories-header {
        justify-content: start!important;
        gap: 20px;
        text-transform: uppercase;
        background: var(--categories_title_bg);
        border-radius: 10px 10px 0 0;
        cursor: pointer;
    }
    #category-on-click .JSlevel-2-title {
        display: flex;
        justify-content: space-between;
        padding: 30px 0 15px;
        align-items: center;
        font-size: 16px;
        font-weight: 600;
    }
    #category-on-click .JSlevel-2 li a {
        gap: 5px;
        font-weight: 400;
        align-items: start;
    }
    #category-on-click .hamburger-icon {
        width: 20px;
        position: relative;
        height: 18px;
    }
    #category-on-click .hamburger-icon > span {
        position: absolute;
        width: 100%;
        height: 1px;
        left: 8px;
        background: #fff;
    }
    #category-on-click .hamburger-icon > span:nth-of-type(1) {
        top: 4px;
    }
    #category-on-click .hamburger-icon > span:nth-of-type(2) {
        top: 8px;
    }
    #category-on-click .hamburger-icon > span:nth-of-type(3) {
        top: 12px;
    }
    #category-on-click .categories-title {
        font-size: 18px!important;
    }
    #category-on-click .JScategories-titile-after:after {
        content: "";
        border: solid 10px rgba(0, 0, 0, 0);
        border-bottom-width: 15px;
        border-bottom-color: #f1f1f4;
        position: absolute;
        z-index: 5;
        left: 100px;
        top: 55%;
    }
    #category-on-click .mouseovered {
        display: block!important;
        background: #fff;
    }
    #category-on-click .overlay-category {
        position: fixed;
        background: rgb(0, 0, 0);
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        z-index: 1;
        display: none;
    }
    /*CATEGORY ON CLICK END*/
    /*----------------------------------------*/
    /*FIXED CATEGORY*/
    /*#fixed-category {
        width: 260px;
        padding: 0!important;
    }*/
    .fixed-category-menu .main-menu li a {
        padding: 18px 5px !important;
    }
    #fixed-category .overlay-category {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: rgba(0, 0, 0, 0.4); 
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 51;
        display: none;
    }
    #fixed-category .JSlevel-1 {
        position: fixed;
        top: 20px;
        z-index: 52;
        max-width: 400px;
        border-radius: 6px;
        height: calc(100% - 40px);
        overflow: auto;
        direction: rtl;
        unicode-bidi: bidi-override;
        display: none;
    }
    #fixed-category .JSlevel-2 {
        position: fixed;
        top: 25px;
        max-width: 49%;
        border-radius: 0 6px 6px 0;
        height: calc(100% - 50px);
        min-height: unset;
        overflow-y: auto;
    }
    #fixed-category .close_category {
        padding: 16px;
    }
    #fixed-category .close_category button {
        background: var(--categories_title_bg);
        color: #fff;
        width: 40px;
        height: 40px;
        line-height: 40px;
        display: flex;
        border-radius: 3px;
        cursor: pointer;
        justify-content: center;
    }
    #fixed-category .close_category button i {
        font-size: 38px;
    }
    #fixed-category .categories-title {
        text-transform: uppercase;
        font-size: 18px;
    }
    #fixed-category .categories-header:hover {
        opacity: .6;
    }
    #fixed-category .categories-header {
        margin: 5px 5px 5px 0;
        border-radius: 5px;
        cursor: pointer;
    }
    #fixed-category .JSlevel-1 > div >li:hover {
        box-shadow: none;
    }
    #fixed-category .JSlevel-1 > div > li > a {
        border-bottom: solid 1px #e7e7e7!important;
        font-size: 17px;
        font-weight: 500;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        position: relative;
    }
    #fixed-category .JSlevel-2 > div > li > a {
        display: flex;
        gap: 5px;
    }
    #fixed-category .category-grid-autofit > li {
        border-bottom: solid 1px #e7e7e7;
        height: max-content;
    }
    #fixed-category .chevron-right-wrapper {
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;
        font-size: 12px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    #fixed-category .JSlevel-1 > div > li > a:hover .chevron-right-wrapper {
        background: #eaeaea;
        color: var(--categories_title_bg);
        border-radius: 50%;
    }
    #fixed-category .JSlevel-1 > div > li > a:hover {
        border-color: var(--categories_title_bg)!important;
    }
    #fixed-category .JSlevel-1 > div {
        padding: 20px;
    }
    #fixed-category .mouseovered .JSlevel-2 {
        display: block!important;
    }
    #fixed-category .JSlevel-1 > * {
        direction: ltr;          
    }
    #fixed-category .JSlevel-1::-webkit-scrollbar, #fixed-category .JSlevel-2::-webkit-scrollbar  {
        width: 4px;  
    }
    #fixed-category .JSlevel-1::-webkit-scrollbar-track, #fixed-category .JSlevel-2::-webkit-scrollbar-track {
        background: #ddd; 
        border-radius: 10px;
        margin-bottom: 15px;
    }
    #fixed-category .JSlevel-1::-webkit-scrollbar-thumb, #fixed-category .JSlevel-2::-webkit-scrollbar-thumb {
        background: var(--categories_title_bg); 
        border-radius: 4px;
    }
    /*FIXED CATEGORY END*/
    /*----------------------------------------*/
}
/*MEDIA QUERY MIN WIDTH > 992 END*/
/*----------------------------------------*/
/*MEDIA QUERY */
    @media screen and (max-width: 1200px) {
        #fixed-category .JSlevel-2 {
            left: calc(5% + 400px);
        }
        #fixed-category .JSlevel-1 {
            left: 5%;
        }
    }
    @media screen and (min-width: 1200px) {
        #category-on-click .category-grid-autofit {
            grid-template-columns: repeat(4, 1fr);
        }
        #fixed-category .JSlevel-2 {
            left: calc(15% + 400px);
        }
        #fixed-category .JSlevel-1 {
            left: 15%;
        }
    }
    @media screen and (max-width: 1400px) {
        #category-on-click .JSlevel-2 {
            width: 68vw;
        }
        #horizontal-category {
            max-width: 75%;
        }
    }
    @media screen and (min-width: 1400px) {
        #category-on-click .category-grid-autofit {
            grid-template-columns: repeat(6, 1fr);
        }
        #category-on-click .JSlevel-2 {
            width: 65vw;
        }
    }
    @media screen and (max-width: 1600px) {
        #fixed-category .category-grid-autofit {
            grid-template-columns: repeat(2, 1fr);
        } 
    }
    @media screen and (min-width: 1600px) {
        #fixed-category .category-grid-autofit {
            grid-template-columns: repeat(4, 1fr);
        }
    }
/*MEDIA QUERY END*/