/* pages/snapUpDetail/snapUpDetail.wxss */
clearfix::after {
  display: block;
  content: '';
  clear: both;
}
image {
  width: 100%;
  height: 100%;
}
.display {
  display: none;
}
.sub {
  font-size: 23rpx;
}

swiper {
  height: 500rpx;
  width: 100%;
  border-bottom: 2rpx solid #f8f8f8;
}

swiper image {
  height: 500rpx;
  width: 100%;
}

/* 倒计时栏 */
.countdown-box {
  width: 100%;
  height: 70rpx;
  line-height: 70rpx;
  background: #ff5352;
  color: #fff;
  padding: 0 30rpx;
  box-sizing: border-box;
}
.second-kill {
  font-size: 30rpx;
}
.countdown-content {
  float: right;
  font-size: 25rpx;
  height: 70rpx;
  line-height: 70rpx;
  text-align: left;
}
.countdown-tips {
  padding: 10rpx 0;
  font-size: 20rpx;
  opacity: 0.8;
  margin-right: 10rpx;
}
.countdown-time {
  font-size: 21rpx;
  padding-top: 5rpx;
}

/* 商品信息 */
.goods-msg {
  position: relative;
  box-sizing: border-box;
  padding: 20rpx;
  border-bottom: 20rpx solid #f9f8f8;
}
/* 分享按钮 */
.share-icon {
  position: absolute;
  display: block;
  width: 60rpx;
  height: 25rpx;
  right: 20rpx;
  top: 10rpx;
  text-align: center;
}
.share-icon > image {
  width: 25rpx;
  /* height: 5rxp; */
}
.share-text {
  font-size: 22rpx;
  color: #aaa;
}
.goods-title {
  font-size: 28rpx;
}
/* 价格 */
.goods-price {
  padding: 15rpx 0;
  border-bottom: 1px solid #f3f3f3;
}
.current-price {
  color: red;
  font-size: 30rpx;
  margin-right: 15rpx;
  vertical-align: middle;
}
.original {
  font-size: 23rpx;
  color: #bbb;
    margin-top: 15rpx;
}
.original-price {
  font-size: 23rpx;
  text-decoration: line-through;
  color: #bbb;
  margin-left: 10rpx;
}
/* 拼团价格 */
.condition {
  font-size: 23rpx;
  border: 1rpx solid red;
  padding: 4rpx 10rpx;
  border-radius: 8rpx;
  vertical-align: middle;
}

/* 运费&库存 */
.other-infor {
  font-size: 23rpx;
  color: #aaa;
  padding-top: 15rpx;
  text-align: left;
}
.inventory {
  margin-left: 9em;
}

/* 拼团详情 */
.spell-infor {
  display: block;
  border-bottom: 20rpx solid #f7f7f7;
  font-size: 28rpx;
  padding: 20rpx;
  background: #fff;
}
.spell-infor-title {
  font-size: 26rxp;
}
.spell-infor-content {
  position: relative;
  padding-top: 20rpx;
  padding-bottom: 20rpx;
  border-bottom: 1rpx solid #f2f2f2;
}
.head-img {
  display: inline-block;
  width: 70rpx;
  height: 70rpx;
  margin-right: 15rpx;
  vertical-align: bottom;
}
.head-img > image {
  width: 100%;
  height: 100%;
}
.spell-msg {
  display: inline-block;
  vertical-align: top;
  font-size: 24rpx;
}
.spell-text {
  padding-top: 10rpx;
  color: #aaa;
}
.red-font {
  color: red;
}
.join-group {
  position: absolute;
  right: 10rpx;
  bottom: 30rpx;
  color: red;
  border: 1rpx solid red;
  padding: 10rpx 15rpx;
  font-size: 24rpx;
}
.rules {
  position: relative;
  font-size: 25rpx;
  padding-top: 20rpx;
}
.rules-text02 {
  float: right;
  font-size: 23rpx;
  color: #aaa;
  padding-right: 30rpx;
}
.right-arrow {
  position: absolute;
  right: 5rpx;
  top: 20rpx;
  display: inline-block;
  width: 20rpx;
  height: 20rpx;
}

