/* pages/coupon/coupon.wxss */
.coupon_page .coupon_box {
  padding: 0 20rpx;
  background-color: #fafafa;
}

.coupon_page .coupon_box view {
  word-break: normal;
}

.coupon_page .coupon_box .coupon_bg_box {
  padding: 20rpx 0;
  display: flex;
  overflow: hidden;
  overflow-x: auto;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg {
  background: #f74546;
  border-radius: 8rpx;
  margin-right: 36rpx;

  /* min-width: 336rpx; */
  height: 150rpx;
  background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/coupon_font.png");
  background-repeat: no-repeat;
  background-size: 128rpx;
  background-position: 0 0;
  position: relative;
  display: inline-table;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg .coupon_info {
  text-align: center;
  min-width: 336rpx;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg .coupon_info .li:first-child {
  padding: 20rpx 20rpx 0 48rpx;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  font-size: 32rpx;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg .coupon_info .li:first-child .font {
  font-weight: bold;
  font-size: 62rpx;
  line-height: 60rpx;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg .coupon_info .li:first-child .font .span {
  font-weight: normal;
  font-size: 32rpx;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg .coupon_info .li:first-child .receive {
  line-height: 40rpx;
  display: block;
  width: 112rpx;
  height: 40rpx;
  background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/coupon_receive.png");
  background-size: 112rpx 40rpx;
  background-repeat: no-repeat;
  font-size: 24rpx;
  color: #f15353;
  margin-left: 20rpx;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg .coupon_info .li:last-child {
  width: 100%;
  border-top: dashed 1px #fff;
  line-height: 40rpx;
  text-align: center;
  position: absolute;
  bottom: 0;
  font-size: 24rpx;
  color: #fff;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg .spare_left {
  width: 16rpx;
  height: 16rpx;
  background-color: #fafafa;
  border-radius: 8rpx;
  position: absolute;
  left: -8rpx;
  bottom: 32rpx;
}

.coupon_page .coupon_box .coupon_bg_box .coupon_bg .spare_right {
  width: 16rpx;
  height: 16rpx;
  background-color: #fafafa;
  border-radius: 8rpx;
  position: absolute;
  right: -8rpx;
  bottom: 32rpx;
}
