#header {
  position: fixed;
  z-index: 99;
  top: 20px;
  left: 50%;
  right: 50%;
  transform: translate(-50%, 0%);
}

#header .header-up {
  height: 60px;
  width: 100%;
  border-radius: 20px 20px 0 0;
  background: var(--Sup, #a87c4f);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  transition: all 0.3s;
}

#header .header-up .headerup-list {
  display: flex;
  gap: 28px;
}

#header .header-up .headerup-listlink {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Baloo 2";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}

#header .header-up .header-up-control {
  display: flex;
  gap: 20px;
  align-items: center;
}

#header .header-up .headerup-language {
  width: 166px;
  height: 40px;
  position: relative;
}

#header .header-up .headerup-languagedrop-btn,
#header .header-up .headerup-language-btn {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(194, 224, 209, 0) 100%
    );
  box-shadow: 3px 4px 6px 0 rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  padding: 12px;
  cursor: pointer;
}

#header .header-up .headerup-language-drop img,
#header .header-up .headerup-language-btn img {
  width: 24.001px;
  height: 16px;
  object-fit: contain;
}

#header .header-up .headerup-language-drop p,
#header .header-up .headerup-language-btn p {
  color: #fff;
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  margin-left: 8px;
  margin-right: auto;
}

#header .header-up .headerup-language-drop {
  background: white;
  border-radius: 12px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 12px;
  z-index: 99;
}

#header .header-up .headerup-language-drop p {
  color: #683f19;
}

#header .header-up .headerup-language-drop {
  display: none;
}

#header .header-up .headerup-language-drop.open {
  display: block;
}

#header .header-up .headerup-login {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 166px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #fff;
}

#header .header-up .headerup-login p {
  color: var(--Second, #683f19);
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

#header .header-down {
  height: 112px;
  border-radius: 0 0 20px 20px;
  background: #fff;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 28px;
  transition: all 1s;
}

#header .header-down .headerdown-logo {
  width: 184px;
  height: 72px;
}

#header .header-down .headerdown-logo img {
  aspect-ratio: 23/9;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#header .header-down .global-btn {
  max-width: 300px;
  text-align: center;
}
#header .header-down .headerdown-line {
  width: 0.06944rem;
  height: 32px;
  background: rgba(58, 42, 26, 0.2);
}

#header .header-down .headerdown-list {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  flex: 1 0 0;
}

#header .header-down .headerdown-list-link {
  color: var(--color-text, #3a2a1a);
  font-family: "Baloo 2";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  transition: all 0.3s;
}

#header .header-down .headerdown-list-link:hover {
  color: var(--pri, #fbae17);
}

#header
  .header-down
  .headerdown-list
  .menu-item.level-0.active
  > .headerdown-list-link {
  color: var(--pri, #fbae17);
}
#header .header-down .headerdown-search {
  width: 28px;
  height: 28px;
}

#header.scrolled .header-up {
  padding: 0;
  height: 0;
  overflow: hidden;
}

#header.scrolled .header-down {
  border-radius: 20px;
}

.sub-menu.level-1 {
  position: absolute;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.25);
  min-width: 160px;
  min-height: 117px;
  padding: 24px;
  list-style-type: none;
  display: none;
  flex-direction: column;
  gap: 16px;
}
.sub-menu.level-1 .menu-item.level-1:hover .headerdown-list-link {
  transform: translateX(10px);
  display: block;
}
#header .header-down .headerdown-list-link:hover + .sub-menu.level-1 {
  display: flex;
}
.menu-item.level-0.menu-item-has-children:hover .sub-menu.level-1 {
  display: flex;
}
.menu-item.level-1.active > .headerdown-list-link {
  color: var(--pri, #fbae17) !important;
}
.headerMB,
.menuMB {
  display: none;
}

/* menumb */
@media (max-width: 768px) {
  #header .header-down .headerdown-line,
  #header .header-down .headerdown-list,
  #header .header-up {
    display: none;
  }

  .header-down .global-btn {
    display: none;
  }

  #header .header-down {
    justify-content: space-between;
  }

  #header .header-down .headerdown-search {
    display: none;
  }

  .menuMB {
    display: block;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
  }

  .menuMB svg {
    width: 100%;
    height: 100%;
  }

  #header {
    top: 0;
    transition: all 0.5s;
  }

  #header .header-down {
    height: 60px;
    border-radius: 0;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.05);
  }

  #header .header-down .headerdown-logo {
    width: auto;
    height: 50px;
  }

  #header.scrolled .header-down {
    border-radius: 0;
  }

  #header.scroll-down {
    top: -70px;
  }

  /* menumb */
  .headerMB {
    display: block;
    position: fixed;
    z-index: 99;
    top: 60px;
    left: -100%;
    background: white;
    width: 100%;
    height: 100%;
    transition: all 0.5s;
  }

  .headerMB.open {
    left: 0;
  }

  .menuMB-close {
    display: none;
    width: 100%;
    height: 100%;
  }

  .headerMB-up {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    margin-top: 30px;
    overflow: hidden;
    overflow-x: auto;
    gap: 20px;
  }

  .headerMB-up .headerup-listlink {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Baloo 2";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 40px;
    border: 2px solid #ffdc97;
    background: linear-gradient(
      87deg,
      #ae6a05 0%,
      #d68c0d 53.23%,
      #fbae17 96.61%
    );
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
    padding: 8px 16px;
  }

  .headerMB-menu {
    margin-top: 50px;
    padding: 0 16px;
  }

  .headerMB-menu .headerdown-list-link {
    color: var(--color-text, #3a2a1a);
    font-family: "Baloo 2";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
  }

  .headerMB-menu ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1280px) {
  #header .header-down .headerdown-list-link {
    font-size: 16px;
  }

  #header .header-down .headerdown-list {
    flex-wrap: wrap;
  }
}
