/* 基本布局样式 */
.header {
  /* position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  z-index: 100;
  background-color: #071e85;
  color: #fff; */
  position: fixed;
  /* 固定在顶部 */
  top: 0;
  /* 初始位置为顶部 */
  left: 0;
  padding: 10px 0;
  width: 100%;
  /* 宽度占满 */
  background-color: #071e85;
  /* 背景颜色 */
  z-index: 1000;
  /* 确保 header 在其他内容之上 */
  transition: top 0.3s;
  /* 平滑过渡效果 */
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  top: -100px;
  /* 隐藏状态（根据需要调整） */
}

.head_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo_title {
  color: #fff;
  font-size: 16px;
  margin-left: 10px;
  line-height: 1;
  min-width: 120px;
}

.menu_pc {
  display: none;
}

.head_box ul > li > a {
  margin-right: 30px;
  font-weight: 500;
  position: relative;
  line-height: 60px;
  /* color: #fff; */
  font-size: 16px;
}

.head_box ul > li {
  position: relative;
}

.menu_active::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -30px;
  display: block;
  width: 100%;
  height: 4px;
  background-color: #fff;
}

#collapseOne .menu_active::before {
  display: none;
}

.menu_h5 {
  display: block;
  line-height: 60px;
}

.menu-button {
  cursor: pointer;
}

.menu-collapse {
  padding: 10px 20px 0;
}

.menu-collapse > ul > li {
  line-height: 48px;
  padding-left: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-collapse > ul > li:last-child {
  border-bottom: none;
}

.article {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

.main {
  flex: 1;
}

.footer {
  background-color: #071e85;
  color: #fff;
}

.footer_contact {
  display: block;
  padding: 50px 0 20px;
}

.contact_left {
  /* display: none; */
}

.contact_left h2 {
  font-size: 20px;
  font-weight: 600;
}

.contact_right {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.contact_right_box {
  margin-left: 0;
}

.blogroll {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fixbar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
}

.operate-btn {
  width: 48px;
  height: 48px;
  background-color: #9f9f9f;
  text-align: center;
  color: #fff;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  opacity: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}

.modal-main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.modal-content {
  width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
}
.modal-mul-content {
  padding: 10px;
  display: inline-block;
}

.modal-mul-content img {
  width: 48px;
  height: 32px;
  border-radius: 5px;
  border: 1px solid #fff;
}
.modal-mul-content span {
  color: #fff;
}

.grid-item a,
.product-img a,
.swiper-slide a,
.dropdown-item {
  color: inherit !important;
}

.dropdown {
  cursor: pointer;
}

.dropdown-menu {
  min-width: 100px;
  margin-top: 8px !important;
}

.dropdown-item {
  line-height: 22px !important;
  padding: 5px 12px !important;
  font-size: 14px !important;
}

@media (min-width: 768px) {
  .logo {
    height: 50px;
  }

  .article {
    padding-top: 70px;
  }
  
  .logo_title {
    font-size: 18px;
    min-width: 140px;
  }
}

@media (min-width: 1024px) {
  .logo {
    height: 60px;
  }
  
  .article {
    padding-top: 80px;
  }

  .logo_title {
    font-size: 20px;
    min-width: 160px;
  }

  .menu_pc {
    display: flex;
  }

  .menu_h5 {
    display: none;
  }

  .dropdown {
    position: absolute;
    right: 60px;
  }
}

@media (min-width: 960px) {
  .footer_contact {
    display: flex;
    justify-content: space-between;
  }

  .contact_right {
    margin-top: 0;
  }

  .contact_right_box {
    margin-left: 50px;
  }

  .logo {
    height: 60px;
  }

  .article {
    padding-top: 80px;
  }

  .logo_title {
    font-size: 24px;
  }
}
