
#hb-app * {
    box-sizing: border-box;
}
        @media(max-width: 768px) { .dummy-search { display: none; } }

        /* --- CSS SÃƒÂ¡Ã‚Â»Ã¢â‚¬Â TAY NÃƒÆ’Ã¢â‚¬ÂNG NGHIÃƒÂ¡Ã‚Â»Ã¢â‚¬Â P --- */
        
        
        /* --- NÃƒÆ’Ã‚Âºt mÃƒÂ¡Ã‚Â»Ã…Â¸ Plugin nÃƒÂ¡Ã‚Â»Ã¢â‚¬Â¢i ÃƒÂ¡Ã‚Â»Ã…Â¸ gÃƒÆ’Ã‚Â³c --- */
#hb-app .hb-trigger-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: auto;
            height: auto; padding: 12px 20px;
            background: #009b49;
            color: #fff;
            border-radius: 30px;
            display: flex; align-items: center; justify-content: center;
            font-size: 15px; font-weight: bold; gap: 8px; z-index: 99999;
            box-shadow: 0 4px 15px rgba(0, 155, 73, 0.4);
            cursor: pointer;
            z-index: 9998;
            border: none;
            transition: transform 0.2s;
        }
#hb-app .hb-trigger-btn:hover { transform: scale(1.05); }

        /* --- Popup Overlay chÃƒÂ¡Ã‚Â»Ã‚Â©a App --- */
#hb-app .hb-popup-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999999;
            display: none; /* ÃƒÂ¡Ã‚ÂºÃ‚Â¨n mÃƒÂ¡Ã‚ÂºÃ‚Â·c Ãƒâ€žÃ¢â‚¬ËœÃƒÂ¡Ã‚Â»Ã¢â‚¬Â¹nh */
            align-items: flex-end; /* TrÃƒÆ’Ã‚Âªn mobile sÃƒÂ¡Ã‚ÂºÃ‚Â½ trÃƒâ€ Ã‚Â°ÃƒÂ¡Ã‚Â»Ã‚Â£t tÃƒÂ¡Ã‚Â»Ã‚Â« dÃƒâ€ Ã‚Â°ÃƒÂ¡Ã‚Â»Ã¢â‚¬Âºi lÃƒÆ’Ã‚Âªn */
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }
#hb-app .hb-popup-overlay.hb-show {
            display: flex;
            opacity: 1;
        }

        /* --- Container chÃƒÆ’Ã‚Â­nh giÃƒÂ¡Ã‚ÂºÃ‚Â£ lÃƒÂ¡Ã‚ÂºÃ‚Â­p App --- */
#hb-app .hb-mobile-app {
            width: 100%;
            max-width: 768px;
            background: #fff;
            height: 90%; /* KhÃƒÆ’Ã‚Â´ng full mÃƒÆ’Ã‚Â n hÃƒÆ’Ã‚Â¬nh Ãƒâ€žÃ¢â‚¬ËœÃƒÂ¡Ã‚Â»Ã†â€™ thÃƒÂ¡Ã‚ÂºÃ‚Â¥y mÃƒÂ¡Ã‚Â»Ã‚Â mÃƒÂ¡Ã‚Â»Ã‚Â ÃƒÂ¡Ã‚Â»Ã…Â¸ ngoÃƒÆ’Ã‚Â i */
            max-height: 800px;
            border-radius: 20px 20px 0 0; /* Bo gÃƒÆ’Ã‚Â³c trÃƒÆ’Ã‚Âªn cho Mobile */
            display: flex;
            flex-direction: column;
            box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
            position: relative;
            bottom: -100%;
            transition: all 0.3s ease-out;
            overflow: hidden; /* CÃƒÂ¡Ã‚Â»Ã‚Â±c kÃƒÂ¡Ã‚Â»Ã‚Â³ quan trÃƒÂ¡Ã‚Â»Ã‚Âng: chÃƒÂ¡Ã‚Â»Ã¢â‚¬Ëœng cuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n ngang vÃƒÆ’Ã‚Â  cÃƒÂ¡Ã‚ÂºÃ‚Â¯t viÃƒÂ¡Ã‚Â»Ã‚Ân bo trÃƒÆ’Ã‚Â²n */
        }
#hb-app .hb-popup-overlay.hb-show .hb-mobile-app {
            bottom: 0;
        }

        @media (min-width: 769px) {
#hb-app .hb-popup-overlay { align-items: center; }
#hb-app .hb-mobile-app { height: 85%; border-radius: 20px; opacity: 0; margin-top: 20px; transition: all 0.3s ease-out; }
#hb-app .hb-popup-overlay.hb-show .hb-mobile-app { opacity: 1; margin-top: 0; }
        }

        /* --- Header chung (SÃƒÂ¡Ã‚Â»Ã¢â‚¬Â¢ Tay NÃƒÆ’Ã‚Â´ng NghiÃƒÂ¡Ã‚Â»Ã¢â‚¬Â¡p) --- */
#hb-app .hb-header {
            background-color: #009b49; color: white; padding: 12px 15px; 
            display: flex; justify-content: space-between; align-items: center;
            position: sticky; top: 0; z-index: 100; flex-shrink: 0;
        }
