* {
  padding: 0;
  margin: 0;
}

body {
  overflow-x: hidden;
}

a {
  display: block;
}

.myContainer {
  width: 1200px;
  max-width: 90.5%;
  margin: auto;
  align-items: center;
}

.mobile {
  display: none !important;
}

.myHeader {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99;
  transition: all 0.5s;
}

.myHeader .headerContent {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  align-items: center;
}

.myHeader .headerContent .right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.myHeader .headerContent .right .navList {
  display: flex;
  align-items: center;
  gap: 22px;
}

.myHeader .headerContent .right .navList .navItem {
  list-style: none;
  font-size: 16px;
  color: #333333;
  transition: all 0.3s;
  font-weight: bold;
  position: relative;
}

.myHeader .headerContent .right .navList .navItem a {
  color: inherit;
  text-decoration: none;
}

.myHeader .headerContent .right .navList .navItem .subMenu {
  position: absolute;
  width: fit-content;
  white-space: nowrap;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #FFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  max-height: 0;
  transition: all 0.3s;
  overflow: hidden;
  width: 100%;
}

.myHeader .headerContent .right .navList .navItem .subMenu a {
  color: #333;
  line-height: 1.8;
  font-size: 0.9em;
  width: 100%;
  transition: all 0.3s;
  padding: 0 10px;
}

.myHeader .headerContent .right .navList .navItem .subMenu a:hover {
  background: #ffb700;
  color: #FFF;
}

.myHeader .headerContent .right .navList .navItem.active {
  color: #ffb23f;
}

.myHeader .headerContent .right .navList .navItem:hover {
  color: #ffb23f;
}

.myHeader .headerContent .right .navList .navItem:hover .subMenu {
  padding: 10px 0;
  max-height: 100vh;
}

.myHeader .headerContent .right .search {
  position: relative;
}

.myHeader .headerContent .right .search .flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  z-index: 1;
}

.myHeader .headerContent .right .search .flag .icon {
  width: 100%;
  height: 18px;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
}

.myHeader .headerContent .right .search .flag .icon svg path {
  fill: #333333;
  transition: all 0.3s;
}

.myHeader .headerContent .right .search .flag .icon:hover svg path {
  fill: #ffb23f;
}

.myHeader .headerContent .right .search .searchBox {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 0;
  transition: all 0.3s;
  overflow: hidden;
}

.myHeader .headerContent .right .search .searchBox .inputBox {
  display: flex;
  position: relative;
  height: 48px;
}

.myHeader .headerContent .right .search .searchBox .inputBox input {
  outline: none;
  padding: 0 10px;
  border: 1px solid #d4d4d4;
  transition: all 0.3s;
}

.myHeader .headerContent .right .search .searchBox .inputBox input:hover {
  border-color: #ffb23f;
}

.myHeader .headerContent .right .search .searchBox .inputBox input:focus {
  border: 1px solid #ffb23f;
}

.myHeader .headerContent .right .search .searchBox .inputBox input:focus + .icon svg path {
  fill: #ffb23f;
}

.myHeader .headerContent .right .search .searchBox .inputBox .icon {
  position: absolute;
  aspect-ratio: 1 / 1;
  right: 3%;
  height: 70%;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  cursor: pointer;
}

.myHeader .headerContent .right .search .searchBox .inputBox .icon svg path {
  fill: #333333;
  transition: all 0.3s;
}

.myHeader .headerContent .right .search .searchBox .inputBox .icon:hover svg path {
  fill: #ffb23f;
}

.myHeader .headerContent .right .search .searchBox .close {
  width: 32px;
  height: 32px;
}

.myHeader .headerContent .right .search[open] .flag {
  position: absolute;
  right: 0;
  width: 32px;
  height: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.myHeader .headerContent .right .search[open] .flag .icon {
  opacity: 0;
  width: 100%;
  height: 100%;
}

.myHeader .headerContent .right .search[open] .searchBox {
  max-width: 300px;
}

.myHeader .headerContent .right .auote {
  width: 130px;
  height: 42px;
  color: #FFF;
  border: 0;
  background-color: #ffb700;
  border-radius: 16px;
  transition: all 0.3s;
}

.myHeader .headerContent .right .auote a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.myHeader .headerContent .right .auote:hover {
  border: 1px solid #ffb700;
  background: #FFF;
  color: #333;
}

.myHeader .headerContent .right .language {
  width: 80px;
  height: 40px;
  background-color: #333333;
  color: #FFF;
  position: relative;
  border: 0;
  transition: all 0.3s;
}

.myHeader .headerContent .right .language details {
  width: 100%;
  height: 100%;
}

.myHeader .headerContent .right .language .title {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.myHeader .headerContent .right .language .languageList {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #FFF;
  padding: 12px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.myHeader .headerContent .right .language .languageList a {
  color: #333;
  text-decoration: none;
  text-align: left;
  transition: all 0.3s;
}

.myHeader .headerContent .right .language .languageList a:hover {
  color: #ffb23f;
}

.myHeader .headerContent .right .language:hover {
  opacity: 0.8;
  color: #ffb700;
}

@media (max-width: 1440px) {
  .myContainer {
    width: 980px;
  }
}

@media (max-width: 1024px) {
  .pc {
    display: none !important;
  }
  .mobile {
    display: block !important;
  }
  .myHeader .headerContent .logo img {
    height: 50px;
  }
  .myHeader .headerContent .right .close {
    width: 100%;
    text-align: right;
  }
  .myHeader .headerContent .right .close svg {
    width: 24px;
    height: 24px;
  }
  .myHeader .headerContent .right nav {
    position: fixed;
    top: 0;
    left: 100%;
    transition: all 0.3s;
    background: #FFF;
    z-index: 9;
    width: 340px;
    max-width: 90.5vw;
    height: 100vh;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    justify-content: space-between;
    display: flex;
    flex-direction: column;
  }
  .myHeader .headerContent .right nav .navList {
    flex-direction: column;
    padding: 24px;
    align-items: flex-start;
  }
  .myHeader .headerContent .right nav .navList .navItem {
    width: 100%;
    position: relative;
  }
  .myHeader .headerContent .right nav .navList .navItem.haveChild::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-image: url("/static/images/bottom.png");
    transition: all 0.3s;
  }
  .myHeader .headerContent .right nav .navList .navItem .subMenu {
    position: static;
    transform: translate(0);
    width: 100%;
    box-shadow: none;
  }
  .myHeader .headerContent .right nav .navList .navItem .subMenu a {
    font-weight: normal;
  }
  .myHeader .headerContent .right nav .navList .navItem:hover .subMenu {
    max-height: 0;
    padding: 0;
  }
  .myHeader .headerContent .right nav .navList .navItem.mobileActive::before {
    transform: rotate(180deg);
  }
  .myHeader .headerContent .right nav .navList .navItem.mobileActive .subMenu {
    max-height: 100vh;
    padding-top: 10px;
    padding-bottom: 0;
  }
  .myHeader .headerContent .right nav.active {
    transform: translateX(-100%);
  }
  .myHeader .headerContent .right nav .language {
    width: 100%;
    background: transparent;
    display: flex !important;
    padding: 24px;
    height: fit-content;
    gap: 8px;
  }
  .myHeader .headerContent .right nav .language a {
    color: #333;
  }
  .myHeader .headerContent .right .mobileNav {
    width: 20px;
    height: 20px;
  }
}
