@charset "utf-8";
.list-info {
    display: none;
}

#content {
    background-color: #f5f5f5;
    z-index: 1;
}

.now-page li {
    float: left;
    line-height: 40px;
    font-size: 12px;
    color: #d2d2d2;
    margin-right: 5px;
}

.banner {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.hd {
    height: 16px;
    overflow: hidden;
    position: absolute;
    right: 558px;
    bottom: 22px;
    z-index: 1;
}

.hd ul {
    overflow: hidden;
    zoom: 1;
    float: left;
}

.hd ul li {
    float: left;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    line-height: 14px;
    text-align: center;
    border-radius: 50%;
    background-color: #b94944;
    cursor: pointer;
    position: relative;
}

.hd ul li span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #d9acaa;
    border-radius: 50%;
    position: absolute;
    top: 25%;
    left: 25%;
}

.hd ul li.on span {
    background-color: #ff3600;
}

.bd {
    position: relative;
    height: 100%;
    z-index: 0;
}

.bd li {
    zoom: 1;
    vertical-align: middle;
}

.bd img {
    width: 100%;
    height: 320px;
    display: block;
}

.sel-list {
    margin-top: 30px;
    width: 100%;
    background-color: #fff;
    position: relative;
}

.sel-list li {
    line-height: 60px;
    font-size: 14px;
    float: left;
    margin-left: 40px;
}

.sel-list li a {
    color: #000;
}

.sel-list li a.grey {
    color: #ccc;
    width: 56px;
    white-space: nowrap;
    overflow: hidden;
    height: 60px;
    display: inline-block;
    vertical-align: top;
    text-align: justify;
    text-justify: distribute-all-lines;
    text-align-last: justify;
}

.sel-list li span.grey-code {
    display: inline-block;
    width: 20px;
    color: #ccc;
    text-align: center;
}

.sel-list li a.red {
    color: #ff3600;
}

.list-right li {
    margin-right: 40px;
    margin-left: 0;
}

.list-right li:nth-child(3) {
    background-image: url('../images/shang.jpg');
    background-repeat: no-repeat;
    background-position: 26px center;
    padding-right: 10px;
}

.list-right li:nth-child(3).on {
    background-image: url('../images/xia.jpg');
}

.goods-list {
    width: 100%;
    margin-top: 30px;
    background-color: #f5f5f5;
}

.item {
    position: relative;
    overflow: hidden;
    width: 296px;
    height: 434px;
    background-color: #fff;
    margin-right: 14px;
    margin-bottom: 14px;
    transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    box-sizing: border-box;
    padding: 30px 20px 0;
}

.item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translate3d(0, -2px, 0);
    -webkit-transform: translate3d(0, -2px, 0);
    -o-transform: translate3d(0, -2px, 0);
    -moz-transform: translate3d(0, -2px, 0);
}

.item:hover .new-goodsSomething,
.item:hover .goodsWeight {
    color: red;
}

.item:hover .cart-show {
    bottom: 0;
}

.item:nth-child(4n+4) {
    margin-right: 0;
}