#hb-app .hb-header .hb-title { font-weight: bold; font-size: 16px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 10px; }
        #btnBack { display:none; background:none; border:none; color:#fff; font-size:18px; cursor:pointer; padding:0; }
#hb-app .hb-header-actions { display: flex; align-items: center; gap: 15px; }
#hb-app .hb-close-btn { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; padding: 0; display: flex; align-items: center; }

        /* --- Screens (Khu vÃƒÂ¡Ã‚Â»Ã‚Â±c nÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢i dung cÃƒÆ’Ã‚Â³ thanh cuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n riÃƒÆ’Ã‚Âªng) --- */
#hb-app .hb-screen {
            display: none; 
            flex: 1; /* ChiÃƒÂ¡Ã‚ÂºÃ‚Â¿m hÃƒÂ¡Ã‚ÂºÃ‚Â¿t phÃƒÂ¡Ã‚ÂºÃ‚Â§n cÃƒÆ’Ã‚Â²n lÃƒÂ¡Ã‚ÂºÃ‚Â¡i */
            overflow-y: auto; /* TÃƒÂ¡Ã‚ÂºÃ‚Â¡o thanh cuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n dÃƒÂ¡Ã‚Â»Ã‚Âc bÃƒÆ’Ã‚Âªn trong */
            overflow-x: hidden; /* ChÃƒÂ¡Ã‚Â»Ã¢â‚¬Ëœng cuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n ngang */
            -webkit-overflow-scrolling: touch; /* CuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n mÃƒâ€ Ã‚Â°ÃƒÂ¡Ã‚Â»Ã‚Â£t trÃƒÆ’Ã‚Âªn iOS */
            padding-bottom: 20px;
            animation: slideIn 0.3s ease-out forwards;
        }
#hb-app .hb-screen.hb-active { display: block; }
        @keyframes slideIn { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

        /* === MÃƒÆ’Ã¢â€šÂ¬N HÃƒÆ’Ã…â€™NH 1: TÃƒÂ¡Ã‚ÂºÃ‚Â¤T CÃƒÂ¡Ã‚ÂºÃ‚Â¢ DANH MÃƒÂ¡Ã‚Â»Ã‚Â¤C CÃƒÆ’Ã¢â‚¬Å¡Y === */
        .search-box { padding: 15px; background: #f9f9f9; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 99; }
        .search-box input { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; outline: none; }
        
        /* Grid linh hoÃƒÂ¡Ã‚ÂºÃ‚Â¡t: Mobile 4 cÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢t, iPad 6-8 cÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢t */
        .grid-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); gap: 15px; padding: 20px 15px; }
#hb-app .hb-cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
#hb-app .hb-cat-item .hb-icon {
            width: 55px; height: 55px; background: #eef7ee; border-radius: 12px;
            display: flex; align-items: center; justify-content: center; font-size: 26px; border: 1px solid #d4f0d4;
        }
#hb-app .hb-cat-item:hover .hb-icon { background: #d4f0d4; border-color: #009b49; }
#hb-app .hb-cat-item span { font-size: 11px; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
#hb-app .hb-cat-title { padding: 15px 15px 5px; font-size: 14px; font-weight: bold; color: #666; background: #f9f9f9; border-top: 1px solid #eee; }

        /* === MÃƒÆ’Ã¢â€šÂ¬N HÃƒÆ’Ã…â€™NH 2: DANH SÃƒÆ’Ã‚ÂCH CHÃƒÂ¡Ã‚Â»Ã‚Â¦ Ãƒâ€žÃ‚ÂÃƒÂ¡Ã‚Â»Ã¢â€šÂ¬ CÃƒÂ¡Ã‚Â»Ã‚Â¦A 1 CÃƒÆ’Ã¢â‚¬Å¡Y === */
