.page-discount-detail {
  .banner {
    width: 650rpx;
    height: 240rpx;
    border-radius: 10rpx;
    overflow: hidden;
    padding: 20rpx 30rpx;
    margin: 20rpx;
    position: relative;
    display: flex;
    align-items: center;
    .bg {
      position: absolute;
      top: 0;
      bottom: 0;
      right: 0;
      left: 0;
      font-size: 0;
    }
    .text-box {
      position: relative;
      color: #fff;
      .time {
        display: flex;
        align-items: center;
        .text {
          margin-right: 10rpx;
        }
        .number {
          min-width: 28rpx;
          padding: 0 4rpx;
          height: 32rpx;
          text-align: center;
          line-height: 32rpx;
          border-radius: 6rpx;
          font-size: 20rpx;
          background: rgba(0,0,0,.5);
        }
        .colon {
          margin: 0 6rpx;
          font-family: PingFangSC-Medium, tahoma;
        }
      }
      .discount-name {
        margin-top: 40rpx;
        font-size: 38rpx;
        font-weight: 600;
        word-break: break-word;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .shop-name {
        display: flex;
        align-items: center;
        margin-top: 20rpx;
      }
    }
  }
  /* 筛选栏 */
  .sortbar {
    position: relative;
    margin: 0 20rpx;
    height: 88rpx;
    line-height: 88rpx;
    display: flex;
    align-items: center;
    background: #fff;
    box-sizing: border-box;
    border-radius: 10rpx;
    transition: transform 0.5s ease 0s;
    .item {
      flex: 1;
      text-align: center;
      font-size: 26rpx;
      position: relative;
      &.active {
        color: #fc1b35;
        font-weight: 600;
      }
      &.arrow-up::after,&.arrow-down::after {
        position: absolute;
        left: 50%;
        margin-left: 32rpx;
        transform: translateY(-50%);
        display: block;
        width: 0;
        height: 0;
        content: " ";
        font-size: 0;
        border: 8rpx solid transparent;
        border-radius: 4rpx;
      }
      &.arrow-up::after{
        top: 55%;
        border-top: 8rpx solid #999;
      }
      &.arrow-down::after{
        top: 45%;
        border-bottom: 8rpx solid #999;
      }
      &.arrow-up.active::after {
        border-top: 8rpx solid #fc1b35;
      }
      &.arrow-down.active::after {
        border-bottom: 8rpx solid #fc1b35;
      }
      &.list-style {
        margin-left: 20rpx;
        image {
          width: 32rpx;
          height: 32rpx;
          display: block;
          margin: auto;
        }
      }
      &.list-style::before {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 2rpx;
        height: 32rpx;
        content: " ";
        font-size: 0;
        background: #f1f1f1;
      }
    }
  }
  .lock-sortbar {
    position: fixed;
    top: -20rpx;
    width: auto;
    z-index: 9;
    width: 95%;
    transform: translate3d(0, 20rpx, 0);
    &::after {
      content: '';
      display: block;
      position: fixed;
      width: 120%;
      height: 100%;
      left: -20rpx;
      background-color: #fff;
      z-index: -1;
      box-shadow: 0 10rpx 30rpx rgba(0,0,0,.09);
    }
  }
  /* 列表 */
  .line-prods {
    margin: 0 20rpx;
    background: #f2f3f7;
    padding: 0;
    .item {
      background: #fff;
      margin-top: 20rpx;
      padding: 20rpx;
      border-radius: 10rpx;
      .img {
        width: 190rpx;
        height: 190rpx;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .text-box {
        height: 190rpx;
      }
    }
    .price {
      margin-bottom: 6rpx;
    }
    .btn {
      position: absolute;
      bottom: 0;
      right: 0;
      padding: 8rpx 24rpx;
      color: #fff;
      background: linear-gradient(to right, #fc1b35, #fe401d);
      font-size: 26rpx;
      font-weight: 600;
      border-radius: 40rpx;
    }
  }
  .prods {
    padding: 0rpx 20rpx 0;
    justify-content: space-between;
    .item {
      width: 346rpx;
      .sku {
        word-break: break-all;
      }
      &:nth-child(2n) {
        margin-left: 0;
      }
      .img {
        width: 346rpx;
        height: 346rpx;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
    .price-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .btn {
      padding: 8rpx 20rpx;
      color: #fff;
      background: linear-gradient(to right, #fc1b35, #fe401d);
      font-weight: 600;
      border-radius: 40rpx;
    }
  }
  /* 原价 */
  .original-price {
    color: #999;
    margin-left: 10rpx;
    text-decoration:line-through;
    font-weight: normal;
  }
}
