//-----------------------购物车-------------------------
// 购物车
.shopping_cart_wrap{
  margin-top: 10px;
  margin-bottom: 10px;
  min-height: calc(100vh - 300px);
  //购物车
  .ulStyle{
    width: 100%;
    li{
      position: relative;
      //表头
      &.ulStyle_Title{
        padding:10px 20px;
        background: rgba(242, 242, 242, 1);
        border: 1px solid #eee;
        color: #999;
        .el-checkbox{
          color: #999;
        }
      }
      //内容
      &.ulStyle_content{
        border: 1px solid rgba(242, 242, 242, 1);
        display: flex;
        align-items: center;
        .shop_img{
          width: 82px;
          height: 82px;
          border: 1px solid #EEEEEE;
          display: inline-block;
          margin-left: 12px;
          position: relative;
          //失效样式
          .invalid{
            position: absolute;
            left: 0;
            bottom: 0;
            color: #d3d3d3;
            width: 82px;
            height: 25px;
            line-height: 25px;
            text-align: center;
            background:rgba(51,51,51,0.35);
          }
          img{
            width: 82px;
            height: 82px;
          }
        }
        // 失效行样式
        &.lose_efficacy{
          background-color: #F7F7F7;
          color: #999;
        }
        &:first-of-type{
          border-bottom: none;
        }
        &:last-of-type{
          border-bottom: 1px solid rgba(242, 242, 242, 1);
        }
        padding:10px 20px;
      }
      p{
        display: inline-block;
        width: calc((100% - 275px ) / 4);
        text-align: center;
        &:first-of-type{
          width: 150px;
          text-align: left;
        }
        &:nth-child(2){
          text-align: left;
        }
        &:last-of-type{
          width: 100px;
          text-align: right;
        }
        &.subtotal{
          color: @orange;
          margin-left: -26px;
        }
        &.delete{
          color: #999;
          .iconfont{
            font-size: 19px;
          }
          &:hover{
            color: @orange;
          }
        }
      }
    }

  }
  /*店铺*/
  .shop {
    margin-top: 10px;
    .shop_title {
      padding: 0px 20px;
      line-height: 32px;
      color: #666;
      .el-checkbox{
        margin-right: 12px;
      }
    }
  }
  /*底部下单样式*/
  .shop_footer {
    // width: calc(100% - 64px);
    width: 100%;
    line-height: 58px;
    background: #fff;
    position: sticky;
    display: block;
    height: 60px;
    bottom: 0;
    // left: calc(50% - 3px);
    // transform: translateX(-50%);
    max-width: 1200px;
    margin-top: 20px;
    border: 1px solid #EEEEEE;
    padding-left: 21px;
    z-index: 10;
    .place_order {
      //height: 58px;
      //line-height: 58px;
      width: 109px;
      text-align: center;
      color: #fff;
      background: @orange;
      border-color: @orange;
      display: inline-block;
      font-size: 18px;
      border-radius: 0;
    }
    .shop_footer_content {
      p {
        float: left;
        margin-right: 20px;
        &.selected{
          color: #666;
          .total_price_nember{
            color: @orange;
            font-weight: bold;
            margin: 0 5px;
          }
        }
        .tax_inclusive{
          color: #999;
        }
        .total_price {
          color: @orange;
          font-weight: bold;
          font-size: 20px;
          line-height: 1;
        }
        &.remove_goods{
          color: @orange;
          .del{
            border-right: 1px solid #ccc;
            padding-right: 10px;
          }
        }
      }
    }
  }
}