#hb-app .hb-topic-list { padding: 15px; min-height: 400px; }
        #hb-app .hb-topic-card {
            background: #fff; border: 1px solid #eee; border-radius: 10px; margin-bottom: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.03); display: flex; overflow: hidden; cursor: pointer;
        }
        #hb-app .hb-topic-card .hb-thumb { width: 60px; background: #eef7ee; display: flex; align-items: center; justify-content: center; font-size: 20px; border-right: 1px solid #eee; color: #009b49; transition: all 0.3s; cursor: pointer; }
        #hb-app .hb-topic-card .hb-info { padding: 10px 12px; flex: 1; display: flex; align-items: center; }
        #hb-app .hb-topic-card h4 { font-size: 14px; margin-bottom: 0; color: #1b4332; line-height: 1.4; }
        #hb-app .hb-topic-card p { font-size: 12px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .hb-read-more { display: none; }
        
        .pagination { display: flex; justify-content: center; gap: 5px; padding: 10px 0 20px; }
        .page-btn {
            padding: 8px 12px; border: 1px solid #ddd; background: #fff; border-radius: 6px; font-size: 14px; cursor: pointer; color: #333;
        }
        .page-btn.hb-active { background: #009b49; color: #fff; border-color: #009b49; }
        #hb-app .hb-no-results { text-align: center; color: #888; padding: 20px; font-size: 14px; }

        /* === MÃƒÆ’Ã¢â€šÂ¬N HÃƒÆ’Ã…â€™NH 3: CHI TIÃƒÂ¡Ã‚ÂºÃ‚Â¾T NÃƒÂ¡Ã‚Â»Ã‹Å“I DUNG (VIDEO + SÃƒÂ¡Ã‚ÂºÃ‚Â¢N PHÃƒÂ¡Ã‚ÂºÃ‚Â¨M) === */
#hb-app .hb-screen-inner { padding: 15px; }
        .content-summary { margin-bottom: 10px; }
        .content-summary h2 { font-size: 18px; color: #1b4332; margin-bottom: 8px; font-weight: bold; line-height: 1.3;}
        .content-summary p { font-size: 14px; color: #444; line-height: 1.5; }
        
        /* --- Slider Album ÃƒÂ¡Ã‚ÂºÃ‚Â¢nh + Video --- */
        .article-slider-container { position: relative; margin-bottom: 10px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); border: 1px solid #eee; background: #000; }
        .article-images { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 0; }
        .article-images::-webkit-scrollbar { display: none; }
        .slide-item { width: 100%; aspect-ratio: 16 / 9; flex-shrink: 0; scroll-snap-align: center; position: relative; display: flex; justify-content: center; align-items: center; }
        .slide-item img { width: 100%; height: 100%; object-fit: cover; }
        .slide-item iframe { width: 100%; height: 100%; border: none; }
        
        .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 30px; height: 30px; border-radius: 30px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 10; }
        .slider-btn.left { left: 10px; }
        .slider-btn.right { right: 10px; }
        .slider-indicator { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: white; padding: 2px 8px; border-radius: 12px; font-size: 12px; z-index: 10; pointer-events: none; }
        
        /* --- Ticker BÃƒÆ’Ã‚Â¡o GiÃƒÆ’Ã‚Â¡ (Screen 1) --- */
#hb-app .hb-price-ticker {
            background: #fff3cd; color: #856404; padding: 10px 0; font-size: 13px; font-weight: 500;
            white-space: nowrap; overflow: hidden; position: relative; border-bottom: 1px solid #ffeeba;
        }
#hb-app .hb-ticker-content {
            display: inline-block;
            animation: ticker 35s linear infinite;
        }
