.cms-index-index header {
  position: absolute;
  z-index: 990;
  padding: 15px 0;
  width: 100%;
}
.columns {
  position: initial !important;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}
.navbar-logo {
  max-width: 150px;
}

.navbar {
  padding: 0;
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
}

.nav-text {
  text-decoration: none;
  color: var(--white);
  font-size: var(--font-xs);
  display: block;
  position: relative;
  /* padding: 10px 0; */
}

.nav-text::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  border-bottom: 1px solid #ffffff;
  transition: width 0.3s ease;
}

.nav-text:hover::before {
  width: 100%;
}


.anchor-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  justify-content: space-between;
}


.nav-text:hover {
  color: var(--white);
}

.dropdown {
  position: relative;
}

.menu-items {
  position: relative;
}

.dropdown-menu {
  max-height: 0;
  /* overflow: hidden; */
  transition: max-height 0.3s ease, padding 0.3s ease;
  position: absolute;
  top: 95%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  list-style: none;
  min-width: 300px;
  z-index: 9999;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  display: block;
  font-size: 16px;
}

.dropdown .product-container a:visited, .login-button a:visited, .nav-links > li > a:visited {
  color: white !important;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  max-height: 600px;
  padding: 20px;
  opacity: 1;
  visibility: visible;
}

.submenu {
  max-height: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  display: block;
}

.menu-items:hover .submenu,
.menu-items.open .submenu {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}

.dropdown-toggle::after {
  display: none;
}

.anchor-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
  color: #444;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.product-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  width: 100%;
}

.product-arrow-icon {
  margin-left: 8px;
  display: none;
}

.product-arrow-icon svg {
  width: 20px;
  height: 20px;
}

.menu-items a:hover,
svg {
  color: var(--orange);
}

.plus-bar {
  display: none;
  width: 15px;
  height: 15px;
  position: relative;
  vertical-align: middle;
}

