/* #region京东顶部区域开始 */
.jd-top{
    color: white;
    height: 90rem;
    align-items: center;
    background-color: #333333;
    display: flex;
    padding-left: 22px;
    justify-content: space-between;
}
.jd-top .close{
    width: 32rem;
    height: 32rem;
}
.jd-top .logo{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.jd-top .logo img{
    width: 62rem;
    height: 60rem;
    margin-right: 80rem
}
.jd-top .open-btn{
    width: 158rem;
    height: 90rem;
    background-color: #f63514;
    color: white;
    border: none;
}
/* #endregion京东顶部区域结束 */


/* #region搜索区域开始 */
.search-box{
    background: url(../images/topBg.png) no-repeat;
    background-size: 750rem 210rem;
    height: 210rem;
}

.jd-search{
    height: 106rem;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 20;
}
.jd-search .search{
    width: 452rem;
    height: 61rem;
    line-height: 61rem;
    background-color: white;
    border-radius: 40rem;
    padding: 0 36rem;
    margin-top: 20rem;
    margin-right: 26rem;
    /* display: flex;
    align-items: center; */
}
.jd-search .menu{
    width: 46rem;
    height: 39rem;
    margin-top: 28rem;
    margin-right: 30rem;
}
.jd-search .jdicon{
    width: 40rem;
    height: 33rem;
    margin-right: 42rem;
    vertical-align: middle;
}
.jd-search .s-icon{
    width: 26rem;
    height: 26rem;
    margin-right: 24rem;
    vertical-align: middle;
}
.jd-search .search input{
    border: none;
    outline: none;
    font-family: '微软雅黑';
    vertical-align: middle;
    color: #6f6f6f;
    height: 28rem;
    font-size: 24rem;
}
.jd-search a{
    color: white;
    font-family: '微软雅黑';
    font-weight: bold;
}
/* #endregion搜索区域结束 */

/* 轮播图区域 */
.dot{
    position: absolute;
    display: flex;
    bottom: 10rem;
    /* width: 60rem; */
    height: 20rem;
    left: 326rem;
    z-index: 10;
}
.dot .on{
    background-color: #fe2d19;
    opacity: 1;
}
.dot li{
    width: 14rem;
    height: 14rem;
    background-color: #000;
    margin-right: 8rem;
    opacity: .2;
    border-radius: 50%;
    font-size:0;
}
.swiper-container{
    width: 699rem;
    height: 280rem;
    position: relative;
    margin: auto;
    border-radius: 20rem;
    overflow: hidden;
    background-color: red;
}
.swiper-container .swiper {
    display: flex;
    position: absolute;
}
.swiper-container .swiper img{
    height: 280rem;
    width: 700rem;
}

/* #region导航区域开始 */
.jd-nav{
    height: 268rem;
    margin-top: 190rem;
}
.jd-nav .nav-list{
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}
.jd-nav .nav-list li{
    width: 20%;
    height: 134rem;
    /* border: 1px solid red; */
    text-align: center;
    font-family: '微软雅黑';
    font-size: 20rem;
    color: #757373;
}
.jd-nav .nav-list li img{
    height: 70rem;
}
/* #endregion导航区域开始 */


/* #region秒杀区域开始 */
.seckill{
    /* margin-left: 20rem; */

}
.seckill .seckill-list{
    width: 680rem;
    height: 74rem;
    line-height: 74rem;
    background: url(../images/seckillBg.png);
    background-size: cover;
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: auto;
}
.seckill .seckill-list li:nth-child(1){
    font-size: 27rem;
    /* margin-left: 22rem; */
}
.seckill .seckill-list li:nth-child(2) span{
    color: #d90b0b;
    font-size: 25rem;
}
.seckill .seckill-list li:nth-child(2) img{
    width: 40rem;
    height: 43rem;
    vertical-align: middle;
}
.seckill .seckill-list li:nth-child(3) span{
    display: inline-block;
    width: 40rem;
    height: 40rem;
    line-height: 40rem;
    color: white;
    background-color: #fe0000;
    border-radius: 10rem;
}
.seckill .seckill-list li:nth-child(4){
    color: #fe0000;
    font-size: 25rem;
}
.seckill .seckill-list li:nth-child(4) img{
    width: 31rem;
    height: 31rem;
    vertical-align: middle;
    /* margin-right: 16rem; */
}

.seckill .seckill-goods{
    height: 179rem;
    width: 680rem;
    overflow: auto;
    /* 隐藏掉滚动条 */
    scrollbar-width: none;
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top: 20rem;
}
.seckill .seckill-goods li{
    width: 113rem;
    height: 179rem;
    text-align: center;
    margin-right: 10rem;
}
.seckill .seckill-goods li:last-child{
    margin-right: 0;
}
.seckill .seckill-goods li img{
    width: 113rem;
    height: 116rem; 
}

.seckill .seckill-goods li div:nth-of-type(1){
    color: #fd1600;
    font-weight:bold;
}
.seckill .seckill-goods li del:nth-of-type(1){
    color: rgb(150, 148, 148);
}
/* #endregion秒杀区域结束 */


/* #region商品详情区域开始 */
.goods-content{
    width: 706rem;
    margin: auto;
    margin-top: 45rem;
    margin-bottom: 120rem;

}
.goods-content .lists{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 74rem;
    justify-content: space-between;
}
.goods-content .lists li{
    width: 345rem;
    height: 496rem;
    margin-bottom: 54rem;
}
.goods-content .lists li>img{
    width: 343rem;
    height: 345rem;
    border-radius: 20rem;
}
.goods-content .lists li p{
    width: 318rem;
    height: 72rem;
    font-family: '微软雅黑';
    margin-bottom: 18rem;
    margin-top: 20rem;
    display: -webkit-box;  
   -webkit-line-clamp: 2; /* 限制显示的行数 */  
   -webkit-box-orient: vertical;  
   overflow: hidden;  
   text-overflow: ellipsis; /* 溢出时显示省略号 */ 
    font-size: 26rem;
}
/* .goods-content .lists li p::before{
    content: '';
    background: url(../images/c561eee12d153d56.png) no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 51rem;
    height: 31rem;
    background-size: 51rem;
    margin-right: 10rem;
} */
.goods-content .lists li p img{
    vertical-align: middle;
    width: 45rem;
    height: 27rem;
    margin-right: 5rem;
}
.goods-content .lists .price{
    display: flex;
    justify-content: space-between;
    position: relative;
}
.goods-content .lists .price>div{
    display: flex;
}
.goods-content .lists .price div span:nth-child(1) {
    font-size: 30rem;
    color:#f90004;
    font-weight: bold;
    margin-right: 21rem;
}
.goods-content .lists .price div span:nth-child(2){
    display: block;
    width: 40rem;
    height: 30rem;
    color: #c61909;
    padding: 0 8rem;
    border: 1px solid #c61909;
}
.goods-content .lists .price>span:nth-of-type(1){
    width: 79rem;
    height: 41rem;
    line-height: 41rem;
    text-align: center;
    border-radius: 10rem;
    background-color: #f7f2f8;
    color: #4c4a4b;
}
.goods-content .lists li:nth-last-of-type(1),.goods-content .lists li:nth-last-of-type(2){
    margin-bottom: 0;
}
/* #endregion商品详情区域结束 */


/* #region底部信息区域开始 */
.jd-info{
    height: 112rem;
    line-height: 112rem;
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
}
.jd-info ul{
    width: 504rem;
    margin: auto;
    display: flex;
}
.jd-info ul li a{
    padding: 0 22rem;
    color: black;
    font-size:25rem;
    border-right: 1px solid #dadada;
}

/* #endregion底部信息区域结束 */

/* #region动画信息开始 */
.jd-fticon{
    margin-bottom: 158rem;
    margin-top: 30rem;
    text-align: center;
}
.jd-fticon ul{
    display: flex;
}
.jd-fticon ul li{
    width: 33%;
}
.jd-fticon ul li img{
    width: 120rem;
    height: 120rem;
}

.jd-animal{
    position: fixed;
    bottom: 150rem;
    left: 213rem;
    font-size: 24rem;
    overflow: hidden;
}
.jd-animal img{
    width: 324rem;
    height: 71rem;
    display: block;
}
.jd-animal div{
    margin-left: 150rem;
    color: white;
    height: 72rem;
    line-height: 72rem;
    text-align: center;
    width: 152rem;
    position: absolute;
    top: -71rem;
    animation: jdtext 6s linear infinite;
    /* transition: 1s all; */
}
@keyframes jdtext {
    0%{
        top: 71rem;
    }
    16.6%{
        top: 0;
    }
    50%{
        top: 0;
    }
    66.6%{
        top: -71rem;
    }
    100%{
        top: -71rem;
    }
}
.jd-animal div:nth-of-type(2){
    animation-delay: 3s;
}


