.class_main {
  position: relative;
  height: 100%;
}
.product_class_main_line {
  width: 100%;
  height: 80px;
  position: absolute;
  top: 0;
  left: 0;
  // display: flex;
  // align-items: center;
  margin-bottom: 20px;
  background-color: #fff;
  .product_class_scroll {
    box-sizing: border-box;
    padding: 6px 90px 0 20px;
    .product_class_list {
      white-space: nowrap;
      display: flex;
      box-sizing: border-box;
      .product_class_item {
        height: 56px;
        line-height: 56px;
        padding: 0 15px;
        background: #f5f5f5;
        border-radius: 29px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: rgba(0, 0, 0, 0.8);
        box-sizing: border-box;
        max-width: 260px;
        // @include common_ellipsis;
        margin: 0 8px 16px 8px;
      }
      .product_class_item_selected {
        border: 1px solid #3c78f4;
        color: #3c78f4;
        background: #ecf2ff;
        box-sizing: border-box;
      }
    }
  }
  .product_class_more {
    position: absolute;
    right: 0;
    top: 0;
    width: 88px;
    height: 100%;
    background-color: #fff;
    box-shadow: -7px 0px 7px -5px rgba(0, 0, 0, 0.16);
    line-height: 100%;
    display: flex;
    align-items: center;
    .zhankai{
      margin-left: 15px;
    }
    .product_class_more_icon {
      margin-left: 20px;
      display: inline-block;
      transform: rotate(90deg);
      font-size: 30px;
      color: rgba(0, 0, 0, 0.5);
    }
  }
}

.product_class_main_block {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  .product_class_block_con {
    max-height: 500px;
    background-color: #fff;
    z-index: 999;
    position: relative;
  }
  .product_class_scroll {
    box-sizing: border-box;
    max-height: 500px;
    padding: 0 20px;
    padding: 6px 20px 0 20px;
    .product_class_list {
      // display: flex;
      // flex-wrap: wrap;
      box-sizing: border-box;
      display: grid;
      grid-template-columns: auto auto auto;
      .product_class_item {
        width: 169px;
        height: 56px;
        line-height: 56px;
        text-align: center;
        padding: 0 15px;
        background: #f5f5f5;
        border-radius: 29px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: rgba(0, 0, 0, 0.8);
        margin: 0 8px 16px 8px;
        box-sizing: border-box;
        max-width: 260px;
        @include common_ellipsis(1);
      }
      .product_class_item_selected {
        border: 1px solid #3c78f4;
        color: #3c78f4;
        background: #ecf2ff;
        box-sizing: border-box;
      }
    }
  }
  .product_class_close {
    font-size: 24px;
    color: rgba(0, 0, 0, 0.6);
    // text-align: center;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    // .product_class_close_icon {
    //   display: inline-block;
    //   transform: rotate(-90deg);
    //   font-size: 27px;
    //   color: rgba(0, 0, 0, 0.5);
    //   padding: 0 10px;
    // }
  }
  .product_class_block_mask {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
  }
}
