.navmenu {
  position: relative;
  background-color: var(--navmenu-bg);
  transition: transform 0.2s ease-out 0.3s, background 0.2s ease-out;
  border-bottom: 1px solid #a4a4a430;
}


.navmenu .list > .first-level.sub > a .name:after, .all-categories-title:after {
  content: '\e5cf';
  font-family: 'Material Icons';
  font-style: normal !important;
  font-weight: 400 !important;
  font-variant: normal !important;
  text-transform: none !important;
  height: 14px;
  font-size: 0.75rem;
  margin-left: 0.3125rem;
  vertical-align: middle;
  transition: 0.2s ease-out;
}

@media (max-width: 767px) {
  .navmenu {
    display: none;
  }
}
.navmenu .list,
.navmenu .list > .first-level {
  position: relative;
}

.navmenu .list > li > a,
.navmenu .list > li > span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2px 0px;
  font-size: 0.775rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  color: var(--navmenu-color);
  z-index: 2;
  transition: 0.2s ease-out;
}

.category-icon {
  margin-right: 5px;
  color: var(--navmenu-color);
}

.navmenu .list > li > a .name {
  padding: 14px 0px;
}

.more-categories {
  font-family: 'Material Icons';
  font-style: normal !important;
  font-weight: 400 !important;
  font-variant: normal !important;
  text-transform: none !important;
  font-size: 0.75rem;
  margin-left: 0.3125rem;
  vertical-align: middle;
  transition: 0.2s ease-out;
}

.navmenu .list .second-level {
  position: absolute;
  top: calc(100% - 40px);
  min-width: 275px;
  width: auto;
  padding: 1.625rem 2.175rem;
  opacity: 0;
  visibility: hidden;
  background-color: #fff;
  border-radius: 0 0 4px 4px;
  transform: translateY(40px);
  border: 1px solid #eaeaea;
  transition: 0.2s ease-out;
  box-shadow: 0 4px 8px rgb(0 0 0/6%);
  /* max-height: 530px !important; */
  z-index: 999;
}

.menu-scroll {
  min-width: 260px;
  /* max-height: 400px; */
  /* overflow-y: scroll; */
  line-height: 1.375rem;
}

.navmenu .title-category {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.list .first-level ul.second-level::before {
  width: 0;
  height: 0;
  content: '';
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fff;
  top: -12px;
  margin-right: -12px;
  position: absolute;
  left: 10%;
}

.list .first-level:hover ul.second-level {
  opacity: 1;
  visibility: visible;
}

.menu-scroll li {
  margin-top: 5px;
  margin-bottom: 5px;
}

.menu-scroll li > a {
  font-size: 0.775rem;
}

.product-menu {
  width: 250px;
  height: 100%;
  margin-left: 40px;
}

.third-level {
  position: absolute;
  background-color: #fff;
  padding: 1.625rem 10px;
  min-width: 100%;
  height: 100%;
  top: 0;
  visibility: hidden;
  z-index: -1;
  margin-left: 0;
  box-shadow: none;
  transition: all 0.1s ease;
}

.third-level.active {
  visibility: visible;
  z-index: -999;
  box-shadow: inset 3px 0 10px -5px rgba(0, 0, 0, 0.5);
  margin-left: calc(100% - 2.175rem);
  transition: all 0.3s ease;
  visibility: visible;
}

.category-master {
  background-color: #fff;
}

.category-master:hover{
  background-color: #eee;
}

.category-title{
  padding: 5px;
}

.sub-category:hover{
  background-color: #eee;
}

.sub-list.second-level.menu-product.all-categories-content {
  padding: 1.625rem 0 1.625rem 2.175rem;
  border-radius: 0;
  border: 0;
  box-shadow: 0;
  min-width: 260px;
  line-height: 1.375rem;
  background: #fff;
}

.sub-list.second-level.menu-product.all-categories-content li {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 20px;
}

.sub-list.second-level.menu-product.all-categories-content li > a {
  font-size: 0.775rem;
}

.pointer-none {
  user-select: none;
}

.more-categories {
  padding: 8px !important;
}

.nav-list .first-level:nth-child(n+5) .second-level {
  left: auto;
  right: 0;
}

.nav-list .first-level:nth-child(n+5) .second-level::before {
  left: auto;
  right: 10%;
  margin-right: 0;
  margin-left: -12px;
}