@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;
        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 {
        margin-left: 14px;
        font-size: 15px;
        font-weight: bold;
        color: #333333;
        @include ellipsis(1);
      }
      .info{
        display: flex;
        align-items: center;
        margin:0 14px;
        font-size: 12px;
        font-weight: 400;
        color: #8F8F8F;
        .desc{
          flex: 1;
          margin-right: 10px;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }
      }

    }
  }
}
