/* 设置根字体大小(rem基准) */
html {
  font-size: 18px;
}
@media screen and (max-width: 1714.28571429px) {
  html {
    font-size: calc(100vw * 10 / 1200px * 0.7);
  }
}
.center {
  width: 65%;
  max-width: 1200px;
  min-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
  /* 响应式处理 */
  transition: width 0.3s ease-in-out;
}
@media screen and (max-width: 1200px) {
  .center {
    width: 80%;
    min-width: unset;
  }
}
@media (max-width: 630px) {
  html,
  body {
    min-width: 630px;
    overflow-x: auto;
  }
}
/* 可选：添加CSS层面的限制（与JavaScript中的min/max对应） */
html {
  font-size: clamp(12px, 1.6vw, 20px);
  /* 作为备用方案 */
}
.body {
  width: 100%;
  background-color: #fff;
}
.sideright {
  position: fixed;
  right: 2px;
  z-index: 600;
  width: 4.44444444rem;
  top: 50%;
}
.sid-opt {
  position: relative;
  display: block;
  width: 4.55555556rem;
  height: 4.55555556rem;
  border: solid #dbdbdb;
  border-width: 0.05555556rem;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  color: #909090;
  padding-top: 0.38888889rem;
  padding-bottom: 0.66666667rem;
  box-sizing: border-box;
  background-color: #fff;
  transition: all 0.5s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.sid-opt i {
  font-size: 1.11111111rem;
  line-height: 1.77777778rem;
}
.sid-opt span {
  display: block;
  font-size: 0.83333333rem;
  line-height: 1.22222222rem;
}
.sid-opt .sh-code {
  position: absolute;
  bottom: 0;
  right: 120%;
  padding-top: 0.72222222rem;
  padding-right: 0.72222222rem;
  padding-bottom: 0rem;
  padding-left: 0.72222222rem;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 0 15px rgba(168, 154, 154, 0.5);
  border-radius: 0.38888889rem;
}
.sid-opt .sh-code .pic {
  display: block;
  width: 7.22222222rem;
  height: 7.22222222rem;
}
.sid-opt .sh-code p {
  text-align: center;
  line-height: 1.66666667rem;
  color: #333;
  font-size: 0.66666667rem;
}
.sid-opt .sh-code i {
  font-size: 2rem;
  color: #fff;
  position: absolute;
  left: 3.33333333rem;
  bottom: -0.83333333rem;
}
.sidon {
  border-color: #c3272b;
  background-color: #c3272b;
  color: #fff;
}
@media screen and (max-width: 860px) {
  .sideright {
    display: none;
  }
}
@media screen and (max-width: 1150px) {
  .sideright {
    display: none;
  }
}
.sideright .sid-opt div {
  display: none;
}
.sideright .sid-opt:hover {
  color: #fff;
  background-color: #c3272b;
}
.sideright .sid-opt:hover div {
  display: block;
}
.sideright .sidon:hover {
  color: #fff;
}
.mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  justify-content: center;
  align-items: center;
}
/* 登录框样式 */
.login-box {
  position: relative;
  background: url(../img/login-bg.jpg) no-repeat;
  background-size: auto;
  border-radius: 0.44444444rem;
  width: 36.66666667rem;
  height: 27.22222222rem;
  font-size: 0.88888889rem;
  display: flex;
  justify-content: space-between;
  transition: display 3s linear;
}
.login-box .login {
  width: 67%;
  height: 100%;
}
.login-box .login .log {
  width: 85%;
  margin: 0 auto;
}
.login-box .log-logo {
  width: 45%;
  height: 2.33333333rem;
  margin-top: 2.77777778rem;
  margin-bottom: 2.44444444rem;
}
.login-box .logo1 {
  width: 33%;
  height: 100%;
}
.login-box .logo1 img {
  width: 100%;
  height: 100%;
  border-top-right-radius: 0.44444444rem;
  border-bottom-right-radius: 0.44444444rem;
}
.myform > div {
  width: 100%;
  height: 3.05555556rem;
}
.myform input {
  border: none;
  width: 100%;
  height: 100%;
  background-color: #ededed;
  font-size: 0.83333333rem;
  border-radius: 0.44444444rem;
  padding-left: 1.11111111rem;
  box-sizing: border-box;
}
.myform input::placeholder {
  color: #909090;
}
.myform .pwd-box {
  margin-bottom: 2.22222222rem;
  margin-top: 1.83333333rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ededed;
  border-radius: 0.44444444rem;
  padding-right: 0.55555556rem;
  box-sizing: border-box;
}
.myform .pwd-box input {
  float: left;
  width: 67%;
  border-top-left-radius: 0.44444444rem;
  border-bottom-left-radius: 0.44444444rem;
}
.myform .pwd-box .send {
  color: #1680d6;
  text-align: center;
  font-size: 0.83333333rem;
  height: 100%;
  width: 32%;
  border: none;
  cursor: pointer;
  background-color: #ededed;
}
.myform .btn {
  border-radius: 1.61111111rem;
  color: #fff;
  background-color: #c3272b;
  text-align: center;
  line-height: 3.33333333rem;
  font-size: 0.88888889rem;
  cursor: pointer;
}
/* 关闭按钮 */
#close-btn {
  position: absolute;
  top: 0.27777778rem;
  right: 0.55555556rem;
  color: #666666ac;
  cursor: pointer;
  font-size: 1.33333333rem;
  font-weight: normal !important;
}
#close-btn:hover {
  color: #000;
}
.top-box {
  width: 100%;
  background-color: #333333;
}
.top {
  height: 2.22222222rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66666667rem;
  color: #b9b9b9;
}
.top a {
  color: #b9b9b9;
}
.top a:hover {
  color: #fff;
}
@media screen and (max-width: 860px) {
  .top .nav > li:nth-of-type(n+3) {
    display: none;
  }
}
.top .line {
  display: inline-block;
  width: 1px;
  height: 0.77777778rem;
  background-color: #a9a9a9;
  margin: 0 0.3rem;
}
.top .nav {
  height: 2.22222222rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.top .nav li {
  margin-right: 2.33333333rem;
}
.top .nav .language {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.top .user {
  height: 2.22222222rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.top .user i {
  margin-right: 0.16666667rem;
  font-size: 0.83333333rem;
}
.top .user .usr {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.72222222rem;
}
.top .user .usr .wel {
  font-size: 0.77777778rem;
}
.top .user .cart {
  cursor: pointer;
  margin-left: 1.66666667rem;
}
.top .user .cart b {
  font-size: 0.72222222rem;
}
.header-top {
  display: none;
  opacity: 0;
  visibility: hidden;
  /* 过渡效果 */
  transition: opacity 1s ease, visibility 1s;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  z-index: 2000;
  box-shadow: 0 3px 6px rgba(217, 215, 215, 0.659);
}
.header-top.show-top {
  display: flex;
  visibility: visible;
  opacity: 1;
}
.header {
  position: relative;
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333333;
  font-size: 0.88888889rem;
}
.header .logo {
  display: flex;
  align-items: center;
  height: 2.22222222rem;
  width: 13%;
}
.header .logo img {
  width: 100%;
  height: 100%;
}
.header .nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 50%;
}
.header .nav li {
  margin-right: 2.5rem;
  line-height: 5rem;
}
.header .nav li .nava {
  display: inline-block;
}
.header .nav li .on {
  line-height: 1.66666667rem;
  color: #c3272b;
  border-bottom: 2px solid #c3272b;
}
.header .nav li a {
  color: #000;
}
.header .nav li.pos {
  position: relative;
}
.header .category {
  display: none;
  position: absolute;
  left: 0rem;
  top: 5rem;
  width: 100%;
  max-width: 1200px;
  min-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
  /* 响应式处理 */
  transition: width 0.3s ease-in-out;
  z-index: 1000;
  height: 28.33333333rem;
  overflow: hidden;
  background-color: #fff;
}
@media screen and (max-width: 1200px) {
  .header .category {
    width: 80%;
    min-width: unset;
  }
}
.header .category .cate {
  position: relative;
  float: left;
  width: 15.55555556rem;
  height: 100%;
  background-color: #d9d9d9;
  padding-top: 1.11111111rem;
  box-sizing: border-box;
}
.header .category .cate .option {
  width: 100%;
  display: block;
  font-size: 0.77777778rem;
  padding-left: 2.88888889rem;
  box-sizing: border-box;
  color: #000;
  border-left: 4px solid #d9d9d9;
  line-height: 2.94444444rem;
}
.header .category .cate .option i {
  float: right;
  margin-right: 1.88888889rem;
  line-height: 2.94444444rem;
}
.header .category .cate .ons {
  border-left: 4px solid #c3272b;
  background-color: #fff;
}
.header .category .cate .tree1 {
  display: none;
  position: absolute;
  left: 15.55555556rem;
  background-color: #fff;
  top: 0;
  width: 53.33333333rem;
  height: 28.33333333rem;
  box-sizing: border-box;
}
.header .category .cate .tree1 .treeleft1 {
  position: relative;
  width: 15.55555556rem;
  padding-top: 1.11111111rem;
  box-sizing: border-box;
}
.header .category .cate .tree1 .treeleft1 .option1 {
  display: block;
  width: 100%;
  font-size: 0.77777778rem;
  padding-left: 1.94444444rem;
  box-sizing: border-box;
  line-height: 2.94444444rem;
  color: #666666;
}
.header .category .cate .tree1 .treeleft1 .option1 i {
  display: none;
  float: right;
  margin-right: 1.88888889rem;
  line-height: 2.94444444rem;
}
.header .category .cate .tree1 .treeleft1 .onss {
  color: #fff;
  background-color: #c3272b;
}
.header .category .cate .tree1 .treeleft1 .onss a {
  color: #fff;
}
.header .category .cate .tree1 .treeleft1 .onss i {
  display: block;
}
.header .category .cate .option:first-of-type .tree1 {
  display: block ;
}
.header .category .cate .tree2 {
  display: none;
  position: absolute;
  justify-content: space-between;
  align-content: flex-start;
  flex-wrap: wrap;
  color: #000;
  left: 14.72222222rem;
  top: 1.11111111rem;
  width: 34.44444444rem;
  padding-left: 1.66666667rem;
  height: 27.22222222rem;
  box-sizing: border-box;
}
.header .category .cate .tree2 .option2 {
  width: 16.38888889rem;
  height: 2.77777778rem;
  line-height: 2.77777778rem;
  margin-bottom: 1.38888889rem;
  cursor: pointer;
}
.header .category .cate .tree2 .option2 img {
  width: 2.77777778rem;
  height: 2.77777778rem;
  margin-right: 0.27777778rem;
}
.header .category .cate .tree2 .option2 a {
  color: #000 !important;
}
.header .category .cate .tree2 .option2:hover a {
  color: #c3272b !important;
}
.header .category .cate .onss .tree2 {
  display: flex;
}
.header .cli {
  height: 100%;
}
.header a:hover {
  color: #c3272b;
}
.header .technology {
  display: none;
  position: absolute;
  left: 0rem;
  top: 5rem;
  left: -50%;
  width: 9.44444444rem;
  box-shadow: 0 0 8px #ccc;
  z-index: 1;
  background-color: #ffffff;
}
.header .technology a {
  display: block;
  line-height: 3.05555556rem;
  padding-left: 1.27777778rem;
  font-size: 0.77777778rem;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  color: #000;
  transition: all 0.5s;
}
.header .technology a i {
  font-size: 1rem;
  margin-right: 0.16666667rem;
}
.header .technology a:hover {
  background-color: #f3f3f3;
  color: #bf262a;
}
.header .we {
  display: none;
  position: absolute;
  left: -50%;
  top: 5rem;
  width: 9.44444444rem;
  box-shadow: 0 0 8px #ccc;
  z-index: 1;
  background-color: #fff;
}
.header .we .we-opt {
  display: block;
  line-height: 3.05555556rem;
  padding-left: 1.27777778rem;
  font-size: 0.77777778rem;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  color: #000;
  transition: all 0.5s;
}
.header .we .we-opt i {
  font-size: 1rem;
  margin-right: 0.16666667rem;
}
.header .we a:hover {
  background-color: #f3f3f3;
  color: #bf262a;
}
.header .nav > li:hover > div {
  display: block;
  color: #c3272b;
}
@media screen and (max-width: 860px) {
  .header .nav {
    display: none;
  }
}
.header .search {
  width: 30%;
  height: 2.22222222rem;
  border-radius: 1.11111111rem;
  background-color: #f4f4f4;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.header .search .keyword {
  height: 100%;
  width: 80%;
  background-color: #f4f4f4;
  border: none;
  border-radius: 1.11111111rem;
  padding-left: 1.38888889rem;
  font-size: 0.77777778rem;
  box-sizing: border-box;
  color: #000;
}
.header .search .keyword::placeholder {
  font-size: 0.77777778rem;
}
.header .search .btn {
  display: flex;
  align-items: center;
  /* 垂直居中 */
  justify-content: center;
  /* 水平居中（可选） */
  height: 100%;
  /* 或其他动态高度 */
  border: none;
  width: 20%;
  border-radius: 1.11111111rem;
  text-align: center;
  color: #fff;
  font-size: 1rem;
  background-color: #c3272b;
  cursor: pointer;
}
