﻿/*=================商城首页=====================*/

/*头部*/
body .oct-header {
    margin: 0;
    padding: 8px;
    border: none;
    height: 55px;
}

body .oct-header-sub {
    top: 50px;
}

.oct-header .goods-search {
    background: #f2f2f2;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    text-align: center;
    color: gray;
    font-size: 14px;
}

.goods-search img {
    width: 15px;
    height: 15px;
    margin-top: -3px;
    margin-right: 5px;
}
/*子导航*/
.oct-header-sub {
}

.goods-type-nav {
    width: 100%;
    overflow-x: auto;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

.goods-type-ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

    .goods-type-ul li {
        font-size: 16px;
        margin-right: 18px;
        display: block;
        clear: both;
    }

        .goods-type-ul li div {
            white-space: nowrap;
            word-break: keep-all;
        }

.goods-type-li-current {
    color: #ff0000;
    border-bottom: 2px solid #ff0000;
}

/*轮播区*/
.oct-slider {
    position: relative;
    margin-top: 45px;
}

.sliderMainContent {
    height: 140px;
    overflow: hidden;
}

.content-slider li {
    height: 140px;
    width: 100%;
    overflow: hidden;
}

.slider-pager-content {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    color: #808080;
    border-radius: 5px;
    padding: 0 4px;
    filter: alpha(Opacity=80);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.img-slider img {
    width: 100%;
}

/*导航*/
.nav-list {
    background: white;
    padding: 10px;
    padding-top: 0;
}

    .nav-list .sliderMainContent {
        height: 180px;
    }

    .nav-list ul {
        padding: 0;
        margin: 0;
    }

        .nav-list ul li {
            margin: 0 auto;
            padding-top: 10px;
            height: 158px;
            display: flex;
            flex-wrap: wrap;
            align-content: center;
            align-items: center;
        }

.nav-item {
    width: 60px;
    text-align: center;
    margin: 8px auto;
}

/*-----兼容苹果-----*/
@media all and (min-width: 400px) {

    .nav-item {
        width: 75px;
        text-align: center;
        margin: 8px auto;
    }
}

    .nav-item img {
        width: 45px;
        height: 45px;
        display: block;
        margin: 0 auto;
    }
/*抢购秒杀*/
.second-kill {
    background: white;
    padding: 5px;
    margin-top: 8px;
    font-size: 12px;
}

.second-kill-title {
    padding: 5px 0;
    padding-bottom:8px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #000000;
}

.second-kill-arrow {
    font-weight: normal;
    background: url(../../Imgs/Icon/arrows_right.png) center right no-repeat;
    background-size: 13px;
    padding-right: 17px;
    align-items: center;
    color: gray;
    margin-right: -5px;
}

.second-kill-list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    padding-bottom: 3px;
    overflow:hidden;
}
    .second-kill-list a {
        display: block;
        overflow: hidden;
        width: 25%;
    }

    .second-kill-list img {
        width: 100%;
        margin: 0;
        padding: 0;
    }
/*横条广告*/
.gg-bar{
    width:100%;
    height: 100px;
    overflow:hidden;
    margin-top:8px;
}
.gg-bar img{
    width: 100%;
}


/*-------------商品列表--------------*/
.goods-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 5px;
    background: #f5f5f5;
    padding: 5px;
}

.goods-item {
    width: 47%;
    overflow: hidden;
    background: white;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    margin-top:6px;
}

.goods-img {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

    .goods-img img {
        width: 100%;
    }

.goods-name {
    font-size: 12px;
    padding: 4px;
    text-align: left;
}

.goods-price {
    padding: 4px;
    padding-right: 0;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .goods-price b {
        color: #fc5c16;
        font-size: 14px;
    }

    .goods-price span {
        background: #fc5c16;
        font-size: 12px;
        color: white;
        padding: 0 5px;
        border-radius: 20px;
    }

    .goods-price .goods-price-no {
        color: gray;
        text-decoration: line-through;
        background: none;
    }

    .goods-price .goods-stock-residue {
        color: gray;
        background: none;
    }


    .goods-price div {
        font-size: 11px;
        color: #b5b5b5;
    }

    .goods-price img {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }

.goods-item {
    position: relative;
    overflow: visible;
}

    .goods-item .goods-item-badge {
        background: #ff6a00;
        color: white;
        font-size: 12px;
        border-radius: 20px;
        position: absolute;
        top: -5px;
        left: -5px;
        padding-left: 5px;
        padding-right: 5px;
    }




/*产品列表*/
.goods-list {
    padding: 10px;
    margin-top: 5px;
}

.goods-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

    .goods-ul li {
        /*width: 165px;*/
        width: 48%;
        /*height: 270px;*/
        /*        overflow: hidden;*/
        background: white;
        margin-bottom: 10px;
        border-radius: 10px;
        overflow: hidden;
    }

.goods-item a {
    display: block;
    height: 180px;
    overflow: hidden;
}

.goods-item img {
    width: 100%;
    height: 180px;
}

.goods-item-title {
    font-size: 14px;
    padding: 5px;
    height: 50px;
    overflow: hidden;
}

.goods-item-price {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    padding-bottom: 10px;
    align-items: center;
}

.goods-price-left {
    color: gray;
}

    .goods-price-left b {
        color: #FF5803;
        font-weight: bold;
        font-size: 16px;
        padding-right: 5px;
    }

.goods-price-right {
    color: #9B9B9B;
}


.goods-ul li.goods-item {
    position: relative;
    overflow: visible;
}

.goods-item .goods-item-badge {
    background: #ff6a00;
    color: white;
    font-size: 12px;
    border-radius: 20px;
    position: absolute;
    top: -5px;
    left: -5px;
    padding-left: 5px;
    padding-right: 5px;
}

.goods-item img {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/*加载更多*/
.btn-more-goods {
    background: #FFFFFF;
    border-radius: 20px;
    color: #000000;
    margin: 50px;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
    display: block;
    padding: 5px;
    color: gray;
}

.btn-more-goods:hover {
    background: #fffdfb;
    color: black;
}



