body {
            font-family: Arial, sans-serif;
            background: #1a1a1a; /* Màu nền tối giống trong ảnh */
            padding: 20px;
            margin: 0;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 15px;
            max-width: 1200px;
            margin: 40px auto;
        }

        .card {
            background: #262626; /* Màu nền card tối */
            padding: 12px;
            border-radius: 8px;
            /* Flexbox giúp các phần tử bên trong xếp theo chiều dọc */
            display: flex;
            flex-direction: column;
            height: 100%; /* Đảm bảo card chiếm hết chiều cao hàng */
            box-sizing: border-box;
            transition: transform 0.2s;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 4px;
            background: #333; /* Placeholder khi chưa có ảnh */
        }

        .title {
            color: white;
            font-size: 14px;
            font-weight: bold;
            margin: 12px 0;
            line-height: 1.4;
            /* Giới hạn hiển thị 3 dòng để trông gọn hơn (tùy chọn) */
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 3.6em; /* Giữ khoảng trống tối thiểu cho tiêu đề */
        }

        .price {
            color: #ff4d4d;
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 12px;
            /* Đẩy phần giá và nút xuống đáy card nếu tiêu đề ngắn */
            margin-top: auto; 
        }

        .btn {
            display: block;
            background: #ffa500;
            color: white;
            padding: 10px;
            text-align: center;
            text-decoration: none;
            border-radius: 4px;
            font-weight: bold;
            font-size: 14px;
        }

        .btn:hover {
            background: #ff8c00;
        }
/* section */
.section {
    margin: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 15px;

    background: linear-gradient(135deg, #fff, #fff3e0);
    border-left: 5px solid #ff5722;
    border-radius: 8px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* tiêu đề */
.section-header h2 {
    font-size: 18px;
    margin: 0;
    color: #333;
    position: relative;
}

/* gạch underline nhẹ */
.section-header h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #ff5722;
    margin-top: 4px;
    border-radius: 2px;
}

/* nút xem thêm */
.view-more {
    font-size: 13px;
    color: #ff5722;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(255,87,34,0.1);
    transition: all 0.2s ease;
}

/* hover đẹp hơn */
.view-more:hover {
    background: #ff5722;
    color: white;
    transform: translateX(3px);
}
/* grid theo hàng */
.product-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}