.yg-menu {
  $barH: 96rpx;

  &-bars {
    height: $barH;
    background: #fff;
    box-shadow: 0px 2px 12px 0px rgba(102, 102, 102, 0.08);
    color: #333333;
    font-size: 30rpx;
    align-items: stretch;
    position: relative;
    z-index: 10;
  }

  &-option {
    flex: 1;
  }

  &-oIcon {
    margin-left: 8rpx;
    color: #dcdee0;
    transition: transform 0.15s linear;
    font-size: 28rpx;

    &.opened {
      transform: rotate(180deg);
    }
  }

  &-active {
    color: var(--yg-main-color);
    font-weight: bold;

    .iconfont {
      color: var(--yg-main-color);
      font-weight: normal;
    }
  }

  &-drop {
    width: 100%;
    max-height: 40vh;
    overflow-y: scroll;
    background: #ffffff;
    color: #333333;
    top: $barH;
    transition: all 0.1s ease;
    font-size: 28rpx;
    padding: 0 32rpx;
    display: flex;
    flex-direction: column;
  }

  &-base {
    .yg-menu-item {
      height: 88rpx;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 28rpx;
      border-bottom: 1rpx solid #ebedf0;

      &:last-child {
        border-bottom: none;
      }
    }
  }

  &-cate {
    font-size: 28rpx;
    padding-bottom: 26rpx;
    flex: 1;
    flex-shrink: 1;
    overflow: auto;

    .yg-menu-subTxt {
      color: #999999;
      margin-top: 40rpx;
    }
  }

  &-cItem {
    flex-wrap: wrap;
  }

  &-btns {
    padding-top: 34rpx;
    padding-bottom: 26rpx;
    overflow: hidden;
    flex-shrink: 0;
  }

  &-btn {
    font-size: 28rpx;

    &:not(:last-child) {
      margin-right: 24rpx;
    }
  }

  &-cBtn {
    padding: 12rpx 30rpx;
    border-radius: 32rpx;
    margin-right: 32rpx;
    margin-top: 24rpx;
    position: relative;
    border-width: 1rpx;
    border-style: solid;

    &.normal {
      border-color: #dcdee0;
      color: #333;
    }
  }

  &-custom {
    padding: 24rpx 0;
  }
}