/* 选择颜色 */
.choose-color {
  position: relative;
  padding: 20rpx;
  font-size: 23rpx;
  border-bottom: 20rpx solid #f9f8f8;
}
.more-icon {
  position: absolute;
  right: 20rpx;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 20rpx;
  height: 20rpx;
}

/* 已选 */
.sku {
  position: relative;
  padding: 10rpx 20rpx;
  background: #fff;
  border-bottom: 20rpx solid #f7f7f7;
}
.sku-tit {
  display: inline-block;
  font-size: 23rpx;
  color: #999;
  vertical-align: middle;
}
.sku-con {
  display: inline-block;
  margin-left: 50rpx;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 28rpx;
  font-weight: bold;
  vertical-align: middle;
}
.more {
  position: absolute;
  right: 20rpx;
  width: 40rpx;
  line-height: 1em;
  top: 0;
  text-align: right;
  font-size: 40rpx;
  color: #999;
  letter-spacing: 1px;
  vertical-align: top;
}

/** 规格弹窗**/
.close {
  color: #aaa;
  border-radius: 12px;
  line-height: 20px;
  text-align: center;
  height: 20px;
  width: 20px;
  font-size: 18px;
  padding: 1px;
  top: 10px;
  right: 10px;
  position: absolute;
}

.close::before {
  content: "\2716";
}
.pup-sku {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.3);
}
.pup-sku-main {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-height: 375px;
  max-height: 475px;
  background-color: #fff;
}
.pup-sku-header {
  position: relative;
  line-height: 46px;
  padding-left: 10px;
  font-size: 16px;
  color: #333;
  height: 70px;
  padding: 0 0 10px 110px;
  background-color: #fff;
  border-bottom: 1rpx solid #f2f2f2;
}
.pup-sku-img {
  position: absolute;
  left: 10px;
  top: -20px;
  border-radius: 2px;
  width: 90px;
  height: 90px;
  border: 0 none;
  vertical-align: top;
}
.pup-sku-price {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  color: #e4393c;
  font-size: 10px;
}
.pup-sku-price-int {
  font-size: 16px;
}
.pup-sku-prop {
  word-break: break-all;
  font-size: 12px;
  color: #333;
  line-height: 1.4em;
  padding-right: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pup-sku-prop text {
  color: #999;
  margin-right: 5px;
}
.pup-sku-body {
  box-sizing: border-box;
  max-height: 379px;
  padding-bottom: 100px;
  overflow: auto;
}
.pup-sku-area .sku-kind {
  font-size: 12px;
  color: #999;
  margin: 0 10px;
  height: 40px;
  line-height: 40px;
}
.pup-sku-area .sku-choose {
  overflow: hidden;
  margin-bottom: 3px;
}
.sku-choose-item {
  display: inline-block;
  padding: 0 10px;
  min-width: 20px;
  max-width: 270px;
  overflow: hidden;
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin-left: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: #333;
  background-color: #f7f7f7;
  font-size: 14px;
}
.sku-choose-item.active {
  background-color: #eb2444;
  color: #fff;
}
.sku-choose-item.gray {
  background-color: #f9f9f9;
  color: #ddd;
}
.pup-sku-count {
  padding: 20rpx;
  font-size: 12px;
}
.pup-sku-count .count-name {
  color: #999;
  height: 31px;
  line-height: 31px;
  width: 100rpx;
}
.pup-sku-count .num-wrap {
  position: relative;
  z-index: 0;
  width: 110px;
  float: right;
  vertical-align: middle;
  display: flex;
}
.num-wrap .minus, .num-wrap .plus {
  position: relative;
  max-width: 30px;
  min-width: 30px;
  height: 30px;
  line-height: 30px;
  background: #f7f7f7;
  text-align: center;
}
.num-wrap .minus {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.num-wrap .plus {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.num-wrap .row {
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -7px;
  margin-top: -1px;
  width: 14px;
  height: 2px;
  background-color: #ccc;
}
.num-wrap .col {
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -1px;
  margin-top: -7px;
  width: 2px;
  height: 14px;
  background-color: #999;
}
.pup-sku-count .text-wrap {
  position: relative;
  width: 45px;
  z-index: 0;
  margin: 0 1px;
}
.pup-sku-count .text-wrap input {
  height: 30px;
  width: 100%;
  color: #333;
  background: #fff;
  font-size: 12px;
  text-align: center;
  border: none;
  background: #f7f7f7;
}
.pup-sku-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row nowrap;
  height: 98rpx;
  z-index: 999;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}
.pup-sku-footer .btn {
  position: relative;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  width: 0;
  background-color: #fff;
  font-size: 28rpx;
  flex-flow: column;
}
.pup-sku-footer .btn.cart {
  background: #fe8854;
  color: #fff;
}
.pup-sku-footer .btn.buy {
  background: #fe4443;
  color: #fff;
}
.promo-con{
  position: fixed;
  top:880rpx;
  right:40rpx;
}
.promo-con .earn{
  background:rgba(230, 55, 58,0.9);
  box-shadow: 1px 3px 6px rgba(0, 0, 0,0.5);
  color:#fff;
  border-radius: 50%;
  width:70rpx;
  height:70rpx;
  font-size: 30rpx;
  margin: auto;
  text-align: center;
  line-height: 70rpx;
}
/* sku规格 */




/* 店铺 */
.shop-box {
  position: relative;
  padding: 30rpx 20rpx;
  font-size: 28rpx;
  border-bottom: 1rpx solid #f2f2f2;
}
.shop-icon {
  display: inline-block;
  width: 50rpx;
  height: 50rpx;
  margin-left: 20rpx;
  margin-right:30rpx;
  vertical-align: middle;
}
.shop-name {
  vertical-align: middle;
}

/** 评价 */
.cmt-wrap {
  background: #fff;
  position: relative;
  line-height: 48rpx;
  margin-bottom: 150rpx;
}
.cmt-tit {
  font-size: 32rpx;
  position: relative;
  border-bottom: 1px solid #ddd;
  padding: 15rpx 20rpx;
}
.cmt-t {
  width: 300rpx;
  font-size: 28rpx;
}
.cmt-good {
  color: #eb2444;
  font-size: 24rpx;
}
.cmt-count {
  position: absolute;
  right: 20rpx;
  top: 20rpx;
  font-size: 24rpx;
  color: #666;
}
.cmt-more {
  width: 20rpx;
  height: 20rpx;
  border-top: 2rpx solid #999;
  border-right: 2rpx solid #999;
  transform: rotate(45deg);
  margin-left: 10rpx;
  display: inline-block;
}
.cmt-cont {
  padding: 0 20rpx;
}
.cmt-tag {
  position: relative;
  padding-top: 10rpx;
  margin: 0;
}
.cmt-tag text {
  margin: 0 10px 10px 0;
  background: #fdf0f0;
  display: inline-block;
  padding: 0 10px;
  height: 25px;
  border-radius: 3px;
  line-height: 25px;
  font-size: 12px;
  font-family: -apple-system, Helvetica, sans-serif;
  color: #666;
}
.cmt-tag text.selected {
  color: #fff;
  background: #e93b3d;
}
.cmt-item {
  position: relative;
  padding: 10px 0;
}
.cmt-item::after {
  content: "";
  height: 0;
  display: block;
  border-bottom: 1px solid #ddd;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  right: -10px;
  border-bottom-color: #e5e5e5;
}
.cmt-user {
  line-height: 25px;
  margin-bottom: 8px;
  font-size: 12px;
}
.cmt-user-info {
  display: flex;
  align-items: center;
  width: 400rpx;
}
.cmt-user .user-img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  vertical-align: middle;
}
.cmt-user .nickname {
  margin-left: 10px;
  display: inline-block;
  color: #333;
  max-width: 8.2em;
  height: 25px;
  line-height: 27px;
}
.cmt-user .stars {
  display: flex;
  margin-left: 3px;
}
.cmt-user .stars image {
  width: 35rpx;
  height: 35rpx;
}
.cmt-user .date {
  float: right;
  color: #999;
  margin-left: -60px;
}
.cmt-cnt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  position: relative;
  line-height: 1.5;
  font-size: 14px;
  margin: 5px 0;
  word-break: break-all;
  max-height: 126px;
}
.cmt-attr {
  height: 85px;
  width: 100%;
  white-space: nowrap;
}
.cmt-attr .img-wrap {
  width: 85px;
  height: 85px;
  display: inline-block;
}
.cmt-attr image {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 2px;
  background: #f3f3f3;
}
.cmt-more-v {
  text-align: center;
  background-color: #fff;
  font-size: 12px;
}
.cmt-more-v text {
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  text-align: center;
  color: #333;
  padding: 0px 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 40px;
  display: inline-block;
}

