.header-top-bar {
  background-color: var(--secondary-color);
  padding: 10px 0px;
}

.header-top-bar .wrap-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.header-top-bar .wrap-top-bar .contact .list-item {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-top-bar .wrap-top-bar .contact .list-item .item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-top-bar .wrap-top-bar .contact .list-item .item a {
  color: var(--text-white);
  font-size: var(--fz-14);
  font-weight: 400;
  line-height: 22px;
}
.header-top-bar .wrap-top-bar .list-social ul {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0px;
}
.header-top-bar .wrap-top-bar img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

header {
  padding: 16px 0px;
  position: sticky !important;
  top: 0;
  z-index: 100;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  background-color: var(--text-white);
}

header .wrap-header .header-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
header .wrap-header .header-logo a {
  display: inline-block;
  height: 64px;
}

header .wrap-header .header-logo a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

header .wrap-header .header-menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  row-gap: 10px;
  margin-bottom: 0px;
  flex-wrap: wrap;
}

header .wrap-header .header-menu ul li {
  margin-bottom: 0px;
}

header .wrap-header .header-menu ul li a {
  font-size: var(--fz-14);
  line-height: 24px;
  font-weight: 500;
  color: #303030;
  transition: all 0.5s ease;
  letter-spacing: 0.2px;
}
header .wrap-header .header-menu ul li[class*="current"] > a,
header .wrap-header .header-menu ul li a:hover {
  color: var(--primary-color);
}

body.openMenuMobile {
  overflow: hidden;
}
.openMenuMobile header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
}
.openMenuMobile header .wrap-header .header-menu {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: none;
}
.openMenuMobile .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  header {
    padding: 12px 0px;
  }
  .header-top-bar .wrap-top-bar .contact {
    display: none;
  }
  .header-top-bar .wrap-top-bar {
    justify-content: center;
  }
  header .wrap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  header .wrap-header .header-logo {
    margin-bottom: 0px;
  }
  header .wrap-header .header-menu {
    position: fixed;
    top: 0;
    right: 0;
    background: #fdf6ee;
    width: 85vw;
    max-width: 380px;
    height: 100vh;
    z-index: 9999;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.4s ease,
      visibility 0.4s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 24px 40px;
  }
  header .wrap-header .header-menu ul {
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }
  header .wrap-header .header-menu ul li a {
    display: block;
    width: 100%;
  }
}
