@import "./detail.skeleton.wxss";

/* 轮播图 */
swiper {
  width: 100vw;
  height: 464rpx;
  background-color: #fff;

  swiper-item {
    width: 100%;
    height: 100%;
  }
}

/* 产品介绍 */
.intr {
  padding: 20rpx 30rpx;
  background-color: #fff;

  .title {
    line-height: 42rpx;
    font-size: 30rpx;
    font-family: PingFang SC-Semibold, PingFang SC;
    font-weight: 600;
    color: #333333;
    word-break: break-all;

  }

  .tags {
    text {
      display: inline-block;
      height: 36rpx;
      line-height: 36rpx;
      padding: 0 15rpx;
      background: #E7EEFF;
      border-radius: 22rpx;
      font-size: 20rpx;
      color: #3874F6;
      margin-right: 8rpx;
      font-weight: 600;
    }
  }

  .offer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 50rpx;
    margin-top: 20rpx;

    .price {
      font-size: 36rpx;
      color: #FF3B30;
    }

    .old-price {
      font-size: 28rpx;
      font-family: PingFang SC-Regular, PingFang SC;
      color: #999999;
      margin-left: 8rpx;
      text-decoration-line: line-through;
    }

    .unit {
      font-size: 24rpx;
      color: #333333;
    }
  }

  .else {
    height: 34rpx;
    line-height: 34rpx;
    font-size: 24rpx;
    color: #999999;
    margin-top: 20rpx;

    text {
      margin-right: 20rpx;
    }
  }

}

/* 选择产品 */
.model {
  width: 100vw;
  background-color: #fff;
  padding-left: 30rpx;
  box-sizing: border-box;
  margin-top: 20rpx;

  .label {
    height: 70rpx;
    line-height: 70rpx;
    font-size: 28rpx;
    font-weight: 600;
    color: #333333;
    width: 100%;
    border-bottom: 1rpx solid #ddd;
  }

  .product-box {
    display: flex;
    flex-wrap: wrap;

    .product {
      height: 60rpx;
      line-height: 60rpx;
      font-size: 28rpx;
      color: #333333;
      margin-top: 20rpx;
      margin-right: 20rpx;
      padding: 0 20rpx;
      background: #F4F5F7;
      border-radius: 16rpx;
    }

    .active {
      background: #E7EEFF;
    }
  }

  .product-box:last-child {
    padding-bottom: 20rpx;
  }

  .disabled {
    opacity: .4;
  }

}

.tabs {
  margin-top: 20rpx;

  .tab-box {
    padding: 20rpx 30rpx;
    background-color: #fff;
    border-top: 2rpx solid #CCCCCC;
    font-size: 28rpx;
    color: #666666;

    .row {
      height: 40rpx;
      line-height: 40rpx;
      margin-bottom: 20rpx;
    }

    navigator {
      color: #3874F6;
    }
  }
}

.footer {
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 0;
  width: 100vw;
  min-height: 130rpx;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5rpx 15rpx 0px;
  z-index: 999999999999999;

  .but {
    width: 690rpx;
    height: 90rpx;
    background: #FA8C16;
    border-radius: 16rpx;
    font-size: 28rpx;
    font-weight: 600;
    color: #FFFFFF;
    margin-top: 10rpx;
  }
}

.document-box {
  width: 100vw;
  box-sizing: border-box;
  padding: 20rpx 30rpx;
  background-color: #fff;

  .document {
    word-break: break-all;
    white-space: pre-wrap;
    font-size: 28rpx;
    font-family: PingFang SC-Regular, PingFang SC;
    color: #3874F6;
    margin-bottom: 20rpx;
  }
}