.search-btn{
    height: 100%;
}

.search-btn span{
    display: block;
    padding: 25px;
    cursor: pointer;
    color: #fff;
}

.search-btn span:last-child{
    display: none;
}

.search-btn.open span:last-child{
    display: block;
}

.search-btn.open span:first-child{
    display: none;
}

.nav-box{
    padding: 0 5px 0 0;
}

.level1-a{
    position: relative;
    display: flex;
    align-items: center;
}

.level1-a i{
    position: relative;
    right: 15px;
    
}

.nav-icon{
    width: 80px;
    font-size: 18px;
}

.nav-icon span{
    padding: 5px;
}


.nav-logo{
    display: flex;
    align-items: center; 
    height: 100%;
    padding-bottom: 10px;
    margin: 0 20px;
}


.level2 {
    display: none;
    z-index: 10;
}

.level3::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.level3::-webkit-scrollbar-thumb {
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 1px rgb(12 12 12 / 20%);
    /* background: #fff; */
    height: 10px;
}

.level2 a{
    font-size: 15px;
}

.level3-a{
    position: relative;
}

.level3-a i{
    position: absolute;
    right: 10px;
    top: 4px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    padding: 5px;
}


.top-menu a{
    color: #000;
}

.top-menu a:hover{
    /* text-decoration: underline; */
    color: #2e85c1;
}

.style1 .level2-a a{
    padding: 5px 0;
    margin: 5px 0;
    font-weight: bold;
    display: inline-block;

}


.level4{
    display: none;
}



.level3-a i.fa-arrow-up{
    display: none;
}

.open .level3-a i.fa-arrow-up{
    display: block;
}

.open .level3-a i.fa-arrow-down{
    display: none;
}

.search-box {
    position: absolute;
    top: 0;
    height: 100vh;
    padding: 0 30px;
    background-color: rgba(34, 51, 77,.5);
    width: 100%;
    display: none;
    border-bottom: 1px solid #ddd;
    z-index: 10;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    
}

.search-box.open {
    display: flex;
    align-items: center;
}

.search-box select{
    height: 30px;
    margin-right: 20px;
    border: 1px solid #ddd;
}

.searchtxt {
    width: 60%;
    align-items: center;
    display: flex;
}

.searchtxt span{
    color: #fff;
    padding: 10px;
    cursor: pointer;
}

#searchkey {
    border: 0;
    font-size: 24px;
    height: 40px;
    width: 100%;
    margin: 15px auto;
    outline: none;
    text-align: center;
    border-bottom: 1px solid #fff;
    background-color: rgba(0, 0, 0,0);
    color: #fff;
}

.search-close{
    position: absolute;
    top: 20px;
    right: 30px;
}

#searchkey::-webkit-input-placeholder { /* WebKit, Blink, Edge */    color:    #fff; }

#searchkey:-moz-placeholder { /* Mozilla Firefox 4 to 18 */   color:    #fff; }

#searchkey::-moz-placeholder { /* Mozilla Firefox 19+ */   color:    #fff; }

#searchkey:-ms-input-placeholder { /* Internet Explorer 10-11 */   color:    #fff; }



.m-menu i{
    display: block;
    padding: 25px 10px;
    cursor: pointer;
}

.level2-a{
    position: relative;
}

.level2-a i{
    /* display: none; */
    position: absolute;
    top: 14px;
    right: 10px;
    transform: rotate(-90deg);
}

.level2-a,.level3>li{
    /* border-radius: 4px; */
    /* padding: 0 7px; */
}

.level2-a:hover,.level3>li:hover{
    /* background-color: #fff; */
}





