/* 定义颜色变量 */
:root {
  --primary-color: #F06D39;
  --bg-white: #ffffff;
  --bg-gray: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
  --text-main: #333;
  --border-color: #eee;
}

@font-face {
  font-family: 'en';
  src:
    url("../font/Bronova_Regular.ttf") format('truetype'),
    url("../font/Bronova_Regular.woff2") format('woff2');
  font-style: normal;
  font-display: swap;
}

.en {
  font-family: "仿宋", "en";
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 16px;
  /* Required, global font size */
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #f4f4f4;
  font-family: "仿宋";
}

*,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

::placeholder {
  color: #bbb;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  /* 手机端的左右内边距，防止文字紧贴屏幕边缘 */
  padding-right: 15px;
  padding-left: 15px;
}

/* --- 响应式断点设置 --- */

/* 小型设备 (平板, 768px 及以上) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* 中型设备 (桌面显示器, 992px 及以上) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

/* 大型设备 (大屏显示器, 1200px 及以上) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* 超大型设备 (4K或宽屏, 1400px 及以上) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1320px;
  }
}

.en_t {
  font-family: "en";
  font-weight: 100;
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-start {
  justify-content: flex-start;
}

/* header */
.header-top {
  padding: 20px 0;
  background-color: #fff;
}

.header-top .site-logo {
  width: 200px;
}

.header-top .site-logo img {
  max-width: 100%;
}

.header-top .search-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 30px;
}

.header-top .search-box form {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top .search-box .search-input {
  height: 40px;
  width: 230px;
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 0 10px;
  transition: border .5s ease-in-out;
}

.header-top .search-box .search-input:focus {
  border: 2px solid var(--primary-color);
  outline: none;
}

.header-top .search-box .search-btn {
  height: 40px;
  padding: 0 20px;
  background-color: var(--primary-color);
  outline: none;
  border: 0;
  transition: background .5s;
  cursor: pointer;
}

.header-top .search-box .search-btn:hover {
  background-color: #d85a2b;
}

.header-top .search-box .search-btn i {
  color: #fff;
}

.header-top .contact-box {
  display: flex;
  align-items: center;
}

.header-top .contact-box a {
  font-size: 18px;
  text-decoration: none;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.header-top .contact-box a i {
  font-size: 32px;
  color: var(--primary-color);
  padding: 10px;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
  transition: all .3s ease-in-out;
}

.header-top .contact-box a:hover i {
  color: #fff;
  background-color: var(--primary-color);
}

.header-top .contact-box a span {
  font-weight: bold;
}

header .nav {
  width: 100%;
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 60px;
  display: flex;
  align-items: center;
  list-style: none;
}

header .nav .container {
  position: relative;
}

header .nav .menu-dropdown>a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-decoration: none;
  color: var(--bg-white);
  position: relative;
}

header .nav .menu-dropdow>a .iconfont {
  font-size: 20px;
  transform: rotate(0deg);
  transform-origin: center;
  display: inline-block;
  transition: transform .5s ease-in-out;
}

header .nav .menu-dropdown {
  padding: 0 18px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
}

header .nav .menu-dropdown:hover,
header .nav .menu-dropdown.active {
  background-color: #d85a2b;
}

header .nav .menu-dropdown:hover .dropdown-menu {
  display: block;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 99;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(18px);
  padding: 6px 0;
  animation: slideDown 0.5s ease-in-out;
}

.menu-dropdown>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bg-white);
  transition: width 0.3s ease;
}

.menu-dropdown a:hover::after,
.menu-dropdown.active>a::after {
  width: 100%;
}

.menu-dropdown .dropdown-menu {
  display: none;
}

.menu-dropdown .dropdown-menu li {
  width: 100%;
  list-style: none;
  padding: 0 10px;
}

.menu-dropdown .dropdown-menu li:hover,
.menu-dropdown .dropdown-menu li.active {
  background-color: #d85a2b;
}

.menu-dropdown .dropdown-menu li a {
  display: block;
  color: #fff;
  padding: 5px 0;
  font-size: 14px;
}

