.shop-product-name-wrapper {
  margin-top: 5px;
  padding: 0 @pro-padding;
  height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  .shop-product-name {
    font-size: 14px;
    color: rgba(30, 30, 30, 1);
    line-height: 20px;
    display: inline;
  }
}

.shop-product-wrapper-normal {
  .shop-product-name-wrapper {
    margin-top: 10px;

    .shop-product-name {
      font-size: 16px;
    }
  }
}

.shop-product-wrapper-three, .shop-product-wrapper-slide {
  .shop-product-name-wrapper {
    height: 40px;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-product-name {
    display: inline;
  }
}