.top-header-wrap,
.top-header-wrap a {
  color: var(--color-black);
}
:root {
  --menu-text-color: #fff;
  --menu-text-color-hover: var(--color-primary-hover);
  --menu-bg-color: #fff;
  --menu-caret-color: #f2f2f2;
  --menu-line-color: var(--color-primary-hover);
  --menu-border-color: var(--color-primary-hover);
}
.header-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: 0.85s;
}
.header-wrap.scrollUp {
  transform: translateY(
    calc(
      -1 * (var(--menu-height) + var(--top-header-height) +
            var(--center-header-height) + 3px)
    )
  );
}
.header-wrap.downHeight {
  top: calc(
    -1 * (var(--top-header-height) + var(--center-header-height)) - 1px
  );
}
.menu-small-top li:not(:last-child):after,
.top-email:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.header-wrap-height {
  height: calc(
    var(--menu-height) + var(--top-header-height) + var(--center-header-height)
  );
}
.top-header-wrap {
  font-size: 14px;
  border-bottom: 1px solid #efefef;
  background-color: #f2f3f7;
}
.menu-item:hover a.menu-link,
.sub-menu-item a.sub-menu-link:hover,
.top-header-wrap a:hover {
  color: var(--color-primary);
}
.menu-item a.menu-link,
.sub-menu-item a.sub-menu-link {
  display: block;
  font-weight: 500;
  line-height: 1.6;
  color: #292929;
  text-transform: capitalize;
}
.top-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  height: var(--top-header-height);
}
.center-header-second,
.top-header-first {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
}
.top-address,
.top-hotline {
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-address {
  gap: 3px;
}
.top-address svg {
  margin-bottom: 2px;
  margin-right: -2px;
}
.top-address label {
  flex: none;
  margin: 0 3px;
}
.top-address .scrolling-text {
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}
.top-address .scrolling-text span {
  display: inline-block;
  animation: 15s linear infinite scrollText;
}
@keyframes scrollText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.top-hotline svg {
  margin-right: -1px;
}
.top-email {
  position: relative;
  font-size: 15px;
}
.top-email:before {
  left: -17px;
  width: 1px;
  height: 15px;
  background-color: #b6b6b6;
}
.menu-small-top {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.menu-small-top li {
  position: relative;
  flex: none;
}
.menu-small-top li:not(:last-child):after {
  right: -7px;
  width: 0.5px;
  height: 13px;
  background-color: #f2f2f25e;
}
.box-cart-head,
.menu-list .menu-item {
  position: relative;
}
.center-header-wrap {
  background-color: #fff;
}
.center-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  height: var(--center-header-height);
}
.wrap-menu {
  display: flex;
  align-items: center;
  height: var(--menu-height);
  background-color: var(--menu-bg-color);
  box-shadow: 0 2px 5px 0 #00000026;
}
.wrap-menu .nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo-lg-menu {
  height: calc(var(--menu-height) - 25px);
}
.logo-center-header {
  height: calc(
    var(--center-header-height) - (var(--center-header-height) / 2.3)
  );
}
.logo-center-header img,
.logo-lg-menu img,
.logo-sm-menu img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.navbar-menu .menu-list {
  padding: 0;
  margin: 6px 0;
  background-color: #fff;
  list-style: none;
}
.menu-item a.menu-link {
  padding: 10px 20px;
  font-size: 15px;
}
.sub-menu-list {
  transition: 0.35s;
  z-index: 9999;
  list-style: none;
}
.sub-menu-item a.sub-menu-link {
  font-size: 14px;
  padding: 10px 32px 10px 35px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.sub-menu-item:not(:last-child) a.sub-menu-link {
  border-bottom: 0.5px solid #e0e0e0;
}
@media (max-width: 991.8px) {
  .nav-menu .burger-menu {
    position: relative;
    cursor: pointer;
    background-color: unset;
    padding: 7px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    width: 45px;
    height: 36px;
    flex-direction: column;
    justify-content: space-between;
  }
  .nav-menu .navbar-menu,
  .nav-menu .overlay-menu {
    position: fixed;
    top: 0;
    height: 100%;
    visibility: hidden;
    opacity: 0;
  }
  .burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 1px;
  }
  .nav-menu .overlay-menu {
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.65);
    transition: 0.35s;
  }
  .logo-sm-wrapper-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px 0 20px;
    height: 55px;
    background-color: var(--menu-bg-color);
  }
  .logo-sm-wrapper-menu button.closeMenu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 35px;
    border-radius: 5px;
    padding: 0;
    background: 0 0;
    border: none;
  }
  .logo-sm-menu {
    height: 45px;
  }
  .search-sm-menu {
    margin: 6px 0;
  }
  .form-search-sm-menu {
    position: relative;
    display: flex;
    width: 100%;
    background-color: #fff;
  }
  .form-search-sm-menu input {
    display: block;
    width: 100%;
    padding: 7px 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    border: 0;
    border-radius: 0;
    font-family: inherit;
  }
  .form-search-sm-menu input:focus {
    outline: 0;
  }
  button.btn-icon-search-sm-menu {
    position: relative;
    width: 44px;
    border-radius: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    user-select: none;
    justify-content: center;
    background-color: transparent;
  }
  button.btn-icon-search-sm-menu:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5px;
    height: 25px;
    background-color: #e0e0e0;
  }
  .wrap-menu .overlay-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .nav-menu .navbar-menu {
    left: -100%;
    width: 75%;
    padding-bottom: 20px;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f2f2f2;
    transition: 0.5s;
  }
  .nav-menu .navbar-menu.active {
    left: 0;
    opacity: 1;
    visibility: visible;
  }
  .menu-list .menu-item:not(:last-child) {
    border-bottom: 0.5px solid #e0e0e0;
  }
  .menu-item a.menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu-item a.menu-link .expand {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 0 0 5px;
    pointer-events: none;
    border: none;
    outline: 0;
  }
  .menu-item a.menu-link .expand:after,
  .menu-item a.menu-link .expand:before {
    position: absolute;
    box-sizing: inherit;
    content: "";
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #595959;
    transform: translate(-50%, -50%);
    transition: 0.35s;
  }
  .menu-list .menu-item a.menu-link .expand::after {
    transform: translate(-50%, -50%) rotate(-90deg);
  }
  .menu-list .menu-item.active a.menu-link .expand:after {
    transform: translate(-50%, -50%) rotate(0);
  }
  .menu-item .sub-menu-list {
    max-height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    visibility: visible;
    background-color: #efefef;
    transform: translateY(0);
  }
  .menu-list .menu-item.active .sub-menu-list {
    opacity: 1;
  }
  .box-hotline-menu {
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 10px 10px 20px;
    margin: 6px 0;
  }
  .box-hotline-menu svg {
    margin-right: 7px;
  }
  .box-hotline-menu a:not(:last-child) {
    position: relative;
    margin-right: 15px;
  }
  .box-hotline-menu a:not(:last-child):before {
    content: "";
    position: absolute;
    background-color: #e0e0e0;
    right: -10px;
    top: 50%;
    width: 5px;
    height: 1px;
  }
  .box-hotline-menu a {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
  }
  .box-hotline-menu a:hover {
    color: #f2f2f2;
  }
}
@media (min-width: 992px) {
  .sub-menu-list a.sub-menu-link:hover,
  .wrap-menu {
    background-color: var(--color-primary);
  }
  .wrap-menu .nav-menu {
    justify-content: end;
  }
  .navbar-menu .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 24px;
    background-color: inherit;
  }
  .menu-item a.menu-link {
    padding: 5px;
    font-size: 16px;
    font-weight: 600;
    color: var(--menu-text-color);
    text-transform: uppercase;
  }
  .sub-menu-list a.sub-menu-link:hover {
    color: #fff;
  }
  .menu-item.is-active a.menu-link,
  .menu-item:hover a.menu-link {
    color: var(--menu-text-color-hover);
  }
  .menu-item .sub-menu-list {
    position: absolute;
    top: 36px;
    left: -3px;
    width: 267px;
    height: auto;
    padding: 1px 0;
    border-top: 3px solid #9e9e9e;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
  }
  .menu-item:hover .sub-menu-list {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(-6px);
  }
  .sub-menu-list a.sub-menu-link {
    padding: 10px 20px 10px 25px;
  }
  .sub-menu-item:first-child a.sub-menu-link {
    border-radius: 5px 5px 0 0;
  }
  .sub-menu-item:last-child a.sub-menu-link {
    border-radius: 0 0 5px 5px;
  }
  i.expand {
    right: -13px;
    position: absolute;
  }
  i.expand span {
    width: 7px;
    height: 2px;
    margin-left: 4px;
    background-color: var(--menu-caret-color);
    display: inline-block;
    transition: transform 0.3s;
  }
  i.expand span:first-of-type {
    transform-origin: center center;
    transform: rotate(45deg) translate(0, -5px);
  }
  i.expand span:last-of-type {
    transform-origin: center center;
    transform: rotate(-45deg) translate(0, -5px);
  }
  .menu-list .menu-item:hover i.expand span:first-of-type {
    transform: rotate(-45deg) translate(5px, 0);
  }
  .menu-list .menu-item:hover i.expand span:last-of-type {
    transform: rotate(45deg) translate(-5px, 0);
  }
  .box-hotline-menu,
  .burger-menu,
  .logo-sm-wrapper-menu,
  .overlay-menu,
  .search-sm-menu {
    display: none;
  }
}
@media (min-width: 992px) and (max-width: 1199.8px) {
  .navbar-menu .menu-list {
    gap: 5px 16px;
  }
  .menu-item a.menu-link {
    font-size: 14px;
  }
}
.box-cart-head {
  text-align: center;
}
.box-cart-head a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.num-item-cart {
  position: absolute;
  top: -5px;
  right: -12px;
  background-color: var(--color-primary-hover);
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 10px;
}
@media (max-width: 991px) {
  .menu-small-top {
    flex-wrap: unset;
    gap: 20px;
    margin: 6px 0;
    padding: 0 20px;
    background-color: #fff;
    overflow-x: auto;
  }
  .menu-small-top li a {
    display: block;
    line-height: 1.6;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: #007bff;
  }
  .menu-small-top li:not(:last-child):after {
    right: -10px;
    height: 18px;
    background-color: #e0e0e0;
  }
  .box-menuBar-sm:after,
  .box-menuBar-sm:before {
    content: "";
    position: absolute;
    top: 0;
    width: 20px;
    height: 100%;
    z-index: 9;
  }
  .box-menuBar-sm:before {
    left: 0;
    background-image: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
  }
  .box-menuBar-sm:after {
    right: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
  }
  .menu-small-top::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
  }
  .menu-small-top::-webkit-scrollbar {
    height: 3px;
  }
  .box-cart-head svg path {
    fill: var(--color-primary);
  }
}
