.header_box {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 999;
}
.header_box .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header_box .header .l {
  color: #fff;
}
.header_box .header .l a img {
  display: block;
  height: 0.8rem;
  width: auto;
}
.header_box .header .m {
  width: 50%;
}
.header_box .header .m ul {
  display: flex;
}
.header_box .header .m ul li {
  width: 100%;
}
.header_box .header .m ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0.8rem;
  color: #fff;
  text-transform: capitalize;
  font-size: 0.18rem;
}
.header_box .header .r a {
  color: #fff;
}

/* 桌面端隐藏移动端导航 */
.header_box .nav_two {
  display: none;
}

.header_box .header .m ul li.dropdown {
  position: relative;
}

.header_box .header .m ul li.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 1000;
}

.header_box .header .m ul li.dropdown .dropdown-menu dd {
  width: 100%;
}

.header_box .header .m ul li.dropdown .dropdown-menu dd a {
  display: block;
  padding: 0.1rem 0;
  text-align: center;
  color: #fff;
  font-size: 0.16rem;
  height: auto !important;
}

.header_box .header .m ul li.dropdown .dropdown-menu dd a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.footer_box .footer .top {
  padding: 0.2rem 0;
  border-bottom: 1px solid #000000;
  box-sizing: border-box;
}
.footer_box .footer .top ul {
  display: flex;
  align-items: end;
  justify-content: end;
}
.footer_box .footer .top ul li a img {
  display: block;
  margin: 0 0.2rem;
  width: 0.36rem;
  height: 0.36rem;
}
.footer_box .footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0;
  box-sizing: border-box;
}
.footer_box .footer .bottom .l {
  display: flex;
}
.footer_box .footer .bottom .l a {
  display: inline-block;
  margin: 0 0.1rem;
}
.footer_box .footer .bottom .l a img {
  display: inline-block;
  width: 0.15rem;
  height: 0.15rem;
  margin: 0 0.05rem;
}


/* products mega menu */
.header_box.products-open {
  background-color: #ffffff;
}

.header_box.products-open .header .l {
  color: #181818;
}

.header_box.products-open .header .m ul li a {
  color: #181818;
}

.header_box.products-open .header .r a {
  color: #181818;
}

.products-panel {
  position: fixed;
  left: 0;
  top: 0.8rem;
  width: 100%;
  z-index: 1001;
  background: #ffffff;
  display: none;
  padding: 0.35rem 0 0.55rem;
  box-sizing: border-box;
  height: calc(87vh - 61px);
  border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .4);
    background-color: #f8f9f9;
    overflow: hidden;
}

.products-panel-inner {
  position: relative;
}

.products-close {
  position: absolute;
  right: 0;
  top: -0.05rem;
  font-size: 0.28rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  user-select: none;
}
/* 
.products-panel-body {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
} */

.products-left {
  /* width: 2.8rem; */
  flex-shrink: 0;
}

.products-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
  padding-top: 0.05rem;
  padding-bottom: 0.18rem;
}

.products-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.16rem;
  color: #626868;
  padding-bottom: 0.1rem;
  border-bottom: 0.03rem solid transparent;
  white-space: nowrap;
  padding: 0.1rem 0.3rem;
  box-sizing: border-box;
}

.products-tabs a img {
  display: block;
  width: 16px;
}

.products-tabs a.is-active {
  color: #f8c006 !important;
  border-bottom-color: #f8c006;
  color: #181818;
}

.products-type-list {
  display: flex;
  border-top: 0.01rem solid rgba(0, 0, 0, 0.08);
  padding-top: 0.18rem;
}

.products-type-list a {
  display: block;
  font-size: 0.16rem;
  color: #626868;
  padding: 0.16rem 0;
  border-bottom: 0.03rem solid transparent;
  padding: 0.1rem 0.3rem;
  box-sizing: border-box;
}

.products-type-list a.is-active {
  color: #f8c006 !important;
  color: #181818;
  border-bottom-color: #f8c006;
}

.products-right {
  flex: 1;
}

.products-grid-wrap {
  height: calc(87vh - 210px);
  overflow-y: auto;
  overflow-x: hidden;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem 0.22rem;
  margin: 0.4rem 0;
  padding: 0 0.2rem;
}