@media (max-width:1199px){

    
    .nav-box{
        display: flex;
        justify-content: space-between;
        padding: 0 10px;

    }
    .top-menu{
        position: absolute;
        width: 100%;
        top: 70px;
        left: 0;
        padding: 0 10px;
        display: none;
        z-index: 10;
    }

    .top-menu.show{
        display: block;
    }
    .top-menu li{
        margin: 10px 0;
    }
    .level2-a{
        border-bottom: 1px solid #ddd;
        padding-bottom: 5px;
    }
    .level1-a i{
        top: -3px;
        display: block;
        padding: 5px;
        right: 9px;
        color: #888;
    }

    .has-children.active1 .level2{
        display: block;
    }
    .search-btn span{
        padding: 25px 10px;
    }

    .level2-a{
        position: relative;
    }

    .level2-a a{
        padding: 5px 0 !important;
        display: inline-block;
    }

    .level2-a i {
        position: absolute;
        right: 10px;
        top: 4px;
        font-size: 14px;
        padding: 5px;
        color: #888;
        cursor: pointer;
        display: block;
    }

    .level3{
        display: none;
        padding-left:13px;
    }

    .active2 .level3{
        display: block;
    }

    .level2-a .fa-arrow-up{
        display: none;
    }

    .active2 .level2-a .fa-arrow-down{
        display: none;
    }
    .active2 .level2-a .fa-arrow-up{
        display: block;
    }

    .level4 a{
        color: #888;
        padding-left: 5px;
    }

    .level2-a a{
        padding-left: 5px !important;
        font-weight: normal !important;
    }

    .level1-a>a{
        font-weight: bold;
        padding-bottom: 10px;
        display: inline-block;
    }
}
.top-nav{
    top: 0;
    width: 100%;
    position: fixed;
    background-color: #fff;
    z-index: 20;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

.top-menu{
    margin: 0;
}

.top-nav-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m-menu{
    color: #fff;
}

.top-menu>li.active .level2{
    /* background-color: rgba(38,71,89,.5); */
    background-color: #fff;
    border: 1px solid #eee;
    /* box-shadow: 2px 2px 4px #eee; */
}

.level3{
    max-height: 300px;
    overflow: auto;
}

@media (min-width:1200px){

    .style1 .level2-a a {
        color: #2e85c1;

    }

    
    .level1-a>a,.level1-a>i{
    }
    .m-menu{
        display: none;
    }

    .top-menu>li.style1.active .level2{
        display: flex;
        flex-wrap: wrap;
        /* opacity: 1; */
    }
    .top-menu>li.style2.active .level2{
        display: block;

    }
    
    .nav-box{
        display: flex;
        height: 70px;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }
    
    .top-menu{
        display: flex;
        width: 100%;
        justify-content: center;
    }
    
    .level2{
        /* box-shadow: 0 4px 8px rgb(12 12 12 / 20%); */
    }


    .style2 a{
        padding: 10px 0px;
        display: block;
    }
    
    .level1-a>a{
        padding: 24px;
        display: inline-block;
    }

    /* style1 */
    .style1 .level2{
        position: absolute;
        width: 100%;
        top: 70px;
        left: 0;
        padding: 15px 0 10px 50px;
    }

    .style1 .level2-a i{
        display: none;
    }

    .style1 .level2>li{
        /* height: 25vh; */
        width: 17%;
        float: left;
        margin-bottom: 10px;
        margin-right: 2%;
        padding-right: 0.3%;
        /* border-right: 1px solid #e2e3df; */
        overflow: hidden;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .style1 .level3>li a{
        margin: 4px 0;
        display: inline-block;
        font-size: 13px;
    }

    .level4 a{
        font-size: 14px;
        color: #888;
        padding-left: 5px;
    }

    .style2 .level2{
        position: absolute;
        width: 230px;
        top: 70px;
        left: 0;
        padding: 10px 0;
    }

    .style2:nth-child(2) .level2{
        width: 600px;
    }

    .style2 .level2-a{
        padding: 0 17px;
    }


    .style2{
        position: relative;
    }

    .level2>li{
        position: relative;
    }

    .style2 .level3{
        position: absolute;
        left: 228px;
        top: -11px;
        background-color: #fff;
        /* box-shadow: 0 1px 4px rgba(0,0,0,.3); */
        width: 300px;
        padding: 10px;
        display: none;
        border: 1px solid #ddd;
    }

    .style2 .level2>li:hover .level3{
        display: block;
    }

}

.nav-logo img:last-child{
    display: none;
}

.top-nav.fixed .nav-logo img:last-child{
    display: block;
}




.top-nav.fixed .level1-a>a,.top-nav.fixed .level1-a>i{
    /* color: #000; */
    font-size: 16px;
}

.top-nav.fixed .search-btn span{
    color: #000;
}

.top-nav.fixed{
    /* border-bottom: 1px solid #ddd; */
}

.nav-search{
    display: flex;
}

.nav-search input{
    padding: 12px;
    border: 1px solid #ddd;
    width: 200px;
    border-radius: 4px;
    margin-right: 10px;
}

.nav-search .btn{
    cursor: pointer;
}



.nav-right a{
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 7px 10px;
    display: inline-block;
    font-weight: bold;
    margin-left: 10px;
  }

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 8px;
    padding: 2px 4px !important;
    background-color: red;
    color: white;
    border-radius: 50%;
    line-height: 1;
}

.top-nav .top-menu > li > .level2 > li > a > img {
    width: 100%;
    height: 465px;
    object-fit: cover;
}