.horizontal-bar,
.vertical-bar {
  position: absolute;
  background: #000;
  transition: all 0.8s ease;
}
.horizontal-bar {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.vertical-bar {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  transform-origin: center;
}

.menu-items.open .plus-bar .vertical-bar {
  transition: all 0.6s ease;
  rotate: -90deg;
  left: 43%;
}
.menu-items.open .plus-bar .horizontal-bar {
  transition: transform 0.6s ease;
}

.menu-items:hover > a,
.menu-items:hover .right-arrow svg path {
  color: var(--orange);
  fill: var(--orange);
  border: none;
}

.submenu li a {
  display: block;
  padding: 10px 5px;
  color: black;
  text-decoration: none;
  border: none;
  font-size: 14px;
}

.submenu li a:hover {
  color: var(--orange);
}

.search-center-area {
  display: flex;
  align-items: center;
  min-width: 400px;
}

.search-box {
  display: flex;
  align-items: center;
  border-radius: 25px;
  border: 1px solid #ccc;
  background-color: #fff;
  height: 40px;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}

.search-dropdown {
  border: none;
  padding: 0 12px;
  font-size: 14px;
  height: 100%;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  color: #333;
  border-radius: 25px 0 0 25px;
  border-right: 1px solid #e7cbbe;
}

.all-category-dropdown {
  border: none;
  font-size: 14px;
  height: 100%;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  color: #333;
  border-radius: 25px 0 0 25px;
  border: none;
  width: 150px;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  height: 100%;
  border-radius: 0 25px 25px 0;
  overflow: hidden;
}

.search-input {
  flex: 1;
  height: 100%;
  padding: 0 50px 0 12px;
  font-size: 16px;
  border: none !important;
  outline: none;
  background-color: transparent;
  border-radius: 0;
}

a.logo {
  margin: 0 !important;
}

.search-icon {
  background: #eee;
  border: none !important;
  width: 40px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 25px 25px 0;
  -webkit-border-radius: 25px;
  outline: none !important;
}

.search-img {
  width: 16px;
  height: 16px;
}

.login-mobile {
  display: none;
}

.login-cta {
  color: var(--white);
  font-size: var(--font-xs);
}

.login-cta:hover {
  color: var(--white);
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  position: relative;
  outline: none !important;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: white;
  border-radius: 2px;
  transition: all 0.4s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.hamburger.active span:nth-child(3) {
  opacity: 0;
}

.mobile-search-field {
  display: none;
}

/* Responsive styles */
@media (max-width: 991px) {
  header {
    position: absolute;
    z-index: 990;
    padding: 15px 0;
    width: 100%;
  }
  .dropdown .product-container a:visited {
    color: black !important;
  }
  .hamburger {
    display: flex;
  }
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* height: 600px; */
    /* overflow-y: scroll; */
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .navbar.active {
    display: flex;
  }

  .nav-text {
    color: #000 !important;
    padding: 0;
  }

  .nav-text:hover {
    border-bottom: none !important;
  }

  .dropdown:hover > .dropdown-menu,
  .menu-items:hover > .submenu {
    display: none;
  }

  .dropdown.open > .dropdown-menu {
    display: block;
  }

  .menu-items.open > .submenu {
    display: block;
    overflow: hidden;
    padding: 10px 0
  }

  .dropdown {
    display: flex;
    flex-direction: column;
  }

  .dropdown-menu,
  .submenu {
    position: static;
    display: flex;
    flex-direction: column;
  }

  .product-arrow-icon {
    display: inline-flex;
    align-items: center;
  }

  .menu-items {
    display: flex;
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    color: var(--black);
    padding: 0;
  }

  .nav-links li {
    width: 100%;
    align-items: flex-start;
  }

  .right-arrow {
    display: none;
  }
  .plus-bar {
    display: flex;
  }

  .dropdown .dropdown-menu {
    display: none;
    flex-direction: column;
    position: static;
    background: transparent;
    border: none;
    display: none;
    min-width: auto;
    box-shadow: none;
    width: 100%;
    padding: 0;
    max-height: 800px;
  }

  .menu-items:hover > a {
    border-bottom: 1px solid #000;
  }

  .anchor-wrap {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #000;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
    /* gap: 5px; */
    padding: 0;
    max-height: 800px;
  }

  .menu-items .submenu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    min-width: auto;
    height: auto;
    background: transparent;
    border: none;
    overflow: unset;
  }

  .submenu li a {
    padding: 5px 0;
  }

  .submenu li a::before {
    content: "- ";
  }

  .submenu {
    transform: translateX(0px);
  }

  .login-button {
    display: none;
  }

  .login-mobile {
    display: block;
  }

  .search-center-area {
    display: none;
  }

  .mobile-search-field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .search-menu {
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    color: #101010;
    text-transform: uppercase;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    position: relative;
  }

  .search-image-icon {
    width: 30px;
  }

  .search-box-button {
    align-items: center;
    /* position: relative; */
  }

  .search-rectangle {
    position: absolute;
    top: 80px;
    right: 0;
    background-color: white;
    width: 100%;
    padding: 20px 50px 20px 20px;
    display: none;
    outline: 0;
  }

  .main-search-wrap {
    margin-bottom: 0;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .search_home_btn {
    position: absolute;
    right: 55px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border: none;
    outline: none !important;
    background: unset;
  }

  .search-home-pic {
    width: 28px;
    height: 28px;
    padding: 3px;
  }

  .search-t {
    border: 1px solid #e3e3e3;
    background-color: transparent;
    color: #7a7a7a;
    margin-bottom: 0;
    padding: 10px 12px;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    outline: 0;
  }

  .search-sub-button {
    background-color: transparent;
    background-image: url(../images/search-sub-button.webp);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    position: absolute;
    inset: 0% 0% 0% auto;
    color: #fff;
    outline: 0;
    cursor: pointer;
  }

  .sub-btn {
    -webkit-appearance: button;
    border: 0;
    border-radius: 0;
    padding: 9px 15px;
    text-decoration: none;
  }

  .search-icon-item {
    position: absolute;
    width: 18px;
    height: 18px;
    right: 12px;
    top: 12px;
  }

  .search-rectangle.active {
    display: block;
  }

  .close-cross {
    position: absolute;
    width: 20px;
    top: 30px;
    right: 15px;
    cursor: pointer;
  }
}

.minicart-wrapper .loading-mask {
  display: none;
}