
        /* ==========================================================================
           2. 【頁首專區】變數完全內聚，僅在此區塊與子元件內生效
           ========================================================================== */
        header { 
            /* ── 頁首專屬 CSS 變數 ── */
            --header-sun: #df7135;     /* 頁首專屬陽光橘 */
            --header-brown: #6B4226;   /* 頁首專屬Logo棕 */
            --header-white: #FFFFFF;
            --header-dark: #333333;
            --header-gray-light: #F5F5F5;
            --header-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --top-bar-h: 40px;          /* 頂部誠信列高度 */
            --nav-bar-h: 80px;          /* 主導覽列高度 */

            width: 100%; 
            position: sticky; 
            top: 0; 
            z-index: 3000; 
            background: var(--header-white); 
            box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
        }

        /* 頂部誠信列 */
        .top-bar { 
            background: var(--header-sun); 
            color: var(--header-white); 
            height: var(--top-bar-h); 
            display: flex; 
            align-items: center; 
            font-size: 13px; 
        }
        
        .top-container { 
            max-width: 1200px; 
            margin: 0 auto; 
            width: 100%; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 0 20px; 
        }
        
        .trust-items { 
            display: flex; 
            gap: 15px; 
        }
        
        .hotline { 
            font-weight: bold; 
        }
        
        .hotline a { 
            color: var(--header-white); 
            text-decoration: none; 
        }


        /* ==========================================================================
           3. 【導覽列與巨型選單】同樣使用頁首範疇變數
           ========================================================================== */
        .navbar { 
            height: var(--nav-bar-h); 
            display: flex; 
            align-items: center; 
            background: var(--header-white); 
        }
        
        .nav-container { 
            max-width: 1200px; 
            margin: 0 auto; 
            width: 100%; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 0 20px; 
        }

        .logo img { 
            height: 50px; 
            width: auto; 
            display: block; 
        }

        /* 右側工具鈕 */
        .nav-tools { 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            z-index: 3100; 
        }
        
        .tool-link { 
            color: var(--header-dark); 
            text-decoration: none; 
            font-size: 20px; 
            width: 42px; 
            height: 42px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            border-radius: 50%; 
            transition: var(--header-transition);
        }
        
        .tool-link:hover { 
            background-color: var(--header-gray-light); 
            color: var(--header-sun); 
        }
        
        .menu-toggle { 
            display: none; 
            cursor: pointer; 
            font-size: 24px; 
            color: var(--header-brown); 
            width: 42px; 
            height: 42px; 
            align-items: center; 
            justify-content: center; 
            border-radius: 50%; 
            transition: var(--header-transition);
        }
        
        .menu-toggle:hover { 
            background-color: var(--header-gray-light); 
        }

        /* 【電腦版導覽列專屬 CSS】 */
        @media (min-width: 1025px) {
            .nav-content { flex: 1; display: flex; justify-content: center; }
            .nav-menu { display: flex; list-style: none; height: var(--nav-bar-h); }
            .nav-item { display: flex; align-items: center; position: static; }
            
            .nav-link { text-decoration: none; color: var(--header-dark); font-weight: bold; padding: 0 22px; height: 100%; display: flex; align-items: center; transition: var(--header-transition); }
            .nav-link:hover { color: var(--header-sun); }

            /* 全版巨型選單 */
            .mega-menu {
                position: fixed; 
                top: calc(var(--top-bar-h) + var(--nav-bar-h)); 
                left: 0; 
                width: 100vw;
                background: var(--header-white); 
                visibility: hidden; 
                opacity: 0; 
                transform: translateY(15px);
                transition: var(--header-transition); 
                box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
                border-bottom: 5px solid var(--header-sun);
                padding: 40px 0; 
                z-index: 1500;
            }
            .nav-item:hover .mega-menu { visibility: visible; opacity: 1; transform: translateY(0); }
            
            .mega-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 40px; padding: 0 20px; }
            .mega-col h4 { color: var(--header-sun); font-size: 16px; margin-bottom: 20px; border-left: 4px solid var(--header-sun); padding-left: 10px; }
            .mega-col ul { list-style: none; }
            .mega-col li { margin-bottom: 12px; }
            
            .mega-col a { text-decoration: none; color: #555; font-size: 15px; display: inline-block; transition: all 0.2s ease; }
            .mega-col a:hover { color: var(--header-sun); padding-left: 8px; }
            
            .mega-promo { background: #fffaf7; padding: 20px; border-radius: 12px; text-align: center; border: 1px solid #f0e6e0; }
            .mega-promo img { width: 100%; max-width: 180px; border-radius: 8px; margin-bottom: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
            .promo-btn { display: inline-block; background: var(--header-sun); color: white; text-decoration: none; padding: 10px 20px; border-radius: 50px; font-weight: bold; font-size: 14px; }
        }

        /* 【手機版導覽列專屬 CSS】 */
        @media (max-width: 1024px) {
            .menu-toggle { display: flex; }
            .trust-items { display: none; }
            .top-container { justify-content: center; }

            .nav-content {
                position: fixed; 
                top: calc(var(--top-bar-h) + var(--nav-bar-h)); 
                left: -100%; 
                width: 100%; 
                height: calc(100vh - (var(--top-bar-h) + var(--nav-bar-h)));
                background: var(--header-white); 
                transition: var(--header-transition); 
                overflow-y: auto; 
                z-index: 2500;
            }
            .nav-content.active { left: 0; }
            
            .nav-menu { flex-direction: column; width: 100%; }
            .nav-item { border-bottom: 1px solid #eee; width: 100%; }
            .nav-link { padding: 20px 30px; display: flex; justify-content: space-between; width: 100%; font-size: 18px; color: var(--header-dark); text-decoration: none; font-weight: bold; }

            .mega-menu { display: none; background: #fafafa; }
            .nav-item.active .mega-menu { display: block; }
            .mega-wrapper { display: block; padding: 10px 45px; }
            .mega-col h4 { font-size: 15px; margin: 15px 0 10px; color: var(--header-sun); }
            .mega-col li { list-style: none; padding: 10px 0; border-bottom: 1px dashed #ddd; }
            .mega-col a { text-decoration: none; color: #666; font-size: 16px; display: block;}
            .mega-promo { display: none; }
        }