.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: column;
  background: var(--gray-soft);
  border-radius: 14px;
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card--product .description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card--product .media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: var(--media-bg);
  background-repeat: repeat;
  background-size: 300px;
  background-position: center;
    display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.card--product .media img[src=""],
.card--product .media img:not([src]) {
  display: none;
}

.card--product .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card--product .media img.card__img--svg {
  width: 80%;
  height: auto;
  object-fit: contain;
  margin: auto;
  max-height: 100%;
}

.card__body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card__body .description {
  margin-top: .5rem;
  font-size: .9rem;
}

.card__footer {
  display: flex;
  align-items: center;
  padding: .75rem 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.05);
}

.card__footer .btn {
  margin-left: auto;
}

.card--clickable {
  cursor: pointer;
}

.card--clickable:hover {
  transform: translateY(-6px);
}