.main__header {
  box-shadow: 0px 1px 0px 0px #ececec;
}

.header__container {
  width: 100%;
  padding: 0px 15px;
  margin: 0 auto;
}

.main__header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
}

.search__box__container {
  display: none;
}

.brand__logo {
  order: 2;
  display: flex;
  justify-content: center;
}

.brand__logo a {
  display: block;
}

.brand__logo img {
  display: flex;
  width: 125px;
  height: auto;
  object-fit: contain;
}

.wrapper {
  order: 1;
}

.ecommerce__nav {
  order: 3;
  display: flex;
  justify-content: flex-end;
}

.brand__logo,
.wrapper,
.ecommerce__nav {
  width: calc(100% / 3);
}

#user__icon {
  display: none;
}

.hamburger__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ecommerce nav */
.ecommerce__nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ecommerce__nav__link {
  position: relative;
}

.ecommerce__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.notification {
  position: absolute;
  top: -6px;
  right: -6px;
  width: auto;
  height: 16px;
  border-radius: 8px;
  background-color: var(--primaryColor);
  font-size: 10px;
  line-height: 12px;
  font-weight: 400;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 0px 6px;
}

/* ============= main menus css start  */
.main__menu__wrapper {
  display: none;
}

.menu__col {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menus__group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.products__menu {
  width: 280px;
  position: relative;
  cursor:pointer;
}

.products__menu__title__wrapper {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primaryColor);
  padding: 10px 20px;
  border-radius: 5px 5px 0px 0px;
}

.products__menu__title__wrapper span {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products__menu__title__wrapper p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #fff;
}

.main__nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
}

.main__nav__item {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0px 20px;
  position: relative;
}

.main__nav__link {
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

/* main mega menu */

.main__mega_menu__wrapper {
  position: absolute;
  top: 56px;
  width: 100vw;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  left: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  visibility: hidden;
  opacity: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  z-index:11;
}

.main__mega_menu {
  max-width: 1000px;
  width: 100%;
  margin: auto;
}

.main__mega_menu__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.mega__menu_card {
  padding: 20px;
}

.mega__menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mega__menu li:hover a {
  color: var(--primaryColor);
}

.mega__menu ul li a {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #333;
  padding: 7px 0px;
  display: block;
  text-decoration: none;
  transition: 0.3s;
}

.mega__menu_title__wrapper {
  margin-bottom: 10px;
}

.mega__menu_title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #333;
  transition: 0.3s;
}

.mega__menu_title:hover {
  color: var(--primaryColor);
}

.contact__features {
  display: flex;
  align-items: center;
}

.category__nav {
  position: absolute;
  top: 100%;
  width: 100%;
  /* max-height: calc(100vh - 300px); */
  box-shadow: 0 0 1px 0 #ccc;
  /* overflow-y: scroll; */
  visibility:hidden;
  opacity:0;
  transform:translateY(30px);
  transition:opacity .3s, visibility .3s, transform .3s;
  z-index:11;

}
.category__nav.active{
  visibility:visible;
  opacity:1;
  transform:translateY(0px);
  
}

.category__nav_list {
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #fff;
}

.category__nav_item {
  padding: 0px 20px;
}

.category__nav_item .category__nav_link {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  color: #333;
}
.category__nav_item .category__nav_link a{
  color: #333;
}

.category__nav_item:not(:last-child) .category__nav_link {
  border-bottom: 1px dotted #ccc;
}

.category__nav_item .category__nav_link__inner {
  display: flex;
  gap: 8px;
}

.category__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow__icon {
  display: flex;
}

/* category mega menu */
.products__menu .category__nav_list {
  position: relative;
}

.category__sub_menu__wrapper {
  position: absolute;
  top: 0;
  width: 547px;
  height: 405px;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  left: 100%;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
}

.products__menu .category__nav_item:hover {
  background-color: #f9f9f9;
}

.products__menu .category__nav_item:hover .category__sub_menu__wrapper {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
}

.products__menu .main__mega_menu__content {
  padding: unset;
}

.products__menu .category__sub_menu {
  padding: 20px;
}

.products__menu .mega__menu_card {
  padding: unset;
}

/* mobile footer css start */
.mobile__footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background-color: #fff;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  /* padding: 11px 0px 7px; */
  z-index: 25;
}

.mobile__footer_nav {
  width: 100%;
}

