body,
html {
  background: #eeeeee;
}

#soft-buy {
  padding-top: 84px;
}

#soft-buy #soft-name {
  display: none;
}

#soft-buy h3 {
  margin: 0 0 20px;
}

#soft-buy p {
  margin: 0;
}

#soft-buy form {
  margin: 20px 0;
  padding: 30px;
  background: white;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#soft-buy fieldset {
  padding-bottom: 30px;
}

#soft-buy fieldset:last-child {
  border: none;
  padding-bottom: 0;
}

#soft-buy fieldset:first-child {
  padding-top: 0;
}

#soft-buy #soft-buy-number {
  margin-bottom: 30px;
  border-bottom: 1px solid #eeeeee;
}

#soft-buy #soft-buy-number p {
  margin: 10px 0 20px;
}

#soft-buy #soft-buy-number p:last-child {
  margin-bottom: 0;
}

#soft-buy #soft-buy-number img {
  max-height: 140px;
}

#soft-buy #soft-buy-number label {
  display: block;
  font-size: 16px;
  margin: 10px 0 20px;
  font-weight: normal;
}

#soft-buy #soft-buy-number i {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 1px solid #cccccc;
  font-size: 25px;
  font-style: normal;
  vertical-align: middle;
  color: #999999;
  background: #fafafa;
  cursor: pointer;
}

#soft-buy #soft-buy-number i:before {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  line-height: 1;
  vertical-align: middle;
}

#soft-buy #soft-buy-number i.btn-decrease:before {
  content: '−';
}

#soft-buy #soft-buy-number i.btn-increase:before {
  content: '+';
}

#soft-buy #soft-buy-number i:nth-of-type(1) {
  border-right: none;
  border-radius: 4px 0 0 4px;
}

#soft-buy #soft-buy-number i:nth-of-type(2) {
  border-left: none;
  border-radius: 0 4px 4px 0;
}

#soft-buy #soft-buy-number input {
  width: 70px;
  padding: 5px;
  margin-bottom: 9px;
  border: 1px solid #cccccc;
  vertical-align: top;
  font-size: 16px;
  text-align: center;
  border-radius: 0;
  -webkit-appearance: none;
}

#soft-buy #soft-buy-number input:focus {
  border: 1px solid #00aa40;
  -webkit-box-shadow: 0 0 4px 1px rgba(0, 185, 70, 0.27);
  box-shadow: 0 0 4px 1px rgba(0, 185, 70, 0.27);
  outline: 0;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}

#soft-buy #soft-buy-number #unit-price #total-price {
  color: #db2f33;
  font-size: 22px;
  text-align: right;
}

#soft-buy #soft-buy-number #total-price {
  color: #db2f33;
  font-size: 22px;
  text-align: right;
}

#soft-buy #soft-buy-number #discount-price {
  color: #999999;
  text-align: right;
}

#soft-buy #soft-buy-receive {
  margin-bottom: 30px;
}

#soft-buy #soft-buy-receive h4 {
  display: inline-block;
  color: #333333;
  font-weight: bold;
  margin: 10px 0;
  width: 100px;
}

#soft-buy #soft-buy-receive input {
  margin-right: 5px;
}

#soft-buy #soft-buy-receive .pull-right {
  margin-top: 7px;
}

#soft-buy #soft-buy-receive label {
  font-weight: normal;
}

#soft-buy #soft-buy-invoice h4 {
  display: inline-block;
  color: #333333;
  font-weight: bold;
  margin: 10px 0;
  width: 100px;
}

#soft-buy #soft-buy-invoice input {
  margin-right: 5px;
}

#soft-buy #soft-buy-invoice label {
  font-weight: normal;
}

#soft-buy #soft-buy-invoice select {
  position: relative;
  padding: 5px 10px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #999999;
  height: 36px;
}

#soft-buy #invoice-wrapper .input-wrapper,
#soft-buy #soft-buy-receive .input-wrapper {
  margin: 20px 0;
}

#soft-buy #invoice-wrapper .input-wrapper label,
#soft-buy #soft-buy-receive .input-wrapper label {
  display: inline-block;
  width: 100px;
  max-width: 100%;
  font-weight: normal;
}

#soft-buy #invoice-wrapper .input-wrapper .is-required:after,
#soft-buy #soft-buy-receive .input-wrapper .is-required:after {
  content: '*';
  color: #dc2f33;
}

