/* pages/orders/order-detail.wxss */
page {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F4F4F4;
  // background: linear-gradient(to bottom, #FB660A, #F5F6F7) #f4f4f4;
  // background-size: 750rpx;
  &::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 750rpx; 
    background: linear-gradient(to bottom, #FB660A, #F5F6F7) #f4f4f4;
    background-size: 750rpx;
  }

  .weui-navigation-bar__btn_goback {
    background-color: #fff;
  }
}

.order-status {
  margin: 24rpx 26rpx 0;
  // background-color: #FFFFFF;
  border-radius: 20rpx;
  padding: 24rpx 32rpx;
  .status {
    display: flex;
    padding-bottom: 24rpx;
    image {
      width: 48rpx;
      height: 48rpx;
      margin-right: 16rpx;
    }
    text {
      font-weight: 600;
      font-size: 48rpx;
      color: #FFFFFF;
      line-height: 48rpx;
    }
  }
  .tips {
    font-size: 28rpx;
    color: #FFFFFF;
    line-height: 40rpx;
  }
}

.order-content {
  margin: 36rpx 26rpx 0;
  border-radius: 20rpx;
  padding: 28rpx 24rpx;
  display: flex;
  background-color: #FFFFFF;
}
.item-content {
  display: flex;
  width: 100%;
  .goods-icon {
    width: 160rpx;
    height: 160rpx;
    margin-right: 24rpx;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
  }

  .goods-desc {
    flex: 1 auto;
    display: flex;
    flex-direction: column;
  }

  .goodsInfo {
    display: flex;
    justify-content: space-between;
    padding-top: 4rpx;
    .goods-name {
      flex: 1 auto;
      white-space: nowrap;
      overflow: hidden;
      font-weight: 600;
      font-size: 30rpx;
      color: #131415;
      text-overflow: ellipsis;
      max-width: 310rpx;
    }
    .goods-price {
      flex-shrink: 0;
      font-family: DINAlternate, DINAlternate;
      font-weight: bold;
      font-size: 28rpx;
      color: #131415;
      line-height: 48rpx;

      .stuff {
        font-size: 28rpx;
      }
      .priceZ {
        font-size: 36rpx;
      }
      .priceF {
        font-size: 28rpx;
      }
    }
  }

  .goods-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12rpx;
    .goods-card {
      height: 40rpx;
      font-size: 26rpx;
      color: #131415;
      line-height: 40rpx;
    }
    .goods-num {
      font-size: 26rpx;
      color: #999999;
      line-height: 36rpx;
    }
  }

}

.order-time {
  margin: 24rpx 26rpx 0;
  border-radius: 20rpx;
  padding: 36rpx 24rpx;
  background-color: #FFFFFF;

  .order-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 36rpx;
    &:last-child {
      padding-bottom: 0;
    }
    .title {
      font-size: 28rpx;
      color: #131415;
      line-height: 40rpx;
    }
    .value {
      font-size: 28rpx;
      color: #777777;
      line-height: 40rpx;
    }
  }
}

.order-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  padding: 20rpx 32rpx 58rpx 40rpx;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;

  .orders {
    display: flex;
    flex-direction: column;
    margin-right: 40rpx;
    image {
      width: 48rpx;
      height: 48rpx;
    }
    text {
      font-weight: 500;
      font-size: 22rpx;
      color: #131415;
      line-height: 32rpx;
      text-align: center;
    }
  }

  .more {
    display: flex;
  }

  .price {
    display: flex;
    align-items: center;

    .desc {
      font-weight: 500;
      font-size: 28rpx;
      color: #131415;
      line-height: 40rpx;
      padding-top: 20rpx;
      flex-shrink: 0;
    }
    .currentPrice {
      font-weight: bold;
      color: #FF5000;
      font-family: DINAlternate, DINAlternate;
      .stuff {
        font-size: 32rpx;
      }
      .priceZ {
        font-size: 56rpx;
      }
      .priceF {
        font-size: 32rpx;
      }
    }
  }

  button {
    margin: 0 0 0 12rpx;
    width: auto;
    background: linear-gradient( 315deg, #FF4A00 0%, #FE8C00 100%);
    border-radius: 16rpx;
    padding: 22rpx 84rpx;
    font-weight: 500;
    font-size: 32rpx;
    color: #FFFFFF;
    line-height: 44rpx;
    flex-shrink: 0;
  }
}