.row-sm {
  margin-right: -7px;
  margin-left: -7px;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.card-product {
  margin-right: -1px;
  margin-bottom: -1px;
  border-radius: 0;
}

.card .img-wrap {
  overflow: hidden;
}

.card-product .img-wrap {
  border-radius: 0.2rem 0.2rem 0 0;
  overflow: hidden;
  position: relative;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-wrap {
  text-align: center;
  display: block;
}

.card-product .img-wrap img {
  padding: 20px;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
}

.img-wrap img {
  max-width: 100%;
}

.card-product .info-wrap {
  overflow: hidden;
  padding: 10px;
  //  border-top: 1px solid #eee;
  //  height: 84px;
  height: 140px;
  font-size: 13px;
  text-align: center;
}

.card-product .title {
  margin-top: 0;
  //  show only 2 lines of text
  display: inline-block;
  line-height: 1.5em;
  height: 3em;
  overflow: hidden;
}

.price-new,
.price {
  margin-right: 5px;
}

.price-old {
  color: #999;
}

.card-product {
  .country {
    position: absolute;
    top: 5px;
    left: 5px;
  }

  .discount {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #E30613;
  }

  .not_available {
    opacity: 0.5;
  }

  .badges .seller {
    position: absolute;
    bottom: 5px;
    left: 5px;
  }

  .badges .offer-dates {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 11px;
    color: #777;
    background-color: #f5f5f5;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 500;
  }
}

.text-limit {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}