.btn-toggle-mega-menu {
  cursor: pointer;
}

.btn-close-mega-menu {
  position: absolute;
  right: 10px;
  top: 5px;
  cursor: pointer;
}

.mega-menu {
  --divider-color: rgb(215, 215, 215);
  --text-color: rgb(46, 46, 46);
  position: fixed;
  top: 100%;
  left: 10px;
  right: 10px;
  bottom: 30px;
  display: flex;
  border-radius: 5px;
  transition: 0.2s;
  z-index: 999;
  opacity: 0;
}
.mega-menu.show {
  top: 30px;
  opacity: 1;
}
.mega-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
}
.mega-menu-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;
  background-color: white;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom: 1px solid var(--divider-color);
  color: var(--text-color);
  font-weight: bold;

}
.mega-menu-nav {
  overflow: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: white;
  border-right: 1px solid var(--divider-color);
  border-bottom-left-radius: 5px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mega-menu-nav::-webkit-scrollbar {
  display: none;
}
.mega-menu-nav-thumbnail {
  width: 40px;
  height: 40px;
}
.mega-menu-nav-item {
  position: relative;
  width: 80px;
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid var(--divider-color);
  border-left: 2px solid transparent;
  color: var(--text-color);
  transition: 0.4s;
  overflow: auto;
}
.mega-menu-nav-item-name {
  font-size: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--text-color);
}
.mega-menu-nav-item.active {
  border-left: 4px solid var(--primary-color);
  color: var(--primary-color);
}
.mega-menu-content {
  width: 100%;
  background-color: white;
  padding: 5px;
  padding-left: 85px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
.mega-menu-content-item {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mega-menu-content-item::-webkit-scrollbar {
  display: none;
}

.mega-menu-decor .wd-cat-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	
}
.mega-menu-decor .wd-cat-thumb {
	align-self: center !important;	
}


@media screen and (min-width: 1025px) {
  .mega-menu {
    display: none !important;
  }
  .mega-menu-overlay {
    display: none !important;
  }
}


