@import "~/styles/mixins.scss";

.productList {
  .main {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    .adList {
      display: flex;
      flex-shrink: 0;
      flex-direction: column;
      gap: 12px;
      width: 189px;

      .ad {
        width: 189px;
        height: 295px;
        background-color: #d8d8d8;
      }
    }
  }

  .listContent {
    width: 100%;
    .paginationPage {
      text-align: right;
      padding-right: 12px;
    }
  }

  .listWrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    height: 565px;
    align-content: start;

    .item {
      cursor: pointer;
      width: 190px;
      height: 183px;
      background: #ffffff;
      border-radius: 6px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 15px 0 10px;

      .imgBox {
        width: 100%;
        text-align: center;

        .img {
          width: 116px;
          height: 116px;
        }
      }

      .title {
        padding: 0 18px;
        font-size: 15px;
        font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
        font-weight: bold;
        color: #333333;
        @include ellipsis(1);
      }

      .sellCount {
        font-size: 12px;
        font-family: MicrosoftYaHei;
        color: #ff552d;
        padding-left: 20px;
      }
    }
  }
}
