header {
  position: sticky !important;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
header .header-menu-top {
  padding: 12px 0px;
}
header .header-menu-top .wrap-header-top {
  display: flex;
  align-items: center;
  gap: 60px;
}
.header-menu-top .col-left .logo {
  width: 90px;
  height: 90px;
}
.header-menu-top .col-left .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-menu-top .header-top {
  background: white;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.header-menu-top .header-top li {
  margin-bottom: 0px;
}
.header-menu-top .header-top li a {
  font-size: var(--fz-14);
  color: var(--text-description);
  font-weight: 400;
}
header .header-bottom ul li a:hover,
.header-menu-top .header-top li a:hover {
  color: var(--primary-color);
}

.header-menu-top .col-center .wrap-search .search-box {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 0px;
}
.header-menu-top .col-center .wrap-search .search-box input {
  padding-left: 60px;
  width: 507px;
  padding-top: 13px;
  padding-bottom: 13px;
  border-radius: 6px;
  border: 1px solid #c8c8c8;
  background: #fff;
  height: 48px;
  font-size: var(--fz-18);
  font-weight: 400;
  color: #a8a8a8;
  margin-bottom: 0px;
}
.header-menu-top .col-center .wrap-search .search-box .btn-search {
  margin: 0px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  height: 100%;
}
.header-menu-top .col-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header-menu-top .col-right .item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 12px;
}
.header-menu-top .col-right .wrap-cart .count {
  position: absolute;
  top: 5px;
  left: 32px;
  color: var(--primary-color);
  font-size: var(--fz-14);
  font-weight: 400;
  background: #fff;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.header-menu-top .col-right .item-right .nav-top-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.header-menu-top .col-right .wrap-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.header-menu-top .col-right .wrap-caption span {
  font-size: var(--fz-16);
  color: var(--text-description);
  font-weight: 400;
}
.header-menu-top .col-right .wrap-caption a {
  font-size: var(--fz-18);
  color: var(--text-heading);
  font-weight: 500;
}
header .header-bottom {
  background: #f3f3f3;
  padding: 16px 0px;
  border-bottom: 1px solid #c8c8c8;
}
header .header-bottom ul {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
  justify-content: space-between;
}
header .header-bottom ul li {
  margin-bottom: 0px;
}
header .header-bottom ul li a {
  padding: 10px 20px;
  font-size: var(--fz-18);
  color: var(--text-heading);
  font-weight: 400;
}
header .header-bottom .col-right .item-account,
header .header-bottom .col-center {
  display: none;
}

/*  */
.header-hamburger {
  display: none;
  position: relative;
}
.header-hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  display: block;
  margin: 6px auto;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.openMenuMobile .header-hamburger .line:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}
.openMenuMobile .header-hamburger .line:nth-child(2) {
  opacity: 0;
}
.openMenuMobile .header-hamburger .line:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}
.header-hamburger .line:nth-child(1) {
  margin-top: 0px;
}
.header-hamburger .line:nth-child(3) {
  margin-bottom: 0px;
}

.openMenuMobile header .header-bottom {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.header-hamburger .pulse-line {
  transform-origin: center center;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 40px;
}

.header-hamburger .pulse-line .bar {
  box-shadow:
    0 0 0 var(--primary-color),
    0 0 1px var(--primary-color),
    0 0 1px var(--primary-color),
    0 0 4px var(--primary-color);
  position: absolute;
  background-color: var(--primary-color);
  animation-fill-mode: both;
}

.header-hamburger .pulse-line .left-1 {
  animation: leftBar 2s linear infinite;
  width: 1px;
}
.header-hamburger .pulse-line .top-1 {
  animation: topBar 2s linear infinite;
  height: 1px;
  width: 0;
}
.header-hamburger .pulse-line .right-1 {
  animation: rightBar 2s linear infinite;
  width: 1px;
}
.header-hamburger .pulse-line .bottom-1 {
  animation: bottomBar 2s linear infinite;
  height: 1px;
}

@keyframes leftBar {
  0% {
    height: 0;
    left: 0;
    top: 100%;
  }
  20% {
    height: 100%;
    left: 0;
    top: 0;
  }
  40% {
    height: 0;
    left: 0;
    top: 0;
  }
}

@keyframes topBar {
  0%,
  20% {
    left: 0;
    top: 0;
    width: 0;
  }
  40% {
    left: 0;
    top: 0;
    width: 100%;
  }
  60% {
    left: calc(100% - 1px);
    top: 0;
    width: 0;
  }
}
@keyframes rightBar {
  0%,
  40% {
    height: 0;
    left: calc(100% - 1px);
    top: 0;
  }
  60% {
    height: 100%;
    left: calc(100% - 1px);
    top: 0;
  }
  80% {
    height: 0;
    left: calc(100% - 1px);
    top: 100%;
  }
}

@keyframes bottomBar {
  0%,
  60% {
    left: 100%;
    top: 100%;
    width: 0;
  }
  80% {
    left: 0;
    top: 100%;
    width: 100%;
  }
  100% {
    left: 0;
    top: 100%;
    width: 0;
  }
}

/*  */

@media (max-width: 1200px) {
  .header-menu-top .col-center .wrap-search .search-box input {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .header-menu-top .col-center,
  .header-menu-top .col-right .item-account,
  .header-menu-top .col-right .item-phone {
    display: none;
  }
  header .header-bottom ul li a {
    padding: 0px;
  }
  header .header-menu-top .wrap-header-top {
    justify-content: space-between;
    gap: 20px;
  }
  header .header-bottom {
    opacity: 0;
    visibility: hidden;
  }
  header .header-bottom {
    transform: translateX(100%);
    transition: all 0.5s ease;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 99;
    right: 0;
    top: 110px;
    align-items: flex-start;
  }
  header .header-bottom .col-center {
    display: block;
    margin-bottom: 16px;
  }
  header .header-bottom .col-right .item-account {
    display: flex;
    margin-top: 16px;
  }
  .header-menu-top .col-center .wrap-search .search-box input {
    height: 40px;
  }
  header .header-bottom .header-menu-main .header-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .header-menu-top .col-right {
    gap: 20px;
  }
  .header-hamburger {
    display: block;
  }
}
