﻿html, body {
    width: 100%;
    height: 100%;
}
.goods {
    padding: 10px;
    box-sizing: border-box;    
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: 0 0 40rpx #f4f4f4 inset;
}
.goods ul {
    width: 100%;
    overflow: hidden;
}
.goods ul li {
    width: 49%;
    box-shadow: 0px 0px 10px #cc9e6b;
    background: #ffffff;
    -webkit-border-radius: 0.14rem;
    -moz-border-radius: 0.14rem;
    border-radius: 0.14rem;
    overflow: hidden;
    margin-bottom: 10px;
    animation: fadeIn 1s;
}
.goods ul li:nth-child(2n+1) {
    float: left;
}
.goods ul li:nth-child(2n) {
    float: right;
}

.goods-cover, .goods-cover-img {
    width: auto;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.goods-images-top {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 26px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
    text-align: center;
    overflow: hidden ;
    text-overflow: ellipsis;
    white-space: nowrap ;
    line-height: 26px;
    background-color: rgba(105,105,105, 0.4);
    color: #fff;
}

.goods-images-middle {
    box-sizing: border-box;
    display: block;
    background: url('../assets/images/soldOut.png') no-repeat top left;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-size: 100% auto;
}

.goods-sellout-img{
    opacity:0.4
}
.goods-cover {
    width: 100%;
    padding: 6px 0px;
    position: relative;
    height: 4.7rem;
    font-size: 0px;
}

.goods-intro {
   height: 2.4rem;
   background-color: rgba(51,51,51, 0.6);
}

.goods-title {
    color: #fff;
    height: 1rem;
    line-height: 1rem;
    overflow: hidden ;
    text-overflow: ellipsis;
    white-space: nowrap ;
    text-align: center;
    padding: 0px 5px;
    font-size: 0.6rem;
}
.goods-stock{
    font-size: 0.28rem;
    color: #fff;
    text-align: center;
    /*height: 0.9rem;
    line-height: 0.9rem;*/
}
.goods-price {
    font-size: 0.74rem;
    color: #fff;
    text-align: center;
    height: 1.1rem;
    line-height: 1.1rem;
}
.goods-price i {
    font-size: 0.53rem;
}

.offline{
    text-align:center;position:relative;
    background-color:#fff;
    width: 100%;
    height: 100%;
    display:flex;
    flex-direction:column;
    padding-top:35%;
    /*justify-content:center;*/
    align-items:center;
    color:#45d687;
}
   
.offline-bgbox{
    width: 344px;
    height: 241px;
    background: url(../assets/images/offline.png) no-repeat;
    background-size:  auto 100%;
}
.offline-text{
    display: block;
    font-size: 0.6rem;
    text-align: center;
    margin-top: 0.5rem
}
.note{text-align: center;font-size: 0.4rem;margin-top: 0.1rem}
.offline .buttonscan{background: #0099ff;color: #fff;}
.buttonscan{left:28%;top:54%;position:absolute;width: 2.3rem;height: 0.8rem;border-radius: 0.15rem;text-align: center;line-height: 0.8rem;display: block;margin:0 auto;font-size: 0.3rem;margin-top: 0.6rem}
.zan-badge{position:relative}.zan-badge__count{position:absolute;bottom:20px;right:0;height:1.6em;min-width:1.6em;line-height:1.6;padding:0 .4em;font-size:20px;border-radius:.8em;background:#f44;color:#fff;text-align:center;white-space:nowrap;transform:translateX(50%) scale(.5);transform-origin:center;z-index:10;box-shadow:0 0 0 2px #fff;box-sizing:border-box}
.zan-badge__count-ext{
    height:2rem;min-width:2.8rem;line-height:2rem;font-size:1.2rem;
}
.goods-detail {
    padding: 20px 30px;
    width: 100%;

    animation: fadeIn 1s;
}
.swiper-container {
    width: 100%;
    box-shadow: 0px 0px 10px #cc9e6b;
}
.swiper-slide {
    background: #ffffff;
    height: 100%;
    overflow: hidden;
}
.goods-detail-top {
    background-color: rgba(51,51,51, 0.6);
    overflow: hidden;
    text-align:center;
    padding: 15px 0px;
}
.goods-detail-img {
    padding-top: 25px;
    height: 11.08rem;
}
.goods-detail-img img {
    margin: 0 auto;
    display: block;
    width: auto;
    height: 100%;

}
.btn-success{color:#fff;background-color:#45d687;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#45d687;border-color:#255625}.btn-success:hover{color:#fff;background-color:#45d687;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#45d687;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#45d687;border-color:#4cae4c}.btn-success .badge{color:#45d687;background-color:#fff}
.btn-buy-primary {
    display: block;
    margin: 0.6rem auto;
    width: 51%;
    font-size:0.8rem;
    text-align: center;

}
.pager-ext{
    margin-bottom: 4px;
    margin-left: 6px;
    margin-right: 6px;
}
.pager-ext li>a {
    border-radius:4px;
    padding-left:6px;
    padding-right:6px;
    width : 100px;
    overflow: hidden ;
    text-overflow: ellipsis;
    white-space: nowrap ;
}
.label-inverse,
.label.label-inverse,
.badge.badge-inverse,
.badge-inverse {
  background-color: #333333;
}
.label.arrowed,
.label.arrowed-in {
  position: relative;
  z-index: 1;
}
.label.arrowed:before,
.label.arrowed-in:before {
  display: inline-block;
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  border: 1px solid transparent;
  border-right-color: #abbac3;
  -moz-border-right-colors: #abbac3;
}
.label.arrowed-in:before {
  border-color: #abbac3;
  border-left-color: transparent;
  -moz-border-left-colors: none;
}
.cnt-strip {
    position: relative;
}
.cnt-strip .new-label {
    background: url("../assets/images/label.png") no-repeat scroll right top;
    height: 72px;
    position: absolute;
    left: -1px;
    top: -1px;
    width: 72px;
    z-index: 999;
}
.cnt-strip .new-label .text {
    color: #fff;
    font-family: 'Open Sans', sans-serif, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 22px;
    left: -13px;
    position: absolute;
    text-align: center;
    top: 14px;
    -ms-transform: rotate(-43deg);
    letter-spacing:1px;
    /* IE 9 */
    -webkit-transform: rotate(-43deg);
    /* Chrome, Safari, Opera */
    transform: rotate(-43deg);
    width: 100%;
}
.succ-icon{
    margin: 0 auto;margin-top: 12%;color:#fff;background-color:#45d687;display: flex;
    justify-content:center;align-items:Center;font-size: 6em;width: 88px;height: 88px;border-radius: 50%;
}
.succ-text {
    text-align: center; font: normal 2.2em 'Microsoft YaHei'; font-weight: bold;color: #45d687;height: 40px;line-height: 40px;
}