.buy-main {
  overflow-y: auto;
  overflow-x: hidden;
}
.se-nav_right {
  display: flex;
  align-items: center;
}
.buy-main .top-back {
  display: flex;
  align-items: center;
  margin: 0.16rem 0 0 0.4rem;
  cursor: pointer;
}
.buy-main .top-back .back-img {
  width: 14px;
  height: 14px;
}
.buy-main .top-back .back-text {
  margin-left: 0.03rem;
  color: #090A3A;
}
.buy-box {
  margin: 0.32rem 0 0 1.18rem;
  padding-bottom: 0.4rem;
}
.buy-box .goods-title {
  margin-bottom: 0.4rem;
}
.buy-box .goods-title .goods-name {
  color: #090A3A;
  font-size: 0.24rem;
  font-weight: bold;
}
.buy-box .info-item {
  box-sizing: border-box;
  width: 12rem;
  margin-bottom: 0.1rem;
  border: 0.01rem solid #E3E8EE;
}
.buy-box .info-item .info-title {
  height: 0.4rem;
  padding-left: 0.3rem;
  background: #F7FAFC;
  color: #656A88;
  font-size: 0.14rem;
  line-height: 0.4rem;
}
.buy-box .info-item .info-tip {
  margin-left: 0.2rem;
  color: #B8B9BC;
  font-size: 0.14rem;
  font-weight: 400;
}
.buy-box .info-item .info-content {
  padding: 0.2rem 0 0 0.3rem;
}
.buy-box .info-item .info-content .info-div {
  margin-bottom: 0.2rem;
}
.buy-box .info-item .info-content .info-left {
  color: #656A88;
  font-size: 0.14rem;
}
.buy-box .info-item .info-content .info-right {
  display: inline-block;
  max-width: 9.8rem;
  margin-left: 0.5rem;
  overflow: hidden;
  color: #090A3A;
  font-size: 0.14rem;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}
.buy-header-auth {
  display: flex;
  align-items: center;
  margin-right: 0.24rem;
  color: #656A88;
  font-size: 0.14rem;
}
.buy-header-auth label {
  margin-right: 0.12rem;
  white-space: nowrap;
}
.buy-header-auth select {
  width: 2.8rem;
  height: 0.34rem;
  padding: 0 0.1rem;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  outline: none;
  color: #090A3A;
  background: #FFF;
  font-size: 0.14rem;
}
.buy-tip {
  width: 12rem;
  min-height: 0.2rem;
  margin-top: 0.06rem;
  color: #00A870;
  font-size: 0.13rem;
}
.buy-tip.is-error {
  color: #E34D59;
}
.buy-box .pay-btn {
  box-sizing: border-box;
  width: 12rem;
  margin-top: 0.12rem;
  text-align: right;
}
.buy-box .pay-btn .el-button {
  width: 1.28rem;
  height: 0.44rem;
  border: 0;
  border-radius: 0;
  background: #161EDE;
  color: #FFF;
  font-size: 0.16rem;
  cursor: pointer;
}
.buy-box .pay-btn .el-button:hover {
  background: #1017B9;
}
.buy-box .pay-btn .el-button:disabled,
.market-confirm-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.market-modal {
  position: fixed;
  z-index: 3000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}
.market-modal.is-visible {
  display: flex;
}
.market-pay-dialog {
  display: flex;
  flex-direction: column;
  width: min(12rem, calc(100vw - 40px));
  min-height: 6.5rem;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 2px;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.market-pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0.58rem;
  padding: 0 0.24rem;
  border-bottom: 1px solid #EBEEF5;
  color: #303133;
  font-size: 0.16rem;
}
.market-modal-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: #909399;
  font-size: 0.22rem;
  line-height: 1;
  cursor: pointer;
}
.market-pay-body {
  flex: 1;
  padding: 0.42rem 0.32rem;
  overflow: auto;
}
.market-pay-summary {
  display: flex;
  align-items: center;
  min-height: 0.72rem;
  gap: 0.2rem;
}
.market-success-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 0.48rem;
  width: 0.48rem;
  height: 0.48rem;
  border: 3px solid #00B42A;
  border-radius: 50%;
}
.market-success-icon::after {
  position: absolute;
  top: 0.1rem;
  left: 0.12rem;
  width: 0.16rem;
  height: 0.09rem;
  border-bottom: 3px solid #00B42A;
  border-left: 3px solid #00B42A;
  content: '';
  transform: rotate(-45deg);
}
.market-pay-summary h2 {
  margin: 0 0 0.08rem;
  color: #303133;
  font-size: 0.22rem;
}
.market-pay-summary p {
  margin: 0;
  color: #606266;
  font-size: 0.14rem;
}
.market-pay-amount {
  margin-left: auto;
  color: #606266;
  font-size: 0.14rem;
  white-space: nowrap;
}
.market-pay-amount strong {
  color: #F56C6C;
  font-size: 0.16rem;
}
.market-pay-amount strong b {
  font-size: 0.28rem;
}
.market-pay-amount em {
  margin-left: 0.04rem;
  color: #606266;
  font-style: normal;
}
.market-pay-divider {
  height: 1px;
  margin: 0.36rem 0 0.28rem;
  background: #EBEEF5;
}
.market-payment-title {
  margin-bottom: 0.18rem;
  color: #606266;
  font-size: 0.14rem;
}
.market-payment-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 2.15rem;
  height: 0.64rem;
  padding: 0 0.18rem;
  box-sizing: border-box;
  border: 1px solid #E4E7ED;
  border-radius: 4px;
  color: #303133;
  font-size: 0.14rem;
}
.market-payment-option.is-selected {
  border-color: #409EFF;
}
.market-payment-option i {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.02rem 0.04rem;
  background: #409EFF;
  color: #FFF;
  font-size: 0.12rem;
  font-style: normal;
}
.market-balance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.28rem;
  height: 0.28rem;
  margin-right: 0.1rem;
  border-radius: 4px;
  background: #409EFF;
  color: #FFF;
  font-size: 0.18rem;
}
.market-balance-line {
  margin-top: 0.18rem;
  color: #606266;
  font-size: 0.14rem;
}
.market-pay-error {
  min-height: 0.22rem;
  margin-top: 0.16rem;
  color: #E34D59;
  font-size: 0.13rem;
}
.market-pay-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.12rem;
  padding: 0.2rem 0.32rem;
  border-top: 1px solid #EBEEF5;
}
.market-pay-footer button {
  min-width: 0.9rem;
  height: 0.38rem;
  padding: 0 0.16rem;
  border-radius: 4px;
  font-size: 0.14rem;
  cursor: pointer;
}
.market-cancel-btn {
  border: 1px solid #DCDFE6;
  background: #FFF;
  color: #606266;
}
.market-confirm-btn {
  border: 1px solid #161EDE;
  background: #161EDE;
  color: #FFF;
}
@media only screen and (max-width: 1149px) {
  .buy-box {
    margin: 10px 20px 0;
  }
  .buy-box .info-item,
  .buy-box .pay-btn,
  .buy-tip {
    width: auto;
  }
  .buy-box .info-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .buy-box .info-item .info-content .info-right {
    max-width: calc(100% - 1.5rem);
  }
}
@media only screen and (max-width: 750px) {
  .buy-box .goods-title .goods-name {
    font-size: 0.22rem;
  }
  .market-pay-dialog {
    min-height: 0;
  }
  .market-pay-summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .market-pay-amount {
    width: 100%;
    margin-left: 0.68rem;
  }
  .market-pay-summary h2 {
    font-size: 0.18rem;
  }
}