//--------------------结算页-------------
.check_order_info{
  font-size: 16px;
  color: #666;
}
.settle_wrap{
  // margin: 13px 0 0;
  padding: 20px 0;
  // border:1px solid #eee;
  // 收货人信息title
  .step_tit{
    margin-bottom: 10px;
    h3{
      font-size: 14px;
      color: #333;
    }
    .add_address{
      // color: @orange;
      // font-weight: bold;
      font-size: 12px;
      color: #1F88D4;
    }
  }
  // 收货地址
  .step_cont{
    margin-bottom: 10px;
    .scrollbar_wrap{
      max-height: 324px;
      height: 162px;
      .consignee_list{
        li{
          font-size: 12px;
          height: 36px;
          line-height: 36px;
          margin: 6px 0;
          width: 99.8%;
          font-weight: 400;
          cursor: pointer;
          background-color: #EEEEEE;
          .addr_detail{
            span{
              margin-left: 10px;
              display: inline-block;
              font-size: 12px;
              &.addr_default{
                margin: 5px 10px;
                background-color: @orange;
                color: #fff;
                padding: 0 3px;
                line-height: 20px;
              }
            }
          }
          .op_btns{
            margin-right: 26px;
            display: none;
          }
          &:hover{
            background-color: #E7F3F6;
            .op_btns{
              color: @orange;
              display: block;
            }
          }
          .consignee_item{
            position: relative;
            width: 120px;
            text-align: center;
            height: 36px;
            line-height: 36px;
            box-sizing: border-box;
            background-color: #fff;
            border:1px solid #ccc;
            &:hover{
              border:1px solid @orange;
            }
            &.item_selected{
              border:1px solid @orange;
              &:after{
                content: '\e65b';
                font-size: 16px;
                font-family: iconfont;
                position: absolute;
                bottom: -11px;
                right: -1px;
                color: @orange;
              }
            }
          }
        }
      }
    }
    .addr_switch{
      font-size: 12px;
      height: 18px;
      line-height: 18px;
      cursor: pointer;
      color: #666666;
      margin-top: 5px;
    }
  }
  // 商品信息
  .shop_info_wrap{
    margin-top: 10px;
    .shop_info_tit{
      font-size:16px;
      font-weight:bold;
      line-height:36px;
      // border-bottom: 1px solid @orange;
      margin-bottom: 10px;
    }
    .shop_info_inner{
      font-weight: 400;
      .content{
        background-color: #F5F5F5;
        padding: 9px 9px 0;
        &:last-child{
          padding-bottom: 9px;
        }
        .content_item{
          background-color: @white;
          padding: 8px;
          .shop_goods_name{
            width: 312px;
          }
          .shop_image{
            width: 82px;
            height: 82px;
            display: inline-block;
            border: 1px solid #eee;
            margin-right: 18px;
            img{
              width: 82px;
              height: 82px;
            }
          }
          .shop_right_price{
            line-height: 82px;
            padding-right: 30px;
            .unit_price{
              font-size: 14px;
              color: #666;
              margin-right: 30px;
            }
            .sub_total{
              font-size: 14px;
              font-weight:bold;
              color: @orange;
            }
            .number{
              color: #999;
              margin-right: 130px;
            }
          }
        }
      }
      .ds_content{
        background-color: #F5F5F5;
        // padding: 9px 0 0;
        .content_item{
          background-color: @white;
          padding: 8px;
          .shop_goods_name{
            width: 312px;
          }
          .shop_image{
            width: 82px;
            height: 82px;
            display: inline-block;
            border: 1px solid #eee;
            margin-right: 18px;
            img{
              width: 82px;
              height: 82px;
            }
          }
          .shop_right_price{
            line-height: 82px;
            font-size:14px;
            padding-right: 30px;
            .unit_price{
              font-size: 14px;
              color: #666;
              margin-right: 30px;
            }
            .sub_total{
              font-weight:bold;
              color: @orange;
            }
            .number{
              color: #999;
              margin-right: 130px;
            }
          }
        }
      }
    }
    .store{
      margin: 10px 0;
    }
  }
}
// 配送信息
.pay_and_shipment_cont{
  text-align: right;
  .pay_info_wrap{
    padding:40px 50px;
    background-color: #f5f5f5;
    >div:first-child {
      margin-bottom: 10px;
    }
    .order_amount{
      font-size: 18px;
      font-weight:bold;
      color: @orange;
    }
    .tax_inclusive{
      color: #999;
    }
  }
  .checkout_submit{
    width:140px;
    height:45px;
    background:@orange;
    font-size: 16px;
    font-weight: 400;
    border: none;
    color: @white;
    margin-right: 40px;

  }
}

/*--------------------提交完成订单---------------------*/
.cashier {
  margin: 0px auto 25px;
  text-align: center;
  height:646px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(242, 242, 242, 0.168627450980392);
  border: none;
  .or_top {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    .success_box {
      position: relative;
      font-size: 18px;
      text-align: left;
      margin-left: 20px;
    }
    .order_icon {
      display: flex;
      img {
        display: inline-block;
        width: 67px;
        height: 67px;
      }
    }
    p {
      line-height: 33.5px;
      height: 33.5px;
      color: #000;
      &.success_hint{
        font-size: 20px;
        font-weight: 400;
      }
      .order_number{
        font-weight: bold;
        color: @orange;
      }
      .copy_order_number{
        font-size: 14px;
        color: @orange;
        cursor: pointer;
        margin-left: 10px;
      }
      #content {
        opacity: 0;
        position: absolute;
      }
    }
    .order_success {
      text-align: center;
      .or_bottom {
        margin-top: 50px;
        .btn {
          display: inline-block;
          width: 149px;
          height: 40px;
          line-height: 40px;
          color: #666;
          font-size: 13px;
          background-color: #fff;
          margin-left: 10px;
          border: 1px solid rgb(242, 242, 242);
          cursor: pointer;
          &:nth-child(1) {
            background-color: #FE6B2A;
            margin-left: 0;
            border: 1px solid #FE6B2A;
            color: #fff;
          }
        }
      }
    }
  }
}

