@charset "utf-8";
/* CSS Document */
ul, li, ol {list-style: none;}

/*轮播图按钮*/
.banner,.bannerTwo{margin-top:79px ;}
.am-slider-default .am-control-nav {width: 100%;position: absolute;bottom: 15px;text-align: center;}
.am-control-nav li { float:none;}
.am-slider-default .am-direction-nav{ opacity: 0;}

/*首页产品列表*/
.home-main{background: #f5f5f5;margin-top: 20px}
.home-main .container{width: 1226px; margin: 0 auto}
.product-list {position: relative;}
.product-list .product-row {margin-left: -14px}
.product-list .product-sort {height: 58px}
.product-list .product-sort h2 {margin: 0;font-size: 22px;font-weight: 200;line-height: 58px;color: #333;}
.product-list .product-sort h2 span{color: #BE0106;font-size: 20px}
.product-list .product-item {transition: all .2s linear;bottom: 0;width: 230px; margin: 0 10px 20px 0;padding: 20px 0; height:300px;background: #fff;text-align: center;display: inline-block}
.product-list .product-item .product-img {width: 160px;height: 160px;margin: 0 auto 18px;position: relative;display: flex;justify-content: center;align-items: center;}
.product-list .product-item .product-img .saleout {position: absolute; display: none;top:0;}
.product-list .product-item .product-img img {width: auto;max-height: 100%;}
.product-list .product-item .product-title {margin: 0 20px 3px;font-size: 14px;font-weight: 400;text-overflow: ellipsis;color: #212121;overflow: hidden;white-space: nowrap;}
.product-list .product-item .product-desc {height: 18px;margin: 0 20px 12px;font-size: 12px;text-overflow: ellipsis;color: #b0b0b0;overflow: hidden;white-space: nowrap;}
.product-list .product-item .product-price span{color: #BE0106}
.product-list .product-item .product-price del{color: #b0b0b0}
.product-list .product-item:hover {position: relative; bottom: 2px;-webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);}

/*秒杀*/
.product-list .scroll-content {overflow:hidden; display: inline-block; width: 1226px;height: 400px;position: relative;margin-bottom: 20px;}
.product-list .flash-product {position: absolute; overflow: auto}
.product-list .flash-product li {height: 400px;background: #fafafa; padding-top: 40px}
.product-list .flash-product li:hover {bottom: 0}
.product-list .flash-product li:nth-child(5n) {border-top: 1px solid #e53935;}
.product-list .flash-product li:nth-child(5n+1) {border-top: 1px solid #00c0a5;}
.product-list .flash-product li:nth-child(5n+2) {border-top: 1px solid #ffac13;}
.product-list .flash-product li:nth-child(5n+3) {border-top: 1px solid #83c44e;}
.product-list .flash-product li:nth-child(5n+4) {border-top: 1px solid #2196f3;}
.product-list .flash-sale .flash-title,.product-list .flash-sale .flash-title .flash-startTime {font-size: 21px;color: #ef3a3b;padding-top: 15px;}
.product-list .flash-sale .flash-icon i{font-size: 50px;color: #ef3a3b;margin: 25px auto;}
.product-list .flash-sale .flash-time-title {color: rgba(0,0,0,.54);font-size: 15px;margin-top: 10px}
.product-list .flash-sale .flash-time-box {width: 150px;margin: 10px auto 0;}
.product-list .flash-sale .flash-time-box span {width: 40px;height: 40px;background: #605751;color: #fff;font-size: 24px;line-height: 40px;float: left;}
.product-list .flash-sale .flash-time-box i{width: 15px;  float: left;  height: 46px;  line-height: 46px;  color: #605751;  font-size: 28px;  font-style: normal;}
.product-list .flash-btn {position: absolute; top: 14px; right: 0;}
.product-list .flash-btn span{display: inline-block;width: 40px;height: 30px;padding: 7px 5px;margin-left: -5px;border: 1px solid #e0e0e0;font-size: 16px;line-height: 16px;-webkit-transition: color .5s;transition: color .5s;color: #b0b0b0;text-align: center;cursor: pointer;}
.product-list .flash-btn span:hover {color:#ef3a3b}


/*PC端*/
@media only screen and (min-width: 1250px) {
    /*背景宽度*/
    .home-main,.nav-box,.footer {min-width: 1227px}

    /*导航*/
    .nav-sort .nav-sort-all {display: none}

    /*轮播*/
    .banner,.bannerTwo{ overflow:hidden;width: 1227px;margin: 0 auto;height: 495px;}
    .banner .am-slider .am-slides li {height: 495px;}
    .am-slider-b2 .am-direction-nav a.am-prev {left: 239px!important;}

    /*首页产品列表产品少于3个*/
    .product-list .p2 {width: 473px;height: 200px}
    .product-list .p2 .product-img{margin: 0 20px;float: left}
    .product-list .p2 .product-info{width: 250px;float: left;margin-top: 30px}
    .product-list .p2 .product-desc {height: auto;white-space: initial;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
}

/*移动端*/
@media only screen and (max-width: 1250px) {
    /*产品列表*/
    .home-main {margin-top: 0}
    .home-main .container {width: 100%;padding-left: 1%;padding-bottom: 10px;}
    .product-list .scroll-content {width: 100%;height: 310px;margin-bottom: 0}
    .product-list .flash-product {width: 2000px}
    .product-list .flash-product li {width: 180px;margin: 0 5px;height: 310px;padding-top: 10px;}
    .product-list .flash-sale .flash-time-box {width: 120px;margin: 5px auto 0;}
    .product-list .flash-sale .flash-time-box span {width: 30px;height: 30px;font-size: 16px;line-height: 30px;}
    .product-list .flash-sale .flash-time-box i {line-height: 30px;}
    .product-list .flash-sale .flash-time-title {margin-top: 0px;}
    .product-list .product-item {width: 48%;margin: 0 1% 2% 0;padding: 0 0 10px 0; height: auto;border-radius: 10px}
    .product-list .product-item .product-img {width: 150px;height: 150px;margin: 0 auto;}
    .product-list .product-item .product-desc {margin: 0 10px 5px;}
    .product-list .product-item .product-price span {font-size: 14px;}

    /*轮播图*/
    .banner .am-slider .am-slides li {height: 0;padding-bottom: 4.026%;overflow: hidden;width: 100%}

    /*侧边导航*/
    .shopNav{display: none}
}
@media only screen and (max-width: 1250px) and (min-width: 640px){
    /*轮播图*/
    .banner,.bannerTwo{margin-top: 0}
}
