.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.product-card {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    max-width: 380px;
}

.product-card .product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-info {
    padding: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.product-card .product-category {
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #666;
    border: 1px solid #ccc;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    transition: 0.1s ease-in-out;
}

.product-card .product-category:hover {
    background-color: var(--secondary-color);
    color: #fff;
    cursor: pointer;
    border: 1px solid var(--secondary-color);
}

.product-card .price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card .btn-detail {
    display: block;
    width: 100%;
    padding: 0.6rem;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.product-card .btn-detail:hover {
    background-color: #c40200;
}

@media (min-width: 640px) {
    .product-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
