header.subscribe-header-wrapper {
  display: flex;
  align-items: center;
  box-shadow: 0px 4px 10px #ccc;
  position: relative;
  z-index: 3;
  transition: position 0.5s ease 0s;

  &.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-gray-10);
    box-shadow: 0px 4px 10px #ccc;
  }
}

.subscribe-header.block {
  width: 100%;
  .subscribe-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-left-container {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
    flex: 1;

    @media (width >= 992px) {
      justify-content: unset;
    }
  }

  .nav-links-container {
    display: flex;
    flex: 1;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    gap: 40px;
    border-radius: 20px 20px 0 0;
    background: var(--secondary-gray-10);
    padding: 10px 30px;
    transition: all 0.5s ease 0s;
    
    @media (width >= 992px) {
      position: relative;
      width: auto;
      box-shadow: none;
      border: none;
      background: transparent;
      padding: 0;
      transform: none;
      visibility: visible;
    }

    @media (width >= 992px) {
      gap: 30px;
    }
    
    .hide-desktop {
      @media (width >= 992px) {
        gap: 40px;
        display: none;
      }
    }

    .login-modal {
      .subscribe-link-icon__link,
      .subscribe-link-icon__button {
        img {
          width: 13px;
          height: auto;
        }
      }
    }

    a,
    button.subscribe-link-icon__button {
      display: flex;
      flex-direction: column;
      padding: 0;
      align-items: center;
      outline: none;
      text-decoration: none;
      gap: 0;
      
      @media (width >= 992px) {
        gap: 8px;
      }

      &.hide-desktop {
        @media (width >= 992px) {
          display: none;
        }
      }

      &.hide-icon-desktop {
        @media (width >= 992px) {
          img {
            display: none;
          }
        }
      }

      .subscribe-link-icon__desktop-title, .subscribe-link-icon__mobile-title {
        color: var(--primary-black);
        font-weight: 400;
        font-size: 12px;
        opacity: 0.7;
        transition: opacity 0.3s ease;
      }

      .subscribe-link-icon__desktop-title {
        font-size: 13px;
        display: none;
        margin-bottom: 0;
        &:hover {
          opacity: 1;
        }
        @media (width >= 992px) {
          display: block;
        }
      }

      .subscribe-link-icon__mobile-title {
        font-weight: 400;
        font-weight: 400;
        @media (width >= 992px) {
          display: none;
          margin: 0;
        }
      }

      @media (width >= 992px) {
        flex-direction: row;
      }

      img {
        width: 24px;
        height: 24px;
        vertical-align: middle;

        @media (width >= 992px) {
          width: 20px;
          height: 20px;
        }
      }
    }
  }

  .logo {
    img {
      height: auto;
      width: 170px;
    }
  }

  .subscribe-header__auth {
    /* Login + my-account modals; blocks control their own overlay visibility */
    .my-account.block {
      display: contents;
    }
  }
}
