@import "wxss/big-style.wxss";
@import "wxss/detail-style.wxss";
@import "wxss/small-style.wxss";
@import "wxss/three-style.wxss";

/* 基本样式 */
.sc-goods__item {
  display: block;
  position: relative;
  min-height: 100px;
  color: #333;
  background-color: #fff;
  box-sizing: border-box;
}

.sc-goods__item.card2 {
  border: 1rpx solid #e5e5e5;
  border-radius: 4px;
  z-index: 1;
}

.sc-goods__item.card2 .sc-goods__photo {
  border-radius: 4px 4px 0 0;
}

.sc-goods__item.card2 .sc-goods__corner-mark--0,
.sc-goods__item.card2 .sc-goods__corner-mark--2 {
  border-radius: 4px 0 0 0
}

.sc-goods__item.card2.sc-goods__item--detail .sc-goods__photo {
  border-radius: 4px 0 0 4px
}

.sc-goods__photo {
  text-align: center;
  overflow: hidden;
  position: relative;
  min-height: 100px;
  max-height: 500px;
  z-index: 0;
}

.sc-goods__photo--soldout::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-image: url(https://img.yzcdn.cn/public_files/2017/11/20/fab60eb5be80315a6dd19f91fbd1dca9.png);
  background-color: rgba(0, 0, 0, 0.3);
  background-position: center;
  background-repeat: no-repeat;
}

.sc-goods__photo > image {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  vertical-align: bottom;
  width: 100%;
  height: auto;
}

.sc-goods__info {
  position: relative;
  overflow: hidden;
}

.sc-goods__info .title {
  font-size: 14px;
  line-height: 18px;
  overflow: hidden;
}

.sc-goods__info .sub-title {
  font-size: 12px;
  line-height: 16px;
  color: #999;
  margin-bottom: 8px;
}

/*.sc-goods__info .price {
  color: #f44;
  font-size: 16px;
  line-height: 1;
}*/

.sc-goods__info .price {
  color:#f44;
  font-size:16px;
  line-height:24px;
}
.sc-goods__info .price .rmb{
  font-size:14px;
}
