.sarv-products {
  --sarv-products-cols: 4;
  --sarv-products-gap: 16px;
}

.sarv-products--grid {
  display: grid;
  grid-template-columns: repeat(var(--sarv-products-cols), minmax(0, 1fr));
  gap: var(--sarv-products-gap);
}

.sarv-products--list {
  display: flex;
  flex-direction: column;
  gap: var(--sarv-products-gap);
}

.sarv-products__item {
  min-width: 0;
}

.sarv-products--equal .sarv-products__item,
.sarv-products--equal .sarv-product-card {
  height: 100%;
}

.sarv-products--equal .sarv-product-card {
  display: flex;
  flex-direction: column;
}

.sarv-products--equal .sarv-product-card .sarv-product-card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sarv-products--equal .sarv-product-card--style-2 {
  flex-direction: row;
  align-items: stretch;
}

.sarv-products--equal .sarv-product-card--style-2 .sarv-product-card__link {
  width: 100%;
  height: 100%;
}

.sarv-products--equal .sarv-product-card--style-2 .sarv-product-card__content {
  justify-content: center;
}

.sarv-products--list .sarv-product-card--style-2 {
  width: 100%;
}

.sarv-products__empty {
  margin: 0;
  color: #64748b;
}
