.step-wrapper {
  position: relative;
  width: 900px;
  margin: 0 auto;
  font-size: 0;
}

.step-wrapper .step-bg {
  width: 630px;
  height: 30px;
  background: url(../../images/pay/shopcart-step1.png) no-repeat 0 0/630px 30px;
  position: absolute;
  left: 50%;
  margin-left: -315px;
  top: -5px;
}

.step-wrapper .step-bg.step2 {
  background: url(../../images/pay/shopcart-step2.png) no-repeat 0 0/630px 30px;
}

.step-wrapper .step-bg.step3 {
  background: url(../../images/pay/shopcart-step3.png) no-repeat 0 0/630px 30px;
}

.step-wrapper .step {
  display: inline-block;
  width: 300px;
  font-size: 14px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-wrapper .step .num {
  color: #BBB;
  font-weight: bold;
}

.step-wrapper .text {
  color: #999;
  margin-top: 24px;
}

.step-wrapper .step.curr .num {
  color: #ffffff;
}

.step-wrapper .step.curr .text {
  color: #1581F0;
}

/* 购物车 */
.s-main {
  margin-bottom: 100px;
}

.s-main .empty-wrapper {
  width: 100%;
  text-align: center;
  padding: 140px 0;
}

.s-main .empty-wrapper .tips {
  color: #999;
  font-size: 14px;
  margin-top: 45px;
}

.s-main .total-wrapper {
  width: 100%;
  height: 160px;
  background: #F5F5F5;
  border: 1px solid #E5E5E5;
}

.s-main .price-wrapper {
  height: 90px;
  line-height: 84px;
  padding: 0 15px;
  font-size: 14px;
  color: #333;
}

.s-main .price-wrapper .choose-count {
  margin-left: 24px;
}

.s-main .price-wrapper .delete-all {
  margin-left: 20px;
  cursor: pointer;
}

.s-main .price-wrapper .price {
  float: right;
}

.s-main .price-wrapper .all-total {
  color: #E60012;
  font-size: 22px;
  font-weight: bold;
  margin-left: 30px;
}

.s-main .price-wrapper .all-total .count {
  font-weight: bold;
}

.s-main .btn-wrapper {
  padding: 0 20px;
  text-align: right;
}

.s-main .btn-wrapper a {
  width: 150px;
  height: 56px;
  line-height: 56px;
  font-size: 18px;
}

.s-main .btn-wrapper a:last-child {
  margin-left: 20px;
}

/* 确认订单 */
.c-main {
  padding-top: 30px;
  margin-bottom: 100px;
}

.c-main .step-wrapper {
  margin-bottom: 50px;
}

.c-main .info-block {
  margin-bottom: 10px;
}

.c-main .layui-form-label {
  width: 60px;
  padding: 0;
  line-height: 36px;
  margin-right: 30px;
}

.c-main .layui-input-inline {
  width: 196px;
}

.c-main .layui-input-inline:last-child {
  margin-right: 0;
}

.c-main .info-block .layui-form-checkbox[lay-skin=primary] span {
  color: #333;
}

.c-main .info-block>.title {
  padding: 0 30px;
  height: 50px;
  line-height: 50px;
  background: #F5F5F5;
  border: 1px solid #E5E5E5;
  font-size: 14px;
  color: #999;
}

.c-main .info-block>.info-wrapper {
  border: 1px solid #E5E5E5;
  border-top: 0;
  padding: 10px 20px;
  font-size: 14px;
}


.c-main .add-address-btn {
  margin: 0 auto;
  width: 200px;
  display: block;
}

.c-main .receive-l {
  display: inline-block;
  width: 730px;
  padding-right: 40px;
  border-right: 1px solid #E5E5E5;
}

.c-main .receive-l.no-address {
  width: 100%;
  border-right: 0;
}

.c-main .receive-r {
  display: inline-block;
  vertical-align: top;
  width: 400px;
  text-align: center;
  padding-left: 70px;
  margin-top: 70px
}

.c-main .receive-r .layui-btn {
  width: 140px;
  height: 50px;
  line-height: 50px;
  border-radius: 3px;
}

.c-main .receive-r .layui-btn:hover {
  background-color: #1581F0;
  color: #FFF;
}

.c-main .pay-wrapper .layui-form-checkbox[lay-skin=primary] {
  padding-left: 90px;
}

.c-main .pay-wrapper .icon {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 35px;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
}

.c-main .pay-wrapper .icon.wxpay {
  background: url(../../images/pay/ic_wechat_pay.png) no-repeat 0 0 /40px 40px;
}

.c-main .pay-wrapper .icon.alipay {
  background: url(../../images/pay/ic_alipay.png) no-repeat 0 0 /40px 40px;
}

.c-main .pay-wrapper .icon.bankpay {
  background: url(../../images/pay/ic_bank_pay.png) no-repeat 0 0 /40px 40px;
}

.c-main .info-block .order-num-wrapper {
  border-top: 1px solid #E5E5E5;
  padding: 30px 30px 15px;
}

.c-main .order-num-wrapper .layui-form-label {
  width: 70px;
}

.c-main .order-num-wrapper .layui-input-inline {
  width: 340px;
}

.c-main .complex-tips {
  margin: 10px 0;
}

.c-main .sele-wrapper {
  width: 100%;
  padding: 26px 26px 26px 15px;
  border: 1px solid #E5E5E5;
  background: #F5F5F5;
  color: #999;
  font-size: 14px;
  text-align: right;
}


.c-main .sele-wrapper .freight {
  margin-top: 10px;
}

.c-main .sele-wrapper .freepostage {
  color: #EF9115;
  margin-top: 10px;
}

.c-main .sele-wrapper .total-price {
  margin-top: 24px;
  text-align: right;
}

.c-main .sele-wrapper .total-price .count {
  color: #E60012;
  font-size: 22px;
  font-weight: bold;
  margin-left: 16px;
}

.c-main .sele-wrapper .btn-wrapper {
  margin-top: 24px;
}

.c-main .sele-wrapper .btn-wrapper a {
  width: 160px;
  height: 56px;
  line-height: 56px;
}

.c-main .default-address {
  margin-bottom: 4px;
}

.c-main .default-address .icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(../../images/pay/ic_location.png) no-repeat 0 0 / 24px 24px;
  margin-right: 20px;
  vertical-align: top;
}