.header-top .mobile-menu {
  display: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* footer */
footer .sideBar {
  position: fixed;
  right: 0;
  top: 40%;
  transform: translateY(-50%);
  z-index: 998;
  display: block;
}

footer .side1 a,
footer .side1 img,
footer .side1 i,
footer .side1 span {
  display: block;
  color: #fff;
  font-size: 14px;
  writing-mode: vertical-lr;
  margin: 0 auto;
  letter-spacing: 2px
}

footer .side1 img {
  margin: 0 auto
}

footer .side1 i {
  margin: 10px auto;
  width: 1px;
  height: 20px;
  background: #fff;
  transition: all 0.5s ease
}

footer .side1:hover {
  background: #d85a2b
}

footer .side1:hover a img {
  animation: jitter 0.5s
}

footer .side {
  height: 50px;
  position: absolute;
  transition: all 0.5s
}

footer .side a {
  display: block;
  height: 50px;
  font-size: 0
}

footer .side i,
footer .side span {
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  line-height: 50px;
  text-align: center;
  background: #333;
  font-size: 13px;
  color: #fff;
  transition: all 1s
}

footer .side i {
  width: 50px;
  text-align: center;
  background-color: var(--primary-color);
  transition: all 0.3s
}

footer .side i img {
  vertical-align: middle
}

footer .side2 {
  top: 0px;
  right: -140px;
  width: 190px
}

footer .side2 span {
  width: 140px
}

footer .side3 {
  right: -140px;
  width: 190px;
  top: 51px
}

footer .side3 span {
  width: 140px
}

footer .side4 {
  right: -170px;
  width: 220px;
  top: 102px
}

footer .side4 span {
  width: 170px
}

footer .side5 {
  right: -90px;
  width: 140px;
  top: 153px;
  cursor: pointer
}

footer .side5 span {
  width: 90px;
  font-size: 14px
}

footer .qcodePic {
  width: 140px;
  height: 140px;
  position: absolute;
  top: 50px;
  left: 0;
  display: none;
  z-index: 99;
  text-align: center;
  background: url(../images/ewm.png) no-repeat center/cover;
  border: 1px solid #e5e5e5
}

footer .side5:hover .qcodePic {
  display: block
}

footer .side6 {
  right: -90px;
  width: 140px;
  top: 204px;
  cursor: pointer
}

footer .side6 span {
  width: 90px;
  font-size: 14px
}

footer .side:hover {
  right: 0
}

footer .side:hover i {
  background-color: var(--primary-color);
  background-image: linear-gradient(123deg, var(--primary-color) 0%, #904023 100%)
}

footer .wxPic {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none
}

footer .wxPic img {
  width: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
}

footer .footer-main {
  background-color: #1A1A1A;
  padding: 2vw 0;
  border-top: 2px solid #f06d39aa;
}

footer .footer-main a {
  color: #fff;
  font-size: 14px;
  opacity: .8;
  text-decoration: none;
  transition: all .5s;
}

footer .footer-main a:hover {
  color: #f06d39;
  opacity: 1;
}

footer .footer-main .footer-link {
  width: 33%;
  padding: 0 1vw;
}

.footer-link h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-link ul {
  width: 100%;
}

.footer-link ul li {
  float: left;
  width: 33.3%;
  margin: 6px 0;
  list-style: none;
}

.footer-link.contact-item {}

.footer-link.contact-item p {
  font-size: 14px;
  line-height: 2;
  color: #fff;
}

footer .footer-copy {
  padding: 1.25vw 0;
  background-color: #222222;
}

footer .footer-copy p {
  text-align: center;
  font-size: 13px;
  color: #999;
}

footer .footer-copy p a {
  color: #ddd;
}

@media screen and (max-width: 768px) {
  header .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  header .nav.show {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  header .nav .container {
    flex-direction: column;
  }

  header {
    height: 60px;
  }

  .header-top {
    width: 100%;
    height: 60px;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
  }

  .header-top .container {
    align-items: center;
  }

  .header-top .site-logo {
    height: 60px;
  }

  .header-top .site-logo img {
    max-height: 100%;
  }

  .header-top .fr {
    display: none;
  }

  header .nav .menu-dropdown:hover .dropdown-menu {
    display: none;
  }

  .header-top .mobile-menu {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 35px;
  }

  .header-top .mobile-menu .line {
    width: 100%;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    border-radius: 3px;
  }

  .header-top .mobile-menu.active .line {
    background-color: var(--primary-color);
  }

  .header-top .mobile-menu.active .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .header-top .mobile-menu.active .line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }

  .header-top .mobile-menu.active .line:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
  }

  footer .sideBar {
    display: none;
  }

  footer .footer-main {
    padding: 20px 0;
  }

  footer .footer-copy {
    padding: 15px 0;
  }

  footer .footer-main .footer-link.contact-item {
    width: 100%;
  }

  footer .footer-nav,
  footer .product-list {
    display: none;
  }
}