.nw-mainbar-container {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 -1px 0 0 $header-desktop-mainbar-background;
  background: $white;

  &::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: $header-desktop-mainbar-background;
  }

  &.is-fixed {
    &::before {
      height: 52px;
    }
  }
}

.nw-mybag-checkout {
  .nw-mainbar-container {
    &.is-fixed {
      &::before {
        height: 56px;
      }
    }
  }
  
  .nw-header {
    &.is-fixed {
      position: relative; // adding for iframe fix, caused by moengage iframe on checkout page
    }
  }
}

.nw-mainbar-row {
  justify-content: center;
}

.nw-mainbar-col {
  max-width: 1230px;
}

.nw-mainbar-nav-row {
  min-height: 84px;

  &.is-fixed {
    min-height: 51px;
    height: 51px;
  }
}

.nw-mainbar-logo-container {
  height: 88px;
}

.nw-mainbar-logo-link {
  position: relative;
  justify-content: center;
  align-items: center;
  display: flex;
  height: 100%;
}

.nw-mainbar-logo {
  max-width: 220px;
}

.nw-mainbar-navactions-col {
  flex-grow: 50;
  display: flex;

  &.is-fixed {
    background: $header-desktop-mainbar-background;
  }
}

.nw-mainbar-navactions-row {
  flex-wrap: nowrap;
  width: 100%;
}

.nw-mainbar-nav-col {
  flex-grow: 50;
  display: inline-flex;
  overflow: hidden;
  min-width: $header-desktop-mainbar-nav-min-width;
}

.nw-mainbar-actionbuttons {
  display: flex;
}

.nw-mainbar-actionbutton {
  font-size: $font-size-xxl;

  &.is-fixed {
    font-size: $font-size-xs;

    .nw-actionbuttons-text {
      padding-top: 5px;
    }
  }
}

.nw-mainbar-actionbutton-storelocator,
.nw-mainbar-actionbutton-getapp,
.nw-mainbar-actionbutton-login,
.nw-mainbar-actionbutton-mybag {
  display: none;

  &.is-fixed {
    @extend %nwc-centeralign-items;
  }
}

.nw-mainbar-actionbutton-login.is-fixed {
  margin-right: 2px;
  padding: 5px 3px;
  line-height: 38px;

  .nw-login-name {
    padding-top: 0;
  }
}

.nw-mainbar-actionbutton-getapp.is-fixed {
  margin: 10px 0;
  height: $mainbar-actionbutton-getapp-height;
}
