:root:root {
  --sticky-header-height: 56px;
}

.headerSection {
  position: relative;
  height: 56px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 56px;
  background-color: #fff;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .logo {
    width: 87px;
    height: 26px;
    object-fit: contain;
  }
}

.navMenu {
  .line {
    width: 20px;
    height: 3px;
    background: #727272;
    border-radius: 6px;
    display: block;
    margin: 3px auto;
    transition: all 0.3s ease-in-out;

    &:first-child {
      margin-top: 0;
    }

    &:last-child {
      margin-bottom: 0;
    }
  }

  &.is-active {
    .line:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .line:nth-child(2) {
      opacity: 0;
    }

    .line:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg)
    }
  }
}

.menuPopup {
  top: 56px;

  :global {
    .van-cell {
      padding: 16px 24px;
      font-size: 16px;
      color: #777777;
    }

    .van-cell__right-icon {
      color: #AAAAAA;
      font-size: 15px;
    }
  }

  .is-active {
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    background: #FAFAFA;
  }

  .subCell {
    padding-left: 16px;
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease;

    &.arrowActive {
      transition: height 0.2s ease;
      height: calc(3 * (32px + var(--van-cell-line-height)))
    }
  }
}