#soft-buy #invoice-wrapper .input-wrapper input,
#soft-buy #soft-buy-receive .input-wrapper input,
#soft-buy #invoice-wrapper .input-wrapper select,
#soft-buy #soft-buy-receive .input-wrapper select {
  padding: 5px 10px;
  min-width: 465px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #999999;
  height: 36px;
  outline: none;
}

#soft-buy #invoice-wrapper .input-wrapper input.is-invalid,
#soft-buy #soft-buy-receive .input-wrapper input.is-invalid,
#soft-buy #invoice-wrapper .input-wrapper select.is-invalid,
#soft-buy #soft-buy-receive .input-wrapper select.is-invalid {
  border-color: #dc2f33;
}

#soft-buy #invoice-wrapper .input-wrapper input#county,
#soft-buy #soft-buy-receive .input-wrapper input#county,
#soft-buy #invoice-wrapper .input-wrapper select#county,
#soft-buy #soft-buy-receive .input-wrapper select#county,
#soft-buy #invoice-wrapper .input-wrapper input#province,
#soft-buy #soft-buy-receive .input-wrapper input#province,
#soft-buy #invoice-wrapper .input-wrapper select#province,
#soft-buy #soft-buy-receive .input-wrapper select#province,
#soft-buy #invoice-wrapper .input-wrapper input#city,
#soft-buy #soft-buy-receive .input-wrapper input#city,
#soft-buy #invoice-wrapper .input-wrapper select#city,
#soft-buy #soft-buy-receive .input-wrapper select#city,
#soft-buy #invoice-wrapper .input-wrapper input#post,
#soft-buy #soft-buy-receive .input-wrapper input#post,
#soft-buy #invoice-wrapper .input-wrapper select#post,
#soft-buy #soft-buy-receive .input-wrapper select#post {
  min-width: 230px;
}

#soft-buy #invoice-wrapper .input-wrapper i,
#soft-buy #soft-buy-receive .input-wrapper i {
  color: #dc2f33;
  font-size: 20px;
  vertical-align: middle;
}

#soft-buy #invoice-wrapper .input-wrapper.is-unrequired,
#soft-buy #soft-buy-receive .input-wrapper.is-unrequired {
  display: none;
}

#soft-buy #invoice-wrapper .form-help i,
#soft-buy #soft-buy-receive .form-help i {
  color: #dc2f33;
  font-style: normal;
}

#soft-buy #invoice-wrapper .form-help.help01,
#soft-buy #soft-buy-receive .form-help.help01 {
  position: relative;
  display: inline-block;
  width: 568px;
  margin-top: 10px;
  padding: 5px 10px;
  border: 1px solid #999999;
  border-radius: 4px;
}

#soft-buy #invoice-wrapper .form-help.help01:before,
#soft-buy #soft-buy-receive .form-help.help01:before {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  top: -5px;
  left: 20px;
  border: 1px solid #999999;
  border-left: none;
  border-bottom: none;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background: white;
}

#soft-buy #soft-buy-pay {
  /* border-bottom: 1px solid #eeeeee; */
}

#soft-buy #soft-buy-pay h4 {
  color: #333333;
  font-weight: bold;
}

#soft-buy #soft-buy-pay .pay-items label {
  margin: 10px 0;
  padding: 15px 5px;
  min-height: 56px;
  width: 100%;
  text-align: center;
  border: 1px solid #999999;
  border-radius: 4px;
  cursor: pointer;
}

#soft-buy #soft-buy-pay .pay-items label.is-active {
  position: relative;
  border: 1px solid #00aa40;
}

#soft-buy #soft-buy-pay .pay-items label.is-active:after {
  position: absolute;
  content: '';
  width: 30px;
  height: 30px;
  right: 0;
  bottom: 0;
  background: url("../img_css/selected_60.png") no-repeat;
  background-size: cover;
  z-index: 500;
}

#soft-buy #soft-buy-pay .pay-items label input {
  position: absolute;
  right: 10000px;
  overflow: hidden;
}

#soft-buy #soft-buy-pay .pay-items label span {
  position: relative;
  padding-left: 46px;
}

#soft-buy #soft-buy-pay .pay-items label span:before {
  position: absolute;
  top: -12px;
  left: 0;
  content: '';
  width: 42px;
  height: 42px;
  background-color: #ffffff;
  background-image: url("../img_css/icon_paymethod.png");
}

#soft-buy #soft-buy-pay label[for="pay-alipay"] span:before {
  background-position: 0 0;
}

