nav.main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: 56px;
}

nav.main a,
nav.merops a,
.logged-in-btn {
  height: 56px;
  display: flex;
  align-items: center;
}

.logged-in-btn {
  user-select: none;
}

nav ul {
  margin: 0;
}

nav ul li {
  margin: 0;
  display: inline;
  line-height: 1;
}

nav.main .grp-1 {
  display: none;
}

nav.main .grp-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-basis: 70%;

}

nav.main .grp-3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-basis: 30%;
}

nav.main ul.right li {
  display: flex;
  align-items: center;
}

.logged-in-btn {
  cursor: pointer;
}

.logged-in-btn .img-wrap {
  background-image: url(../img/user.svg);
  background-color: #e6f7f6;
  background-position: center 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 6px;
  margin-right: 6px;
  background-repeat: no-repeat;
  background-size: contain;
}

nav.main .right .user-icon {
  margin-left: .5em;
}

nav .profile-link {
  display: flex;
  align-items: center;
}

/* nav.main .menu-btn,
nav.main .login-btn 
{
  display: none;
  cursor: pointer;
  min-width: 48px;
  justify-content: center;
  align-items: center;
  font-weight: 500 !important;
} */

nav.main .menu-btn {
  cursor: pointer;
  min-width: 48px;
  justify-content: center;
  align-items: center;
  font-weight: 500 !important;
}

nav.main .shabash-logo {
  width: 7.5em;
}

nav.main .shabash-logo img {
  width: 100%;
  margin-right: .125em;
}

nav.merops {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  min-height: 48px;
}

/*this is only really for when it's using the moble layout*/
nav.merops div:last-of-type {
  text-align: right;
}

nav.merops .product-name a {
  font-weight: 500;
  font-size: 1.25em;
  text-decoration: none;
}

nav.merops #submenu-btn {
  text-align: center;
  cursor: pointer;
  transition: transform .5s;
}

nav.merops .merops-links {
  width: 100%;
  font-size: 90%;
}

nav.merops .merops-links .merops-nav-menu {
  display: flex;
  justify-content: flex-end;
  /* margin: 0 1em; */
}

nav.merops .merops-links .merops-nav-menu a:hover {
  color: var(--main-merops-green);
}

nav.merops .merops-links ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav.merops .merops-links ul li {
  /* margin-right: 1em; */
  margin-left: 24px;
}

/* nav.merops .merops-links ul li:last-of-type {
  margin-right: 0;
} */

nav.merops .buy-btn {
  padding: .33em .75em;
  font-weight: 500;
  height: 24px;
}

.buy-btn:hover {
  filter: brightness(105%);
}

a.buy-btn:hover {
  color: #fff !important;
}

nav.mobile {
  height: 100%;
  z-index: 999;
}

nav.mobile,
nav.mobile-sub {
  position: fixed;
  width: 100%;
  background: #fff;
  display: none;
}

nav.mobile-sub {
  z-index: 99;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
}

nav.mobile .wrap,
nav.mobile-sub {
  max-width: var(--main-max-width);
}

nav.mobile ul li,
nav.mobile-sub .desktop {
  display: block;
  margin: 1em;
  border-bottom: 1px solid var(--main-border-color);
  padding-bottom: 1em;
  line-height: 1;
  color: inherit;
}

nav.mobile-sub .buy-btn {
  display: none;
}

nav.mobile ul li:last-of-type,
nav.mobile-sub ul li:last-of-type {
  border-bottom: 0;
}

nav.mobile a,
nav.mobile-sub a {
  color: inherit;
}

nav.mobile .mobile {
  display: none;
}

nav.mobile a:hover {
  opacity: 0.75;
}

nav.mobile .shabash-logo {
  display: none;
}

nav.merops .mobile {
  display: none;
}

.desktop a {
  transition: color .25s;
}

.desktop a:hover,
.desktop a[data-selected='true'] {
  color: var(--main-link-color);
  transition: color .25s;
}

nav#breadcrumb {
  margin-top: 1em;
}

nav#breadcrumb ul li:after {
  content: ' > ';
}

nav#breadcrumb ul li:last-of-type:after {
  display: none;
}

@media screen and (max-width: 952px) {

  nav.main .grp-1 {
    display: flex;
  }

  nav.main .grp-2,
  nav.main .grp-3 {
    flex-basis: 0;
  }

  nav.main .desktop {
    display: none;
  }

  nav.merops div {
    flex-basis: 33%;
  }

  nav.merops .merops-links .desktop {
    display: none;
  }

  nav.merops .merops-links ul {
    flex-direction: row-reverse;
  }

  nav.merops .merops-links ul li {
    margin-left: 0;
  }

  nav.merops .mobile {
    display: block;
    text-align: center;
  }

}