#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown {
  position: absolute;
  display: none;
  opacity: 0;
  visibility: hidden;
  z-index: 9;
  left: 0;
  text-align: left;
  transition: opacity 0.2s ease;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item:hover > .menu-dropdown,
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item.is-hovered > .menu-dropdown,
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item > .cat-drop-menu > li:hover > .cat-drop-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item .menu-dropdown .pos-sub-inner {
  background: #fff;
  padding: 30px;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item:hover .menu-dropdown .pos-sub-inner,
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item.is-hovered .menu-dropdown .pos-sub-inner {
  opacity: 1 !important;
  transform: translateY(0) !important;
}



/* Add transition for menu items */
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item > a {
  position: relative;
  transition: color 0.2s ease;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item > a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background-color 0.2s ease;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item:hover > a:after {
  background: #fe3737;
} 


.pos-menu-horizontal .menu-item > a{
  padding: 10px 14px !important;
  margin: 0px !important;
}

.main-menu .pos-menu-horizontal .menu-content .menu-item {
  margin-left: 0px !important;
  margin-right: 0px !important;
}