#soft-buy #soft-buy-pay label[for="pay-weixin"] span:before {
  background-position: -42px 0;
}

#soft-buy #soft-buy-pay label[for="pay-netbank"] span:before {
  background-position: -84px 0;
}

#soft-buy #soft-buy-pay label[for="pay-transfer"] span:before {
  background-position: -126px 0;
}

#soft-buy #soft-buy-pay #transfer-wrapper {
  background: white;
}

#soft-buy #soft-buy-pay #transfer-wrapper section {
  margin: 30px 0;
}

#soft-buy #soft-buy-pay #transfer-wrapper p {
  margin: 6px 0;
}

#soft-buy #soft-buy-pay #transfer-wrapper p span:first-child {
  display: inline-block;
  min-width: 200px;
}

#soft-buy #soft-buy-pay #transfer-wrapper p span:nth-child(2) {
  display: inline-block;
  min-width: 260px;
}

#soft-buy #soft-buy-pay #netbank-wrapper {
  margin-top: 30px;
}

#soft-buy #soft-buy-pay #netbank-wrapper label {
  display: inline-block;
  min-width: 200px;
  height: 50px;
  border: none;
  overflow: hidden;
}

#soft-buy #soft-buy-pay #netbank-wrapper input {
  float: left;
  margin: 20px 10px 0 0;
}

#soft-buy #soft-buy-pay #netbank-wrapper section {
  margin: 15px 0;
}

