/* shoppingGuid/page/pages/home/home.wxss */
page{
  background: rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding-top: 75rpx;
}

/* *,*::after,*::before{
  box-sizing: border-box;
} */
.no-list {
  font-size: 24rpx;
  text-align: center;
  color: #333333;
  padding: 50rpx 0;
}
view{
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}


/* 主要布局 */
.main-container{
  width: 100%;
  height: auto;
  padding: 30rpx;
}

.main-container .header{
  font-size: 28rpx;
  color: #333333;
  font-weight: bold;
  margin-bottom: 30rpx;
}

.status-bar{
  width: 100%;
  height: 75rpx;
  position: fixed;
  background: #ffffff;
  padding-right: 120rpx;
  top: 0;
  left: 0;
  z-index: 2;
}

.status-bar .status-items{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 30rpx;
}

.status-bar .status-items .status-bar-item{
  height: 50rpx;
  width: auto;
  padding: 8rpx 20rpx;
  display: flex;
  align-items: center;
  transition: all 0.3s;
  font-size: 24rpx;
  margin-right: 10rpx;
}

.status-bar .status-items .status-bar-item.active{
  background: #ffffff;
  color: rgb(0,145,255);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 10px 0px rgba(0, 145, 255, 0.26);
  font-weight: bold;
}

.status-bar .more-data{
  position: absolute;
  width: 120rpx;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 24rpx;
  color: #999999;
  top: 0;
  right: 0;
}

.status-bar .more-data:active{
  opacity: 0.7;
}

.status-bar .more-data image{
  width: 24rpx;
  height: 24rpx;
}

/* 优惠券 */
.coupons{
  width: 100%;
}

.coupons .coupon-item{
  width: 100%;
  height: 180rpx;
  /* background: #ffffff; */
  display: flex;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 10rpx;
}

.coupons .coupon-item .coupon-item-lf{
  flex: 0;
  min-width: 180rpx;
  max-width: 180rpx;
  height: 180rpx;
  padding: 20rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #999999 ;
  font-size: 22rpx;
  justify-content: center;
}

.coupons .coupon-item .coupon-item-lf image{
  width: 60rpx;
  height: 60rpx;
  margin-bottom: 8rpx;
}

.coupon-price{
  margin-bottom: 6rpx;
}

.coupon-price text{
  font-size: 38rpx;
  font-weight: bold;
}

.coupons .coupon-item .coupon-item-rg{
  flex: 1;
  padding: 30rpx;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.coupons .coupon-item .coupon-item-rg .qrcode{
  position: absolute;
  right: 30rpx;
  top: 30rpx;
  width: 40rpx;
  height: 40rpx;
}

.coupons .coupon-item .coupon-item-rg .qrcode image{
  width: 100%;
  height: 100%;
  display: block;
}

.coupons .coupon-item .coupon-item-rg .coupon-title{
  font-size: 24rpx;
  color: #333333;
  font-weight: bold;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.coupons .coupon-item .coupon-item-rg  .op{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.coupons .coupon-item .coupon-item-rg  .op .text-btn{
  flex: 1;
  font-size: 24rpx;
}

.goods-share{
  flex: 0;
  min-width: 220rpx;
  max-width: 220rpx;
  height: 52rpx;
  border: solid 2rpx #ff3333;
  border-radius: 26rpx;
  display: flex;
  font-size: 22rpx;
}

.goods-share .send-coupon{
  flex: 0;
  min-width: 50%;
  max-width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.goods-share .send-coupon:first-child{
  color: #FA6400;
}

.goods-share .send-coupon:first-child:active{
  opacity: 0.7;
}

.goods-share .send-coupon:last-child:active{
  opacity: 0.7;
}

.goods-share .send-coupon:last-child{
  color: #ffffff;
  background: #ff3333;
  border-top-right-radius: 26rpx;
  border-bottom-right-radius: 26rpx;
}


.mg-b-40{
  margin-bottom: 40rpx;
}


/* 分享 */
.bg{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
}

.share-container{
  position: fixed;
  width: 100%;
  height: 200rpx;
  background: #ffffff;
  bottom: 0;
  left: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-around;
  transition: all 0.3s;
  transform: translateY(100%);
}

.share-container button{
  appearance: none;
  background: transparent;
  border: none !important;
  -webkit-appearance: none;
  color:#333333;
}

.share-container button::after { border: none; }

.sliderUp{
  transform: translateY(0) !important;
}

.share-container .share-item{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.share-container .share-item image{
  width: 80rpx;
  height: 80rpx;
  margin-bottom: 5rpx;
}