.mobile__footer_nav_list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile__footer_nav__item {
  flex: 1 1 20%;
}

.mobile__footer_nav__link {
  text-decoration: none;
}

.mobile__footer_nav__link__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  height: 56px;
  padding-bottom: 7px;
}

.mobile__footer_nav__icon {
  display: flex;
  position: relative;
}

.mobile__footer_nav__text {
  font-size: 10px;
  line-height: 12px;
  font-weight: 600;
  color: #333;
}


/* ================= siderbar css ================ */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, .5);
  transition: visible .3s ease-in-out, opacity .3s ease-in-out;
  visibility: hidden;
  opacity: 0;
  z-index: 80;
}

.openSidebar.overlay {
  visibility: visible;
  opacity: 1;
}

.mobile__drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  height: 100vh;
  background-color: #fff;
  transition: left .3s ease-in-out;
  z-index: 90;
}

.mobile__drawer.openSidebar {
  left: 0;
}

.sidebar__close_btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cbc6c6;
  position: absolute;
  right: -24px;
}


.button__groups {
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  background-color: #F5F5F5;
}

.button__groups button {
  width: 50%;
  height: 100%;
  border: none;
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}


.active__menu {
  position: relative;
  background-color: #E9E9E9 !important;
}

.active__menu::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primaryColor);
}

.mobile__main_menus,
.mobile__category_menus {
  display: none;
}

.mobile__main_menus.show,
.mobile__category_menus.show {
  display: block;
}

#mobile__category_menus .category__nav {
  position: relative;
  max-height: 100dvh;
}

.mobile__nav {
  max-height: calc(100dvh - 111px);
  overflow-y: scroll;
}

.mobile__nav::-webkit-scrollbar {
  display: none;
}

.mobile__nav,
.mobile__nav_nested,
.mobile__nav_nested__deep {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile__nav .category__nav_item {
  padding: unset;
  background: #ffffff;
  position: relative;
}

.mobile__nav .category__nav_item .category__nav_link {
  border-bottom: 1px solid #ccc;
}

.mobile__nav .category__nav_item .category__nav_link {
  padding-left: 20px;
}

.mobile__nav_nested .category__nav_item .category__nav_link {
  /* border-bottom: 1px solid #ccc; */
  padding-left: 35px;
}

.mobile__nav_nested__deep .category__nav_item .category__nav_link {
  /* border-bottom: 1px solid #ccc; */
  padding-left: 50px;
}

.wrapper__nav_item .mobile__nav_nested,
.child__nav_item .mobile__nav_nested__deep {
  overflow: hidden;
  max-height: 0px;
  background-color: #ffffff;
  -webkit-transition: max-height 0.3s;
  -o-transition: max-height 0.3s;
  transition: max-height 0.3s;
}

.wrapper__nav_item.active .mobile__nav_nested,
.child__nav_item.active .mobile__nav_nested__deep {
  max-height: 450px;
  overflow-y:auto;
  -webkit-transition: max-height .8s;
  -o-transition: max-height .8s;
  transition: max-height .8s;
}
.wrapper__nav_item.active .mobile__nav_nested::-webkit-scrollbar,
.child__nav_item.active .mobile__nav_nested__deep::-webkit-scrollbar {
display:none;
}
.wrapper__nav_item.active .wrapper__nav_link,
.child__nav_item.active .child__nav_link {
  background-color: rgba(0, 0, 0, .04);
}

.mobile__nav .category__nav_link__inner {
  text-decoration: none;
  width: calc(100% - 70px);
  height: 100%;
  align-items: center;
}

.toggle__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collaps__spand,
.child_collaps__spand {
  transition: all .3s;
}

.collaps__spand .plus__icon,
.child_collaps__spand .plus__icon {
  width: 14px;
  height: 14px;
  position: relative;
  display: block;
}

.collaps__spand .plus__icon::before,
.child_collaps__spand .plus__icon::before {
  position: absolute;
  content: "";
  width: 14px;
  height: 2px;
  opacity: 1;
  background: #555555;
  transform: translateX(0px);
  top: 6px;
  transition: all .3s;
}


.collaps__spand .plus__icon::after,
.child_collaps__spand .plus__icon::after {
  position: absolute;
  content: "";
  width: 2px;
  height: 14px;
  opacity: 1;
  background: #555555;
  transform: translateX(6px);
  transition: all .3s;
}

.wrapper__nav_item.active .collaps__spand,
.child__nav_item.active .child_collaps__spand {
  transform: rotate(-90deg);
  transition: all .3s;
}

.wrapper__nav_item.active .collaps__spand .plus__icon::before,
.child__nav_item.active .child_collaps__spand .plus__icon::before {
  opacity: 0;
}


/* =========== search css start =============== */

.btn {
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  color: #fff;
  border: 1px solid var(--primaryColor);
  background-color: transparent;
}

.btn__submit {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: var(--primaryColor);
  height: 44px;
  padding: 0px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px 5px 5px 0px;
  text-transform: uppercase;
  cursor: pointer;
}

.search__box {
  width: 100%;
  position: relative;
}

.search__field {
  width: 100%;
  background-color: #fff;
}

.input__search__box {
  position: relative;
}

.form__control {
  height: 44px;
  width: 100%;
  padding: 0px 125px 0px 15px;
  border: none;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #555;
}

/* search suggest */

.search__suggest__box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 450px;
  overflow-y: scroll;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, .15);
  border-radius: 5px;
  z-index: 80;
  /* display: none; */
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, -webkit-transform .3s;
}