.products-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.12rem 0.18rem;
  border-radius: 0.12rem;
  border: 0.01rem solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s,
    border-color 0.2s;
}

.products-item img {
  display: block;
  width: 100%;
  height: 1.9rem;
  object-fit: contain;
}

.products-item span {
  display: block;
  text-align: center;
  margin-top: 0.2rem;
  font-size: 0.20rem;
  color: #181818;
  font-weight: 600;
}

.products-item:hover {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, 0.12);
  transform: translateY(-0.04rem);
}

@media (max-width: 900px) {
  .products-panel {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  .products-panel-body {
    gap: 0.35rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem 0.2rem;
  }
}
@media (max-width: 980px) {
  .header_box {
    font-size: 14px;
    line-height: 1.5;
  }

  .header_box h1,
  .header_box h2,
  .header_box h3,
  .header_box h4,
  .header_box h5,
  .header_box h6 {
    font-size: 16px;
    line-height: 1.5;
  }

  .header_box .container {
    position: relative;
    padding-left: 0.16rem;
    padding-right: 0.16rem;
  }

  .header_box .header {
    min-height: 0.56rem;
    padding-right: 0.52rem;
  }

  .header_box .header .l a img {
    height: 50px;
  }

  .header_box .header .m {
    display: none;
  }

  .header_box .header .m ul li a {
    font-size: 16px;
    line-height: 1.5;
  }

  .header_box .header .r a {
    font-size: 14px;
    line-height: 1.5;
  }

  .header_box .nav_two {
    display: block;
    position: static;
  }

  .header_box .nav_two .app {
    position: absolute;
    right: 0.16rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.36rem;
    height: 0.28rem;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .header_box .nav_two .app span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .header_box.products-open .nav_two .app span {
    background: #181818;
  }

  .header_box .nav_two .app span.new.c1 {
    transform: translateY(0.11rem) rotate(45deg);
  }

  .header_box .nav_two .app span.new.c2 {
    opacity: 0;
  }

  .header_box .nav_two .app span.new.c3 {
    transform: translateY(-0.11rem) rotate(-45deg);
  }

  .header_box .wap-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.92);
    padding: 0.12rem 0 0.2rem;
    box-sizing: border-box;
    max-height: calc(100vh - 0.56rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header_box .wap-nav dl {
    margin: 0;
    padding: 0 0.16rem;
  }

  .header_box .wap-nav dl dd {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header_box .wap-nav dl dd > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.14rem 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    text-transform: capitalize;
  }

  .header_box .wap-nav dl dd .wap-nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.08rem;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.2s;
    flex-shrink: 0;
  }

  .header_box .wap-nav dl dd.dd_act > a .wap-nav-caret {
    transform: rotate(180deg);
  }

  .header_box .wap-nav dl dd ul {
    display: none;
    margin: 0;
    padding: 0 0 0.08rem 0.12rem;
    list-style: none;
  }

  .header_box .wap-nav dl dd ul li a {
    display: block;
    padding: 0.1rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
  }

  .header_box .products-tabs a,
  .header_box .products-type-list a,
  .header_box .products-item span,
  .header_box .products-close {
    font-size: 14px;
    line-height: 1.5;
  }

  .products-close {
    font-size: 18px !important;
  }

  .header_box .products-panel {
    top: 50px;
  }

  .products-type-list a {
    white-space: nowrap;
  }

  .products-type-list {
    flex-wrap: wrap;
  }

  .footer_box .footer .bottom {
    flex-wrap: wrap;
  }

  .footer_box .footer .bottom .l>span {
    width: 100%;
    text-align: center;
  }

  .footer_box .footer .bottom .l>a {
    width: 100%;
    text-align: center;

  }

  .footer_box .footer .top ul {
    justify-content: center;
  }

  .footer_box .footer .bottom .l {
    flex-wrap: wrap;
    width: 100%;
  }

  .footer_box .footer .bottom .r {
    width: 100%;
    text-align: center;
  }

  .footer_box .footer .bottom .r span {
    width: 100%;
    text-align: center;
  }
}
