* {
  margin: 0;
  padding: 0;
  outline: 0;
}

html,
body {
  position: relative;
  height: 100%;
}

html,
body {
  margin: 0px;
  padding: 0px;
  font-family: PingFangSC-Regular, sans-serif;
  font-family: Verdana, Helvetica, "Microsoft YaHei", Arial;
  font-family: "微软雅黑";
}

body {
  /*background: #eee;*/
  font-size: 16px;
  color: #000;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  text-decoration: none;
}

/* ------------------------ bootstrap ------------------------ */
.btn-primary {
  background-color: #0071ef;
  border-color: #0071ef;
}

.btn-primary:hover {
  background-color: #0071ef;
  border-color: #0071ef;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  background-color: #0071ef;
  border-color: #0071ef;
}

/*弹出框*/
.model_tips {
  position: fixed;
  top: 3%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 5px 20px;
  box-sizing: border-box;
  text-align: center;
  background-color: rgb(254, 240.3, 240.3);
  color:#f56c6c;
  z-index: 1000; /* 确保div在其他内容之上 */
  border-radius: 5px;
  display:none;
  font-weight: 600;
}

/* ------------------------ common header ------------------------ */
.header {
  margin: 0px;
  padding: 0px;
  height: 78px;
  overflow: hidden;
  position: relative;
}

.header .header_top {
  position: fixed;
  height: 78px;
  /*background: url(mbg1.png);
    background: rgba(0, 0, 0, 0.5);
    */
  background-color: #fff;

  z-index: 100;
  width: 100%;
  border-bottom: 1px solid rgb(220, 223, 230);
  /*box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);*/
}

.header .header_top .header_box {
  display: flex;
  max-width: 1250px;
  height: 78px;
}

.con_box {
  margin: 0 auto;
  clear: both;
}

.header .header_top .header_box .logo {
  display: inline-block;
  /* display:none; */
  /*background: url(../images/logo2.png) no-repeat;*/
  height: 55px;
  /*width: 125px;*/
  margin-top: 10px;
  /*margin-left: 10px;*/
}

.menu {
  flex: 1;
  height: 78px;
  line-height: 78px;
}

.menu .menu-item {
  float: left;
  padding-left: 40px;
}

.menu ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.menu-a,
.menu-a:visited {
  /*color: #FFF;*/
  display: inline-block;
  font-size: 16px;
}

.menu-item:hover .menu-a {
  color: #0071ef;
  border-bottom: none;
}

.header .header_top .header_box .search_box {
  padding-top: 25px;
}

.header .login_btn,
.panel_content .login_btn {
  display: inline-block;
  width: 100px;
  height: 32px;
  background: #0071ef;
  border: 1px #0071ef solid;
  border-radius: 2px;
  text-align: center;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
}

.footer {
  margin-top: 50px;
  color: #808082;
  text-align: center;
  height: 80px;
  font-size: 12px;
}

.footer a {
  color: #808082;
  font-size: 12px;
}

/* ------------------------ index ------------------------ */

.index_logo {
  width: 450px;
  height: 163px;
  margin-top: 10px;
  margin-bottom: 80px;
}

.index_mouse {
  margin-top: 50px;
}

#space {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tab_panel {
  background-color: #fff;
  position: relative;
  margin-bottom: 40px;
}

.tab_panel .panel_content {
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  max-width: 1250px;
  display: flex;
  flex-wrap: wrap;
  /* 允许子元素换行 */
}

.tab_panel .img_shouyin {
  max-width: 550px;
}

.tab_panel .img_pos {
  max-width: 550px;
}

.tab_panel .img_goods {
  max-width: 550px;
}

.tab_panel .img_multi {
  max-width: 550px;
}

.tab_panel .text_div {
  margin-left: 20px;
  margin-right: 20px;
}

.tab_panel .shouyin_text {
  margin-top: 130px;
}

.tab_panel .pos_text {
  margin-top: 120px;
}

.tab_panel .goods_text {
  margin-top: 160px;
}

