@media (min-width: 768px) {
  :root {
    --card-width: 280px;
    --card-height: 420px;
    --image-height: 280px;
    --card-gap: 20px;
  }

  .product-card-grid,
  .product-listing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--card-gap);
    padding: 10px;
  }

  .product-card {
    width: var(--card-width);
    height: var(--card-height);
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    position: relative; /* Required for absolute heart */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-card-image-container {
    width: 100%;
    height: var(--image-height);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .product-card-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }

  .wishlist-button, 
  .wishlist-icon,
  .wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    z-index: 3;
  }

  .wishlist-button i, 
  .wishlist-icon i,
  .wishlist-heart i {
    color: #e60023;
    font-size: 18px;
  }

  .product-card-info {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    width: 100%;
    flex-grow: 1;
  }

  .product-card-info h2,
  .product-card-info .product-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