#hb-app .hb-ticker-content span { margin-right: 40px; }
        .price-up { color: #28a745; font-weight: bold; }
        .price-down { color: #dc3545; font-weight: bold; }
        @keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

        /* --- ThÃƒÂ¡Ã‚ÂºÃ‚Â» GiÃƒÆ’Ã‚Â¡ CÃƒÆ’Ã‚Â¢y TrÃƒÂ¡Ã‚Â»Ã¢â‚¬Å“ng (Screen 2) --- */
        .crop-price-card {
            background: linear-gradient(135deg, #009b49, #00c853); color: #fff; padding: 15px;
            margin: 15px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,155,73,0.3);
        }
        .crop-price-card h3 { font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(255,255,255,0.4); padding-bottom: 8px;}
        .crop-price-card h3 small { font-size: 11px; font-weight: normal; background: rgba(0,0,0,0.2); padding: 3px 8px; border-radius: 20px;}
        .price-row { display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; padding: 6px 0; }
        .price-row:last-child { padding-bottom: 0; }

        
        .video-container { 
            width: 100%; 
            border-radius: 12px; 
            overflow: hidden; 
            background: #000; 
            box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
            margin-bottom: 20px;
        }
        .video-container iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: none; }
        
        /* --- SÃƒÂ¡Ã‚ÂºÃ‚Â£n phÃƒÂ¡Ã‚ÂºÃ‚Â©m tham khÃƒÂ¡Ã‚ÂºÃ‚Â£o (Slider) --- */
        .recommended-products { margin-top: 20px; border-top: 1px solid #eee; padding-top: 15px; }
        .recommended-products h3 { font-size: 16px; color: #009b49; margin-bottom: 12px; font-weight: bold; }
        .product-slider-wrapper { position: relative; display: flex; align-items: center; margin: 0 -5px; }
        .product-horizontal-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px; scroll-behavior: smooth; flex: 1; }
        .product-horizontal-list::-webkit-scrollbar { display: none; }
        .prod-nav-btn { position: absolute; z-index: 10; background: rgba(255,255,255,0.9); border: 1px solid #eee; border-radius: 30px; width: 32px; height: 32px; display: flex; justify-content: center; align-items: center; cursor: pointer; color: #009b49; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.15); font-size: 14px; top: 50%; transform: translateY(-50%); }
        .prod-nav-btn.left { left: 0; }
        .prod-nav-btn.right { right: 0; }
        .product-card { min-width: 140px; width: 140px; flex-shrink: 0; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; scroll-snap-align: start; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .product-card img { width: 100%; height: 110px; object-fit: contain; margin-bottom: 8px; }
        .product-card h4 { font-size: 13px; margin: 0 0 5px 0; color: #333; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; flex-grow: 1; height: 36px; }
        .product-card .price { color: #d32f2f; font-weight: bold; font-size: 14px; margin-bottom: 10px; }
        .product-card .btn-cart { background: #fff; color: #009b49; border: 1px solid #009b49; width: 100%; padding: 6px 0; border-radius: 4px; font-weight: bold; font-size: 12px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 5px; transition: 0.2s; }
        .product-card .btn-cart:active { background: #009b49; color: #fff; }
        .product-card .btn-cart.added { background: #e8f5e9; color: #009b49; border-color: #009b49; pointer-events: none; }
        
        .btn-read-full {
            display: block; width: fit-content; min-width: 220px; margin: 20px auto 10px; background: #009b49; color: #fff; font-weight: bold; font-size: 14px;
            padding: 12px 30px; border-radius: 25px; text-decoration: none; text-align: center; border: none; cursor: pointer; box-shadow: 0 3px 6px rgba(0,155,73,0.3); transition: all 0.2s;
        }
        .btn-read-full:active { transform: scale(0.96); }

        /* --- Tabs NhÃƒÆ’Ã‚Â³m ChÃƒÂ¡Ã‚Â»Ã‚Â§ Ãƒâ€žÃ‚ÂÃƒÂ¡Ã‚Â»Ã‚Â (Screen 2) --- */
        .topic-tabs { display: flex; overflow-x: auto; white-space: nowrap; background: #fff; position: sticky; top: 0; z-index: 98; border-bottom: 1px solid #eee; margin-bottom: 10px; }
        .topic-tabs::-webkit-scrollbar { display: none; }
        .topic-tab-item { padding: 12px 15px; font-size: 14px; font-weight: bold; color: #666; cursor: pointer; border-bottom: 3px solid transparent; }
        .topic-tab-item.hb-active { color: #009b49; border-bottom-color: #009b49; }

        /* === MÃƒÆ’Ã¢â€šÂ¬N HÃƒÆ’Ã…â€™NH 4: BÃƒÂ¡Ã‚ÂºÃ‚Â¢NG GIÃƒÆ’Ã‚Â CHI TIÃƒÂ¡Ã‚ÂºÃ‚Â¾T === */
        .price-tabs { display: flex; overflow-x: auto; white-space: nowrap; background: #fff; position: sticky; top: 0; z-index: 99; border-bottom: 1px solid #eee; }
        .price-tabs::-webkit-scrollbar { display: none; }
        .price-tab-item { padding: 12px 15px; font-weight: bold; color: #666; cursor: pointer; border-bottom: 3px solid transparent; }
        .price-tab-item.hb-active { color: #009b49; border-bottom-color: #009b49; }
        .price-table-wrapper { padding: 15px; }
        #hb-app .price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
            transition: transform 0.2s;
        }
#hb-app .hb-trigger-btn:hover { transform: scale(1.05); }

        /* --- Popup Overlay chÃƒÂ¡Ã‚Â»Ã‚Â©a App --- */
#hb-app .hb-popup-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999999;
            display: none; /* ÃƒÂ¡Ã‚ÂºÃ‚Â¨n mÃƒÂ¡Ã‚ÂºÃ‚Â·c Ãƒâ€žÃ¢â‚¬ËœÃƒÂ¡Ã‚Â»Ã¢â‚¬Â¹nh */
            align-items: flex-end; /* TrÃƒÆ’Ã‚Âªn mobile sÃƒÂ¡Ã‚ÂºÃ‚Â½ trÃƒâ€ Ã‚Â°ÃƒÂ¡Ã‚Â»Ã‚Â£t tÃƒÂ¡Ã‚Â»Ã‚Â« dÃƒâ€ Ã‚Â°ÃƒÂ¡Ã‚Â»Ã¢â‚¬Âºi lÃƒÆ’Ã‚Âªn */
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }
#hb-app .hb-popup-overlay.hb-show {
            display: flex;
            opacity: 1;
        }

        /* --- Container chÃƒÆ’Ã‚Â­nh giÃƒÂ¡Ã‚ÂºÃ‚Â£ lÃƒÂ¡Ã‚ÂºÃ‚Â­p App --- */
#hb-app .hb-mobile-app {
            width: 100%;
            max-width: 768px;
            background: #fff;
            height: 90%; /* KhÃƒÆ’Ã‚Â´ng full mÃƒÆ’Ã‚Â n hÃƒÆ’Ã‚Â¬nh Ãƒâ€žÃ¢â‚¬ËœÃƒÂ¡Ã‚Â»Ã†â€™ thÃƒÂ¡Ã‚ÂºÃ‚Â¥y mÃƒÂ¡Ã‚Â»Ã‚Â  mÃƒÂ¡Ã‚Â»Ã‚Â  ÃƒÂ¡Ã‚Â»Ã…Â¸ ngoÃƒÆ’Ã‚Â i */
            max-height: 800px;
            border-radius: 20px 20px 0 0; /* Bo gÃƒÆ’Ã‚Â³c trÃƒÆ’Ã‚Âªn cho Mobile */
            display: flex;
            flex-direction: column;
            box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
            position: relative;
            bottom: -100%;
            transition: all 0.3s ease-out;
            overflow: hidden; /* CÃƒÂ¡Ã‚Â»Ã‚Â±c kÃƒÂ¡Ã‚Â»Ã‚Â³ quan trÃƒÂ¡Ã‚Â»Ã‚Â ng: chÃƒÂ¡Ã‚Â»Ã¢â‚¬Ëœng cuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n ngang vÃƒÆ’Ã‚Â  cÃƒÂ¡Ã‚ÂºÃ‚Â¯t viÃƒÂ¡Ã‚Â»Ã‚Â n bo trÃƒÆ’Ã‚Â²n */
        }
#hb-app .hb-popup-overlay.hb-show .hb-mobile-app {
            bottom: 0;
        }

        @media (min-width: 769px) {
#hb-app .hb-popup-overlay { align-items: center; }
#hb-app .hb-mobile-app { height: 85%; border-radius: 20px; opacity: 0; margin-top: 20px; transition: all 0.3s ease-out; }
#hb-app .hb-popup-overlay.hb-show .hb-mobile-app { opacity: 1; margin-top: 0; }
        }

        /* --- Header chung (SÃƒÂ¡Ã‚Â»Ã¢â‚¬Â¢ Tay NÃƒÆ’Ã‚Â´ng NghiÃƒÂ¡Ã‚Â»Ã¢â‚¬Â¡p) --- */
#hb-app .hb-header {
            background-color: #009b49; color: white; padding: 12px 15px; 
            display: flex; justify-content: space-between; align-items: center;
            position: sticky; top: 0; z-index: 100; flex-shrink: 0;
        }
#hb-app .hb-header .hb-title { font-weight: bold; font-size: 16px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 10px; }
        #btnBack { display:none; background:none; border:none; color:#fff; font-size:18px; cursor:pointer; padding:0; }
#hb-app .hb-header-actions { display: flex; align-items: center; gap: 15px; }
#hb-app .hb-close-btn { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; padding: 0; display: flex; align-items: center; }

        /* --- Screens (Khu vÃƒÂ¡Ã‚Â»Ã‚Â±c nÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢i dung cÃƒÆ’Ã‚Â³ thanh cuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n riÃƒÆ’Ã‚Âªng) --- */
#hb-app .hb-screen {
            display: none; 
            flex: 1; /* ChiÃƒÂ¡Ã‚ÂºÃ‚Â¿m hÃƒÂ¡Ã‚ÂºÃ‚Â¿t phÃƒÂ¡Ã‚ÂºÃ‚Â§n cÃƒÆ’Ã‚Â²n lÃƒÂ¡Ã‚ÂºÃ‚Â¡i */
            overflow-y: auto; /* TÃƒÂ¡Ã‚ÂºÃ‚Â¡o thanh cuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n dÃƒÂ¡Ã‚Â»Ã‚Â c bÃƒÆ’Ã‚Âªn trong */
            overflow-x: hidden; /* ChÃƒÂ¡Ã‚Â»Ã¢â‚¬Ëœng cuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n ngang */
            -webkit-overflow-scrolling: touch; /* CuÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢n mÃƒâ€ Ã‚Â°ÃƒÂ¡Ã‚Â»Ã‚Â£t trÃƒÆ’Ã‚Âªn iOS */
            padding-bottom: 20px;
            animation: slideIn 0.3s ease-out forwards;
        }
#hb-app .hb-screen.hb-active { display: block; }
        @keyframes slideIn { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

        /* === MÃƒÆ’Ã¢â€šÂ¬N HÃƒÆ’Ã…â€™NH 1: TÃƒÂ¡Ã‚ÂºÃ‚Â¤T CÃƒÂ¡Ã‚ÂºÃ‚Â¢ DANH MÃƒÂ¡Ã‚Â»Ã‚Â¤C CÃƒÆ’Ã¢â‚¬Å¡Y === */
        .search-box { padding: 15px; background: #f9f9f9; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 99; }
        .search-box input { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; outline: none; }
        
        /* Grid linh hoÃƒÂ¡Ã‚ÂºÃ‚Â¡t: Mobile 4 cÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢t, iPad 6-8 cÃƒÂ¡Ã‚Â»Ã¢â€žÂ¢t */
        .grid-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); gap: 15px; padding: 20px 15px; }
#hb-app .hb-cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
#hb-app .hb-cat-item .hb-icon {
            width: 55px; height: 55px; background: #eef7ee; border-radius: 12px;
            display: flex; align-items: center; justify-content: center; font-size: 26px; border: 1px solid #d4f0d4;
        }
#hb-app .hb-cat-item:hover .hb-icon { background: #d4f0d4; border-color: #009b49; }
#hb-app .hb-cat-item span { font-size: 11px; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
#hb-app .hb-cat-title { padding: 15px 15px 5px; font-size: 14px; font-weight: bold; color: #666; background: #f9f9f9; border-top: 1px solid #eee; }

        /* === MÃƒÆ’Ã¢â€šÂ¬N HÃƒÆ’Ã…â€™NH 2: DANH SÃƒÆ’Ã‚Â CH CHÃƒÂ¡Ã‚Â»Ã‚Â¦ Ãƒâ€žÃ‚Â ÃƒÂ¡Ã‚Â»Ã¢â€šÂ¬ CÃƒÂ¡Ã‚Â»Ã‚Â¦A 1 CÃƒÆ’Ã¢â‚¬Å¡Y === */
#hb-app .hb-topic-list { padding: 15px; min-height: 400px; }
        #hb-app .hb-topic-card {
            background: #fff; border: 1px solid #eee; border-radius: 10px; margin-bottom: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.03); display: flex; overflow: hidden; cursor: pointer;
        }
        #hb-app .hb-topic-card .hb-thumb { width: 60px; background: #eef7ee; display: flex; align-items: center; justify-content: center; font-size: 20px; border-right: 1px solid #eee; color: #009b49; transition: all 0.3s; cursor: pointer; }
        #hb-app .hb-topic-card .hb-info { padding: 10px 12px; flex: 1; display: flex; align-items: center; }
        #hb-app .hb-topic-card h4 { font-size: 14px; margin-bottom: 0; color: #1b4332; line-height: 1.4; }
        #hb-app .hb-topic-card p { font-size: 12px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .hb-read-more { display: none; }
        
        .pagination { display: flex; justify-content: center; gap: 5px; padding: 10px 0 20px; }
        .page-btn {
            padding: 8px 12px; border: 1px solid #ddd; background: #fff; border-radius: 6px; font-size: 14px; cursor: pointer; color: #333;
        }
        .page-btn.hb-active { background: #009b49; color: #fff; border-color: #009b49; }
        #hb-app .hb-no-results { text-align: center; color: #888; padding: 20px; font-size: 14px; }

        /* === MÃƒÆ’Ã¢â€šÂ¬N HÃƒÆ’Ã…â€™NH 3: CHI TIÃƒÂ¡Ã‚ÂºÃ‚Â¾T NÃƒÂ¡Ã‚Â»Ã‹Å“I DUNG (VIDEO + SÃƒÂ¡Ã‚ÂºÃ‚Â¢N PHÃƒÂ¡Ã‚ÂºÃ‚Â¨M) === */
#hb-app .hb-screen-inner { padding: 15px; }
        .content-summary { margin-bottom: 10px; }
        .content-summary h2 { font-size: 18px; color: #1b4332; margin-bottom: 8px; font-weight: bold; line-height: 1.3;}
        .content-summary p { font-size: 14px; color: #444; line-height: 1.5; }
        
        /* --- Slider Album ÃƒÂ¡Ã‚ÂºÃ‚Â¢nh + Video --- */
        .article-slider-container { position: relative; margin-bottom: 10px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); border: 1px solid #eee; background: #000; }
        .article-images { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 0; }
        .article-images::-webkit-scrollbar { display: none; }
        .slide-item { width: 100%; aspect-ratio: 16 / 9; flex-shrink: 0; scroll-snap-align: center; position: relative; display: flex; justify-content: center; align-items: center; }
        .slide-item img { width: 100%; height: 100%; object-fit: cover; }
        .slide-item iframe { width: 100%; height: 100%; border: none; }
        
        .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 30px; height: 30px; border-radius: 30px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 10; }
        .slider-btn.left { left: 10px; }
        .slider-btn.right { right: 10px; }
        .slider-indicator { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: white; padding: 2px 8px; border-radius: 12px; font-size: 12px; z-index: 10; pointer-events: none; }
        
        /* --- Ticker BÃƒÆ’Ã‚Â¡o GiÃƒÆ’Ã‚Â¡ (Screen 1) --- */
#hb-app .hb-price-ticker {
            background: #fff3cd; color: #856404; padding: 10px 0; font-size: 13px; font-weight: 500;
            white-space: nowrap; overflow: hidden; position: relative; border-bottom: 1px solid #ffeeba;
        }
#hb-app .hb-ticker-content {
            display: inline-block;
            animation: ticker 35s linear infinite;
        }
#hb-app .hb-ticker-content span { margin-right: 40px; }
        .price-up { color: #28a745; font-weight: bold; }
        .price-down { color: #dc3545; font-weight: bold; }
        @keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

        /* --- ThÃƒÂ¡Ã‚ÂºÃ‚Â» GiÃƒÆ’Ã‚Â¡ CÃƒÆ’Ã‚Â¢y TrÃƒÂ¡Ã‚Â»Ã¢â‚¬Å“ng (Screen 2) --- */
        .crop-price-card {
            background: linear-gradient(135deg, #009b49, #00c853); color: #fff; padding: 15px;
            margin: 15px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,155,73,0.3);
        }
        .crop-price-card h3 { font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(255,255,255,0.4); padding-bottom: 8px;}
        .crop-price-card h3 small { font-size: 11px; font-weight: normal; background: rgba(0,0,0,0.2); padding: 3px 8px; border-radius: 20px;}
        .price-row { display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; padding: 6px 0; }
        .price-row:last-child { padding-bottom: 0; }

        
        .video-container { 
            width: 100%; 
            border-radius: 12px; 
            overflow: hidden; 
            background: #000; 
            box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
            margin-bottom: 20px;
        }
        .video-container iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: none; }
        
        /* --- SÃƒÂ¡Ã‚ÂºÃ‚Â£n phÃƒÂ¡Ã‚ÂºÃ‚Â©m tham khÃƒÂ¡Ã‚ÂºÃ‚Â£o (Slider) --- */
        .recommended-products { margin-top: 20px; border-top: 1px solid #eee; padding-top: 15px; }
        .recommended-products h3 { font-size: 16px; color: #009b49; margin-bottom: 12px; font-weight: bold; }
        .product-slider-wrapper { position: relative; display: flex; align-items: center; margin: 0 -5px; }
        .product-horizontal-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px; scroll-behavior: smooth; flex: 1; }
        .product-horizontal-list::-webkit-scrollbar { display: none; }
        .prod-nav-btn { position: absolute; z-index: 10; background: rgba(255,255,255,0.9); border: 1px solid #eee; border-radius: 30px; width: 32px; height: 32px; display: flex; justify-content: center; align-items: center; cursor: pointer; color: #009b49; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.15); font-size: 14px; top: 50%; transform: translateY(-50%); }
        .prod-nav-btn.left { left: 0; }
        .prod-nav-btn.right { right: 0; }
        .product-card { min-width: 140px; width: 140px; flex-shrink: 0; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; scroll-snap-align: start; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .product-card img { width: 100%; height: 110px; object-fit: contain; margin-bottom: 8px; }
        .product-card h4 { font-size: 13px; margin: 0 0 5px 0; color: #333; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; flex-grow: 1; height: 36px; }
        .product-card .price { color: #d32f2f; font-weight: bold; font-size: 14px; margin-bottom: 10px; }
        .product-card .btn-cart { background: #fff; color: #009b49; border: 1px solid #009b49; width: 100%; padding: 6px 0; border-radius: 4px; font-weight: bold; font-size: 12px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 5px; transition: 0.2s; }
        .product-card .btn-cart:active { background: #009b49; color: #fff; }
        .product-card .btn-cart.added { background: #e8f5e9; color: #009b49; border-color: #009b49; pointer-events: none; }
        
        .btn-read-full {
            display: block; width: fit-content; min-width: 220px; margin: 20px auto 10px; background: #009b49; color: #fff; font-weight: bold; font-size: 14px;
            padding: 12px 30px; border-radius: 25px; text-decoration: none; text-align: center; border: none; cursor: pointer; box-shadow: 0 3px 6px rgba(0,155,73,0.3); transition: all 0.2s;
        }
        .btn-read-full:active { transform: scale(0.96); }

        /* --- Tabs NhÃƒÆ’Ã‚Â³m ChÃƒÂ¡Ã‚Â»Ã‚Â§ Ãƒâ€žÃ‚Â ÃƒÂ¡Ã‚Â»Ã‚Â  (Screen 2) --- */
        .topic-tabs { display: flex; overflow-x: auto; white-space: nowrap; background: #fff; position: sticky; top: 0; z-index: 98; border-bottom: 1px solid #eee; margin-bottom: 10px; }
        .topic-tabs::-webkit-scrollbar { display: none; }
        .topic-tab-item { padding: 12px 15px; font-size: 14px; font-weight: bold; color: #666; cursor: pointer; border-bottom: 3px solid transparent; }
        .topic-tab-item.hb-active { color: #009b49; border-bottom-color: #009b49; }

        /* === MÃƒÆ’Ã¢â€šÂ¬N HÃƒÆ’Ã…â€™NH 4: BÃƒÂ¡Ã‚ÂºÃ‚Â¢NG GIÃƒÆ’Ã‚Â  CHI TIÃƒÂ¡Ã‚ÂºÃ‚Â¾T === */
        .price-tabs { display: flex; overflow-x: auto; white-space: nowrap; background: #fff; position: sticky; top: 0; z-index: 99; border-bottom: 1px solid #eee; }
        .price-tabs::-webkit-scrollbar { display: none; }
        .price-tab-item { padding: 12px 15px; font-weight: bold; color: #666; cursor: pointer; border-bottom: 3px solid transparent; }
        .price-tab-item.hb-active { color: #009b49; border-bottom-color: #009b49; }
        .price-table-wrapper { padding: 15px; }
        #hb-app .price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
        #hb-app .price-table th, .price-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #eee; font-size: 13px; }
        #hb-app .price-table th { background: #f9f9f9; color: #333; font-weight: bold; }
        #hb-app .price-table tr:last-child td { border-bottom: none; }
        #hb-app .price-table .price-val { color: #ff4e50; font-weight: bold; }

        /* --- Bottom Tab Bar (Menu dÆ°á»›i Ä‘Ã¡y kiá»ƒu App) --- */
        #hb-app .hb-bottom-nav {
            width: 100%;
            background: #fff; box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
            display: flex; justify-content: flex-start; align-items: center;
            padding: 8px 5px; z-index: 105;
            border-top: 1px solid #eee;
            flex-shrink: 0;
            overflow-x: auto; white-space: nowrap;
        }
        #hb-app .hb-bottom-nav::-webkit-scrollbar { display: none; }
        #hb-app .hb-tab-item {
            flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
            color: #666; text-decoration: none; font-size: 13px; cursor: pointer; border: none; background: transparent;
            min-width: 65px;
        }
#hb-app .hb-tab-item .hb-icon { font-size: 20px; line-height: 1; }
#hb-app .hb-tab-item:hover, .hb-tab-item:active { color: #009b49; }
#hb-app .hb-tab-item.tab-call { color: #ff4e50; }
#hb-app .hb-tab-item.hb-tab-zalo { color: #0068FF; }
#hb-app .hb-tab-item.disabled { opacity: 0.3; pointer-events: none; }
        
        /* CSS Header giÃƒÂ¡Ã‚ÂºÃ‚Â£ lÃƒÂ¡Ã‚ÂºÃ‚Â­p web */
        .dummy-site-header { background: #fff; padding: 10px 0; border-bottom: 2px solid #009b49; }
        .dummy-container { max-width: 800px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
        .dummy-search input { padding: 8px 15px; border: 1px solid #ccc; border-radius: 20px; width: 250px; }
        .dummy-cart { position: relative; cursor: pointer; }
        .dummy-cart-badge { position: absolute; top: -5px; right: -5px; background: red; color: white; border-radius: 30px; font-size: 10px; width: 16px; height: 16px; text-align: center; line-height: 16px; }
        .toast-noti { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #333; color: #fff; padding: 10px 20px; border-radius: 25px; display: none; z-index: 999999; }
            /* --- Read More / Xem thÃªm --- */
        .hb-summary-wrapper { position: relative; max-height: 120px; overflow: hidden; transition: max-height 0.3s ease; }
        .hb-summary-wrapper.expanded { max-height: 2000px; }
        .hb-summary-fade { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1)); }
        .hb-summary-wrapper.expanded .hb-summary-fade { display: none !important; }
        .hb-readmore-btn { display: none; margin: 10px auto 0; text-align: center; color: #009b49; font-weight: bold; background: none; border: none; cursor: pointer; font-size: 14px; padding: 5px 15px; }

        /* --- WYSIWYG Content Styles --- */
        #hb-app .hb-summary-content ul { padding-left: 20px; list-style-type: disc; margin-bottom: 10px; }
        #hb-app .hb-summary-content ol { padding-left: 20px; list-style-type: decimal; margin-bottom: 10px; }
        #hb-app .hb-summary-content li { margin-bottom: 5px; }

/* Overrides cho vi tri trai/phai */
#hb-app .hb-mobile-app.pos-left { left: -100%; right: auto; transition: left 0.3s ease; }
#hb-app .hb-mobile-app.pos-left.hb-show { left: 0; }
#hb-app .hb-mobile-app.pos-right { right: -100%; left: auto; transition: right 0.3s ease; }
#hb-app .hb-mobile-app.pos-right.hb-show { right: 0; }

/* --- Favorites --- */
#hb-app .hb-topic-card { position: relative; }

#hb-app .hb-topic-card .hb-thumb:active { transform: scale(0.95); }
#hb-app .hb-topic-card .hb-thumb.liked { color: #ff4757; font-weight: bold; }
#hb-app .hb-no-results { color: #888; font-style: italic; }

        /* === MÀN HÌNH 5: SẢN PHẨM HOT === */
        #hb-app .hb-hot-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 15px; }
        @media (min-width: 768px) {
            #hb-app .hb-hot-product-grid { grid-template-columns: repeat(4, 1fr); }
        }
        #hb-app .hb-hot-product-grid .product-card { width: auto; min-width: auto; margin-bottom: 0; position: relative; }
        #hb-app .hb-product-badge { position: absolute; top: -5px; right: -5px; padding: 3px 8px; font-size: 10px; font-weight: bold; border-radius: 12px; color: #fff; z-index: 10; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
        #hb-app .hb-product-badge.discount { background: #ff4e50; }
        #hb-app .hb-product-badge.hot { background: #ff9800; left: -5px; right: auto; top: -5px; }

        /* --- Video Grid (Screen 7) --- */
        #hb-app .hb-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 15px; }
        @media (min-width: 768px) { #hb-app .hb-video-grid { grid-template-columns: repeat(3, 1fr); } }
        #hb-app .hb-vid-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); cursor: pointer; border: 1px solid #eee; display: flex; flex-direction: column; height: 100%; }
        #hb-app .hb-vid-thumb { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
        #hb-app .hb-vid-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
        #hb-app .hb-vid-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,0.9); font-size: 35px; }
        #hb-app .hb-vid-card h4 { font-size: 15px; padding: 10px; margin: 0; line-height: 1.4; color: #333; flex-grow: 1; }

        /* --- Text Zoom --- */
        #hb-app .hb-btn-zoom-text { background: #eee; border: 1px solid #ccc; padding: 4px 8px; border-radius: 5px; font-weight: bold; cursor: pointer; font-size: 14px; color: #333; margin-left: 10px; flex-shrink: 0; }
        #hb-app .hb-btn-zoom-text:active { background: #ddd; }
        #articleContentText { transition: all 0.3s ease; }
        #hb-app .hb-text-zoom-0 p, #hb-app .hb-text-zoom-0 li { font-size: 14px; line-height: 1.5; }
        #hb-app .hb-text-zoom-1 p, #hb-app .hb-text-zoom-1 li { font-size: 17px !important; line-height: 1.6 !important; }
        #hb-app .hb-text-zoom-2 p, #hb-app .hb-text-zoom-2 li { font-size: 20px !important; line-height: 1.7 !important; }

        #hb-app .hb-icon { font-size: 29px; }
#hb-app .hb-vid-thumb .hb-fav-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
}
#hb-app .hb-vid-thumb .hb-fav-btn:active {
    transform: scale(0.9);
}