/** 评价弹窗 */
.cmt-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background-color: #fff;
  padding-bottom: 98rpx;
}
.cmt-popup .cmt-cont {
  height: calc(100% - 80rpx);
  overflow: auto;
}
.cmt-popup .cmt-cnt {
  -webkit-line-clamp: 20;
  max-height: 500px;
}
.cmt-reply {
  font-size: 14px;
  border-top: 1px dashed #ddd;
  padding: 5px 0;
}
.cmt-reply .reply-tit {
  color: #eb2444;
}
.cmt-popup .load-more {
  font-size: 14px;
  padding: 20px;
  text-align: center;
  margin-bottom: 10px;
}
.cmt-popup .load-more text {
  border: 1px solid #ddd;
  padding: 5px 10px;
  border-radius: 10px;
  color: #666;
}


/** 商品详情 */
.prod-detail {
  background: #fff;
  margin-top: 20rpx;
  position: relative;
  line-height: 48rpx;
  margin-bottom: 150rpx;
}
.det-tit {
  width: 300rpx;
}
.detail-tit {
  font-size: 32rpx;
  position: relative;
  border-bottom: 1px solid #ddd;
  padding: 20rpx;
}
.prod-detail image {
  width: 750rpx !important;
  display: block;
}
rich-text image {
  width: 100% !important;
}
img {
  width: 100% !important;
  display: block;
}
/** end 商品详情 */


