@font-face {
  font-family: "unidreamledregular";
  src: url("@/assets/font/unidreamled/unidreamled.woff2") format("woff2"),
    url("@/assets/font/unidreamled/unidreamled.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ysbth";
  src: url("@/assets/font/ysbth/ysbth.woff2") format("woff2"),
    url("@/assets/font/ysbth/ysbth.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@keyframes skeleton-loading {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.justify-start {
  display: flex;
  justify-content: flex-start;
}
.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}
.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}
.justify-around {
  display: flex;
  justify-content: space-around;
}
.justify-between {
  display: flex;
  justify-content: space-between;
}
.align-start {
  display: flex;
  align-items: flex-start;
}
.align-center {
  display: flex;
  align-items: center;
}
.align-end {
  display: flex;
  align-items: flex-end;
}
.pop {
  background: #f8f8f8;
  border-radius: 32rpx 32rpx 0 0;
  box-shadow: 0 -8rpx 20rpx 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 750rpx;
  .p_head {
    background-color: #fff;
    color: #333;
    font-family: PingFangSC-Medium;
    font-size: 36rpx;
    height: 96rpx;
    line-height: 96rpx;
    text-align: center;
    letter-spacing: 3rpx;
    width: 750rpx;
  }
  .p_body {
    padding: 24rpx;
    min-height: 200rpx;
  }
  .between {
    justify-content: space-between;
  }
  .center {
    justify-content: center;
  }
  .p_foot {
    display: flex;
    padding: 30rpx 32rpx 64rpx;
    background-color: #ffffff;
    .left,
    .right {
      color: #333;
      font-family: PingFangSC-Regular;
      font-size: 36rpx;
      height: 80rpx;
      line-height: 80rpx;
      text-align: center;
      width: 296rpx;
      border-radius: 64rpx;
      letter-spacing: 3rpx;
    }
    .left {
      color: #ff6900;
      border: 5rpx solid rgba(255, 174, 137, 1);
      height: 72rpx;
      line-height: 72rpx;
      width: 286rpx;
    }
    .right {
      // background-color: #fff;
      background-image: url(https://oushen2022.oss-cn-beijing.aliyuncs.com/images/3d4892c3792d251a39ef384b437df9b3.png);
      // background: linear-gradient(90deg, #FFAF8A 0%, #FF854D 100%);
      background-size: cover;
      color: #ffffff;
    }
  }
}

.base-list {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 24rpx;
  .base-list-item {
    margin-bottom: 24rpx;
  }
}
.popup-wrap {
  background-color: #fff;
  padding: 24rpx;
  width: 600rpx;
  .popup-content {
    max-height: 750rpx;
    overflow-x: hidden;
    overflow-y: auto;
    .h1 {
      text-align: center;
      font-size: 32rpx;
      margin-bottom: 24rpx;
    }
    .p {
      font-size: 28rpx;
      color: #505050;
      line-height: 40rpx;
    }
  }
}

.popup_close {
  width: 64rpx;
  height: 64rpx;
  position: absolute;
  left: 50%;
  bottom: -92rpx;
  margin-left: -32rpx;
}

.buy-btns {
  width: 100%;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  .btn {
    box-sizing: border-box;
    width: 170rpx;
    height: 88rpx;
    border: 0;
    border-radius: 0;
    background: url(@/assets/detail/btn-buy.png) no-repeat;
    background-size: contain;
    font-size: 24rpx;
    line-height: 1;
    font-weight: 500;
    color: #000000;
    padding: 24rpx 0 0;
    font-family: unidreamledregular, Helvetica Neue, Helvetica, Arial,
      Hiragino Sans GB, Hiragino Sans GB W3, Microsoft YaHei UI, Microsoft YaHei,
      WenQuanYi Micro Hei, sans-serif;
    overflow: visible;

    .btn-pop {
      position: absolute;
      top: -20rpx;
      left: 12rpx;
      width: 100rpx;
      height: 32rpx;
      background: url(@/assets/detail/btn-buy-pop-2.png) no-repeat center top;
      background-size: contain;
      text-align: center;
      font-size: 16rpx;
      font-weight: 500;
      color: #ff69a8;
      line-height: 28rpx;
    }
    &.btn-level-2 {
      background-image: url(@/assets/detail/btn-buy-2.png);
    }
    &.btn-level-3 {
      background-image: url(@/assets/detail/btn-buy-3.png);
      .btn-pop {
        background-image: url(@/assets/detail/btn-buy-pop-3.png);
        color: #ffcd2f;
      }
    }
    .small {
      font-size: 16rpx;
      margin-right: 4rpx;
    }
    .btn-buy {
      font-family: ysbth, Helvetica Neue, Helvetica, Arial, Hiragino Sans GB,
        Hiragino Sans GB W3, Microsoft YaHei UI, Microsoft YaHei,
        WenQuanYi Micro Hei, sans-serif;
      font-size: 34rpx;
      color: #000000;
      line-height: 1;
      display: block;
    }
    &::after {
      display: none;
    }
  }
}
