@charset "utf-8";

/* 轮播图 */
.banner {
    position: relative;
    overflow: hidden;
    background: #fff;

}
.banner .bg {
    position: relative;
    height: 10px;
    z-index: 2;
}
.banner .bg::after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-bottom: 35.53%;
    background: #ff2f2f;
    background: url(../images/home-page-bg.png) center center;
    background-size: cover;
}
.index-banner-box{
    position: relative;
    padding-bottom: 10px;
    overflow: initial;
    z-index: 3;
}
.index-banner-box a {
    display: block;
    margin: 0 4px;
}
.index-banner-box .img-default-mark {
    padding-bottom: 35.53%;
}
.index-banner-box .img-default-mark img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align:center;
    border-radius: 10px;
    box-sizing: border-box;
    border:1px solid white;
}
.index-banner-box .img-default-mark {
    border-radius: 5px;
    overflow: hidden;
}
.index-banner-box .banner-name {
    padding-top: 15px;
    line-height: 1;
    font-size: 16px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 首页导航 */
.index-nav {
    overflow: hidden;
    background: #fff;
}
.index-nav li {
    float: left;
    width: 20%;
    padding-bottom: 10px;
}
.index-nav .title {
    padding-top: 10px;
    font-size: 12px;
    color: #000;
    text-align: center;
}
.index-nav .img {
    width: 64%;
    margin: 0 auto;
}
.index-nav .img img {
    display: block;
    min-height: 30px;
}

/* 公告 */
.index-notice {
    display: block;
    position: relative;
    margin: 10px 0 0;
    padding: 15px 0;
    line-height: 24px;
    color:#ff2f2f;
    background: #fff;
}
.index-notice .iconnotice {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 12px;
}
.index-notice .iconnext {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #999;
    font-size: 12px;
}
.index-notice .txt {
    position: relative;
    margin-left: 35px;
    margin-right: 35px;
    overflow: hidden;
    height: 24px;
}
.index-notice .txt div {
    position: absolute;
    left: 0;
    top: 0;
    font-size:17px;
    white-space: nowrap;
}

/* 优惠券 */
.index-coupon {
    background: #fff;
}
.index-coupon img {
    display: block;
    width: 100%;
}

/* 新品推荐 */
.index-new .swiper-container {
    width: 100%;
}
.index-new .goods-lists-main {
    white-space: nowrap;
    overflow-x: auto;
    padding: 0 10px;
    font-size: 0;
}
.index-new .goods-lists-item {
    display: inline-block;
    width: 33.333%;
    float: none;
    padding: 0 5px;
    font-size: 15px;
}
.index-new .goods-lists-item .name {
    white-space: normal;
}
/*.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0;
}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 2px;
}
.swiper-pagination-bullet {
    width: 5px;
    height: 5px;
}
.swiper-pagination-bullet-active {
    background: #ff7700;
}*/

/* 精选推荐 */
.index-hot {
    padding-top:5px;
}
.index-hot .goods-lists-item .info {
    margin-top: 3px;
}
.index-hot .goods-lists-item .name {
    -webkit-line-clamp: 1;
    height: 30px;
    line-height: 30px;
}