@charset "utf-8";
.w{max-width: 1300px;width: 100%; padding: 0 15px;margin: 0 auto;}
header{height:87px;line-height:87px;text-align:center;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.15);position: relative;z-index: 2;}
header .w{position: relative;display: flex;justify-content: space-between;height: 100%;}
/* header .w:after{clear:both;content:"";display:block;overflow:hidden} */
.logo_box{float:left;display: flex;align-items: center;}
.logo_box img{
    max-height: 60px;
    max-width: 100px;
    vertical-align:middle;
    border-radius: 50%;
    cursor: pointer;
}
.logo_box span{font-size:24px;vertical-align: middle;margin-left: 10px;cursor: pointer;}
.nav{
    display:inline-flex;
    margin: 0 60px;
    max-width: calc(100% - 364px);
    overflow: hidden;
    height: 100%;
}
.nav li{
    padding:0 10px;
    font-size: 14px;
    color: #323232;
    font-family: OpenSans;
    height: 100%;
    word-wrap: break-word;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 11px;
}
.nav li.active a{
    color: #04D39F;
}
a{text-decoration:none;color:#323232}
.hover:hover{
    color:#04d39f
}
.nav .active{
   color: #04D39F; 
}
.more {display:none;}
button,input{outline:0;border:none}
.header_right {display: inline-flex;}
.header_right >div{
    padding: 0 9px;
    cursor: pointer;
}
.search_box{
    width: 482px;
    border: 1px solid #ddd;
    position: absolute;
    top: 87px;
    right: -20px;
    z-index: 9;
    background: rgba(255,255,255,1);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    opacity: 0.98;
    border-radius: 0px 0px 6px 6px;
    padding: 0 40px;
}
.search_box:before, .search_box:after {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    top: -7px;
    left: 75%;
    margin-left: -7px;
    overflow: hidden;
    pointer-events: none;
    -webkit-transform: rotate(-135deg);
    -mz-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.search_box:before {
    background: #fff;
    box-shadow: 1px 1px 2px rgba(0,0,0,.1);
}
.search_box input {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(173, 173, 173, 0.5);
    border-radius: 3px;
    margin: 30px 0;
    padding-left: 17px;
    font-weight: 500;
    color: rgba(171,171,171,1);
}
.search_box .icon-search{
    color: #04d39f;
    position: absolute;
    top: 30px;
    right: 40px;
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
}
.search i{font-size: 20px;}
.person_box{
    width: 176px;
    position: absolute;
    right: 0;
    top:87px;
    background: #fff;
    z-index: 9;
    display: none;
    border-radius: 0 0 6px 6px;
    box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    padding-top: 10px;
}
.person_box:before, .person_box:after {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    top: -7px;
    left: 82.5%;
    margin-left: -7px;
    overflow: hidden;
    pointer-events: none;
    -webkit-transform: rotate(-135deg);
    -mz-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.person_box:before {
    background: #fff;
    box-shadow: 1px 1px 2px rgba(0,0,0,.1);
}



.person_box li{
    height: 45px;
    line-height: 45px;
    font-size: 14px;
    font-family: OpenSans;
    font-weight: 400;
    color: #323232;
    text-align: left;
    text-indent: 20px;
}
.person_box li:hover{
    background: #04D39F;
    color: #fff;
}
/* footer */
.footer{color:#969696;background-color: rgba(4,211,159,.05);}
.footer_content{
    display: flex;
    justify-content: space-between;
    padding-top: 48px;
    padding-bottom: 40px;
}

.footer .pfooter_content{
    display: block;
}
.footer .pfooter_content .footer_item li{display: inline-block}
.footer_item > li{margin-bottom: 6px}
.footer_item > li a:hover{color: #04D39F;}
.footer_item > li a.active{color: #04D39F;}
.footer_item > li a{color: #969696;}
.footer_info{max-width: 300px;}
.footer_info li{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    margin-right:7px;
    border:1px solid #dddddd;
    border-radius:3px;
    box-sizing:border-box;
    margin-bottom: 12px;
    cursor: pointer;
}
.footer_info li a{color:#969696}
.footer_info li:hover{background-color:#04d39f;border:none}
.footer_info li:hover a{color:#fff}
.footer_subscribe{display:flex;justify-content:end;height:45px}
.footer_subscribe input {
    border: 1px solid #dddddd;
    border-right: none;
    width: 200px;
    border-radius: 3px 0 0 3px;
    background-color: rgba(4, 211, 159, -1.95);
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 1em;
}
.footer_subscribe input:focus{
    border: 1px solid #04d39f;
}
.footer_subscribe button{background-color:#04d39f;padding:15px 25px;color:#fff;cursor:pointer;border-radius:0 3px 3px 0}
.footer_cpy{background-color:#04D39F;color: #ffffff;}
.footer_cpy p{padding:15px;text-align:center;font-weight:500;}
.footer_cpy p a{color:#ffffff;}
/* back to top */
.back_to_top{
    position: fixed;
    right: 8%;
    bottom: 32%;
    background-color: #04D39F;
    width: 40px;
    height: 40px;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
}
.back_to_top i{
    color: #fff;
    font-size: 12px;
}
/* 分页器 */
.pagination{
    text-align:center;
    margin-top: 58px;
    margin-bottom: 50px;
}
.pg_list{font-size:12px;font-weight:700;line-height:40px;}
.pg_list .pg_item:first-child,.pg_list .pg_item:last-child{
    color: #333;
}
.pg_item{display:inline-block;
    cursor:pointer;
    width:40px;
    height:40px;
    background:#F5F5F5;
    border:1px solid #dddddd;
    font-size:15px;
    font-family:OpenSans;
    font-weight:400;
    color:#323232;
    border-radius: 4px;
    margin-right: 13px;
}
.pg_item:last-child{margin-left:0px;}
.pg-active{
    color:#fff;
    background: #04D39F;
    border: none;
}
.pg-disable{pointer-events:none;cursor:none}
.pg_item:hover{
    color:#fff;
    background: #04D39F;
    border: none;
}
/* 购物车 */
.mycart{position: relative}
.goods_count{
    width: 16px;
    height: 16px;
    background: rgba(4,211,159,1);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    top: 22px;
    left: 18px;
    line-height: 18px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.my-mini-cart_box{
    z-index: 9;
    line-height: normal;
    display: none;
    position: absolute;
    top: 87px;
    right: -50px;
    background: #fff;
    border-radius: 0 0 6px 6px;
}
.my-mini-cart_wrap{
    padding: 26px 24px;
    width: 480px;
    box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 0 0 6px 6px;
}
.mycart:hover .my-mini-cart_box{
    display: inline-block;
}
.my-mini-cart_box:before, .my-mini-cart_box:after {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    top: -7px;
    left: 85.5%;
    margin-left: -7px;
    overflow: hidden;
    pointer-events: none;
    -webkit-transform: rotate(-135deg);
    -mz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    z-index: 99;
}
.my-mini-cart_box:before {
    background: #fff;
    box-shadow: 1px 1px 2px rgba(0,0,0,.1);
}
.center:hover .person_box{
    display: inline-block;
}
.my-mini-cart_box p{
    margin:10px 0;
}
.site_cart_btn{
    width: 225px;
    height: 44px;
    background: rgba(4,211,159,1);
    border-radius: 3px;
    color: #fff;
    display: block;
    line-height: 44px;
    margin: 0 auto;

}
.my-mini-cart_list {
    text-align: left;
    max-height: 432px;
    overflow:auto;
    
}
.my-mini-cart_list::-webkit-scrollbar {
       display: none;
    }
.my-mini-cart_list .goods_lis {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
}
.my-mini-cart_list .goods_lis img{
    width: 80px;height: 80px;
    vertical-align: top;
}
.list_right{
    display: inline-block;
    margin-left: 8px;
    width: calc(100% - 100px);
}
.list_right li {
    margin-bottom: 5px;
}
.list_right li:nth-child(1){
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list_right li:nth-child(3){
    margin-bottom: 0px;
}
.my-mini-cart_del {
    position: absolute;
    top: 19px;
    right: 0;
    color: #969696;
    cursor: pointer;
}
.my-mini-cart_empty{
    width: 300px;
    height: 160px;
    z-index: 10;
    line-height: 160px;
    font-size: 20px;
    font-family: OpenSans;
    font-weight: 400;
    color: rgba(150,150,150,1);
    background: rgba(255,255,255,1);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    opacity: 0.98;
    border-radius: 0px 0px 6px 6px;
}

/* 手机端侧边栏 */

.side_dark{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.7);
    z-index: 9;
    display: none;
}

.side_dark .side_white{
    position: fixed;
    width: 85%;
    height: 100vh;
    right: 0;
    background-color: #FFFFFF;
    padding: 100px 0 0 30px;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    overflow: scroll;
}


.side_white .icon-close{
    position: fixed;
    right: 20px;
    top: 15px;
    font-size: 32px;
    cursor: pointer;
    z-index: 99;
}

.side_white .ul_list{
    overflow: scroll;
    height: 80vh;
}

.side_white .ul_list li{
    margin-bottom: 40px;
    list-style: none;
}

.side_white .ul_list li > a.active{
    color: #04D39F;
}

.side_white .first_line{
    margin-bottom: 30px;
}

.side_white .first_line button{
    background-color: rgba(0,0,0,0);
    color: #04D39F;
}

.side_white .first_line .one_btn{
    padding: 12px 20px;
    background-color: #04D39F;
    border-radius: 3px;
    color: #ffffff;
    margin-right: 30px;
}
.zoomImg{
    max-width: none;
    max-height: none;
}
/* select2 */
.select2-container--default .select2-results__option[aria-selected=true]{
    background-color: #ffffff;
}
.select2-container--open .select2-dropdown--below{
    border: 1px solid rgba(221, 221, 221, 1);
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.15);
    border-radius: 0px 0px 3px 3px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
@media screen and (max-width:768px) {
    /* header */
    header .nav{display: none;}
    .center{
        display: none;
    }
    .more {display:block;}
    header{
        height: 75px;
        line-height: 75px;
    }
    .logo_box span{
        overflow: hidden;
        max-width: 210px;
        max-height: 60px;
        white-space: pre-wrap;
        text-overflow: ellipsis;
    }
    .search_box{
        top: 75px;
        right: 0;
        width: 100%;
        padding: 0 16px;
    }
    .search_box input{
        width: 100%;
        line-height: normal;
    }
    .search_box i{
        right: 30px;
    }
    .my-mini-cart_empty{
        width: 100%;
    }

    /* footer */
    .footer_content{
        flex-direction: column;
        align-items: flex-start;
        padding-top: 23px;
        padding-bottom: 20px;
    }
    .footer_content .footer_item{
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }
    .footer_content .footer_item li{
        padding: 0;
        margin-right: 12%;
    }
    .footer_content .footer_item li a{
        color: #969696;
    }
    .footer_content .footer_info{
        width: 100%;
        margin-top: 15px;
        max-width: 100%
    }
    .footer_content .footer_info li{
        margin-right: 16px;
        margin-bottom: 18px;
        
    }
    .footer_content .footer_subscribe{
        width: 100%;
    }
    .footer_cpy p{
        padding:  12px;
        font-size: 12px;
    }
    .pagination{
        margin: 31px 0;
    }
    /* 分页手机端 */
    .pg_item{
        width: 33px;
        height: 33px;
        line-height: 33px;
    }
    /* 购物车 */
     .my-mini-cart_box{
     top: 75px;
     border:none;
     border-top: 1px solid #ddd;
     background: #0000009c;
     position: fixed;
     left: 0;
     height: 100%;
    }
    .my-mini-cart_wrap{
        width: 100%;
        border: none;
    }

}




