.yfs-cd-bar {
  width: 100%;
  height: 52rpx;
  line-height: 56rpx;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  border-bottom: 4rpx solid #4efbff;
  padding-right: 28rpx;
  .yfs-cd-main {
    position: relative;
    width: 434rpx;
    height: 52rpx;
    font-family: ysbth;
    background: #4efbff;
    font-size: 30rpx;
    color: #000000;
    text-align: center;
    line-height: 56rpx;

    &::after {
      content: "";
      position: absolute;
      left: 100%;
      width: 0;
      height: 0;
      overflow: hidden;
      border-style: solid;
      border-color: transparent transparent transparent #4efbff;
      border-width: 54rpx 0 0 26rpx;
    }
    .yfs-cd-time {
      margin-left: 34rpx;
    }
  }
}

.popup-buy {
  padding: 24rpx;
  position: relative;
  background-color: #fff;
  .title {
    height: 44rpx;
    font-size: 32rpx;
    font-weight: 500;
    color: #505050;
    line-height: 44rpx;
    margin-bottom: 18rpx;
    display: block;
  }
  .close {
    width: 32rpx;
    height: 32rpx;
    position: absolute;
    right: 24rpx;
    top: 24rpx;
  }
  .detail {
    display: flex;
    margin-bottom: 40rpx;
    .cover {
      width: 232rpx;
      height: 232rpx;
      margin-right: 22rpx;
    }
    .body {
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: space-between;
    }
    .detail-name {
      display: block;
      font-size: 28rpx;
      font-weight: 500;
      color: #505050;
      line-height: 40rpx;
    }
    .bottom {
      .color {
        height: 46rpx;
        font-size: 28rpx;
        font-weight: bold;
        color: #08c2c3;
        font-family: unidreamledregular, Helvetica Neue, Helvetica, Arial,
          Hiragino Sans GB, Hiragino Sans GB W3, Microsoft YaHei UI,
          Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
        .big {
          font-size: 36rpx;
          font-weight: normal;
          margin-left: 4rpx;
        }
      }
      .tips {
        display: flex;
        height: 34rpx;
        font-size: 24rpx;
        font-weight: 500;
        color: #9496a5;
        line-height: 34rpx;
        justify-content: space-between;
        .big {
          font-size: 28rpx;
          font-weight: 500;
          color: #08c2c3;
        }
      }
    }
  }
  .line-wrap {
    border-top: 2rpx solid #efefef;
    padding: 16rpx 0;
    align-items: center;
    font-size: 28rpx;
    font-weight: 500;
    line-height: 28rpx;
    color: #292d3b;
    .line {
      min-height: 72rpx;
      display: flex;
      justify-content: space-between;
      align-items: center;
      &.disabled {
        color: #9496a5;
      }
      .label-icon {
        width: 32rpx;
        height: 32rpx;
        margin-right: 18rpx;
      }
      .label {
        display: flex;
        align-items: center;
        .checkbox {
          margin-right: 8rpx;
        }
        .small {
          font-size: 24rpx;
          font-weight: 400;
          color: #9496a5;
        }
      }
      .line-body {
        width: 0;
        flex: 1;
        font-size: 24rpx;
        color: #292d3b;
      }
      .right {
        display: flex;
        align-items: center;
        .more {
          width: 24rpx;
          height: 24rpx;
          margin-left: 8rpx;
        }
        &.color {
          color: #08c2c3;
        }
      }
    }
    .score-switch {
      width: 100rpx;
      transform: scale(0.76);
      transform-origin: 100% 50%;
    }
    &.agreement {
      border: 0;
      padding: 0 24rpx;
      background: #f9f9f9;
      margin: 0 -24rpx;
    }
    &.integral {
      padding: 24rpx 24rpx;
      margin: 0 -24rpx;
      border-top: 20rpx solid #f9f9f9;
    }
    .integral-title {
      height: 44rpx;
      font-size: 32rpx;
      font-weight: 500;
      color: #292d3b;
      line-height: 44rpx;
      display: flex;
      align-items: center;
    }
    .integral-desc {
      margin-top: 14rpx;
      line-height: 48rpx;
      font-size: 28rpx;
      font-weight: 400;
      color: #888888;
      display: flex;
      align-items: center;
      .big {
        font-size: 34rpx;
        font-weight: 500;
        color: #000000;
      }
    }
    .icon-help {
      width: 30rpx;
      height: 30rpx;
      margin-left: 6rpx;
    }
    .icon-edit {
      width: 32rpx;
      height: 32rpx;
      margin-left: 12rpx;
    }
  }
  .checkbox {
    box-sizing: border-box;
    width: 32rpx;
    height: 32rpx;
    border: 2rpx solid #08c2c3;
    background-color: #fff;
    border-radius: 100%;
    &.disabled {
      border: 2rpx solid #9496a5;
    }
    &.checked {
      background: url(@/assets/icon/icon-checked.png) no-repeat;
      background-size: contain;
      border: none;
    }
  }
  .pay-footer {
    margin-top: 16rpx;
    display: flex;
    justify-content: space-between;
    .text {
      font-size: 28rpx;
      font-weight: 500;
      color: #292d3b;
      .color {
        font-size: 36rpx;
        color: #08c2c3;
        font-weight: bold;
        font-family: unidreamledregular, Helvetica Neue, Helvetica, Arial,
          Hiragino Sans GB, Hiragino Sans GB W3, Microsoft YaHei UI,
          Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
        &.big {
          font-size: 48rpx;
          font-weight: normal;
          margin-left: 6rpx;
        }
      }
    }
    .btn {
      width: 220rpx;
      height: 80rpx;
      line-height: 80rpx;
      border-radius: 0;
      margin: 0;
      padding: 0;
      font-size: 32rpx;
      font-weight: 500;
      background: #08c2c3;
      color: #292d3b;
      &.btn-gray {
        background: #9496a5;
        color: #e4e8ff;
      }
      &::after {
        display: none;
      }
    }
  }
  .coupon-list {
    max-height: 1000rpx;
    overflow: auto;
  }
}