#soft-buy #soft-buy-pay #netbank-wrapper span {
  margin: 10px 0;
  display: inline-block;
  width: 135px;
  height: 30px;
  background: url("../img_css/icon_banks.png") no-repeat;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_ICBC+span {
  background-position: 0 0;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_CMB+span {
  background-position: -135px 0;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_CCB+span {
  background-position: -270px 0;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_ABC+span {
  background-position: -405px 0;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_BOC+span {
  background-position: 0 -30px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_SPDB+span {
  background-position: -135px -30px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_CIB+span {
  background-position: -270px -30px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_GDB+span {
  background-position: -405px -30px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_FDB+span {
  background-position: 0 -60px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_CITIC+span {
  background-position: -135px -60px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_HZCBB2C+span {
  background-position: -270px -60px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_SHBANK+span {
  background-position: -405px -60px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_NBBANK+span {
  background-position: 0 -90px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_SPABANK+span {
  background-position: -135px -90px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_POSTGC+span {
  background-position: -270px -90px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_COMM-DEBIT+span {
  background-position: -405px -90px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_CEB-DEBIT+span {
  background-position: 0 -120px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_BJBANK+span {
  background-position: -135px -120px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_SHRCB+span {
  background-position: -270px -120px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_CMBC+span {
  background-position: -405px -120px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_BOCBTB+span {
  background-position: 0 -150px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_CMBBTB+span {
  background-position: -135px -150px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_ICBCBTB+span {
  background-position: -270px -150px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_ABCBTB+span {
  background-position: -405px -150px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_CCBBTB+span {
  background-position: 0 -180px;
}

#soft-buy #soft-buy-pay #netbank-wrapper #lab_SPDBB2B+span {
  background-position: -135px -180px;
}

#soft-buy #soft-buy-submit {
  padding-top: 30px;
}

#soft-buy #soft-buy-submit button {
  width: 100%;
  height: 70px;
  padding: 10px;
  background: #dc2f33;
  border: none;
  color: white;
  font-size: 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(220, 47, 51, 0.3);
}

#soft-buy #soft-buy-submit button:hover {
  background: #c92b2f;
  box-shadow: 0 6px 15px rgba(220, 47, 51, 0.4);
  transform: translateY(-2px);
}

#soft-buy #soft-buy-submit p {
  text-align: right;
  margin-bottom: 10px;
}

#soft-buy #soft-buy-submit #discount-price {
  color: #999999;
}

#soft-buy #soft-buy-submit #total-price {
  margin: 0;
  font-size: 20px;
}

#soft-buy #soft-buy-submit #total-price span {
  color: #dc2f33;
  font-size: 24px;
}

#soft-buy .input-phone,
#soft-buy #invoice-wrapper,
#soft-buy #netbank-wrapper,
#soft-buy #transfer-wrapper {
  display: none;
}

#soft-buy .input-phone.is-active,
#soft-buy #invoice-wrapper.is-active,
#soft-buy #netbank-wrapper.is-active,
#soft-buy #transfer-wrapper.is-active {
  display: block;
}

#soft-buy .modal h4 {
  color: #333333;
}

#soft-buy .modal .modal-title {
  font-weight: bold;
}

#soft-buy .modal .modal-content {
  -webkit-box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

#soft-buy #purchase-info h4 {
  margin: 5px 0;
}

#soft-buy #purchase-info p {
  color: #666666;
  font-size: 14px;
}

#soft-buy #purchase-info .info-wrapper {
  position: relative;
  margin: 20px 0;
  padding-left: 58px;
}

#soft-buy #purchase-info .info-wrapper:before {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  left: 0;
  background: url("../img_css/purchase-info.png") no-repeat;
  background-size: auto 48px;
}

#soft-buy #purchase-info .col-sm-6:nth-of-type(1) .info-wrapper:before {
  background-position: 0px 0;
}

#soft-buy #purchase-info .col-sm-6:nth-of-type(2) .info-wrapper:before {
  background-position: -144px 0;
}

#soft-buy #purchase-info .col-sm-6:nth-of-type(3) .info-wrapper:before {
  background-position: -48px 0;
}

#soft-buy #purchase-info .col-sm-6:nth-of-type(4) .info-wrapper:before {
  background-position: -192px 0;
}

#soft-buy #purchase-info .col-sm-6:nth-of-type(5) .info-wrapper:before {
  background-position: -96px 0;
}

#soft-buy #purchase-info .col-sm-6:nth-of-type(6) .info-wrapper:before {
  background-position: -240px 0;
}

@media only screen and (max-width: 767px) {
  #soft-buy {
    padding-top: 50px;
  }

  #soft-buy form {
    padding: 15px;
  }

  #soft-buy #invoice-wrapper .input-wrapper input,
  #soft-buy #soft-buy-receive .input-wrapper input,
  #soft-buy #invoice-wrapper .input-wrapper select,
  #soft-buy #soft-buy-receive .input-wrapper select {
    min-width: 100%;
  }

  #soft-buy #invoice-wrapper .input-wrapper input#county,
  #soft-buy #soft-buy-receive .input-wrapper input#county,
  #soft-buy #invoice-wrapper .input-wrapper select#county,
  #soft-buy #soft-buy-receive .input-wrapper select#county,
  #soft-buy #invoice-wrapper .input-wrapper input#province,
  #soft-buy #soft-buy-receive .input-wrapper input#province,
  #soft-buy #invoice-wrapper .input-wrapper select#province,
  #soft-buy #soft-buy-receive .input-wrapper select#province,
  #soft-buy #invoice-wrapper .input-wrapper input#city,
  #soft-buy #soft-buy-receive .input-wrapper input#city,
  #soft-buy #invoice-wrapper .input-wrapper select#city,
  #soft-buy #soft-buy-receive .input-wrapper select#city {
    min-width: 100%;
  }

  #soft-buy #invoice-wrapper .form-help.help01,
  #soft-buy #soft-buy-receive .form-help.help01 {
    width: inherit;
  }
}

h4 {
  color: #00aa40;
}

#buy-info {
  background: white;
}

#buy-info .col-sm-3 {
  margin-top: 30px;
  margin-bottom: 30px;
}

#buy-info>div:first-child {
  padding: 15px 0;
  color: white;
  background: #00aa40;
  font-size: 20px;
  text-align: center;
}

.modal-dialog {
  margin: 10% auto;
  padding: 0 15px;
}

.mts #soft-buy-number p {
  line-height: 22px;
}

.mts #soft-buy-number select#mts-version {
  margin-bottom: 10px;
  height: 34px;
  padding: 5px 10px;
  border-radius: 4px;
}

.message-buy {
  padding-top: 15px;
  color: #666666;
  font-size: 12px;
}

/* Error Message Container */
#form-error-msg {
  font-weight: bold;
  padding: 10px;
  background-color: #ffe6e6;
  border: 1px solid #dc2f33;
  border-radius: 4px;
  margin-bottom: 15px !important;
  text-align: center !important;
}

/* 支付方式旁的提示文字样式 */
.pay-notice {
  font-size: 14px;
  color: #666;
  font-weight: normal;
  margin-left: 10px;
}

/* 针对小屏幕手机的适配：让提示文字换行显示，避免挤压标题 */
@media only screen and (max-width: 480px) {
  .pay-notice {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }
}