#layout-header {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0);
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 160px;
  padding: 36px 40px 0;
  box-sizing: border-box;
  overflow: visible;
}
#layout-header .header__logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 160ms ease-in-out;
}
#layout-header .header__logo a:hover {
  opacity: 0.64;
}
#layout-header .header__logo img {
  max-width: 280px;
  max-height: 199px;
  display: block;
}
#layout-header .hamburger {
  display: none;
}
#layout-header .header-resize-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 10001;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(0);
  transition: transform 0.3s ease;
}
#layout-header.desktop-header-enter .header-resize-overlay {
  opacity: 1;
  visibility: visible;
}
#layout-header.desktop-header-enter-active .header-resize-overlay {
  transform: translateX(100%);
}
#layout-header .header-desktop .header__nav {
  display: flex;
  align-items: flex-start;
}
#layout-header .header__menu {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 110px;
  gap: 12px 21px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#layout-header .header__menu li {
  width: 168px;
  position: relative;
  padding-left: 17px;
}
#layout-header .header__menu li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background-color: #ffd700;
  border-radius: 50%;
}
#layout-header .header__menu a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  line-height: 1.5;
  transition: opacity 160ms ease-in-out;
}
#layout-header .header__menu a:hover {
  opacity: 0.64;
}
#layout-header .header__buttons {
  max-width: 143px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#layout-header .header__button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  transition: opacity 160ms ease-in-out;
}
#layout-header .header__button:hover {
  opacity: 0.8;
}
#layout-header .header__button--primary {
  background-color: #6ad5f3;
}
#layout-header .header__button--secondary {
  background-color: #ff8d98;
}
#layout-header .hamburger-open {
  display: none;
}

@media (max-width: 960px) {
  #layout-header {
    height: auto;
    padding: 22px 16px 0;
  }
  #layout-header .header__logo {
    position: relative;
    z-index: 1001;
  }
  #layout-header .header__logo img {
    width: 143px;
    height: 105px;
    max-width: none;
    max-height: none;
  }
  #layout-header .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 31px;
    height: 31px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    margin-top: 9px;
  }
  #layout-header .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  #layout-header .hamburger.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  #layout-header .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  #layout-header .hamburger.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  #layout-header .header-desktop {
    display: none;
  }
  #layout-header.menu-open .hamburger-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: #f5f5f5;
    z-index: 10000;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  #layout-header .hamburger-open__header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 77px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 22px 16px 0;
    background: #f5f5f5;
    box-sizing: border-box;
  }
  #layout-header .hamburger-open__header img {
    width: 143px;
    height: 105px;
    max-width: none;
    max-height: none;
  }
  #layout-header .hamburger-close {
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    margin-top: 9px;
  }
  #layout-header .hamburger-close span:nth-child(1) {
    transform: translateY(9px) rotate(30deg);
  }
  #layout-header .hamburger-close span:nth-child(2) {
    opacity: 0;
  }
  #layout-header .hamburger-close span:nth-child(3) {
    transform: translateY(-9px) rotate(-30deg);
  }
  #layout-header .hamburger-panel {
    margin-top: 0;
    padding: 0 16px 40px;
    flex: 1;
  }
  #layout-header .hamburger-panel .header__nav {
    margin-top: 64px;
    max-width: 180px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 42px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
  }
  #layout-header .hamburger-panel .header__menu {
    max-height: none;
    gap: 25px;
  }
  #layout-header .hamburger-panel .header__buttons {
    gap: 15px;
    max-width: 168px;
    width: 100%;
  }
}