/** 底部按钮 */
.foot-box {
  margin-top: 100rpx;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  height: 90rpx;
  background: #fff;
  box-shadow: 10rpx 0 10rpx 0 #f0f0f0;
}
.foot-btn {
  display: inline-block;
  width: 125rpx;
  font-size: 20rpx;
  color: #666;
  text-align: center;
  padding-top: 8rpx;
  background: #fff;
}
.foot-btn > image {
  display: block;
  width: 50rpx;
  height: 50rpx;
  margin: 0 auto;
}
.buy-btn {
  display: inline-block;
  font-size: 30rpx;
  height: 90rpx;
  line-height: 95rpx;
  vertical-align: top;
  width: 33.3%;
  color: #fff;
  text-align: center;
}
.alone-buy {
  background: #fe8854;
}
.group-buy {
  background: #fe4443;
}

/* 购物车数量显示 */
.cart-footer .btn .badge {
  position: absolute;
  top: 20rpx;
  left: 62rpx;
  display: inline-block;
  width: 28rpx;
  height: 28rpx;
  border-radius: 14rpx;
  background-color: #eb2444;
  text-align: center;
  line-height: 28rpx;
  font-size: 18rpx;
  color: #fff;
}
.cart-footer .btn .badge-1 {
  width: 36rpx;
}
.cart-footer .btn .badge-2 {
  width: 48rpx;
  left: 52rpx;
}
/** end  底部按钮 */