.open__search__result.search__suggest__box {
  /* display: block; */
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.search__suggest__box::-webkit-scrollbar {
  display: none;
}

.search__suggest__results {
  display: flex;
  flex-direction: column;
  padding: 0px 20px;
}

.suggest__item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  text-decoration: none;
}

.suggest__item:not(:last-child) {
  border-bottom: 1px solid #ececec;
}

.item__img {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item__name {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: #333;
}

/* mobile search popup */
.mobile__search__popup {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 125px;
  background-color: #fff;
  padding: 0px 20px;
  transition: all .3s;
  z-index: 90;
}

.openSearchModal {
  top: 0;
}

.mobile__search__popup .mobile__search__box {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile__search__popup .search__box {
  max-width: 550px;
  margin: 0 auto;
}

.mobile__search__popup .search__field {
  background-color: transparent;
}

.mobile__search__popup .form__control {
  height: 40px;
}

.mobile__search__popup .btn__submit {
  height: 40px;
  border: unset;
}

/* .mobile__search__popup .search__suggest__results{
  display: none;
} */
.mobile__search__close__btn {
  margin-bottom: 10px;
}

.openSearchModal.overlay {
  visibility: visible;
  opacity: 1;
}



@media (min-width: 972px) {
  .header__container {
    width: 972px;
    padding: 0;
  }

  .brand__logo {
    width: 220px;
  }

  .wrapper {
    width: calc(100% - 440px);
  }

  .hamburger__icon__wrapper {
    display: none;
  }

  #user__icon {
    display: flex;
  }

  .search__box__container {
    display: flex;
  }

  .brand__logo {
    order: 1;
    display: flex;
    justify-content: flex-start;
  }

  .wrapper {
    order: 2;
  }

  .ecommerce__nav {
    order: 3;
    display: flex;
    justify-content: flex-end;
  }

  .ecommerce__nav {
    width: 220px;
    display: flex;
    justify-content: flex-end;
  }

  /* main menu css start */
  .main__menu__wrapper {
    display: block;
  }

  .main__nav__item:hover .main__mega_menu__wrapper {
    visibility: visible;
    transform: translateY(0px);
    opacity: 1;
  }

  .main__nav__link {
    transition: 0.3s;
  }

  .main__nav__item:hover .main__nav__link {
    color: var(--primaryColor);
  }

  .contact__features {
    flex-direction: column;
  }

  .contact__features p {
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    color: #333;
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .contact__features span {
    display: flex;
    align-items: center;
  }

  .mobile__footer {
    display: none;
  }

  /* ================== sidebar css  ==============*/

  .mobile__drawer {
    display: none;
  }

  .overlay {
    display: none;
  }

  /* =============== search css start ============ */
  #search__icon,
  #mobile__search__modal {
    display: none;
  }
  .products__menu {
  cursor:pointer;
}

}

@media (min-width: 1220px) {
  .header__container {
    width: 1220px;
    padding: 0;
  }

  /* main menu css start */
  .contact__features {
    flex-direction: row;
    gap: 15px;
  }

  .contact__features p {
    line-height: 22px;
  }
}