		html { scroll-behavior: smooth; }
        /* CSS RESET & CHUNG */
        
        #ui-preview {
            background-color: var(--bg-color);
            text-align: left;
            padding: 20px 40px;
            border-radius: 12px;
            margin: 0 0 40px 40px;
            max-width: 500px;
        }
        
        #ui-preview h2 {
            color: var(--text-header);
            font-size: 16px;
            margin-bottom: 8px;
            font-weight: 600;
        }
        
        #ui-preview p {
            color: var(--text-main);
            font-size: 15px;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        
        #ui-preview .btn-cart {
            background: var(--primary-color);
            color: white;
            padding: 6px 18px;
            border-radius: 25px;
            font-size: 15px;
            text-decoration: none;
            transition: 0.3s;
            display: inline-block;
            margin-top: 8px;
        }
        
        #ui-preview .btn-cart:hover {
            background: var(--text-header);
        }
        
        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            background-color: #F0F8FF; /* Xanh nhạt mát mẻ */
            color: #333333;
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }
        
        a {
            text-decoration: none;
            transition: 0.3s;
        }
        
        ul {
            list-style: none;
            padding: 0;
        }
        
        .container {
            width: 85%;
            margin: auto;
            max-width: 1200px;
        }
        /* TOPBAR */
        
        #top {
            background-color: #0096FF; /* Xanh dương sáng */
            color: white;
            padding: 10px 0;
            font-size: 14px;
        }
        
        .top-flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        #top-right a {
            color: white;
            margin-left: 15px;
            font-weight: 500;
        }
        /* HEADER */
        
        #header {
            background-color: white;
            padding: 25px 0;
            border-bottom: 1px solid #E0E0E0;
        }
        
        .header-flex {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }
        
        .logo-area {
            display: flex;
            align-items: center;
            gap: 16px;
            flex: 2;
        }
        
        .logo-img {
            height: 80px;
            width: 80px;
            border-radius: 50%;
            border: 2px solid #0096FF;
            object-fit: cover;
        }
        
        .brand-name h1 {
            color: #004080; /* Xanh dương đậm */
            font-size: 28px;
            letter-spacing: 1px;
            margin: 0;
        }
        
        .brand-slogan {
            color: #0096FF;
            font-style: italic;
            font-size: 14px;
            display: block;
            margin-top: 5px;
        }
        
        .info-box {
            flex: 1;
            padding-left: 20px;
            border-left: 1px solid #E0E0E0;
            font-size: 13px;
        }
        
        .info-box b {
            color: #004080;
            display: block;
            margin-bottom: 3px;
            font-size: 14px;
        }
        
        .btn-cart {
            background: #0096FF;
            color: white;
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 14px;
            white-space: nowrap;
        }
        
        .btn-cart:hover {
            background: #004080;
        }
		/* --- MENU --- */
		#menu {
			background-color: #004080;
			position: sticky;
			top: 0;
			z-index: 100;
		}

		#menu ul {
			display: flex;
			justify-content: center;
			margin: 0;
			padding: 0;
			list-style: none;
		}

		#menu ul li {
			position: relative; /* Giữ menu con không bị chạy lung tung */
		}

		#menu ul li a {
			color: white;
			padding: 15px 25px;
			display: block;
			font-weight: 500;
			font-size: 15px;
			text-decoration: none;
			transition: background 0.3s; /* Thêm hiệu ứng mượt khi di chuột */
		}

		#menu ul li a:hover {
			background: #003366;
		}

		/* --- MENU THẢ XUỐNG - SỬA LỖI DÀN NGANG --- */
		.dropdown {
			display: none;              /* Mặc định ẩn */
			position: absolute;
			top: 100%;
			left: 0;
			background-color: #ffffff; 
			min-width: 220px;
			box-shadow: 0 10px 20px rgba(0,0,0,0.15);
			z-index: 1000;
			padding: 5px 0;
			list-style: none;
			
			/* Ép buộc cột dọc, bỏ flex-direction nếu có */
			display: none !important; 
		}

		/* Hiển thị dưới dạng block khi di chuột vào */
		#menu ul li:hover .dropdown {
			display: block !important; 
		}

		/* Định dạng các mục con */
		.dropdown li {
			display: block !important; /* Quan trọng: ép mỗi li nằm trên một dòng */
			width: 100%;
		}

		.dropdown li a {
			color: #004080 !important;
			padding: 12px 20px !important;
			display: block !important;
			font-weight: 600 !important;
			border-top: none !important;
			white-space: nowrap; /* Giữ chữ trên một dòng */
		}

		/* Hiệu ứng di chuột vào */
		.dropdown li a:hover {
			background-color: #F0F8FF !important;
			color: #0096FF !important;
		}
        /* MAIN CONTENT */
        
        #wrapper {
            padding: 40px 0;
        }
        
        .hero-flex {
            display: flex;
            gap: 30px;
            margin-bottom: 50px;
        }
        /* Sidebar */
        
        #list-cate {
            width: 25%;
            background: white;
            border-radius: 15px;
            border: 1px solid #E0E0E0;
            overflow: hidden;
            height: fit-content;
        }
        
        #list-cate h3 {
            background: #0096FF;
            color: white;
            padding: 15px;
            font-size: 16px;
            text-align: center;
            margin: 0;
        }
        
        #list-cate ul {
            margin: 0;
        }

        #list-cate ul li {
            border-bottom: 1px solid #F0F8FF;
        }
        
        #list-cate ul li a {
            padding: 15px 20px;
            color: #333;
            display: block;
            font-size: 15px;
            font-weight: 500;
        }
        
        #list-cate ul li a:hover {
            background: #F0F8FF;
            padding-left: 25px;
            color: #0096FF;
        }
        /* Banner */
        
        #slideshow {
            width: 80%;
            height: 500px;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            margin: auto;
        }
        
        #slideshow img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        
        #slideshow img.active {
            opacity: 1;
        }
        /* Nút điều hướng */
        
        #slideshow .prev,
        #slideshow .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 150, 255, 0.7);
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            transition: 0.3s;
        }
        
        #slideshow .prev:hover,
        #slideshow .next:hover {
            background-color: #004080;
        }
        
        #slideshow .prev {
            left: 15px;
        }
        
        #slideshow .next {
            right: 15px;
        }
        /* PRODUCT GRID */
        
        .section-title {
            color: #004080;
            border-left: 5px solid #0096FF;
            padding-left: 15px;
            margin-bottom: 25px;
            font-size: 22px;
            text-transform: uppercase;
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 50px;
        }
        
        .product-item {
            background: white;
            padding: 15px;
            border-radius: 15px;
            border: 1px solid #E0E0E0;
            text-align: center;
            transition: 0.3s;
        }
        
        .product-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 150, 255, 0.15);
            border-color: #0096FF;
        }
        
        .product-item img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 15px;
            height: 180px;
            object-fit: contain; /* Đổi thành contain để hiển thị rõ máy điều hòa */
        }
        
        .product-item h3 {
            font-size: 15px;
            margin-bottom: 10px;
            color: #333;
            height: 40px; /* Cố định chiều cao tên để các box đều nhau */
        }
        
        .price {
            color: #D32F2F; /* Đỏ đô cho giá nổi bật */
            font-weight: bold;
            font-size: 16px;
        }
        
        .btn-add {
            background: #0096FF;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 10px;
            cursor: pointer;
            margin-top: 10px;
            width: 100%;
            font-weight: bold;
            transition: 0.3s;
        }

        .btn-add:hover {
            background: #004080;
        }
        /* FOOTER */
        
        #footer {
            background: #004080;
            color: white;
            padding: 50px 0 20px 0;
            margin-top: 60px;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInFooter 1.2s ease forwards;
        }
        
        .footer-flex {
            display: flex;
            gap: 60px;
        }
        
        #footer img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            padding: 5px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        #footer img:hover {
            transform: scale(1.15);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
        }
        
        .footer-bottom {
            width: 100%;
            text-align: center;
            margin-top: 30px;
            padding-top: 15px;
            font-size: 13px;
            opacity: 0.8;
            color: white;
            transition: color 0.3s ease, opacity 0.3s ease;
            border-top: 1px solid rgba(255,255,255,0.2);
        }
        
        .footer-bottom:hover {
            color: #F0F8FF;
            opacity: 1;
        }
        
        @keyframes fadeInFooter {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .textgh button {
            width: 110px;
            height: 45px;
            color: #FFFFFF;
            background-color: #0096FF;
            border: none;
            border-radius: 10px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
        }

        .textgh button:hover {
            background-color: #004080;
        }
/* CSS TỐI ƯU CHO ĐIỆN THOẠI & MÁY TÍNH BẢNG (RESPONSIVE)*/
@media screen and (max-width: 768px) {
    /* 1. Reset Khung Chứa */
    .container {
        width: 92% !important; /* Tăng không gian hiển thị trên màn hình nhỏ */
    }
    
    /* 2. Topbar & Header */
    .top-flex, .header-flex {
        flex-direction: column; /* Xếp dọc các thành phần */
        text-align: center;
        gap: 15px;
    }
    .logo-area {
        flex-direction: column;
        gap: 10px;
    }
    .info-box {
        border-left: none !important; /* Bỏ gạch đứng phân cách */
        padding-left: 0 !important;
        border-top: 1px dashed #E0E0E0; /* Thay bằng gạch ngang nhẹ */
        padding-top: 10px;
        width: 100%;
    }
    
    /* 3. Menu Điều Hướng */
    #menu ul {
        flex-wrap: wrap; /* Cho phép menu tự xuống dòng nếu quá dài */
    }
    #menu ul li a {
        padding: 12px 15px !important;
        font-size: 14px;
    }
    .dropdown {
        min-width: 100% !important; /* Menu con mở rộng bằng chiều ngang màn hình */
    }
    
    /* 4. Thân Trang (Main Content) & Giao Diện Preview */
    .hero-flex {
        flex-direction: column; /* Xếp dọc danh mục và banner */
        gap: 20px;
        margin-bottom: 30px;
    }
    #list-cate {
        width: 100% !important; /* Danh mục chiếm full màn hình */
    }
    #slideshow {
        width: 100% !important; /* Banner chiếm full màn hình */
        height: 250px !important; /* Giảm chiều cao banner để tránh chiếm hết màn hình điện thoại */
    }
    #ui-preview {
        margin: 20px auto !important; /* Căn giữa khung preview */
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* 5. Danh Sách Sản Phẩm (Product Grid) */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Thay vì 4 cột, đổi thành 2 cột trên điện thoại nhìn cho rõ */
        gap: 12px !important;
    }
    .product-item {
        width: 100% !important; /* Tương thích tốt với cả flex và grid */
        padding: 10px !important;
    }
    .product-item img {
        height: 130px !important; /* Giảm nhẹ ảnh sản phẩm cho cân đối */
    }
    .product-item h3 {
        font-size: 13px !important;
        height: auto !important; /* Tự động co giãn theo tên */
        min-height: 36px;
    }

    /* 6. Chân Trang (Footer) */
    .footer-flex {
        flex-direction: column; /* Xếp dọc các cột ở footer */
        gap: 30px;
        text-align: center;
    }
    #footer img {
        margin: 5px;
    }
}