//
// Component: Products
//

.products-list {
  padding: 0;
  margin: 0;
  list-style: none;

  > .item {
    @include clearfix();

    @if $enable-rounded {
      @include border-radius($border-radius);
    }

    padding: 10px 0;
    background-color: var(--#{$prefix}body-bg);

  }

  .product-img {
    float: left;

    img {
      width: 50px;
      height: 50px;
    }
  }

  .product-info {
    margin-left: 60px;
  }

  .product-title {
    font-weight: 600;
  }

  .product-description {
    display: block;
    overflow: hidden;
    color: var(--#{$prefix}secondary-color);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.product-list-in-card > .item {
  @include border-radius(0);
  border-bottom: 1px solid $card-border-color;

  &:last-of-type {
    border-bottom-width: 0;
  }
}
