@media all and (max-width: 991px)
{
    .mega-menu-mobile .top
    {
        background: #f2f2f2;
        font-size: 18px;
        color: #222;
        padding:20px 30px;
        display: flex;
        justify-content: space-between;
        
    }

    .mega-menu-mobile .top h2{
        font-size: 20px;
        margin: 0;
        font-weight: 600;
        color: #222;
    }


    .mega-menu-mobile .top .icon-close
    {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;
        font-size: 16px;
        color: #222;
    }

    .mega-menu.desktop
    {
        display: none !important;
    }

    .mega-menu-mobile
    {
        position: relative;
        z-index: 1010;
        width: 81%;
        position: fixed;        
        top: 0;
        height: 100%;
        z-index: 1010;
        background: #fff;
        box-shadow: 0 0 5px #323232bf;
        display: none;
    }

    html[dir="ltr"] .mega-menu-mobile{left: 0;}
    html[dir="rtl"] .mega-menu-mobile{right: 0;}

    .mega-menu-mobile.active
    {
        display: block;
    }

    .mega-menu-mobile .mega-menu .menu-label
    {
        font-size: 16px;
        color: #404040;
        display: block;
        padding: 12px 0;
        font-weight:400;
    }

    .mega-menu-mobile .mega-menu
    {
        margin: 0;
        padding: 20px 30px;
        height: calc(100vh - 64px);
        overflow: auto;
    }

    .mega-menu-mobile .mega-menu li{
        position: relative;
    }

    .mega-menu-mobile .mega-menu > li
    {
        border-bottom: 1px solid #dcdada;
    }

    .mega-menu-mobile .mega-menu > li .with-subcategories
    {
        display: block;
        min-height: 55px;
        padding: 17px;
        font-size: 15px;
        color: #fff;
    }

    .mega-menu-mobile .mega-menu li a
    {
        display: block;
        padding: 12px 0;
        font-size: 16px;
         color: #404040 !important;
         font-weight:400;
    }

    .mega-menu-mobile .mega-menu li a svg
    {
        display: none;
    }

    .mega-menu-mobile .mega-menu .plus-toggle
    {
        position: absolute;
        top: 0;        
        height: 48px;
        width: 48px;
        padding: 0;
        font-size: 15px;
        font-weight:400;
        color: #404040;
        text-transform: uppercase;
        cursor: pointer;
        text-align: center;
        line-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    html[dir="ltr"] .mega-menu-mobile .mega-menu .plus-toggle{right: 0;}
    html[dir="rtl"] .mega-menu-mobile .mega-menu .plus-toggle{left: 0;}

    .mega-menu-mobile .mega-menu .plus-toggle:before{
        content: "\65";
    }
    .mega-menu-mobile .mega-menu .plus-toggle.active:before
    {
        transform: rotate(-90deg);
    }

    .mega-menu-mobile .mega-menu .uper-ul
    {
        padding: 0 7px 15px;
        display: none;
    }

    .mega-menu-mobile .mega-menu .uper-ul li:last-of-type{border-bottom:none;}
}

@media all and (min-width: 992px)
{
    .menu-wrapper
    {
        width: 100%;
    }

    .mega-menu-content
    {
        width: 100%;
    }

    .mega-menu
    {
        position: relative;
        z-index: 5;
        color: #555;
        margin: 0;
        text-align:center;
        width:80%;
    }

    .mega-menu > li
    {
        display: inline-block;
    }

    .mega-menu > li > a,
    .mega-menu > li .menu-label
    {
        cursor: pointer;
        font-weight: 500;
        display: flex;
        align-items: center;
        line-height: 20px;
        font-size: 16px;
        padding: 5px 12px;
        color: #222;
    }

    .mega-menu > li:hover > a,
    .mega-menu > li:hover .menu-label
    {
        color: #000;
        text-decoration: none;
    }

    .mega-menu > li .with-category-picture .menu-picture
    {
        display: flex;
        width: 100px;
        height: 100px;
        align-items: center;
        justify-content: center;
    }


    .mega-menu > li .with-category-picture .inpcs
    {
        font-size: 18px;
        font-weight: 600;
        color: #000;
        display: inline-block;
    }

    .mega-menu > li .with-category-picture .menu-picture img
    {
        max-width: 100%;
    }

    .mega-menu > li > .uper-ul
    {
        display: none;
        position: absolute;       
        width: 100%;
        padding: 10px;
        z-index: 1;
        background-color: #fff;
        box-shadow: 0px 2px 28.5px 0px rgba(0, 0, 0, 0.1);
        padding:0;
    }

    html[dir="ltr"] .mega-menu > li > .uper-ul{ text-align: left; left: 0;}
    html[dir="rtl"] .mega-menu > li > .uper-ul{ text-align: right; right: 0;}

    .mega-menu > li:hover > .uper-ul
    {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .mega-menu li span.menu-label i
    {
        font-size: 11px;       
        position: relative;
        top: 2px;
    }

    html[dir="ltr"] .mega-menu li span.menu-label i{ margin-left: 5px;}
    html[dir="rtl"] .mega-menu li span.menu-label i{ margin-right: 5px;}

    .mega-menu > li .plus-toggle
    {
        display: none;
    }

    .mega-menu li .menu-label
    {
        position: relative;
    }

    .mega-menu li .menu-label .bi-justify
    {
        display: none;
    }

    .mega-menu > li .uper-ul a
    {
        position: relative;
        font-size: 16px;
        color: #303030;
        display: block;
        padding: 7px 20px;
        font-weight: 400;
    }

    .mega-menu > li .uper-ul a.first-menu
    {
        font-weight: 700;
        font-size: 18px;
        color: #222;
        padding-top:15px;
        padding-bottom:0;
    }

    .mega-menu > li .uper-ul a svg
    {
        display: none;
    }

    .mega-menu > li .uper-ul a:hover
    {
        color: #000;
        text-decoration: none;
    }

    .mega-menu > li .uper-ul a.with-category-picture
    {
        position: relative;
        padding-bottom:0;
    }

    .mega-menu > li .uper-ul .uper-ul
    {
       
        min-width: auto !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    html[dir="ltr"] .mega-menu > li .uper-ul .uper-ul{ margin-left: 5px;}
    html[dir="rtl"] .mega-menu > li .uper-ul .uper-ul{ margin-right: 5px;}

    .mega-menu > li .uper-ul .uper-ul a:before
    {
        content:'';
        display: inline-block;
        position: relative;
        top: -4px;
        width: 10px;
        height: 1px;
        background: #303030;
    }

    html[dir="ltr"] .mega-menu > li .uper-ul .uper-ul a:before{left: -5px;}
    html[dir="rtl"] .mega-menu > li .uper-ul .uper-ul a:before{right: -5px;}

    .mega-menu > li > .uper-ul > li
    {
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
        
    }

    .mega-menu > li.others-menu
    {
        position: relative;
    }

    .mega-menu > li.others-menu .uper-ul
    {
        min-width: 200px;
        padding: 10px 0;
    }

    .mega-menu > li.others-menu > .uper-ul > li
    {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
        border:0;
    }

    .mega-menu > li.others-menu.with-image
    {
        position: unset;
    }

    .mega-menu > li.others-menu .manufacture-with-img
    {
        display: none;
    }

    .mega-menu > li.others-menu:hover .manufacture-with-img
    {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding:10px;
    }

    .mega-menu > li.others-menu .manufacture-with-img li
    {
        -ms-flex: 0 0 16.66%;
        flex: 0 0 16.66%;
        text-align: center;
    }

    .mega-menu > li.others-menu .manufacture-with-img li a
    {
        display: block;
        padding:10px;
    }

    .mega-menu > li.others-menu .manufacture-with-img li a strong
    {
        display: block;
        position: relative;
    }

    .mega-menu > li.others-menu .manufacture-with-img li a strong:before
    {
        content: "";
        display: block;
        padding-top: 100%;
    }

    .mega-menu > li.others-menu .manufacture-with-img li a strong img
    {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        max-width: 100%;
        max-height: 100%;
        margin: auto;
        -webkit-transition: all .3s ease;
        transition: all .3s ease;
        -webkit-transform: translateZ(0) scale(1, 1);
    }

    .mega-menu > li.others-menu .manufacture-with-img li a span
    {
        padding: 10px 0 0;
        display: block;
    }

     html[dir="ltr"]  .mega-menu li.others-menu .vendor-with-img li span
    {
        margin-left: 5px !important;
    }

      html[dir="rtl"]  .mega-menu li.others-menu .vendor-with-img li span
    {
        margin-right: 5px !important;
    }

    .mega-menu li.others-menu .vendor-with-img li img
    {
        width: 45px;
        height: 45px;
        border-radius: 180px;
    }

    .mega-menu li.others-menu .vendor-with-img a
    {
        display: flex !important;
        align-items: center;
    }

    .mega-menu-mobile
    {
        display: none;
    }
}

.main-menu,
.header-menu
{
    display: none;
}