.c-main .default-address .layui-btn {
  height: 30px;
  line-height: 30px;
  min-width: 60px;
  margin-left: 20px;
}

.c-main .address-info {
  line-height: 36px;
  font-size: 14px;
}

.c-main .address-info .title {
  color: #999;
  margin-right: 20px;
}

.c-main .address-info .invoice-txt {
  margin-left: 20px;
  height: 28px;
  line-height: 28px;
}

.c-main .receive-r.no-address {
  padding: 0;
}

.c-main .receive-r.no-address a {
  margin: 0 auto;
  text-align: center;
}

.c-main .receive-r.no-address .change-btn {
  display: block;
  margin-bottom: 20px;
}

/* 订单结果 */
.p-main {
  padding-top: 80px;
  margin-bottom: 100px;
}

.p-main .result-wrapper .result-icon {
  display: block;
  width: 178px;
  height: 178px;
  background: url(../../images/pay/images_succ.png)no-repeat 0 0 /178px 178px;
  margin: 80px auto 20px;
}

.p-main .result-wrapper .result-icon.fail {
  background: url(../../images/pay/images_fail.png)no-repeat 0 0 /178px 178px;
}

.p-main .result-wrapper .tips {
  font-size: 14px;
  color: #999;
  text-align: center;
}

.p-main .result-wrapper .link {
  display: block;
  width: 180px;
  height: 40px;
  line-height: 40px;
  margin: 80px auto 0;
}

.p-main .result-wrapper .title-wrapper {
  height: 80px;
  padding: 0 40px;
  background: url(../../images/member/checkquota_bg.png) no-repeat 0 0 /100% 100%;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.p-main .result-wrapper .title-wrapper .pay-tips {
  font-size: 14px;
  flex: 1;
  color: #333;
  font-size: 14px;
}

.p-main .result-wrapper .title-wrapper .price {
  font-size: 14px;
  color: #333;
}

.p-main .result-wrapper .title-wrapper .price .count {
  color: #E60012;
  font-weight: bold;
}

.p-main .result-wrapper .qrcode-wrapper {
  background-color: #FFF;
  padding: 24px 30px;
  box-shadow: 0px 0px 35px 0px rgba(190, 190, 190, 0.28);
  margin-top: 20px;
}

.p-main .result-wrapper .qrcode-wrapper .title {
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  font-weight: bold;
  color: #1581EF;
  border-bottom: 1px solid #E5E5E5;
  position: relative;
}

.p-main .result-wrapper .qrcode-wrapper .title:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 38px;
  border-bottom: 2px solid #1581EF;
}

.p-main .result-wrapper .scan-wrapper {
  display: flex;
}

