#hamburger-menu,.mobile-menu {
  display: none;
}

@media (max-width:991px) {
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: 100%;
     background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    will-change: transform;
    z-index: 9999;
    text-transform: uppercase;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .menu-flower{
    overflow: hidden;
    pointer-events: none;
    width: 150px;
    position: absolute;
    right: 0px;
    bottom: 0;
    z-index: -1;
  }
  .menu-flower span {
    background: url(../images/menu-flower.png) no-repeat center top;
    background-size: 120px;
    position: relative;
    display: block;
    width: 120px;
    height: 362px;
    transform-origin: bottom center;

  }

  .nav-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 58px;
    height: 58px;
    cursor: pointer;
    z-index: 50;
  }

  .nav-close:hover:before, .nav-close:hover:after {
    background-color: #fff;
  }

  .nav-close:before, .nav-close:after {
    position: absolute;
    left: 29px;
    top: 12px;
    content: ' ';
    height: 33px;
    width: 1px;
    background-color: var(--e-global-color-primary);
  }

  .nav-close:before {
    transform: rotate(45deg);
  }

  .nav-close:after {
    transform: rotate(-45deg);
  }

  #links-section a {
    display: inline-flex;
    gap: 8px;
    font-size: 30px;
    line-height: 40px;
    color: var(--e-global-color-primary);
  }
.mobile-menu #links-section .current_page_item > a {
    color: #fff;
  }

  .mobile-menu .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-menu  .menu > li {
    display: flex;
    align-items: center;
    padding: 6px 0;
    position: relative;
    flex-wrap: wrap;
  }

  .mobile-menu .menu a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
  }

  .mobile-menu .menu a:hover {
    color: var(--e-global-color-secondary);
  }

  .menu-label {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
  }

  .mobile-menu .submenu-toggle {
    position: relative;
    padding: 10px;
    margin-left: 20px;
    display: inline-block;
    width: 50px;
    height: 40px;
  }

  .mobile-menu .submenu-toggle:after {
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    border-style: solid;
    border-color: black;
    border-width: 0px 1px 1px 0px;
    transition: border-width 150ms ease-in-out;
    position: relative;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    top: -6px;
    margin: 0 auto;
  }

  .mobile-menu .submenu-toggle.subopen:after {
    top: 6px;
    transform: rotate(-135deg);
  }

  .mobile-menu .sub-menu {
    list-style: none;
    padding-left: 15px;
    margin: 0;
    overflow: hidden;
    height: 0;
    opacity: 0;
    width: 100%;
  }

  .mobile-menu .sub-menu li {
    margin: 20px 0;
    text-transform: none;
  }

  .mobile-menu .sub-menu a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: none;
  }

  #contacts-section {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }

  #contacts-section p {
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 6px;
    font-size: 14px;
    text-align: left;
  }

  #contacts-section a {
    font-size: 20px;
    text-transform: none;
    text-decoration: none;
  }
    #contacts-section a:hover{
      color: #fff;
    }

  .socials-link {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .socials-link a {
    color: var(--e-global-color-primary);
    text-decoration: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .site-header .menu-menu-left-container, .site-header .menu-menu-right-container {
    display: none;
  }

  /* Hamburger button */
  #hamburger-menu {
    position: absolute;
    right: 26px;
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  #hamburger-menu span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--e-global-color-primary);
    border-radius: 4px;
    transform-origin: center;
  }

}

@media(max-width:767px) {
  #hamburger-menu {
    right: 0px;
  }

}
