 /* --- CSS RIÊNG CHO SẢN PHẨM--- */
    
    .catalog-container {
        max-width: 1200px; margin: 30px auto; padding: 0 20px; 
        display: block; 
    }

    /* 2. Tiêu đề danh mục */
    .category-title {
        color: #FF7E00; font-size: 28px; margin-top: 0; text-align: center;
        border-bottom: 2px solid #2a2a50; padding-bottom: 15px; margin-bottom: 30px; 
        text-transform: uppercase; font-weight: bold;
    }

    /* 3. Lưới sản phẩm */
    .product-grid { 
        display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-start;
    }

    /* --- 4. THẺ SẢN PHẨM (FIX KHOẢNG CÁCH) --- */
    .product-card {
        background-color: #1a1a40;
        border: 1px solid #2a2a50; 
        border-radius: 8px;
        padding: 10px;
        /* Chia 4 cột */
        width: calc(25% - 15px); 
        text-align: center;
        transition: all 0.3s ease;
        box-sizing: border-box;
        overflow: hidden; 
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        border-color: #FF7E00;
        box-shadow: 0 8px 20px rgba(255, 126, 0, 0.3);
    }

    .img-wrapper {
        width: 100%; height: 220px; overflow: hidden; border-radius: 5px; 
        /* Giảm margin dưới của ảnh để kéo tên lên gần hơn */
        margin-bottom: 8px; 
    }

    .product-card img {
        width: 100%; height: 100%; object-fit: cover;
        transition: transform 0.5s ease; 
    }

    .product-card:hover img { transform: scale(1.1); }

    /* --- FIX LỖI DƯ KHOẢNG TRỐNG Ở ĐÂY --- */
    .product-card h4 {
        font-size: 15px; color: #fff; 
        /* Giảm margin (lề) xuống còn 5px */
        margin: 5px 0; 
        /* Bỏ height cố định để không bị chiếm chỗ trống nếu tên ngắn */
        height: auto; 
        line-height: 1.4;
    }

    .product-card .price { 
        display: block; 
        /* Giảm khoảng cách giữa Giá và Nút mua */
        margin-bottom: 10px; 
        font-size: 16px;
    }
    
    .product-card .price del { color: #888; font-size: 13px; margin-right: 5px; }
    .product-card .price b { color: #FF7E00; }

    .btn-buy {
        background-color: transparent; border: 1px solid #FF7E00; color: #FF7E00;
        padding: 8px 15px; border-radius: 5px; cursor: pointer; font-weight: bold; transition: 0.3s; width: 100%;
    }
    .btn-buy:hover { background-color: #FF7E00; color: white; }
     .custom-dropdown {
        display: none; /* Mặc định ẩn */
        position: absolute;
        top: 30px; /* Cách top bar 1 đoạn */
        right: 0;
        background-color: #1a1a40; 
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        border-radius: 4px;
        min-width: 150px;
        padding: 0;
        list-style: none;
        z-index: 9999;
    }

    .custom-dropdown li {
        border-bottom: 1px solid #1a1a40;
    }
    .custom-dropdown li:last-child { border-bottom: none; }

    .custom-dropdown li a {
        display: block;
        padding: 10px 15px;
        color: white; /* Chữ trắng */
        text-decoration: none;
        font-size: 14px;
    }

    .custom-dropdown li a:hover {
        background-color: rgba(255,255,255,0.1); /* Hiệu ứng khi di chuột */
    }
    /* Responsive Mobile */
    @media (max-width: 768px) {
        .product-card { width: calc(50% - 10px); } 
        .img-wrapper { height: 160px; } 
    }