.header {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
  background: #fff;
  box-shadow: 0 4px 6px 0 #e9f8ff;
  display: flex;
  padding: 0 24px;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  cursor: pointer;
  flex-shrink: 0;
}

.header-logo img {
  height: 43px;
  flex-shrink: 0;
  width: auto;
}

.header-menu {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1 0 0;
  flex-wrap: wrap;
}

.header-menu-item {
  position: relative;
  padding: 10px 14px;
  display: block;
  height: 100%;
  width: max-content;
  list-style-type: none;
}

.menu-item-href {
  width: max-content;
  text-align: center;
  color: #000;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  height: 100%;
  cursor: pointer;
  align-items: center;
  transition: all 0.5s;
}
.header-menu-item:hover > .menu-item-href {
  color: #9acccd;
}
.menu-item-href:hover {
  color: #9acccd;
}
.header-menu-item.active > .menu-item-href {
  color: #9acccd;
}
.header-menu .sub-megamenu {
  display: none;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
  height: 544px;
  position: fixed;
  top: 70px;
  width: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
  padding-top: 36px;
  transition: all 0.5s;
}

.header-menu-item.level-0:hover .sub-megamenu {
  pointer-events: auto;
  opacity: 1;
  z-index: 99;
  display: block;
}

.megamenu-footer {
  display: flex;
  width: 100%;
  height: 114px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #a1a1a1;
}

.megamenu-sosanh {
  display: flex;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: #9bcccd;
  color: #fff;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.megamenu-allproduct {
  display: flex;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  border: 1px solid #9bcccd;
  color: #9bcccd;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.sub-megamenu-tax {
  height: calc(100% - 114px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-megamenu-tax .header-menu-item {
  height: max-content;
}

.no-product-megamenu {
  color: #000;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.sub-menu {
  height: 100%;
  width: 350px;
  margin-right: 16px;
  flex-shrink: 0;
}

.header-control {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-language {
  position: relative;
  margin-right: 4px;
}

.header-language-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.header-language-item img {
  width: 24px;
  height: 16px;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.header-language-item p {
  color: #000;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.header-language-item svg {
  width: 16px;
  height: 16px;
}

.language-list {
  position: absolute;
  top: 100%;
  min-width: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  box-shadow: 0 4px 6px 0 #e9f8ff;
  padding: 16px 8px;
  border-radius: 10px;
}

.language-list.open {
  display: flex;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.5s;
}

.language-item:hover {
  background: #c4c4c4;
}

.language-item img {
  width: 24px;
  height: 16px;
  object-fit: cover;
}

.language-item p {
  text-align: center;
  color: #000;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  height: 100%;
  cursor: pointer;
  align-items: center;
  transition: all 0.5s;
}

.header-control-icon {
  display: flex;
  padding: 10px;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
}
.cart-count-item {
  background-color: #f5333f;
  height: 15px;
  width: 15px;
  font-size: 12px;
  line-height: 1.1;
  top: 5px;
  right: 2px;
  position: absolute;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.bestselling-slide .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bestselling-swiper-title {
  display: block;
  color: #000;
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 0 10px;
}

.bestselling-swiper-price {
  color: #ff1f1f;
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.bestselling-swiper-price .woocommerce-Price-currencySymbol {
  color: #ff1f1f;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
}

.bestselling-swiper-price bdi {
  text-decoration-line: none;
}

.bestselling-swiper-color {
  margin-top: 12px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  gap: 8px;
}

.bestselling-swiper-color-item {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  border-radius: 100%;
  cursor: pointer;
  border: 1px solid #000;
}
.list-product-tax {
  width: calc(100% - 350px + 16px);
}
.item-product-tax {
  display: none;
}
.item-product-tax:first-child {
  display: block;
}
.item-product-tax.active {
  display: block;
}
.header-mb,
.menu-mb {
  display: none;
}
.sub-megamenu-product {
  height: 100%;
  width: 100%;
}
.sub-megamenu-product > .swiper-wrapper {
}
.bestselling-thumnail-slide {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  background: #dfdfdf;
  overflow: hidden;
  display: flex;
  position: relative;
}
.bestselling-thumnail-slide .mySwiper2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  width: 100%;
  z-index: 100;
  background: white;
  padding: 16px 0;
  transform: translateY(-100%);
  transition: all 0.5s;
}
.search.active {
  transform: translateY(0);
}
.search > .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  height: 100%;
}
.search-wrapper {
  display: flex;
  width: 100%;
  max-width: 700px;
  gap: 16px;
}
.search-wrapper input {
  flex: 1 0 0;
}
.search-wrapper svg {
  cursor: pointer;
  width: 32px;
  height: 32px;
}
.search-close {
  cursor: pointer;
}
.overlay-search {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.overlay-search.active {
  opacity: 1;
  pointer-events: all;
}
.btn-shop {
  display: flex;
  width: 219px;
  height: 52px;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  border-radius: 100px;
  background: #ff3030;
  color: #fff;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.header-control-menu-icon {
  display: none;
}
@media (max-width: 768px) {
  .header-control,
  .header-menu {
    display: none;
  }

  .menu-mb {
    display: block;
  }

  .menu-mb-open {
    width: 28px;
  }

  .menu-mb-close {
    display: none;
    width: 28px;
  }

  .header-mb {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    bottom: 0;
    background: #fff;
    z-index: 99;
    padding: 16px;
    border-top: 1px solid;
    transition: all 0.5s;
  }

  .header-mb.open {
    left: 0;
  }

  .header-mb .menu-root.header-menu {
    display: flex;
    flex-direction: column;
    align-items: start;
    height: max-content;
    max-height: 60vh;
    overflow: hidden;
    overflow-y: auto;
  }

  .header-mb .header-menu-item {
    height: auto;
    padding: 0;
  }

  .header-mb .header-menu .sub-megamenu {
    display: flex;
    position: unset;
    height: auto;
    opacity: 1;
    padding: 0;
    box-shadow: none;
    pointer-events: auto;
    padding-left: 24px;
    padding-right: 16px;
  }

  .header-mb .megamenu-footer {
    display: none;
  }

  .header-mb .sub-megamenu-tax {
    height: auto;
  }

  .header-mb .sub-menu.level-1 {
    height: auto;
    width: max-content;
    margin-right: 0;
  }

  .header-mb .menu-item-href {
    height: max-content;
    padding: 16px 0;
  }

  .header-mb-wrapper-control {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .header-mb .header-control-icon svg {
    width: 20px;
    height: 20px;
  }

  .header-mb .language-list {
    z-index: 10;
  }
}
@media (min-width: 768px) and (max-width: 1270px) {
  .header-control-menu {
    position: relative;
  }
  .header-control-menu-icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: block;
  }
  .header-control {
    height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.3s;
    position: absolute;
    flex-direction: column;
    top: 100%;
    right: 0;
    align-items: center;
    background: #fff;
    padding: 0;
    box-shadow: 0 4px 6px 0 #939393;
    border-radius: 6px;
  }
  .language-list {
    z-index: 10;
  }
  .header-control-menu:hover .header-control {
    height: 230px;
    overflow: hidden;
    pointer-events: auto;
    padding: 16px;
  }
  .sub-menu {
    width: 260px;
  }
  .sub-megamenu-product {
    padding: 0 10px;
  }
  .feedback-item-name,
  .banner-swiper .swiper-slide .container {
    padding: 0 10px;
  }
  .bestselling-heading {
    padding-left: 10px;
  }
  .certification-left {
    width: 450px;
  }
}