/* 弹框 */
/*模态框*/ 
.modals{
	position:fixed; 
	z-index: 999; 
	top:0; 
	left: 0; 
	right:0; 
	bottom: 0;
} 
.modals-cancel{
	position:absolute; 
	z-index:190; 
	top:0; left: 0; 
	right:0; 
	bottom: 0; 
	background-color: rgba(0,0,0,.5);
} 
.bottom-dialog-body{
	position:absolute; 
	z-index:200; 
	bottom:0; 
	left:0; 
	right:0; 
	height:auto; 
	background-color: #fff;
} 
/*动画前初始位置*/ 
.bottom-pos{
	-webkit-transform:translateY(100%);
	transform:translateY(100%);
}
/* 上部内容 */
.top-content {
  position: relative;
  border-bottom: 1px solid #f2f2f2;
  font-size: 26rpx;
  padding: 15rpx;
}
.top-content-img-box {
  display: inline-block;
  width: 120rpx;
  height: 120rpx;
  background: #f2f2f2;
  vertical-align: middle;
}
.top-content-img-box > image {
  width: 100%;
  height: 100%;
}
.goods-msg-box {
  display: inline-block;
  width: 65%;
  margin-left: 20rpx;
  vertical-align: middle;
}
.goods-names {
  color: #000;
  width: 85%;
  padding-bottom: 5rpx;
}
.group-tips {
  font-size: 20rpx;
  color: #fd3852;
  padding: .3em 0;
  padding-top: 0;
}
.goods-prices {
  font-size: 23rpx;
  color: #fd3852;
  margin-top: 5rpx;
}
.spell-group-price {
  font-size: 20rpx;
  color: #ff4444;
}
.rmb-symbol {
  font-size: 27rpx;
}
.close-btn {
  position: absolute;
  display: block;
  right: 20rpx;
  top: 20rpx;
  width: 35rpx;
  height: 35rpx;
  /* background: url('../../images/icon/close.png');
  background-size: 100% 100%; */
  z-index: 250;
}
.close-btn > image {
  width: 100%;
  height: 100%;
}

/* 颜色选择 */
.choose-color-box {
  padding: 15rpx;
  font-size: 25rpx;
  border-bottom: 1px solid #f2f2f2;
}
.color-txt {
  margin-bottom: 15rpx;
}
.color-box {
  display: block;
  box-sizing: border-box;
  padding: 8rpx 0;
}
.color-item {
  padding: 6rpx 18rpx;
  border-radius: 8rpx;
  margin-right: 10rpx;
  vertical-align: bottom;
  background: #ddd;
  color: #fff;
  letter-spacing: 5rpx;
}
.color-item-current {
  background: #ff4444;
  color: #fff;
  border-color: #ff4444;
}


/* 数量选择 */
.quantity {
  position: relative;
  padding: 1em;
  font-size: 25rpx;
  border-bottom: 1px solid #f2f2f2;
}
.left-text {
  line-height: 1.5em;
}
.left-text-bottom {
  font-size: 23rpx;
  color: #bbb;
}
/* choose-quantity */
.right-choose {
  position: absolute;
  right: 1em;
  top: 1em;
}
.subtract,
.show-num,
.add {
  display: inline-block;
  background: #f5f5f5;
  color: #cfcfcf;
  padding: 7rpx 18rpx;
}
.show-num {
  margin: 0 3rpx;
}
.add {
  padding: 7rpx 12rpx;
}
.current-state {
  background: #ebebeb;
  color: #6d6d6e;
}

/* 确认按钮 */
.confirm-btn {
  width: 100%;
  font-size: 27rpx;
  padding: .8em 0;
  color: #fff;
  background: #ff4444;
  text-align: center;
  margin-top: .5em;
  margin-bottom: 200rpx;
  position: fixed;
  bottom: 0;
}
/* 底部弹框end */