.p-main .scan-wrapper .scan-l {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.p-main .scan-wrapper .scan-l .scan-tips {
  font-size: 14px;
}

.p-main .scan-wrapper .scan-l .scan-tips .count {
  color: #E60012;
}

.p-main .scan-wrapper .scan-l .overtime-tips {
  font-size: 14px;
  color: #E60012;
}

.p-main .scan-wrapper .scan-l .qrcode-img {
  position: relative;
  width: 300px;
  height: 300px;
  box-shadow: 0px 0px 35px 0px rgb(190 190 190 / 28%);
  margin: 20px auto;
}

.p-main .scan-wrapper .scan-l .qrcode-img img {
  width: 300px;
  height: 300px;
}

.p-main .scan-wrapper .scan-l .qrcode-img .fail-pay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-main .scan-wrapper .scan-l .qrcode-img .fail-pay .tips {
  width: 200px;
  color: #333;
  background: #FFF;
  cursor: pointer;
}

.p-main .scan-wrapper .scan-l .qrcode-img .fail-pay.hidden {
  display: none !important;
}

.p-main .scan-wrapper .scan-l .scan-tips2 {
  width: 230px;
  height: 60px;
  display: flex;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
  background: #1581F0;
}

.p-main .scan-wrapper .scan-tips2 .scan-img {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.p-main .scan-wrapper .scan-tips2 .info-wrapper {
  flex: 1;
  margin-left: 20px;
}

.p-main .scan-wrapper .scan-tips2 .info-wrapper .info {
  color: #FFF;
  font-size: 14px;
}

.p-main .result-wrapper .scan-wrapper .scan-r {
  flex: 1;
}

.p-main .result-wrapper .scan-wrapper .scan-r .scan-img {
  display: block;
  margin: 20px auto;
}

.p-main .result-wrapper .change-pay {
  height: 40px;
  display: flex;
  align-items: center;
  color: #1581F0;
}

.p-main .result-wrapper .change-pay .iconfont {
  font-size: 20px;
  margin: 2px 4px 0 0;
}

.p-main .result-wrapper .change-pay a {
  font-size: 16px;
}

.add-dialog .container {
  width: 850px;
  background: #fff;
  padding: 42px 72px 25px;
  border-radius: 5px;
}

.change-dialog .container {
  width: 1000px;
  background: #fff;
  padding: 42px 72px 25px;
  border-radius: 5px;
}

.add-dialog .container>.title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.add-dialog .close-wrapper {
  right: 10px;
  top: 10px;
}

.add-dialog .layui-form {
  margin-top: 35px;
}

.add-dialog .layui-form-label {
  width: 90px;
}

.add-dialog .tx-col {
  margin-right: 2px;
}

.add-dialog .layui-input-block {
  margin-left: 90px;
}

.add-dialog .layui-btn:hover {
  color: #FFF;
  background: #1581F0;
  border: 1px solid #1581F0;
}

.add-dialog .loading-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  line-height: 38px;
  text-align: center;
  background: rgba(245, 245, 245, 0.7);
}

.add-dialog .loading-wrapper img {
  width: 20px;
  height: 20px;
}

.add-dialog .layui-form-label {
  padding: 9px 15px;
  line-height: 20px;
  margin-right: 0
}

.query-dialog .container {
  width: 1000px;
  background: #fff;
  padding: 42px 72px 25px;
  border-radius: 5px;
}

.query-dialog .container>.title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.query-dialog .container .info-wrapper {
  padding: 20px;
}

.query-dialog .container .btn-wrapper {
  text-align: center;
  margin-top: 20px;
}

.query-dialog .container .btn-wrapper button {
  width: 300px;
}

.query-dialog .container .service-icon {
  font-size: 30px;
  margin-left: 10px;
}

.c-main .address-info {
  line-height: 54px;
}

.c-main .change-table .layui-table {
  margin: 0;
}

.c-main .change-table-body {
  height: 650px;
  overflow: scroll;
}

.ps-main {
  padding-top: 80px;
  margin-bottom: 100px;
}

.ps-main .info-wrapper {
  padding: 60px 240px;
  background: #F8F8F8;
  margin-top: 50px;
  border-radius: 10px;
}

.ps-main .pay-tips {
  border-bottom: 1px dashed #E5E5E5;
  padding-bottom: 24px;
}

.ps-main .pay-tips .icon {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: url(../../images/pay/checkquota_icon.png) no-repeat 0 0 / 100% 100%;
}

.ps-main .pay-tips .content {
  display: inline-block;
  line-height: 20px;
  vertical-align: top;
  color: #333;
  font-size: 14px;
  margin-left: 24px;
  padding: 13px 0;
}

.ps-main .pay-tips .content .text {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: bold;
}

.ps-main .pay-info {
  margin-top: 20px;
  font-size: 14px;
  color: #999;
}

.ps-main .pay-info p {
  line-height: 28px;
}

.ps-main .pay-info .count {
  color: #F09115;
}

.ps-main .pay-info .address {
  color: #333
}

.ps-main .btn-wrapper {
  margin-top: 48px;
}

/* 快递下单 */
.upload-wrapper {
  width: 100%;
  height: 50px;
  line-height: 50px;
  border: 1px solid #E5E5E5;
  background: #F5F5F5;
  margin-bottom: 10px;
  padding: 0 20px;
  align-items: center;
}

.upload-wrapper .layui-btn {
  height: 26px;
  line-height: 26px;
  vertical-align: top;
  margin-top: 12px;
}

.upload-wrapper .opera-wrapper {
  display: inline-block;
  width: 170px;
  border-right: 1px solid #E5E5E5;
  margin-right: 20px;
}

.upload-wrapper .upload-file {
  display: inline-block;
  width: 960px;
}

.upload-wrapper .upload-file .file-name {
  display: inline-block;
  margin-left: 10px;
  width: 720px;
  color: #FEB28D;
  font-size: 14px;
}

/* .upload-wrapper .opera-file .upload-a{
  display: inline-block;
  width: 100px;
} */

.quickIcon {
  width: 20px;
  height: 20px;
}

.warn-bg {
  background: #ffefef;
}

.warn-tx {
  color: #e60012;
}

.upload-a {
  position: relative;
}

.upload-ipt {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
}


/* new */
/* 快速下单 */
.quick-table {
  margin-top: 40px;
}

.quick-table thead tr {
  height: 50px;
  line-height: 50px;
  background: #F5F5F5;
  color: #333;
  font-size: 14px;
  text-align: center;
}

.quick-table tbody tr {
  height: 100px;
  text-align: center;
}

.quick-table .info-wrapper {
  width: 100%;
  height: 100%;
  padding: 10px 0;
}

.quick-table .img-wrapper {
  display: inline-block;
  width: 60px;
  height: 60px;
  position: relative;
}

.quick-table .img-wrapper img {
  max-width: 60px;
  max-height: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.quick-table .subinfo-wrapper {
  display: table;
  width: 100%;
  height: 60px;
}

.quick-table .subinfo-wrapper .name {
  display: table-cell;
  vertical-align: middle;
}

.quick-table .subinfo-wrapper .name a {
  text-decoration: underline;
  color: #1581F0;
}

.quick-table .cart-hook {
  color: #333;
  display: inline-block;
  margin-bottom: 12px;
}

/* new */
/* 结算界面 */

.c-main .confirm-table {
  margin-top: 0;
}

.c-main .confirm-table thead tr {
  height: 50px;
  line-height: 50px;
  background: #F5F5F5;
  color: #333;
  font-size: 14px;
  text-align: center;
}

.c-main .confirm-table tbody tr {
  height: 90px;
  text-align: center;
}

.c-main .confirm-table .subinfo-wrapper {
  display: inline-block;
  width: 190px;
  height: 60px;
  vertical-align: top;
  text-align: center;
  margin-left: 0;
}


.c-main .confirm-table .subinfo-wrapper .name {
  width: 100%;
  height: 30px;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-main .confirm-table .subinfo-wrapper .classcode {
  line-height: 20px;
}

.c-main .confirm-table .subinfo-wrapper .classcode a {
  text-decoration: underline;
  color: #1581F0;
}

/* 购物车 */

.shopcart-table {
  margin-top: 20px;
}

.shopcart-table thead tr {
  height: 50px;
  line-height: 50px;
  background: #F5F5F5;
  color: #333;
  font-size: 14px;
  text-align: center;
}

.shopcart-table tbody tr {
  height: 90px;
  text-align: center;
}

.shopcart-table a.info-wrapper {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #333;
}

.shopcart-table a.info-wrapper:hover {
  color: #1581F0;
}

.shopcart-table .info-wrapper .img-wrapper {
  display: inline-block;
  width: 60px;
  height: 60px;
  position: relative;
}

.shopcart-table .info-wrapper .img-wrapper img {
  max-width: 60px;
  max-height: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.shopcart-table .subinfo-wrapper {
  display: inline-block;
  width: 210px;
  height: 60px;
  vertical-align: top;
  margin-left: 10px;
  text-align: left;
}

.shopcart-table .subinfo-wrapper .name {
  width: 100%;
  height: 30px;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shopcart-table .subinfo-wrapper .classcode {
  line-height: 20px;
  word-break: break-all;
}

.shopcart-table .collect,
.shopcart-table .cart-hook {
  color: #333;
  display: inline-block;
  margin-bottom: 12px;
}

.shopcart-table .collect:hover,
.shopcart-table .cart-hook:hover {
  color: #1581F0;
}