
.banner {
    position: relative;
    padding-top: 110px;
}
.banner p{
    width: fit-content;
    font-size: 36px;
    font-family: Helvetica;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.banner .smile{
    width: 41px;
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    transform: translate(-50%,100%);
}

.allproducts{
    width: 1398px;
    margin: 53px auto 0;
}

.allproducts *{
    box-sizing: border-box;
}
.allproducts .category {
    display: flex;
}

.allproducts .category > span{
    display: block;
    width: fit-content;
    font-size: 22px;
    font-family: Helvetica;
    font-weight: bold;
    color: #000000;
    line-height: 32px;
}

.allproducts .category .cate-choose{
    margin-left: 34px;
    display: flex;
    width: 63%;
}

.allproducts .category .atitle{
    width: 176px;
    position: relative;
    transition: 0.6s;
    box-sizing: border-box;
    padding: 0 15px 0 0;
}

.allproducts .category .item{
    display: inline-block;
    height: 50px;
    transition: 0.4s;
}

.allproducts .category .atitle .item-child{
    width: 161px;
    background-color: #f5f5f5;
    position: absolute;
    top: 50px;
    z-index: 2;
    /*border: 1px solid grey;*/
    /*display: block!important;*/
    display: none;
    font-size: 10px;
}

.allproducts .category .atitle .item-child ul{
    padding-left: 16px;
    width: 95%;
}

.allproducts .category .atitle .item-child li{
    padding-top: 6px;
    padding-bottom: 6px;
}

.allproducts .category .atitle .item-child li a{
    color: grey;
}

.allproducts .category .atitle .item-child li:hover{
    background-color: #F5F5F5;
}

.allproducts .category .atitle .item-child li:hover a{
    color: #D2181A;
}

.active-item{
    background-color: #F5F5F5;
}

body .allproducts .category .active-item p{
    color: #D2181A;
}

.allproducts .category .atitle .active-itemchild{
    display: block;
}

.allproducts .category .item p{
    font-size: 16px;
    font-family: Helvetica;
    font-weight: 400;
    color: #666666;
    line-height: 50px;
    margin: auto;
    padding: 0 0 0 15px;
}

.allproducts .category .item span{
    font-size: 12px;
    margin-left: 10px;
}

.allproducts .category .item .active-p{
    color: #D2181A;
}

.allproducts .products{
    margin-top: 43px;
    display: flex;
    flex-wrap: wrap;
}

.athing{
    width: 326px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    margin-left: 30px;
    border: 1px solid #E6E6E6;
}

.athing:first-child{
    margin-left: 0;
}

.athing:nth-child(5n){
    margin-left: 0;
}

.athing .photo{
    height: 52%;
    box-sizing: border-box;
}

.athing .other{
    height: 47.6%;
    background: #F5F5F5;
    border-top: 1px solid #E6E6E6;
}

.athing .other>div{
    width: 300px;
    margin: auto;
    margin-top: 34px;
}

.athing .other .introduce span{
    font-size: 16px;
    font-family: Helvetica;
    font-weight: bold;
    color: #000000;
    line-height: 26px;
}


.athing .other .introduce p{
    font-size: 16px;
    font-family: Helvetica;
    font-weight: bold;
    color: #666666;
    line-height: 26px;
}

.athing .other .quantity{
    margin-top: 38px;
    display: flex;
    align-items: center;
    float: left;
}

.athing .other .quantity img{
    width: 68px;
    position: absolute;
}

.athing .other .quantity div{
    font-size: 16px;
    font-family: Helvetica;
    font-weight: 400;
    color: #666666;
    line-height: 26px;
    margin-left: 80px;
}

.athing .other button{
    width: 100%;
    height: 55px;
    background: #D70C25;
    margin: 27px auto 14px;
    border: none;
    color: white;
    transition: 0.4s;
}

.athing .other .btn:hover button{
    background: white;
    color: #D70C25;
    border: 4px solid #D70C25;
    font-size: 20px;
    /* letter-spacing: 2px; */
}

.page {
    display: flex;
    justify-content: center;
    margin-top: 74px
}
.page .jiantou {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto 10px;
}
.page .num{
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    font-size: 16px;
    font-family: Helvetica;
    font-weight: 400;
    color: #666666;
    align-items: center;
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto 10px;
}

.page .on{
    border: 1px solid #E6E6E6;
}

.page .num a{
    width: fit-content;
    color: #666;
}

.page img{
    width: 21px;
    height: 9px;
}
