.product-cards {
    gap: 1rem;
    grid-template-columns: repeat(6, 1fr);
}

.product-card{
    background-color: lightgray;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: transform 0.2s ease-in-out;
}

.product-card:hover {
    transform: scale(1.05) !important;
}

@media screen and (max-width: 1200px) {
    .product-cards {
      grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .product-cards {
      grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .product-cards {
      grid-template-columns: repeat(2, 1fr);
    }
}

/* Или если хотите одинаковую высоту */
.product-card {
    height: 165px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}
