.custom-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.custom-product-card.card-style-card {
  background: var(--card-background-color, #fff);
  border-radius: 12px;
  overflow: hidden;
}

.custom-product-card__image {
  position: relative;
  overflow: hidden;
  padding: 0.79rem 0.97rem 0;
}

.custom-product-card__image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.custom-product-card__content {
  padding: 0.5rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.custom-product-card__title {
  color: var(--color-text);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
  font-size: 1rem;
}

.custom-product-card__price {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
}

.custom-product-card__price-current {
  color: var(--color--, #f785d2);
  text-align: center;
  line-height: 1;
  margin-top: 0.4rem;
  font-size: 1.58rem;
}

.custom-product-card__price-original {
  text-decoration: line-through;
  text-align: center;
  color: #8c8c8c;
  line-height: 1;
  font-weight: 400;
  font-size: 1rem;
}

.custom-product-card__button {
  background: var(--button-background-color, #f785d2);
  color: var(--button-text-color, white);
  padding: 0 1.5rem;
  margin-top: 0.42rem;
  font-size: 1.25rem;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  line-height: 2;
  border: none;
  border-radius: 8px;
}

.custom-product-card__quick-add {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

@media (min-width: 768px) {
  .custom-product-card__image {
    padding: 8px 8px 0;
  }

  .custom-product-card__title {
    font-size: 20px;
  }

  .custom-product-card__price-current {
    font-size: 40px;
    padding-top: 10px;
  }

  .custom-product-card__price-original {
    font-size: 18px;
  }

  .custom-product-card__button {
    font-size: 22px;
    padding: 0px 10px;
    max-width: 100%;
    min-width: 65%;
    margin-top: 10px;
  }
}
