.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f5f5f7;
}

.product-image img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 1.5rem 1.5rem 0.5rem;
    font-weight: 600;
}

.product-card p {
    margin: 0 1.5rem 1rem;
    color: #666;
    font-size: 0.9rem;
    flex-grow: 1;
}

.product-price {
    margin: 0 1.5rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
}

.product-original-price {
    margin: 0 1.5rem 1rem;
    font-size: 0.9rem;
    text-decoration: line-through;
    color: #86868b;
}

.product-card .button {
    margin: 0 1.5rem 1.5rem;
    align-self: flex-start;
}
