/* Header navbar */
#html-body {
  .header-wrapper-main {
    background-color: var(--white);
  }

  .header.content {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    align-items: center;
    padding: 16px;
    max-width: 1312px; /* max-width includes header padding */
    margin: auto;
  }

  .header.content::before,
  .header.content::after {
    content: none;
    display: none;
  }

  .header.content .logo {
    margin: 0;
    position: absolute;
    top: auto;
    bottom: auto;
    left: 16px;
  }

  .header.content .navigation {
    z-index: unset;
  }

  .header.content .nav-toggle  {
    display: block;
    position: static;
    float: unset;
    order: 2;
    height: 32px;
    width: 32px;
  }

  .header.content .nav-toggle::before {
    height: 32px;
    width: 32px;
    display: block;
    content: "";
    background: url('../images/menu-outline.svg') no-repeat; 
  }

  .header.content .close-nav {
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid var(--gray-light);
  }

  .header.content .close-nav-icon {
    padding: 16px;
  }
  
  .header.content .close-nav-icon::before{
    cursor: pointer;
    height: 32px;
    width: 32px;
    display: block;
    content: "";
    background: url('../images/close-outline.svg') no-repeat;
  }

  .header.content .compare.wrapper {
    display: none;
  }

  .header.content .nav-sections {
    margin: 0;
    background: var(--white);
  }

  .header.content .nav-sections a.ui-menu-item-wrapper,
  .header.content .nav-sections a.ui-menu-item-wrapper:hover,
  .header.content .nav-sections li a,
  .header.content .nav-sections li a:hover {
    color: inherit;
    border: none;
    text-decoration: none;
    display: block;
  }

  .nav-sections-items {
    height: 90%;
  }

  .nav-sections-item-content {
    margin-top: 16px;;
  }

  .nav-usp {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--georgia);
    
    p {
      font-size: 14px;
    }
  }

  .nav-usp-icon::before {
    height: 32px;
    width: 32px;
    display: block;
    content: "";
    background: url('../images/wheat-beige.svg') no-repeat;
  }

  .nav-my-account-title {
    display: block;
    position: static;
    margin-left: 30px;
    white-space: nowrap;
    color: var(--white);
    text-shadow: none;
  }

  .nav-account-login {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    background: url(../images/person-outline-white.svg) no-repeat left center;
    background-size: contain;
    text-decoration: none;
  }

  button.nav-customer-login {
    width: 100%;
    margin-top: 16px;

    a {
      width: 90px;
    } 
  }

  .nav-mobile-only {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
  }

  .nav-sections-item-content {
    padding: 0;
  }

  .nav-sections nav ul {
    background: var(--white);
    font-family: "Roboto Condensed", Arial;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
    li {
      color: var(--black);
      padding: 16px;
      flex-shrink: 0;
    }
  }

   div.ui-menu-item,
   nav.navigation div[data-element$="main"],
   nav.navigation div.level-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    word-break: unset;
  }

  .minicart-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 16px;
    margin: 0 8px 0 0;
  }

  .minicart-wrapper::before,
  .minicart-wrapper::after {
    display: none;
  }

  .minicart-wrapper .showcart {
    position: relative;
  }

  .minicart-wrapper .counter {
    position: absolute;
    left: 20px;
    top: -8px;
    border-radius: 100px;
    background: var(--green-light);
    height: 24px;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;

    span {
      color: var(--white);
      font-family: var(--roboto);
      font-size: 14px;
      font-weight: 600;
    }
  }

  .account-login {
    display: flex;
    align-items: center;
    width: 32px;
    height: 32px;
    background: url(../images/person-outline.svg) no-repeat left center;
    background-size: contain;
    text-decoration: none;
  }

  .my-account-title {
    display: none;
  }

  .header-wrapper-main .minicart-wrapper .action.showcart:before {
    background: url(../images/shopping-bag-outline.svg) no-repeat;
    margin-top: 0;
  }

  /* USP */
  .guaranty {
    background: var(--lime);
    color: var(--earth-dark);
    padding: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    gap: 8px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    transform: rotate(0deg);

    /* @include preamble() */
    font-family: "Roboto Condensed";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.36px;
  }

  .guaranty li {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  @media (min-width: 769px) {
    .header.content {
      justify-content: space-between;
    }

    .header.content .logo {
      position: static;
    }

    .header.content .navigation {
      display: block;
    }
  
    .header.content .nav-toggle  {
      display: none;
    }

    .header.content .close-nav {
      display: none;
    }

    .minicart-wrapper {
      margin-right: 24px;
    }

    div.ui-menu-item,
    nav.navigation div[data-element$="main"],
    nav.navigation div.level-top {
      flex-direction: row;
      align-items: center;
      gap: 16px;
    }

    .nav-sections nav ul {
      align-items: center;
      flex-direction: row;
      gap: 16px;

      li {
        padding: 0;
      }
    }

    .mobile-only,
    .nav-mobile-only {
      display: none;
    }
  }
  
  @media (min-width: 1025px) {
    .account-login {
      width: 110px;
    }

    .my-account-title {
      display: block;
      position: static;
      width: 1px;
      margin-left: 35px;
      white-space: nowrap;
      color: var(--black);
      text-shadow: none;
    }
    
    .guaranty {
      flex-direction: row;
    }
  }
}