.item dt a {
    display: block;
    width: 220px;
    height: 220px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.item dt a img {
    max-width: 100%;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.goodsWeight {
    width: 160px;
    font-size: 12px;
    text-align: center;
    color: #333;
    line-height: 20px;
    margin: 5px auto 5px auto;
    padding: 0 35px 0 35px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}


/*重写结构跟样式*/

.new-goodsSomething {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    text-overflow: ellipsis;
    overflow: hidden;
    max-height: 42px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 21px 0 10px;
}

.goodsPing {
    margin: 0 auto 20px;
    width: 202px;
    text-align: center;
    font-size: 12px;
    line-height: 12px;
    /*修改的样式*/
    box-sizing: border-box;
    color: #b0b0b0;
    max-height: 12px;
    padding: 0 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.nowPrice {
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    color: #c00000;
    line-height: 14px;
}
.marketPrice{
    color: #b0b0b0;
}
.peopleGood {
    line-height: 14px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

.red-buy {
    width: 300px;
    font-size: 16px;
    line-height: 52px;
    background-color: #ff3600;
    color: #fff;
    text-align: center;
    transition: all .2s;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
}

.red-buy:hover {
    background-color: #ff3300;
    color: #fff;
}

.cart-show {
    position: absolute;
    bottom: -52px;
    left: 0;
    transition: all .2s;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    cursor: pointer;
}

.sel-pages {
    width: 100%;
    margin-top: 50px;
    background-color: #f5f5f5;
    margin-bottom: 10px;
}

.pages {
    margin: 0 auto;
    width: 520px;
}

.pg {
    width: 30px;
    line-height: 40px;
    border: 1px solid #ccc;
    color: #ccc;
    background-color: #fff;
    text-align: center;
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
    transition: all .2s;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
}

.pg:hover {
    background-color: #ccc;
    color: #fff;
}

.pg.on {
    background-color: #ccc;
    color: #fff;
}

.pg:nth-child(7) {
    border-right: 0;
}

.pre {
    width: 82px;
}

.next {
    width: 82px;
}

.no-encough {
    width: 300px;
    font-size: 16px;
    line-height: 48px;
    color: #fff;
    text-align: center;
    transition: all .2s;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    background-color: #b0b0b0;
}

.no-encough:hover {
    background-color: #b0b0b0;
    color: #fff;
}

.no-encough span {
    display: inline-block;
}

.no-encough .collect {
    padding-left: 20px;
    width: 125px;
    text-align: left;
}

.no-encough .no-en {
    padding-right: 20px;
    width: 125px;
    text-align: right;
}

.cart-tip {
    position: fixed;
    width: 190px;
    height: 60px;
    background-position: center;
    background-repeat: no-repeat;
    left: 50%;
    margin-left: -145px;
    top: 50%;
    margin-top: -30px;
    color: #fff;
    font-size: 20px;
    line-height: 60px;
    padding-left: 100px;
}

.cart-tip.success {
    background-image: url('../images/ic_success.png');
}

.cart-tip.fail {
    background-image: url('../images/ic_fail.png');
}

.item .cell-out-div {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.item .cell-out-div .cell-out-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-image: url(../images/ic_sell_out_pc.png);
    background-position: 85% 5%;
    background-size: 80px;
}

.sel-out {
    width: 40px;
    height: 15px;
    margin-top: 5px;
    margin-left: 240px;
    font-size: 12px;
    text-align: center;
    line-height: 15px;
    position: absolute;
    z-index: 200;
    background-color: #F5F5F5;
    border: 1px solid #DDDAD9;
}


/*分页*/

.page_wrapper {
    padding: 42px 0;
    position: relative;
    padding-bottom: 76px;
}

.new-pages {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.new-pages .new-pg {
    width: 30px;
    line-height: 30px;
    color: #666463;
    background-color: #f6f6f6;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #e7e7e7;
    margin-right: 4px;
    transition: all .2s;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
}

.new-pages .new-pg.pre,
.new-pages .new-pg.next {
    width: 82px;
}

.new-pages .new-pg.disabled {
    background-color: #fff;
    color: #d0dde2;
    cursor: not-allowed;
}

.new-pages .new-pg.active {
    background-color: '#fff';
    border: none;
    color: #e55051;
}

.new-pages .new-pg.null {
    background-color: '#fff';
    border: none;
}

.new-pages .sum {
    line-height: 30px;
    padding: 0 20px;
}

.new-pages .page-num {
    width: 29px;
    line-height: 30px;
    border: 1px solid #e6e6e6;
    text-indent: 0;
    text-align: center;
}

.new-pages .goto-page {
    line-height: 28px;
    text-align: center;
    border: 1px solid #e5e5e5;
    background-color: #f6f6f6;
    margin-left: 8px;
}

.alert-tip {
    /*width: 420px;*/
    /*min-width: 150px;*/
    transform: translateX(-50%);
}


/* v7 */

.list-do {
    position: relative;
    overflow: hidden;
}

.list-do .brand {
    max-height: 120px;
    overflow: hidden;
    padding-right: 30px;
    position: relative;
}

.list-do .show-all {
    position: absolute;
    bottom: 22px;
    right: 10px;
    cursor: pointer;
    display: none;
}

.list-do .show-all span {
    padding-right: 16px;
    background: url('../images/arrow.png') no-repeat center right;
}

.list-do .hide-all {
    position: absolute;
    bottom: 22px;
    right: 10px;
    cursor: pointer;
    display: none;
}

.list-do .hide-all span {
    padding-right: 16px;
    background: url('../images/arrowf.png') no-repeat center right;
}

.pullOrDown {
    width: 100%;
    height: 30px;
    background-color: #e1e1e1;
    position: absolute;
    bottom: -30px;
    left: 0;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

.pullOrDown i.pullIcon,
.pullOrDown i.downIcon {
    display: none;
}

.goods-list.on {
    margin-top: 60px;
}

.category-list {
    margin-top: 30px;
    width: 100%;
    background-color: #fff;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.category-list li {
    line-height: 60px;
    font-size: 14px;
    float: left;
    margin-left: 40px;
}

.category-list li a {
    color: #000;
}
.category-list li a:hover {
    color: #ff3600;
}
.category-list li a.grey {
    color: #999;
    width: 56px;
    white-space: nowrap;
    overflow: hidden;
    height: 60px;
    display: inline-block;
    vertical-align: top;
    text-align: justify;
    text-justify: distribute-all-lines;
    text-align-last: justify;
}

.category-list li span.grey-code {
    display: inline-block;
    width: 20px;
    color: #ccc;
    text-align: center;
}

.category-list li a.red {
    color: #ff3600;
}


/* 有品类的添加这个类 */

.sel-list.on {
    margin-top: 0;
}
