html {
  overflow-y: scroll;
}

body {
  margin: 0;
  background: #eef5f2;
  color: #2f4f48;
}

a {
  color: #108a5f;
  text-decoration: none;
}

#head {
  background: #ffffff;
  border-bottom: 1px solid #d7e4de;
  box-shadow: 0 2px 8px rgba(16, 138, 95, 0.08);
}

:root {
  --pc-font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

body {
  font-family: var(--pc-font-family);
}

input,
textarea,
select,
button {
  font-family: inherit;
}

.fa,
.fa:before,
.fa:after,
[class^="fa-"]:before,
[class*=" fa-"]:before {
  font-family: FontAwesome !important;
}

.g-body {
  padding-top: 14px !important;
}

.page-no-bg .g-body {
  background-image: none;
}

.info.denglu {
  float: none;
  margin-top: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  line-height: 1;
}

#head .top .logo_img {
  float: none;
  height: 80px;
  width: auto;
  margin-top: 0;
}

#head .top .logo_img img {
  display: block;
  height: 80px;
  width: auto;
}

#head .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1180px;
  max-width: calc(100% - 20px);
  margin: 0 auto;
  min-height: 104px;
  padding-right: 6px;
  box-sizing: border-box;
}

.dh {
  width: 100%;
  height: auto;
  background: #198f66;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

ul#nav {
  width: 1180px;
  max-width: calc(100% - 20px);
  height: 56px;
  margin: 0 auto;
  padding: 0 8px;
  box-sizing: border-box;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
}

ul#nav li {
  display: block;
  height: 56px;
}

ul#nav li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
  margin-top: 8px;
  border-radius: 8px;
  color: #ecfff7;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

ul#nav li a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

#nav .a2 {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

ul#nav > div {
  margin-left: auto;
  float: none !important;
  width: auto !important;
  padding: 8px 6px !important;
}

ul#nav > div > div {
  width: auto !important;
  height: auto !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7e4de;
}

#head .top .info:not(.denglu) {
  float: none;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  text-align: right;
}

#head .top .info:not(.denglu) .welcome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d6e5df;
  border-radius: 8px;
  background: #f3faf7;
  color: #5f7a72;
  font-size: 14px;
  font-weight: 500;
  line-height: 36px;
  box-sizing: border-box;
}

#head .top .info:not(.denglu) .welcome::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1b9a6a;
  box-shadow: 0 0 0 3px rgba(27, 154, 106, 0.14);
}

#head .top .info:not(.denglu) .welcome .welcome-user {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: #e4f3ec;
  color: #0f7e5a;
  font-weight: 700;
  line-height: 24px;
}

#head .top .info:not(.denglu) .button {
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

#head .top .info:not(.denglu) a.button.button-primary,
#head .top .info:not(.denglu) a.button.button-giant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  min-width: 98px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}

#head .top .info:not(.denglu) a.button.button-primary {
  background: #198f66;
  border-color: #147a56;
  color: #fff;
}

#head .top .info:not(.denglu) a.button.button-giant {
  background: #edf4f1;
  border-color: #bdd1c9;
  color: #2f574f;
  text-align: center;
  letter-spacing: 0.2px;
}

#head .top .info:not(.denglu) a.button.button-primary:hover {
  background: #167f5a;
}

#head .top .info:not(.denglu) a.button.button-giant:hover {
  background: #e4efeb;
}

#head .top .info.denglu .button {
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  border: 1px solid transparent;
}

#head .top .info.denglu .button-primary {
  background: #198f66;
  border-color: #147a56;
  color: #fff;
}

#head .top .info.denglu .button-caution {
  background: #edf4f1;
  border-color: #bdd1c9;
  color: #2f574f;
}

#head .top .info.denglu .button-primary:hover {
  background: #167f5a;
}

#head .top .info.denglu .button-caution:hover {
  background: #e4efeb;
}

.sinput {
  float: none;
  width: 300px;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  border: 0;
  background: #ffffff;
  color: #31534c;
  font-size: 14px;
  outline: 0;
  text-indent: 0;
}

