.sticky {
  :global {
    .van-sticky {
      background: url('../images/bg-image-1.png') no-repeat top center;
      background-size: 100% 375px;
    }

    .van-search__content {
      background: rgba(255, 255, 255, 0.5) !important;

      input::placeholder {
        color: rgba(0, 0, 0, 0.4) !important;
      }

      input {
        color: rgba(0, 0, 0, 0.4) !important;
      }

      .van-field__clear {
        color: #c1bdc1 !important;
      }
    }

    .van-search {
      padding-bottom: 0;
    }
  }
}

.label {
  margin-right: 8px;
  font-size: 14px;
  color: #131415;

  :global {
    .van-list__loading,
    .van-list__finished-text,
    .van-list__error-text {
      width: 100%;
    }

    .iconfont-down {
      margin-left: 4px;
    }
  }
}

.bgImg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  // height: 214px;
  // object-fit: cover;
  z-index: -1;
}

.tagTabs {
  --van-cell-background-color: transparent;
  --van-cell-font-size: 16px;
  --van-cell-text-color: #333;
  --van-cell-value-color: #999;
  --van-cell-icon-size: 10px;

  :global {
    .van-tab {
      font-size: 16px !important;
      margin-top: 15px;
      color: #999999;
    }

    .van-tab--shrink {
      padding: 0 12px;
    }

    .van-tab--active {
      font-size: 16px !important;
      color: #131415;
    }

    .van-tabs__line {
      width: 24px;
      height: 4px;
      background: linear-gradient(
        90deg,
        #ff3c5e 0%,
        rgba(255, 118, 155, 0.5) 100%
      ) !important;
      border-radius: 36px 36px 0px 0px;
    }

    .van-button--plain.van-button--primary {
      background-color: transparent;
    }
  }

  // :global {
  // .van-tabs__nav {
  //   background-color: transparent;
  //   padding: 0;
  //   margin: 0 15px;
  // }

  // .van-tab {
  //   font-size: 16px;
  //   font-weight: bold;
  // }

  // .van-tab--shrink {
  //   padding: 0;
  //   margin: 10px 0;
  //   display: inline-block;
  //   font-size: 14px;
  //   background: transparent;
  //   border-radius: 14px;
  //   line-height: 26px;
  //   padding: 0 12px;
  //   color: rgba(0, 0, 0, 0.4);
  // }

  // .van-tab--active {
  //   background: #FF699E;

  //   color: #FFFFFF;

  //   .van-tab__text {
  //     z-index: 1;
  //   }
  // }

  // .van-tabs__line {
  //   height: 0;
  // }
  // }
}

.tradeList {
  padding-top: 16px;

  :global {
    .van-cell-group {
      overflow: hidden;
      border-radius: 10px !important;
      margin-bottom: 12px;
      padding-bottom: 18px;
    }

    .van-cell {
      padding: 16px 12px 12px;
    }
  }

  .orderSection {
    padding-top: 0;
  }

  .list {
    padding: 0 14px;
  }

  .tradeLogo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-right: 10px;
    overflow: hidden;
  }

  .tradeType {
    color: var(--van-primary);
  }

  .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: #131415;
    line-height: 24px;

    .name {
      max-width: 160px;
    }

    .desc {
      font-size: 14px;
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;
      color: #131415;
    }
  }

  .description {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #777777;

    .d {
      max-width: 160px;
    }
  }

  .paymentPrice {
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    color: #131415;
    padding-right: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    span {
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;
      color: #fe2451;
      font-size: 20px;
      padding-left: 4px;

      i {
        padding-right: 2px;
        font-size: 14px;
        font-style: normal;
        vertical-align: middle;
      }
    }
  }

  .songLength {
    border-radius: 4px;
    border: 1px solid #fe2451;
    font-size: 12px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #fe2451;
    line-height: 16px;
    padding: 1px 6px;
  }
}

.btnList {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 12px;
  padding-right: 12px;

  :global {
    .van-button {
      font-size: 14px;
      font-weight: 500;
      padding: 7px 16px;
    }

    .van-button + .van-button {
      margin-left: 10px;
    }
  }
}

.orderDetailGroup {
  margin: 0 12px 12px;
  background: #ffffff;
  border-radius: 10px;
}

.optionGroup {
  background: #ffffff;
  border-radius: 10px;
  margin: 12px;
  padding-top: 15px;
}

.optionRow {
  line-height: 26px;
  display: flex;
  position: relative;
  padding-bottom: 15px;
  box-sizing: border-box;
  color: #333333;
  font-size: 14px;

  :global {
    .van-col {
      display: flex;
      line-height: 1.5;
    }

    .van-col--8 {
      color: #131415;
      justify-content: flex-start;
    }

    .van-col--14 {
      color: #777777;
      justify-content: flex-end;
      word-break: break-word;
      /* 文本行的任意字内断开 */
      word-wrap: break-word;
      /* IE */
      white-space: -moz-pre-wrap;
      /* Mozilla */
      white-space: -hp-pre-wrap;
      /* HP printers */
      white-space: -o-pre-wrap;
      /* Opera 7 */
      white-space: -pre-wrap;
      /* Opera 4-6 */
      white-space: pre;
      /* CSS2 */
      white-space: pre-wrap;
      /* CSS 2.1 */
      white-space: pre-line;
      /* CSS 3 (and 2.1 as well, actually) */
    }
  }
}
