$radius: 8px;

.placeOrder-chooseAddress {
  .group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    line-height: 58px;

    .local {
      width: 17px;
      height: 16px;
      margin-right: 7px;
      //background-color: yellowgreen;
      display: inline-block;
    }

    .address {
      font-size: 14px;
      color: #000;
    }
  }

  .address-info {
    width: 100%;

    .left {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .left-title {
      display: flex;
      font-size: 12px;
      flex-basis: auto;
      color: #333333;
      margin-top: 10px;
    }

    .left-padding {
      padding-left: 5px;
    }

    .left-title-default {
      background: #34c0bc;
      font-size: 10px;
      color: #fff;
      padding: 2px 4px;
      margin-left: 5px;
      border-radius: 5px;
    }

    .left-detail {
      font-size: 16px;
      margin-right: auto;
    }
  }

  .arrow {
    width: 6px;
    height: 10px;
    //background-color: yellowgreen;
  }
}

.orderListItem {
  .shop-info-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .good-name {
    font-size: 14px;
    color: #333;
  }

  .shop-info-price {
    // color: #ff2d1e;
    font-size: 16px;
  }

  .shop-name {
    font-size: 16px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-item {
    grid-template-columns: 100px 1fr;
    margin-bottom: 0;
  }

  .card-item-img {
    height: 100px;
    width: 100px;
  }
}

.place-order-goods {
  padding: 15px 15px 0;
  margin: 12px 12px 0;
  border-radius: $radius $radius 0 0;
  background: #fff;

  .shop-info-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .good-name {
    font-size: 14px;
    color: #333;
  }

  .shop-info-price {
    // color: #ff2d1e;
    font-size: 16px;
  }

  .shop-name {
    font-size: 16px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-item {
    grid-template-columns: 100px 1fr;
    margin-bottom: 10px;
    &:last-of-type {
      margin-bottom: unset;
    }
  }

  .card-item-img {
    height: 100px;
    width: 100px;
  }
}

.placeOrder-blcWrap {
  margin: 0 12px;
  padding: 15px 15px 0;
  background-color: #fff;

  &.price {
    border-radius: $radius;
    padding: 15px;
  }

  .content {
    width: 240px;
    height: 100px;
    margin-top: 2px;
    border: solid 1px #f1f1f1;
    padding: 6px;
    border-radius: 4px;
  }
  .title {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 17px;
  }

  .placeOrder-blcItem {
    display: flex;
    justify-content: space-between;
    margin-bottom: 17px;

    &:last-child {
      margin-bottom: 0;
    }

    &.express {
      font-size: 14px;
    }

    .label {
      color: #333;
    }

    .value {
      color: #333;

      .icon {
        width: 6px;
        height: 10px;
        display: inline-block;
        //background-color: yellowgreen;
        margin-left: 5px;
      }
    }
  }
}

.placeOrderFooter {
  background-color: #fff;
  height: 54px;
  line-height: 54px;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  box-sizing: border-box;
  align-items: center;
  position: sticky;
  bottom: 0;
  box-shadow: 0 -2px 10px 0 rgba(0, 0, 0, 0.05);

  .price {
    font-size: 14px;
    color: #34c0bc;
  }

  .price-value {
    font-size: 18px;
    color: #ff2d1e;
  }

  .btn {
    width: 105px;
    height: 40px;
    line-height: 40px;
    color: #ffffff;
    padding: 0 12px;
    background-color: #34c0bc;
    text-align: center;
    border-radius: 20px;
  }
}

.coupon-select {
  background-color: #ffffff;
  margin: 0 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  border-radius: 0 0 $radius $radius;
  //display: grid;
  //grid-template-columns: 52px 1fr;
  font-size: 14px;
  .img-fields {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 1px dashed #ccc;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #394259;

    .img {
      width: 100px;
      display: block;
    }
  }
}

.pay-mode {
  margin-top: 12px;
  margin-bottom: 12px;
  border-radius: $radius;
  .info {
    margin-left: auto;
    margin-right: 10px;
    display: flex;
    align-items: center;
  }

  .pay-method-icon {
    width: 28px;
    height: 28px;
    margin-right: 5px;
  }
}

.info {
  display: flex;
  justify-content: space-between;

  .label {
    color: #999;
  }

  .icon {
    cursor: pointer;
    width: 14px;
    height: 3px;
    margin-top: 8px;
  }
}

.placeOrderAddressTabs {
  margin: 0 12px;
  border-radius: 8px;
  overflow: hidden;

  .delivery-header {
    display: flex;
    align-items: center;
    padding: 12px;

    .delivery-label {
      font-size: 14px;
      color: #333333;
      margin-right: 12px;
      white-space: nowrap;
    }

    .tabs {
      flex: 1;
      display: flex;
      height: 42px;
      line-height: 50px;

      .tabsItem {
        flex: 1;
        display: inline-block;
        font-size: 16px;
        position: relative;
        color: #333333;
        text-align: center;

        &.active {
          color: #34c0bc;
          font-weight: 500;

          .line {
            display: block;
          }
        }

        .line {
          width: 40px;
          height: 3px;
          background-color: #34c0bc;
          position: absolute;
          bottom: 0;
          left: 50%;
          margin-left: -20px;
          display: none;
        }
      }
    }
  }

  .content {
    border-radius: 12px;
    background: #fff;
    padding: 15px 22px;
  }
}