.sbtn {
  float: none;
  width: 98px;
  height: 40px;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  vertical-align: middle;
  color: #245147;
  background: #f3faf7;
  border: 0;
  border-left: 1px solid #e3ece8;
  font-weight: 600;
}

.nav-search-wrap {
  float: right;
  width: 383px;
  padding: 6px;
}

.nav-search-box {
  border-radius: 5px;
  width: 383px;
  height: 40px;
}

.topliucheng {
  border: 1px solid #d7e4de !important;
  border-radius: 12px !important;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.12);
}

table tr th {
  background: linear-gradient(180deg, #edf8f3 0%, #e6f4ed 100%);
  border-bottom-color: #d7e4de;
  color: #2f5f55;
}

table tr td {
  border-bottom-color: #e3ece8;
}

table tr:hover {
  background-color: #eef7f3;
}

.site-footer {
  margin-top: 20px;
  border-top: 1px solid #d7e4de;
  background: #f3f8f6;
}

.site-footer-inner {
  width: 1180px;
  max-width: calc(100% - 20px);
  margin: 0 auto;
  padding: 14px 6px 16px;
  box-sizing: border-box;
  text-align: center;
  color: #60766f;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer-inner a {
  color: #108a5f;
}

.home-page {
  padding: 22px 0 32px;
  background: linear-gradient(180deg, #f2f7f5 0%, #eef5f2 100%);
}

.home-wrap {
  width: 1180px;
  margin: 0 auto;
}

.home-breadcrumb {
  margin-top: 10px;
  background: #f5fbf8;
  border: 1px solid #d7e4de;
  border-radius: 10px;
  padding: 10px 14px;
  color: #56766d;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(17, 160, 108, 0.12);
}

.home-breadcrumb a {
  color: #108a5f;
  text-decoration: none;
  font-weight: 600;
}

.home-main {
  margin-top: 14px;
  display: block;
}

.home-content {
  width: 100%;
}

.home-category {
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.home-category-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f6148;
  margin-bottom: 10px;
  text-align: center;
}

.home-table-head,
.home-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 110px 90px;
  gap: 10px;
  align-items: center;
}

.home-table-head > div,
.home-item-row > div {
  min-width: 0;
}

.home-table-head > div:nth-child(2),
.home-table-head > div:nth-child(3),
.home-table-head > div:nth-child(4),
.home-item-row > div:nth-child(2),
.home-item-row > div:nth-child(3),
.home-item-row > div:nth-child(4) {
  text-align: center;
}

.home-table-head > div:nth-child(1) {
  text-align: center;
}

.home-table-head {
  padding: 10px 12px;
  background: linear-gradient(180deg, #edf8f3 0%, #e6f4ed 100%);
  border: 1px solid #d7e4de;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(17, 160, 108, 0.08);
  font-weight: 700;
  color: #2f5f55;
  font-size: 14px;
}

.home-item-row {
  padding: 12px;
  border-bottom: 1px solid #e3ece8;
  background: #fcfffe;
  border-radius: 10px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-item-row:hover {
  background: #f2faf6;
  box-shadow: inset 0 0 0 1px rgba(23, 164, 111, 0.24);
  border-bottom-color: transparent;
}

.home-table-head + .home-item-row {
  margin-top: 8px;
}

.home-item-row:last-child {
  border-bottom: 0;
}

.home-item-name {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  text-align: center;
}

.home-name-link {
  display: block;
  font-size: 15px;
  color: #295349;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

.home-name-link:hover {
  color: #0f835b;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  margin-top: 0;
}

.home-badge.auto {
  background: linear-gradient(180deg, #edf9f3 0%, #e1f4ea 100%);
  border-color: #bfe3d3;
  color: #0f7b58;
}

.home-badge.manual {
  background: linear-gradient(180deg, #f2f7f5 0%, #e8f0ed 100%);
  border-color: #c9d8d2;
  color: #5f746d;
}

.home-item-price {
  color: #d46334;
  font-size: 15px;
  font-weight: 700;
}

.home-sales {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #8da19b;
  font-weight: 400;
}

.home-stock {
  font-size: 14px;
  font-weight: 600;
}

.home-stock.in {
  color: #167a5f;
}

.home-stock.out {
  color: #8a9a95;
}

.home-stock.normal {
  color: #167a5f;
}

.home-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #16a06c 0%, #10895d 100%);
  box-shadow: 0 2px 6px rgba(16, 138, 95, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.home-buy-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 6px 14px rgba(16, 138, 95, 0.33);
}

.home-buy-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(16, 138, 95, 0.28);
}

.home-buy-btn.is-disabled {
  background: #a8b7b2;
  box-shadow: none;
  filter: none;
  transform: none;
  transition: none;
}

.home-empty {
  padding: 18px 12px;
  text-align: center;
  color: #7f9690;
  font-size: 14px;
}

.buy-page {
  padding: 28px 0 36px;
  background: linear-gradient(180deg, #f2f7f5 0%, #eef5f2 100%);
}

.buy-layout {
  width: 1180px;
  margin: 0 auto;
}

.buy-main-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.buy-left {
  width: 290px;
  flex: 0 0 290px;
}

.buy-right {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.buy-panel {
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.buy-panel-title {
  color: #2b4e4a;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.buy-product-image {
  text-align: center;
}

.buy-product-image img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid #d7e7e2;
  background: #fff;
}

.kefu {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.kefu a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  width: 88%;
  max-width: 236px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #bfdad2;
  background: linear-gradient(180deg, #f3faf8 0%, #eaf5f2 100%);
  color: #2a6f61;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-sizing: border-box;
  transition: all 0.2s ease;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.kefu a:hover {
  background: #e3f1ed;
  border-color: #afcdc4;
  color: #245f53;
}

.buy-qrcode-wrap {
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d2e7e1;
}

.buy-qrcode-wrap img {
  width: 150px;
  height: 150px;
  border: 1px solid #dae8e3;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.buy-qr-text {
  margin-top: 8px;
  color: #55716d;
  font-size: 14px;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}

.kefu-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  background: #dcede8;
  color: #356d61;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
}

.kefu-num {
  color: #2e6f62;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}

.trade-goodinfo {
  font-size: 24px;
  color: #214c4a;
  font-weight: 700;
  margin-bottom: 12px;
  background: #edf6f3;
  border: 1px solid #d3e5df;
  border-radius: 10px;
  padding: 12px 14px;
  line-height: 1.4;
}

.trade-goodinfo2 {
  background: #edf6f4;
  border: 1px solid #d3e4df;
  border-radius: 10px;
  padding: 10px 14px;
  color: #4d6260;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-label {
  color: #3a4b49;
  margin-right: 8px;
}

.trade-price {
  color: #eb4d2a;
  font-size: 28px;
  font-weight: 700;
  vertical-align: middle;
}

.delivery-type {
  margin-left: auto;
  line-height: 1;
}

.delivery-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.delivery-badge.auto {
  background: #17a870;
}

.delivery-badge.manual {
  background: #e8a019;
}

.buy-inputs {
  margin-top: 12px;
}

.buy-inputs #inputsname .from,
.buy-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.buy-inputs #inputsname .from_wz_3,
.buy-qty-row .from_wz_3 {
  color: #38514f;
  min-width: 78px;
  line-height: 38px;
  margin: 0;
  float: none;
}

.buy-inputs #inputsname .from_in_2,
.buy-inputs #inputsname .from_in_4,
.buy-inputs #inputsname .from_in_5,
.buy-inputs #inputsname .from_in_7 {
  float: none;
  width: auto;
  margin: 0;
}

.buy-inputs #inputsname input[type="text"],
.buy-inputs #inputsname input[type="number"],
.buy-inputs #inputsname input[type="password"],
.buy-inputs #inputsname input[type="email"],
.buy-inputs #inputsname select,
.buy-num-input {
  width: 190px;
  height: 38px;
  border: 1px solid #cfe1db;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 14px;
  box-sizing: border-box;
  background: #fff;
}

.buy-inputs #inputsname textarea {
  border: 1px solid #cfe1db;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  box-sizing: border-box;
  background: #fff;
}

.buy-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.from_wz_3 {
  color: #38514f;
  min-width: 78px;
}

.buy-num-input {
  width: 190px;
  height: 38px;
  border: 1px solid #cfe1db;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 14px;
  box-sizing: border-box;
}

.stock-tip {
  color: #ff7b00;
  font-size: 13px;
}

.buy-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 14px;
}

.buy-action-row .button,
.buy-action-row a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 34px;
  padding: 0 16px;
  white-space: nowrap;
  overflow: visible;
  line-height: 1;
  font-size: 14px;
  box-sizing: border-box;
}

.buy-submit-btn {
  cursor: pointer;
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #16a06c 0%, #10895d 100%) !important;
  border: 1px solid #178f6d !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(16, 138, 95, 0.28) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.buy-submit-btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 6px 14px rgba(16, 138, 95, 0.33) !important;
}

.buy-back-btn {
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  background: #f3f8f7 !important;
  border: 1px solid #bcd8d0 !important;
  color: #3d625c !important;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.buy-back-btn:hover {
  background: #eaf3f1 !important;
  border-color: #9ec6bc !important;
  color: #2f534d !important;
}

.buy-action-row #submit_buy {
  flex: 1;
  min-width: 180px;
}

.buy-action-row .from_in_4,
.buy-action-row .from_in_2 {
  width: auto;
}

.buy-desc-title {
  margin-top: 14px;
  margin-bottom: 8px;
  font-weight: 700;
}

.buy-desc-content {
  border: 1px solid #d8e8e3;
  border-radius: 10px;
  background: #ffffff;
  padding: 14px;
  color: #4e5f5d;
  line-height: 1.8;
}

.buy-desc-content p {
  margin: 0;
}

.query-page {
  padding: 22px 0 32px;
  background: linear-gradient(180deg, #f2f7f5 0%, #eef5f2 100%);
}

.query-wrap {
  width: 1180px;
  margin: 0 auto;
}

.query-card {
  margin-top: 0;
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.query-title {
  text-align: center;
  font-size: 16px;
  color: #425f5a;
  margin-bottom: 12px;
}

.query-form {
  display: flex;
  width: 70%;
  margin: 0 auto;
  border: 1px solid #d1e4de;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.query-input {
  flex: 1;
  height: 44px;
  padding: 0 12px;
  font-size: 16px;
  border: 0;
  outline: 0;
}

.query-submit {
  width: 140px;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #22a781 0%, #17936f 100%);
}

.query-tip {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: #e24b4b;
}

.query-subtitle {
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: 17px;
  color: #0f6148;
  font-weight: 700;
}

.query-table-head,
.query-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 80px 100px 110px 170px 130px;
  gap: 8px;
  align-items: center;
}

.query-table-head {
  padding: 10px 12px;
  border: 1px solid #d7e4de;
  background: linear-gradient(180deg, #edf8f3 0%, #e6f4ed 100%);
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(17, 160, 108, 0.08);
  font-weight: 700;
  color: #2f5f55;
  font-size: 14px;
}

.query-row {
  padding: 12px;
  border-bottom: 1px solid #e3ece8;
  background: #fcfffe;
}

.query-row:last-child {
  border-bottom: 0;
}

.query-row > div,
.query-table-head > div {
  min-width: 0;
}

.query-center {
  text-align: center;
}

.query-table-head > div:nth-child(2),
.query-row > div:nth-child(2) {
  text-align: center;
}

.query-name a {
  color: #24534d;
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
  display: block;
  text-align: center;
}

.query-price {
  font-weight: 700;
  color: #ea5626;
}

.query-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.query-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #16a06c 0%, #10895d 100%);
}

.query-btn.alt {
  background: linear-gradient(135deg, #4ea6e8 0%, #2f7fc0 100%);
}

.query-status {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.query-status.done {
  background: #daf3e8;
  color: #1c7d5f;
}

.query-status.handling {
  background: #fff1dd;
  color: #ab6900;
}

.query-status.error {
  background: #ffe4e4;
  color: #c23c3c;
}

.query-status.refund {
  background: #ebefef;
  color: #7a8785;
}

.query-status.pending {
  background: #e4efff;
  color: #2b68c5;
}

.query-empty {
  padding: 22px 10px;
  text-align: center;
  color: #7f9690;
}

.query-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.query-pagination a,
.query-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #cfe2dc;
  color: #45635d;
  background: #fff;
}

.query-pagination a:hover {
  background: #eaf5f1;
}

.order-page {
  padding: 26px 0 34px;
  background: linear-gradient(180deg, #f2f7f5 0%, #eef5f2 100%);
}

.order-wrap {
  width: 980px;
  margin: 0 auto;
}

.order-hero-card {
  background: #f5fbf8;
  border: 1px solid #d7e4de;
  border-radius: 14px;
  padding: 24px 20px 18px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(17, 160, 108, 0.12);
}

.order-hero-title {
  font-size: 30px;
  line-height: 1.2;
  color: #1e4150;
  font-weight: 700;
}

.order-hero-sub {
  margin-top: 10px;
  color: #5f7873;
  font-size: 15px;
}

.order-card {
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.order-info-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e3ece8;
}

.order-info-row:last-of-type {
  border-bottom: 0;
}

.order-label {
  width: 105px;
  color: #4c6460;
  font-size: 15px;
  flex-shrink: 0;
}

.order-value {
  color: #213f3b;
  font-size: 15px;
  line-height: 1.7;
}

.order-value a {
  color: #168d72;
  text-decoration: none;
}

.order-value a:hover {
  text-decoration: underline;
}

.order-amount {
  font-size: 26px;
  font-weight: 700;
  color: #e95a28;
  margin-right: 0;
  line-height: 1;
}

.order-money-value {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-balance {
  font-size: 13px;
  color: #9a5e00;
  padding: 4px 10px;
  border: 1px solid #efcb7d;
  border-radius: 999px;
  background: #fff6db;
  display: inline-block;
}

.order-balance a {
  color: #0f8e71;
}

.payment-list {
  width: 100%;
}

.payment-list ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.payment-list li {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 44px;
  min-width: 132px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #3c5953;
  border: 1px solid #c9ddd6;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.payment-list li:hover {
  border-color: #9cc8bb;
  background: #eff8f4;
  transform: translateY(-1px);
}

.payment-list li.curr {
  border-color: #14976b;
  color: #176c56;
  background: linear-gradient(180deg, #ebf8f2 0%, #e0f3ea 100%);
  box-shadow: 0 0 0 2px rgba(20, 151, 107, 0.12);
}

.payment-list li.curr:after {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  right: 6px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  font-size: 9px;
  color: #fff;
  border-radius: 50%;
  background: #14976b;
}

.payment-list .pay-icon {
  width: 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1;
}

.payment-list .pay-name {
  display: inline-block;
  line-height: 1;
}

.payment-list li[data-paytype="rmb"] .pay-icon {
  color: #f08d2f;
}

.payment-list li[data-paytype="alipay"] .pay-icon {
  color: #2e8de2;
}

.payment-list li[data-paytype="wxpay"] .pay-icon {
  color: #24b44e;
}

.payment-list li[data-paytype="qqpay"] .pay-icon {
  color: #1e9bff;
}

.payment-list li[data-paytype="usdt_pay"] .pay-icon {
  color: #20a57a;
}

em,
i {
  font-style: normal;
  font-weight: 400;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.order-actions .button,
.order-actions a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 34px;
  padding: 0 16px;
  white-space: nowrap;
  overflow: visible;
  line-height: 1;
  font-size: 14px;
  box-sizing: border-box;
}

.order-submit-btn {
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #16a06c 0%, #10895d 100%) !important;
  border: 1px solid #178f6d !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(16, 138, 95, 0.28) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.order-submit-btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 6px 14px rgba(16, 138, 95, 0.33) !important;
}

.order-back-btn {
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  background: #f3f8f7 !important;
  border: 1px solid #bcd8d0 !important;
  color: #3d625c !important;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.order-back-btn:hover {
  background: #eaf3f1 !important;
  border-color: #9ec6bc !important;
  color: #2f534d !important;
}

.order-actions #dopay {
  flex: 1;
  min-width: 180px;
}

.order-tip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d5e6e1;
  font-size: 13px;
  color: #7a8885;
  text-align: center;
}

.paytype-hidden {
  display: none;
}

.so-page {
  padding: 22px 0 32px;
  background: linear-gradient(180deg, #f2f7f5 0%, #eef5f2 100%);
}

.so-wrap {
  width: 1180px;
  margin: 0 auto;
}

.so-main {
  margin-top: 0;
  display: block;
}

.so-content {
  width: 100%;
}

.so-card {
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.so-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f6148;
  margin-bottom: 10px;
  text-align: center;
}

.so-table-head,
.so-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 110px 90px;
  gap: 10px;
  align-items: center;
}

.so-table-head {
  padding: 10px 12px;
  background: linear-gradient(180deg, #edf8f3 0%, #e6f4ed 100%);
  border: 1px solid #d7e4de;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(17, 160, 108, 0.08);
  font-weight: 700;
  color: #2f5f55;
  font-size: 14px;
}

.so-table-head > div,
.so-item-row > div {
  min-width: 0;
}

.so-table-head > div:nth-child(2),
.so-table-head > div:nth-child(3),
.so-table-head > div:nth-child(4),
.so-item-row > div:nth-child(2),
.so-item-row > div:nth-child(3),
.so-item-row > div:nth-child(4) {
  text-align: center;
}

.so-table-head > div:nth-child(1) {
  text-align: center;
}

.so-item-row {
  padding: 12px;
  border-bottom: 1px solid #e3ece8;
  background: #fcfffe;
  border-radius: 10px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.so-item-row:hover {
  background: #f2faf6;
  box-shadow: inset 0 0 0 1px rgba(23, 164, 111, 0.24);
  border-bottom-color: transparent;
}

.so-table-head + .so-item-row {
  margin-top: 8px;
}

.so-item-row:last-child {
  border-bottom: 0;
}

.so-item-name {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  text-align: center;
}

.so-name-link {
  display: block;
  font-size: 15px;
  color: #295349;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

.so-name-link:hover {
  color: #0f835b;
}

.so-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
}

.so-badge.auto {
  background: linear-gradient(180deg, #edf9f3 0%, #e1f4ea 100%);
  border-color: #bfe3d3;
  color: #0f7b58;
}

.so-badge.manual {
  background: linear-gradient(180deg, #f2f7f5 0%, #e8f0ed 100%);
  border-color: #c9d8d2;
  color: #5f746d;
}

.so-item-price {
  color: #d46334;
  font-size: 15px;
  font-weight: 700;
}

.so-sales {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #8da19b;
  font-weight: 400;
}

.so-stock {
  font-size: 14px;
  font-weight: 600;
}

.so-stock.in,
.so-stock.normal {
  color: #167a5f;
}

.so-stock.out {
  color: #8a9a95;
}

.so-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #16a06c 0%, #10895d 100%);
  box-shadow: 0 2px 6px rgba(16, 138, 95, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.so-buy-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 6px 14px rgba(16, 138, 95, 0.33);
}

.so-buy-btn.is-disabled {
  background: #a8b7b2;
  box-shadow: none;
  filter: none;
  transform: none;
}

.so-empty {
  padding: 18px 12px;
  text-align: center;
  color: #7f9690;
  font-size: 14px;
}

.login-page {
  padding: 6px 0 28px;
  background: linear-gradient(180deg, #f2f7f5 0%, #eef5f2 100%);
}

.login-wrap {
  width: 1180px;
  margin: 0 auto;
}

.login-breadcrumb {
  background: #f5fbf8;
  border: 1px solid #d7e4de;
  border-radius: 10px;
  padding: 10px 14px;
  color: #56766d;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(17, 160, 108, 0.12);
}

.login-breadcrumb a {
  color: #108a5f;
  text-decoration: none;
  font-weight: 600;
}

.login-card {
  margin-top: 0;
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.login-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 26px;
  font-weight: 700;
  color: #234f49;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #d7e4de;
}

#msg.require {
  font-size: 14px;
  font-weight: 500;
}

.login-form {
  max-width: 560px;
}

.login-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.login-label {
  width: 90px;
  flex: 0 0 90px;
  text-align: right;
  color: #42635e;
  font-size: 15px;
  font-weight: 600;
}

.login-field {
  flex: 1;
}

.login-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #cfe0da;
  border-radius: 8px;
  background: #fff;
  color: #2f4944;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.login-input:focus {
  border-color: #7fc3ad;
}

.login-actions {
  display: flex;
  gap: 10px;
  margin: 6px 0 2px;
  padding-left: 102px;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.login-btn.primary {
  background: linear-gradient(135deg, #16a06c 0%, #10895d 100%);
  border-color: #137d56;
  color: #fff;
}

.login-btn.secondary {
  background: #edf4f1;
  border-color: #bfd2cb;
  color: #32544e;
}

.login-extra {
  margin-top: 10px;
  padding-left: 102px;
}

.login-extra a {
  color: #1a8569;
  font-size: 14px;
  text-decoration: none;
}

.login-social {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding-left: 102px;
}

.login-social img {
  height: 36px;
  width: 36px;
}

.reg-page {
  padding: 6px 0 28px;
  background: linear-gradient(180deg, #f2f7f5 0%, #eef5f2 100%);
}

.reg-wrap {
  width: 1180px;
  margin: 0 auto;
}

.reg-breadcrumb {
  background: #f5fbf8;
  border: 1px solid #d7e4de;
  border-radius: 10px;
  padding: 10px 14px;
  color: #56766d;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(17, 160, 108, 0.12);
}

.reg-breadcrumb a {
  color: #108a5f;
  text-decoration: none;
  font-weight: 600;
}

.reg-card {
  margin-top: 0;
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.reg-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 26px;
  font-weight: 700;
  color: #234f49;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #d7e4de;
}

.reg-form {
  max-width: 560px;
}

.reg-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.reg-label {
  width: 90px;
  flex: 0 0 90px;
  text-align: right;
  color: #42635e;
  font-size: 15px;
  font-weight: 600;
}

.reg-field {
  flex: 1;
}

.reg-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #cfe0da;
  border-radius: 8px;
  background: #fff;
  color: #2f4944;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.reg-input:focus {
  border-color: #7fc3ad;
}

.reg-captcha-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-captcha-img {
  cursor: pointer;
  border: 1px solid #cedfd9;
  border-radius: 6px;
  height: 36px;
  width: 94px;
}

.reg-actions {
  display: flex;
  gap: 10px;
  margin: 6px 0 2px;
  padding-left: 102px;
}

.reg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.reg-btn.primary {
  background: linear-gradient(135deg, #16a06c 0%, #10895d 100%);
  border-color: #137d56;
  color: #fff;
}

.reg-btn.secondary {
  background: #edf4f1;
  border-color: #bfd2cb;
  color: #32544e;
}

.reg-links {
  margin-top: 10px;
  padding-left: 102px;
}

.reg-links a {
  color: #1a8569;
  font-size: 14px;
  text-decoration: none;
}

.findpwd-page {
  padding: 6px 0 28px;
  background: linear-gradient(180deg, #f2f7f5 0%, #eef5f2 100%);
}

.findpwd-wrap {
  width: 1180px;
  margin: 0 auto;
}

.findpwd-breadcrumb {
  background: #f5fbf8;
  border: 1px solid #d7e4de;
  border-radius: 10px;
  padding: 10px 14px;
  color: #56766d;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(17, 160, 108, 0.12);
}

.findpwd-breadcrumb a {
  color: #108a5f;
  text-decoration: none;
  font-weight: 600;
}

.findpwd-card {
  margin-top: 0;
  background: #ffffff;
  border: 1px solid #d7e4de;
  border-top: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 10px rgba(16, 138, 95, 0.06), inset 0 0 0 1px rgba(17, 160, 108, 0.14);
}

.findpwd-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 26px;
  font-weight: 700;
  color: #234f49;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #d7e4de;
}

.findpwd-main {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

#login {
  background: #eaf5f1;
  border: 1px solid #d0e2dc;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #2f5952;
}

#loginload {
  display: none !important;
}

#qrimg {
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #d9e7e2;
  border-radius: 10px;
  min-height: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

#qrimg img {
  width: 170px;
  height: 170px;
  display: block;
  margin: 0 auto;
}

#mobile {
  display: none;
  margin-top: 12px;
  background: #fff;
  border: 1px solid #d8e6e1;
  border-radius: 10px;
  padding: 12px;
}

.findpwd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.findpwd-btn.primary {
  background: linear-gradient(135deg, #16a06c 0%, #10895d 100%);
  border-color: #137d56;
  color: #fff;
}

.findpwd-btn.secondary {
  background: #edf4f1;
  border-color: #bfd2cb;
  color: #32544e;
}

.findpwd-tip {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f3f8f6;
  border: 1px solid #d9e7e2;
  color: #5b7370;
  font-size: 14px;
  text-align: left;
}

.findpwd-back {
  margin-top: 14px;
}

.mobile-gap-top {
  height: 50px;
}

.mobile-main-wrap {
  margin: 30px;
  margin-top: 65px;
}

.mobile-mt-12 {
  margin-top: 12px;
}

.mobile-inline {
  display: inline;
}

.mobile-auto {
  margin: auto;
}

.mobile-mt-15 {
  margin-top: 15px;
}

.mobile-text-center {
  text-align: center;
}

.mobile-font-bold {
  font-weight: 700;
}

.mobile-login-load {
  padding-left: 10px;
  color: #790909;
}

.mobile-action-wrap {
  padding-left: 10px;
  margin-top: 20px;
}

.mobile-hidden {
  display: none;
}

.mobile-tip-box {
  padding: 20px 30px;
}

.mobile-captcha-img {
  width: 73px;
  height: 30px;
}

.mobile-mr-5 {
  margin-right: 5px;
}

.mobile-maxw-360 {
  max-width: 360px;
}

.mobile-maxw-160 {
  max-width: 160px;
}

@media (max-width: 1220px) {
  .home-wrap,
  .query-wrap,
  .so-wrap,
  .login-wrap,
  .reg-wrap,
  .findpwd-wrap {
    width: calc(100% - 20px);
  }

  .buy-layout {
    width: calc(100% - 24px);
  }
}

@media (max-width: 1040px) {
  .order-wrap {
    width: calc(100% - 24px);
  }
}

@media (max-width: 920px) {
  .home-table-head,
  .home-item-row,
  .so-table-head,
  .so-item-row {
    grid-template-columns: 1fr 110px 80px 72px;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .query-table-head {
    display: none;
  }

  .query-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .query-center,
  .query-actions {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .buy-main-card {
    flex-direction: column;
  }

  .buy-left,
  .buy-right {
    width: 100%;
    flex: none;
  }

  .buy-inputs #inputsname .from_wz_3,
  .buy-qty-row .from_wz_3 {
    line-height: 1.6;
  }
}

@media (max-width: 720px) {
  .site-footer-inner {
    max-width: calc(100% - 12px);
    padding: 12px 4px 14px;
    font-size: 12px;
  }

  .order-info-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .order-label {
    width: auto;
  }

  .order-hero-title {
    font-size: 24px;
  }
}

@media (max-width: 620px) {
  .home-page,
  .so-page {
    padding: 12px 0 20px;
  }

  .home-table-head,
  .so-table-head {
    display: none;
  }

  .home-item-row,
  .so-item-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
  }
}

@media (max-width: 520px) {
  .buy-page {
    padding: 12px 0 20px;
  }

  .buy-layout {
    width: calc(100% - 14px);
  }

  .trade-goodinfo {
    font-size: 20px;
  }

  .trade-price {
    font-size: 24px;
  }

  .buy-qty-row,
  .buy-action-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .buy-num-input {
    width: 100%;
    max-width: 260px;
  }

  .buy-inputs #inputsname input[type="text"],
  .buy-inputs #inputsname input[type="number"],
  .buy-inputs #inputsname input[type="password"],
  .buy-inputs #inputsname input[type="email"],
  .buy-inputs #inputsname select,
  .buy-num-input {
    width: 100%;
    max-width: 260px;
  }
}
