#ast-desktop-header {
  display: block;
}

@media (max-width: 768px) {
  #ast-desktop-header {
    display: none;
  }
}

#ast-mobile-header {
  display: none;
}

@media (max-width: 768px) {
  #ast-mobile-header {
    display: block;
  }
}

.ast-menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.ast-arrow-svg {
  width: 12px;
}

.menu-link.img img {
  transition: filter 0.3s;
}

.menu-link.img:hover img {
  filter: brightness(0) saturate(100%) invert(57%) sepia(75%) saturate(1128%)
    hue-rotate(4deg) brightness(100%) contrast(104%);
}

.sub-menu li {
  position: relative;
  width: 100%;
  height: 100%;
}

.sub-menu li a {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* MENU MOBILE  */

header {
  margin: 30px 0 30px 0;
}

.menu-link {
  color: inherit;
  margin-right: 5px;
  margin-bottom: 0;
  margin-top: 0;
}

.menu_mobile {
  display: none;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger-icon {
  width: 30px;
  height: 3px;
  background-color: #000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sub-menu {
  display: none;
  list-style-type: none;
  margin-top: 20px;
}

.sub-menu .menu-item:hover {
  background-color: #f4f4f4;
  border-radius: 6px;
  width: 100%;
}

.sub-menu.open {
  display: block;
}

.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

.section_nav_bottom {
  display: flex;
}

.section_nav_bottom .bloc {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.section_nav_bottom .bloc .img {
  display: flex;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid rgba(184, 183, 184, 0.3);
}

.separator {
  width: 1px;
  background-color: rgba(184, 183, 184, 0.3);
  margin: 0 10px;
}

@media (max-width: 1024px) {
  header {
    display: flex;
    justify-content: center;
  }

  nav {
    display: flex;
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex-shrink: 0;
    border-radius: 20px;
    background: var(--backgrounds-01, #fff);
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.1);

    /* Nav en version mobile */
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 90%;
    z-index: 9999;
    margin: 0 auto;
    max-width: 1200px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .main-menu {
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: #fff;
  }

  .menu_mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .menu_mobile img {
    margin: 0 auto;
  }

  .menu-item {
    margin-bottom: 20px;
  }

  .menu-item:last-child {
    margin-bottom: 30px;
  }

  .burger-menu {
    display: flex;
  }

  .main-menu.show {
    display: block;
  }

  .burger-menu.active .burger-icon:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
  }

  .burger-menu.active .burger-icon:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-icon:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
  }

  .ast-arrow-svg {
    transform: translateY(5px) rotate(0deg);
  }

  .rotate {
    transform: translateY(5px) rotate(180deg);
  }
}

/* MENU DESKTOP  */

@media screen and (min-width: 1024px) {
  .main-menu {
    display: flex;
    padding: 15px 30px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 20px;
    background: var(--backgrounds-01, #fff);
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.1);
    list-style-type: none;
    margin-top: 25px;
  }

  .menu-item-has-children {
    display: flex;
  }

  .sub-menu.open {
    position: absolute;
    display: inline-flex;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    background: var(--White, #fff);
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.1);
  }

  .menu-item {
    display: flex;
    padding: 12px 10px;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    margin: 0 auto;
    max-width: 1200px;
  }

  body {
    padding-top: 130px;
  }
}
