.header-warning {
  line-height: 48px;
  background: #d9d9d9;
  font-size: 16px;
  font-weight: 500;
  color: #323232;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.public-header {
  position: sticky;
  top: 0;
  z-index: 9;
  height: 72px;
  background: #fff;
}
.public-header .logo {
  width: 11.6rem;
  height: 3.6rem;
  background: url(/static/images/web/logo_header.svg) no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: 4rem;
  top: 50%;
  transform: translateY(-50%);
}
.public-header .header-nav {
  display: flex;
  justify-content: center;
  gap: 4.8rem;
  height: 100%;
  background: #fff;
}
.public-header .header-nav li {
  height: 100%;
}
.public-header .header-nav .nav-a {
  position: relative;
  font-size: 16px;
  color: #323232;
  font-weight: 700;
  display: flex;
  align-items: center;
  height: 100%;
}
.header-nav .nav-a:hover {
  color: var(--theme-color);
}
.header-nav .nav-a:after {
  position: absolute;
  content: '';
  bottom: 10px;
  left: 50%;
  width: 0;
  text-align: center;
  height: 15px;
  color: #fff;
  background: url(../../images/web/smile_green.svg) no-repeat;
  transition: width 0.3s;
  margin-left: -7px;
}
.header-nav .nav-a:hover:after {
  width: 30px;
}
.header-nav .nav-a i {
  display: none;
}

.showlanguagebox {
  position: absolute;
  right: 4rem;
  top: 24px;
  font-size: 24px;
  text-align: right;
  cursor: pointer;
}
.goog-te-gadget-simple {
  padding: 4px 12px !important;
  min-width: 120px;
  line-height: 20px;
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.3);
}

.goog-te-gadget-simple img,
.goog-te-gadget-simple span {
  display: inline-block;
}
.goog-te-menu-value img {
  display: none;
}
.goog-te-menu-value span:nth-of-type(2) {
  display: none;
}
.showlanguagebox .googleelement {
  display: none;
}
.showlanguagebox:hover .googleelement {
  display: block;
}
.showlanguagebox a:after {
  content: none !important;
}
.showlanguagebox .icon-arrow-down {
  display: inline-block;
  margin-left: 4px;
}
.public-header .nav-dropdown {
  width: 100%;
  background: #fff;
  color: #323232;
  position: absolute;
  left: 0;
  top: 72px;
  box-shadow:
    0 18px 36px -18px rgba(0, 0, 0, 0.1),
    0 30px 45px -30px rgba(50, 50, 93, 0.25);
  max-height: 0;
  overflow: hidden;
}

.public-header li.active .nav-dropdown {
  max-height: none;
  transition: all 0.5s cubic-bezier(0.115, 0.61, 0.255, 1) 0s;
}

.public-header .normal-dropdown {
  display: flex;
  justify-content: center;
  gap: 6.4rem;
}
.public-header .normal-dropdown .normal-dropdown-item {
  padding: 20px 0 25px;
}
.public-header .normal-dropdown a {
  font-size: 16px;
  font-weight: 700;
}
.public-header .normal-dropdown a:hover {
  color: var(--theme-color);
}
.nav-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
  backdrop-filter: blur(7.5px);
  z-index: -1;
  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.nav-mask.show-mask {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.public-header .swiper-container {
  max-width: 136rem;
  margin: 0 auto;
  padding: 16px 0 36px;
}
.public-header .swiper-wrapper.is-center {
  justify-content: center;
}
.public-header .swiper-slide a {
  display: block;
  width: 100%;
}
.public-header .swiper-container .product-image {
  width: 100%;
  aspect-ratio: 1/1;
}
.public-header .swiper-container .product-name {
  color: #323232;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin-top: 12px;
}
.public-header .swiper-slide:hover .product-name {
  color: var(--theme-color);
}
.public-header .swiper-button-next,
.public-header .swiper-button-prev {
  opacity: 1;
  background: rgba(139, 139, 139, 0.5);
  font-size: 2.4rem;
  font-weight: 600;
  margin-top: -40px;
  width: 48px;
  height: 48px;
  line-height: 48px;
  color: #fff;
}
.public-header .swiper-button-next {
  right: 19.2rem;
}
.public-header .swiper-button-prev {
  left: 19.2rem;
}

.public-header .swiper-button-prev:hover,
.public-header .swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.public-header .mobile-icons {
  display: none;
}

@media (max-width: 1024px) {
  .header-warning {
    font-size: 14px;
    line-height: 18px;
    padding: 12px 24px;
  }
  .public-header {
    height: 56px;
  }
  .public-header .nav-dropdown {
    position: static;
    background: #ebebeb;
    border-radius: 0 0 8px 8px;
    box-shadow: none;
  }
  .public-header li.active .nav-dropdown {
    max-height: none;
  }
  .public-header .mobile-icons {
    display: block;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--theme-color);
    z-index: 9;
  }
  .public-header .mobile-icons i {
    display: block;
  }
  .public-header .mobile-icons .icon-close {
    display: none;
  }
  .public-header .logo {
    width: 120px;
    left: 24px;
  }
  .showlanguagebox {
    color: var(--theme-color);
    right: 66px;
    top: 13px;
  }
  .public-header .header-nav {
    position: fixed;
    left: 100%;
    width: 100%;
    height: calc(100% - 56px);
    top: 56px;
    padding-bottom: 26px;
    overflow-y: scroll;
    display: block;
    transition: left 0.36s ease;
  }
  .public-header .header-nav li {
    height: auto;
    padding: 0 2.4rem;
    margin-top: 0.8rem;
  }
  .public-header .header-nav .nav-a {
    padding: 1.2rem 1.6rem;
    border-radius: 8px;
    background: #ebebeb;
    font-size: 1.8rem;
    display: flex;
    justify-content: space-between;
  }
  .header-nav .nav-a:hover {
    color: #323232;
  }
  .header-nav .nav-a:after {
    display: none;
  }
  .header-nav .nav-a i {
    display: block;
    font-size: 2rem;
  }
  .public-header li.active .nav-a {
    border-radius: 8px 8px 0 0;
    color: var(--theme-color);
  }
  .public-header .swiper-slide a {
    background: #ebebeb;
  }
  .public-header .swiper-container .product-image {
    mix-blend-mode: multiply;
  }
  .public-header .swiper-container {
    padding: 0 1.6rem 1.2rem;
  }
  .public-header .swiper-wrapper.is-center {
    justify-content: flex-start;
  }
  .public-header .swiper-container .product-name {
    font-size: 12px;
    margin-top: 4px;
  }
  .public-header .normal-dropdown {
    display: block;
  }
  .public-header .normal-dropdown .normal-dropdown-item {
    padding: 0 1.6rem;
  }
  .public-header .normal-dropdown a {
    display: block;
    font-size: 14px;
    font-weight: normal;
    line-height: 32px;
  }
}
@media (max-width: 767px) {
  .public-header .logo {
    width: 10rem;
    height: 2.5rem;
    left: 2.4rem;
  }
  .showlanguagebox {
    font-size: 2.4rem;
    right: 6.6rem;
  }
  .public-header .mobile-icons {
    font-size: 2.4rem;
    right: 2.4rem;
  }
}
