page{
  background-color: #f2f3f7;
}
.page-order-detail {
  background-color: #f2f3f7;
  min-height: calc(100vh - 120rpx - var(--mall4j-safe-area-inset-bottom));
  padding-bottom: calc(120rpx + var(--mall4j-safe-area-inset-bottom));
  box-sizing: border-box;
  .order-status {
    padding: 24rpx 30rpx;
    font-size: 28rpx;
    line-height: 40rpx;
    display: flex;
    font-weight: bold;
    .text {
      color: #082ba6;
    }
  }
  .order-logistics {
    border-radius: 10rpx;
    background: #ffffff;
    box-sizing: border-box;
    padding: 24rpx 30rpx;
    .delivery-info {
      font-size: 28rpx;
      line-height: 40rpx;
      display: flex;
      padding-bottom: 24rpx;
      border-bottom: 2rpx dashed #dddddd;
      .title {
        color: #999999;
      }
      .text {
        color: #333333;
      }
    }
    .addr-info {
      margin-top: 24rpx;
      .user-info {
        font-size: 28rpx;
        font-weight: bold;
        line-height: 40rpx;
        color: #000000;
        .self-pick-title {
          font-weight: normal;
          color: #999999;
        }
        .img-edit{
          margin-left: 20rpx;
          width: 24rpx;
          height: 24rpx;
        }
        .img {
          margin-left: 24rpx;
          width: 24rpx;
          height: 24rpx;
        }
      }
      .addr {
        font-size: 28rpx;
        line-height: 40rpx;
        margin-top: 16rpx;
        color: #999999;
        word-break: break-all;
      }
    }
  }
  .prod {
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 10rpx;
    margin-top: 20rpx;
    padding: 30rpx;
    .prod-box {
      display: flex;
      flex-direction: column;
      .prod-item {
        margin-bottom: 10px;
        .prod-common {
          display: flex;
          .prod-img-image {
            width: 140rpx;
            height: 140rpx;
            border-radius: 10rpx;
          }
          .prod-info {
            display: flex;
            flex-direction: column;
            margin-left: 16rpx;
            width: 530rpx;
            .price {
              font-size: 28rpx;
              font-weight: bold;
              line-height: 40rpx;
            .price-big {
              font-size: 32rpx;
            }
            }
            .prod-name-price {
              display: flex;
              justify-content: space-between;
              line-height: 40rpx;
              .name {
                font-size: 28rpx;
                width: 358rpx;
                line-height: 40rpx;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
              }
            }
            .prod-sku {
              display: flex;
              justify-content: space-between;
              font-size: 24rpx;
              color: #999999;
              line-height: 32rpx;
              margin-top: 10rpx;
              .sku-name {
                width: 90%;
              }
              .total {
                margin-left: auto;
              }
            }
            .prod-stutus {
              position: relative;
              .prod-stutus-item {
                display: inline-block;
                margin-top: 18rpx;
                margin-right: 10rpx;
                padding: 2rpx 6rpx;
                font-size: 20rpx;
                background-color: #ECF0FF ;
                line-height: 14px;
                color: #082ba6;
                // border: 2rpx solid #ECF0FF;
                border-radius: 4rpx;
              }
              .prod-type-item {
                display: inline-block;
                margin-top: 18rpx;
                margin-right: 10rpx;
                padding: 2rpx 6rpx;
                line-height: 14px;
                font-size: 20rpx;
                color: #fff;
                background-color: #082ba6;
                // border: 2rpx solid #082ba6;
                border-radius: 4rpx;
              }
            }
            .refund-btn {
              right: 0;
              top: 0;
              box-sizing: border-box;
              border-radius: 30rpx;
              position: absolute;
              width: auto;
              height: 48rpx;
              font-size: 20rpx;
              border: 1px solid #082BA6;
              color: #082BA6;
              padding: 0 10rpx;
              display: flex;
              justify-content: center;
              align-items: center;
              // margin-left: 10px;
            }
          }
          &:last-child {
            margin-bottom: 0;
          }
        }
        .prod-gift {
          padding: 10rpx 0 0 140rpx;
        }
      }
    }
    .price-detail {
      display: flex;
      justify-content: space-between;
      font-size: 24rpx;
      margin-top: 20rpx;
      .title {
        color: #999999;
      }
    }
    .price-total {
      padding-top: 22rpx;
      margin-top: 20rpx;
      font-size: 24rpx;
      font-weight: bold;
      line-height: 34rpx;
      border-top: 2rpx dashed #dddddd;
      display: flex;
      justify-content: flex-end;
      .num {
        color: #082ba6;
      }
      .num.plus {
        font-weight: normal;
        padding: 0 10rpx;
      }
    }
  }
  .order-info {
    margin-top: 20rpx;
    background: #ffffff;
    opacity: 1;
    border-radius: 10rpx;
    box-sizing: border-box;
    padding: 30rpx;
    .order-info-item {
      font-size: 24rpx;
      line-height: 34rpx;
      display: flex;
      margin-bottom: 30rpx;
      .title {
        color: #999999;
        white-space: nowrap;
      }
      .text {
        margin-left: 30rpx;
        color: #000000;
        word-break: break-all;
        // overflow: hidden;
        // text-overflow: ellipsis;
        // white-space: nowrap;
      }
      .copy {
        margin-left: 20rpx;
        width: 72rpx;
        height: 32rpx;
        background: #ffffff;
        border: 2rpx solid #dddddd;
        opacity: 1;
        text-align: center;
        border-radius: 20rpx;
        font-size: 20rpx;
      }
    }
    .instructions-use-item {
      display: block;
      .title {
        margin-bottom: 20rpx;
      }
      .txt-content {
        word-break: break-word;
      }
    }
    .order-info-item:last-child {
      margin-bottom: 0;
    }
  }
  .order-detail-footer {
		box-sizing: border-box;
    position: fixed;
    bottom: 0;
    padding-bottom: var(--mall4j-safe-area-inset-bottom);
    box-sizing: border-box;
    right: 0;
    left: 0;
    background: #ffffff;
    border-radius: 20rpx 20rpx 0rpx 0rpx;
		display: flex;
		justify-content: flex-end;
		align-items:center;
		padding: 20rpx 30rpx;
    box-shadow: 2rpx 0 10rpx  rgba(0, 0, 0, .2);
    .btn {
			box-sizing: border-box;
      display: inline-block;
			min-width: 152rpx;
      height: 60rpx;
      border-radius: 36rpx;
      font-size: 24rpx;
      border: 2rpx solid #dddddd;
      display: flex;
      justify-content: center;
      align-items: center;
			margin-left: 20rpx;
    }
    .btn.btn-primary {
      background: #082ba6;
      color: #ffffff;
      border: none;
      border-radius: 72rpx;
    }
  }

  .detail {
    margin-top: 20rpx;
    padding: 30rpx;
    background-color: #ffffff;
    border-radius: 10rpx;
    box-sizing: border-box;
    word-wrap: break-word;
	  word-break: break-all;
	  overflow: hidden;
    .module-title {
      font-size: 28rpx;
      font-weight: bold;
      line-height: 40rpx;
      color: #000000;
      margin-bottom: 30rpx;
    }
    .detail-item {
      display: flex;
      margin-bottom: 20rpx;
      .detail-item-title {
        font-size: 28rpx;
        line-height: 40rpx;
        color: #999999;
      }
      .detail-item-content {
        font-size: 28rpx;
        line-height: 40rpx;
        margin-left: 30rpx;
        color: #000000;
      }
    }
  }
}
