.header-tabs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.header-tab {
  margin: 0 1rem 0 0;
  position: relative;
}

.header-tab__container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 3.5rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 500;
  padding: 0 1.5rem;
  border: 1px solid #ffffff44;
  border-radius: 5px;
  color: var(--secondary-text-color);
  transition: border-color 0.25s;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  width: fit-content;
}

.header-tab__icon {
  display: block;
  margin: 0 0.6rem 0 0;
  max-height: 1.7rem;
  max-width: 1.7rem;
  height: 100%;
  width: 100%;
  min-width: 1.7rem;
}

.header-tab__icon svg {
  width: 100%;
  height: 100%;
}

.header-tab:hover .header-tab__container {
  border-color: var(--secondary-text-color);
}

.header-tab:hover .mega-menu {
  display: block;
  margin: 0;
}

.header-tab .mega-menu__container {
  background: #FFF;
  border-radius: 15px;
  z-index: 9999;
  margin-top: 0.5rem;
}

.header-tab .mega-menu__container:before {
  bottom: 100%;
  top: auto;
  right: auto;
  left: 0;
  width: 100%;
  height: 0.5rem;
}

.header-tab>.simple-menu {
  top: 100%;
  left: -1rem;
  margin: 0.5rem 0;
  z-index: 999;
}

.header-tab>.simple-menu:before {
  content: "";
  display: block;
  position: absolute;
  top: auto;
  bottom: 100%;
  right: auto;
  left: 0;
  width: 100%;
  height: 0.5rem;
}

.header-tab:hover>.simple-menu {
  opacity: 1;
  visibility: visible;
}