/* packageC/CouponExchange/index.wxss */

.CouponExchange .coupon_voucher_main {
  position: relative;
  padding-left: 6.375rem;
  margin: 0.625rem 0.625rem 0.5rem;
  height: 6.875rem;
  box-sizing: border-box;
  border-radius: 10px;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_left {
  position: absolute;
  top: 0;
  left: 0;
  width: 6.375rem;
  height: 100%;
  color: #fff;
  border-radius: 0.25rem 0 0 0.25rem;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_left .coupon_voucher_amount {
  position: relative;
  font-size: 1.875rem;
  line-height: 2rem;
  margin-bottom: 0.625rem;
  width: 100%;
  display: inline-block;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_left .deductClass::before {
  content: "\00A5";
  font-size: 16px;
  display: inline-block;
  vertical-align: text-top;
  margin-right: 0.1875rem;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_left .coupon_voucher_limit {
  font-size: 12px;
  width: 100%;
  display: inline-block;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_hr {
  position: absolute;
  top: 0;
  left: 6.0625rem;
  width: 0.375rem;
  overflow: hidden;
  height: 100%;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_hr::after {
  box-sizing: border-box;
  position: absolute;
  top: -0.1875rem;
  right: -0.1875rem;
  bottom: 0;
  content: "• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •";
  line-height: 0.625rem;
  width: 0.4375rem;
  color: #f8fbfb;
  font-size: 18px;
  overflow: hidden;
  z-index: 1;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_right {
  box-sizing: border-box;
  padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem;
  height: 100%;
  border-radius: 0 0.25rem 0.25rem 0;
  background-color: #f8fbfb;
  color: #666;
  width: 100%;
  position: relative;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_right .coupon_voucher_range {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-size: 14px;
  text-align: left;
  color: #333;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_right .coupon_voucher_name {
  text-align: left;
  margin-top: 0.625rem;
  overflow: hidden;
  text-overflow: ellipsis; /* 超出部分显示省略号 */
  white-space: nowrap; /* 规定段落中的文本不进行换行 */
}

.CouponExchange .coupon_voucher_main .coupon_voucher_right .coupon_voucher_range1 {
  position: absolute;
  bottom: 0.625rem;

  /* right: 7rem; */
  font-size: 14px;
  text-align: left;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_right .coupon_voucher_range1 span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  /* -webkit-line-clamp: 2; */
  width: 8.5rem;
  display: inline-block;

  /* background-color: #f15353; */
  color: #8c8c8c;
  padding: 0.25rem;

  /* border-radius: 0.625rem; */
}

.CouponExchange .coupon_voucher_main .coupon_voucher_right .coupon_voucher_range1 i:first-child {
  font-size: 14px;
  margin-left: 6px;
}

.CouponExchange .coupon_voucher_main .coupon_voucher_right .coupon_voucher_range1 i:last-child {
  font-size: 14px;
}

.CouponExchange .coupon_voucher_left {
  background-color: #ffb84c;
}

.CouponExchange .time {
  position: fixed;
  width: 100%;
  padding: 0 1rem;
  bottom: 3rem;
  height: 2.75rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: solid 0.0625rem #ebebeb;
  background: #fff;
}

.CouponExchange .time .time_a,
.CouponExchange .time .time_c {
  font-size: 16px;
  font-weight: bold;
}

.CouponExchange .time .time_a span,
.CouponExchange .time .time_c span {
  font-size: 12px;
  margin-left: 0.375rem;
  color: #333;
  font-weight: normal;
}

.CouponExchange .time .time_b span {
  font-size: 13px;
  border: solid 0.0625rem #ebebeb;
  border-radius: 1rem;
  padding: 0.125rem 0.625rem;
}

.CouponExchange .btn {
  position: fixed;
  bottom: 0;
  background: #fff;
  display: flex;
  width: 100%;
  height: 3rem;
  line-height: 3rem;
  font-size: 14px;
}

.CouponExchange .btn .btn-left {
  flex: 1;
  text-align: right;
  padding-right: 2rem;
  color: #666;
}

.CouponExchange .btn .btn-right {
  font-size: 16px;
  flex: 0 0 7rem;
  background: #ff5d5c;
  color: #fff;
  text-align: center;
}

.CouponExchange .addBtn {
  position: absolute;
  bottom: 0.625rem;
  right: 0.625rem;
  display: flex;
}

.CouponExchange .addBtn .iconfont {
  width: 1.75rem;
  height: 1.75rem;
  line-height: 1.75rem;
  font-size: 26px;
  color: #f15353;
}

.CouponExchange .addBtn .icon-store_reduceLine {
  color: #aaa;
}

.CouponExchange .addBtn input {
  line-height: 1.75rem;
  width: 2rem;
  text-align: center;
  font-size: 12px;
  border: none;
}
