﻿
---

## 5. File `products.css` (riêng cho trang products)

```css
/* products.css */

.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.product-card {
    flex: 0 0 23%;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: white;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #28a745;
    margin-top: auto;
}

.product-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.product-buttons .btn {
    flex: 1;
    padding: 8px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-buttons .btn-primary {
    background-color: #007bff;
    border: none;
    color: white;
}

.product-buttons .btn-primary:hover {
    background-color: #0056b3;
}

.product-buttons .btn-danger {
    background-color: #dc3545;
    border: none;
    color: white;
}

.product-buttons .btn-danger:hover {
    background-color: #a71d2a;
}