.tab_panel .multi_text {
  margin-top:150px;
}

.tab_panel .img_div {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .tab_panel .text_order {
    order: -1;
    width: 100%;
  }

  .tab_panel .mobile_img {
    min-width: 400px;
    max-width: 100%;
  }

  .tab_panel .text_div {
    margin-top: 30px;
  }

  .menu {
    display: none;
  }
  
  .header .header_top .header_box .logo {
    margin-left: 10px;
  }
  
  .header .header_top .header_box .search_box {
      flex: 1;
      text-align: right;
      margin-right:10px;
  }
}
/* ------------------------ 通用登录框 ------------------------ */
.login_box {
  display: none;
  position: fixed;
  right: 100px;
  top: 178px;
  background-color: #fcfcfc;
  z-index: 2;
  padding: 15px 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 1)), to(rgba(222, 222, 222, 1)));
}

.login_box .input_div {
  border: 1px solid #aeaeae;
}

.login_box input {
  width: 240px;
  vertical-align: middle;
  font-family: "Microsoft YaHei";
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  box-shadow: none;
  height: 40px;
  background: 0;
  border: 0;
  outline: 0;
  margin: 0;
  padding: 0 11px;
  font-size: 14px;
  background-color: #fff;
}

.login_box .login_btn_div {
  text-align: center;
  margin-top: 20px;
}

.login_box .login_btn {
  display: inline-block;
  width: 100px;
  height: 32px;
  background: #0071ef;
  border: 1px #0071ef solid;
  border-radius: 2px;
  text-align: center;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
}

/*调整 #product-dropdown 的样式*/
#product-dropdown {
  display: none;
  position: absolute;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 150px;
  /*display: flex;*/ /* 设置为横向排列 */
  gap: 10px; /* 添加间距 */
}

#product-dropdown a {
  color: #333;
  font-size: 14px;
  padding: 8px 12px;
  transition: color 0.3s ease, background-color 0.3s ease;
  text-align: center;
  text-decoration: none;
  line-height: 25px;
  white-space: nowrap; /* 防止文字换行 */
  border-radius: 4px;
}

#product-dropdown a:hover {
  background-color: #f5f5f5;
}

/*登录注册页面*/
.account_wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  /*
  min-width: 1250px;
  min-height: 680px;
  */
  overflow: auto;
  background: #f2f3f5;
}

.account_wrapper .form-horizontal .form-group {
  margin-top: 32px;
}

.account_wrapper .new_login_btn,
.account_wrapper .new_reg_btn {
  cursor: pointer;
}

.account_wrapper .account__container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  width: 948px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.account_wrapper .account__container__left {
  width: 550px;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.account_wrapper .register-box {
  position: relative;
  height: 566px;
  padding: 50px 56px 60px;
  box-sizing: border-box;
}

.account_wrapper .register-box__title {
  font-weight: 500;
  font-size: 26px;
  color: #323233;
  margin-bottom: 50px;
}


.account_wrapper .register-box__form__links {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 32px;
}

.account_wrapper .register-box__form__links__actions {
  font-size: 14px;
}

.account_wrapper .register-box__form__links a {
  color: #155bd4;
}

.account_wrapper .account__container__right {
  background-image: url(../images/cate.jpg);
  position: relative;
  width: 382px;
  background-size: cover;
  background-position: 50%;
}

.account_wrapper .footer {
  text-align: center;
  position: fixed;
  color: #999;
  width: 100%;
  bottom: 30px;
  left: 0;
  margin-top: 50px;
}

.login_logo {
  display: block;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .tab_panel .multi_text {
    margin-top:0px;
  }

  .account__container__right {
    display: none;
  }

  .account__container__left {
    width: auto;
  }

  .account_wrapper {
    background: #FFF;
  }

  .account_wrapper .account__container {
    width: auto;
    transform: translate(0, 0);
    top: 0;
    left: 0;
  }

  .account_wrapper .register-box {
    padding: 50px 30px 60px;
  }
}