body {
    background-color: #f5f3ff;
}

/* Header (Chỉ giữ lại CSS riêng, CSS header chung đã bỏ) */
.logo {
    font-size: 1.5em;
    gap: 8px;
    text-decoration: none;
    color: white;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 6px 12px;
    width: 550px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    padding: 8px;
    font-size: 15px;
    border-radius: 25px;
}

.search-box i {
    color: #7158e2;
    font-size: 16px;
    margin-right: 8px;
}

/* Main layout */
.main-container {
    display: flex;
    padding: 30px 60px;
    gap: 30px;
}

/* Bộ lọc */
.filter-box {
    width: 230px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 18px;
    height: fit-content;
}

.filter-box h3 {
    margin-top: 0;
    color: #7158e2;
    font-size: 18px;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group strong {
    color: #444;
    display: block;
    margin-bottom: 6px;
}

.filter-group label {
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

.filter-btns {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.filter-btns button {
    flex: 1;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 0;
    transition: 0.2s;
}

.apply-btn {
    background: #7158e2;
    color: white;
}

.reset-btn {
    background: #ccc;
    color: #333;
}

.apply-btn:hover {
    background: #8e62e8;
}

.reset-btn:hover {
    background: #bbb;
}

/* Danh sách sản phẩm (ĐÃ SỬA) */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    flex: 1;
}

.product {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: auto;
    overflow: hidden;
    padding-bottom: 16px;
}

.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product img {
    width: 85%;
    height: 190px;
    object-fit: contain;
    margin: 10px auto;
    transition: transform 0.3s ease;
}

.product:hover img {
    transform: scale(1.05);
}

.product h3 {
    margin: 10px 16px 8px 16px;
    font-size: 17px;
    color: #333;
    height: 40px;
    overflow: hidden;
    text-align: left;
}

/* CSS CHO MÔ TẢ SẢN PHẨM */
.product .description {
    font-size: 13px;
    color: #555;
    height: 60px;
    overflow: hidden;
    margin-bottom: 10px;
    padding: 0 16px;
    text-align: left;
    line-height: 1.5;
}

.product .price {
    color: #7158e2;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    padding: 0 16px;
    text-align: left;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    margin-top: auto;
}

.btn {
    background: #7158e2;
    color: white;
    border: none;
    padding: 9px 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    flex: 1;
    text-align: center;
    transition: background 0.2s;
}

.btn:hover {
    background: #5a3cb7;
}

.btn:first-child {
    background-color: #f0f0f0;
    color: #333;
}

.btn:first-child:hover {
    background-color: #e0e0e0;
}

/* (Không còn dấu } thừa ở đây nữa) */