/*
Theme Name: Wingoods Child 2026
Theme URI: 
Description: Đây là Child Theme dành riêng cho dự án Wingoods (Custom HTML/CSS).
Author: AI Antigravity
Author URI: 
Template: flatsome
Version: 1786292800
*/

        /* === WINGOODS 2026 DESIGN SYSTEM === */
        :root {
            /* Colors */
            --wg-orange: #7C3AED;
            --wg-orange-hover: #6D28D9;
            --wg-purple: #4C1D95;
            --wg-purple-light: #7C3AED;
            --wg-purple-dark: #2E1065; 
            --wg-bg: #F8FAFC;
            --wg-surface: #FFFFFF;
            --wg-text: #1E293B;
            --wg-text-mut: #64748B;
            --wg-border: #E2E8F0;
            --wg-danger: #EF4444;
            --wg-success: #10B981;
            
            /* Border Radius */
            --br-sm: 8px;
            --br-md: 12px;
            --br-lg: 16px;
            --br-xl: 24px;
            --br-pill: 50px;
            
            /* Shadows & Glassmorphism */
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
            --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05);
            --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1);
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-border: rgba(255, 255, 255, 0.2);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* === GLOBAL RESET === */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body, h1, h2, h3, h4, h5, h6, p, span, a, li, div, .wg-section-title, .bento-card h3 { font-family: 'Be Vietnam Pro', sans-serif !important; }
        body { background-color: var(--wg-bg); color: var(--wg-text); line-height: 1.5; overflow-x: hidden; }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; border-radius: var(--br-md); }
        .wg-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
        .wg-section { margin-bottom: 60px; }
        .wg-section-title { font-size: 28px; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; }
        .wg-section-title span { color: var(--wg-purple); }
        .view-all { font-size: 14px; color: var(--wg-orange); font-weight: 600; cursor: pointer; transition: var(--transition); }
        .view-all:hover { transform: translateX(5px); }

        /* === 1. TOP BAR & SMART HEADER === */
        .top-bar { background: var(--wg-orange); color: white; text-align: center; padding: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
        .wg-header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wg-border); position: sticky; top: 0; z-index: 100; padding: 15px 0; }
        .header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
        .wg-mobile-toggle { display: none; }
        .wg-menu-overlay { display: none; }
        .wg-mobile-menu-header { display: none; }
        
        .ai-search { flex-grow: 1; max-width: 600px; position: relative; display: flex; }
        .ai-search input { width: 100%; padding: 12px 20px; border-radius: var(--br-pill); border: 2px solid transparent; outline: none; background: #F1F5F9; font-weight: 500; font-family: inherit; transition: var(--transition); }
        .ai-search input:focus { border-color: var(--wg-purple-light); background: var(--wg-surface); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1); }
        .wg-search-icons { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); display: flex; gap: 10px; color: var(--wg-text-mut); font-size: 18px; cursor: pointer; }
        .wg-search-icons { align-items: center; }
        .wg-search-icons i { margin: 0 !important; padding: 0 !important; line-height: 1 !important; display: block !important; transform: none !important; }
        .wg-search-icons i:hover { color: var(--wg-purple-light); }

        .header-actions { display: flex; align-items: center; gap: 20px; font-weight: 600; }
        .action-btn { display: flex; flex-direction: column; align-items: center; font-size: 12px; gap: 4px; cursor: pointer; transition: var(--transition); }
        .action-btn .icon { font-size: 20px; color: var(--wg-purple); transition: transform 0.3s; }
        .action-btn:hover { color: var(--wg-orange); }
        .action-btn:hover .icon { transform: scale(1.1); }
        .cart-badge { background: var(--wg-danger); color: white; border-radius: 50%; padding: 2px 6px; font-size: 10px; position: absolute; margin-left: 15px; margin-top: -5px; }

        /* === 2. ADVANCED MEGA MENU 2026 === */
        .wg-nav { background: var(--wg-surface); padding: 8px 25px !important; box-shadow: var(--shadow-sm); margin-bottom: 30px; position: relative; z-index: 90; display: flex; align-items: center; justify-content: space-between; border-radius: var(--br-md); border: 1px solid var(--wg-border); }
        .nav-categories { position: relative; }
        .btn-categories { background: var(--wg-purple); color: white; padding: 15px 25px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; cursor: pointer; border-radius: var(--br-md) 0 0 var(--br-md); }
        
        .wg-dropdown-menu { position: absolute; top: 100%; left: 0; width: 320px; background: var(--wg-bg); border: 1px solid var(--wg-border); border-top: none; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--br-md) var(--br-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 100; margin: 0; padding: 0; list-style: none; }
        .nav-categories:hover .wg-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
        .wg-dropdown-menu > li { border-bottom: 1px solid var(--wg-border); position: relative; margin: 0; padding: 0; list-style: none !important; }
        .wg-dropdown-menu > li:last-child { border-bottom: none; }
        .wg-dropdown-menu > li > a { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font-weight: 600; color: var(--wg-text); transition: background 0.2s, color 0.2s; }
        .menu-left { display: flex; align-items: center; gap: 12px; }
        .wg-dropdown-menu > li > a:hover { background: var(--wg-purple-hover); color: var(--wg-purple); }
        
        /* Mega Panel Level 2 */
        .mega-panel { position: absolute; top: 0; left: 100%; width: 700px; min-height: 100%; background: var(--wg-bg); border: 1px solid var(--wg-border); box-shadow: 5px 5px 20px rgba(0,0,0,0.08); border-radius: 0 8px 8px 8px; display: flex; padding: 25px; gap: 30px; opacity: 0; visibility: hidden; transform: translateX(10px); transition: all 0.3s ease; z-index: 101; pointer-events: none; }
        .has-submenu:hover .mega-panel { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }
        .mega-col { flex: 1; }
        .mega-col h4 { color: var(--wg-orange); font-size: 16px; font-weight: 700; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--wg-border); display: flex; align-items: center; gap: 8px; }
        .mega-col ul { margin: 0; padding: 0; list-style: none; }
        .mega-col ul li { margin-bottom: 12px; list-style: none; padding: 0; }
        .mega-col ul li a { color: var(--wg-text); font-size: 14px; font-weight: 500; transition: color 0.2s; display: block; padding: 0; }
        .mega-col ul li a:hover { color: var(--wg-purple); font-weight: 600; padding-left: 5px; }
        .mega-highlight { flex: 0.9; background: #FFFFFF; border-radius: 8px; padding: 20px; text-align: center; border: 1px dashed #CBD5E1; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
        .mega-highlight img { width: 100%; height: 160px; background: transparent; border-radius: 6px; margin-bottom: 15px; object-fit: contain;}
        .mega-highlight p { font-size: 14px; font-weight: 700; color: var(--wg-purple); margin-bottom: 15px; line-height: 1.4;}
        .mega-btn { background: var(--wg-orange); color: white; padding: 6px 15px; border-radius: 20px; font-size: 12px; font-weight: bold;}

        /* Links & Promos */
        .wg-nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 15px; flex: 1; justify-content: center; align-items: center; margin: 0; padding: 0; }
        .wg-nav-links li { margin: 0; padding: 0; }
        .wg-nav-links a { color: var(--wg-text); padding: 20px 0; display: block; transition: color 0.2s; line-height: 1; white-space: nowrap; }
        .wg-nav-links a:hover { color: var(--wg-purple-light); }
        
        .nav-promos { display: flex; gap: 15px; align-items: center; }
        .promo-link { color: var(--wg-danger); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 5px; animation: pulse 2s infinite; }
        .b2b-link { color: var(--wg-orange); border: 2px solid var(--wg-orange); padding: 6px 15px; border-radius: 20px; font-weight: 700; transition: all 0.2s; }
        .b2b-link:hover { background: var(--wg-orange); color: white; }
        @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

        /* === 3. HERO BANNER (Glassmorphism) === */
        .wg-hero { position: relative; border-radius: var(--br-xl); overflow: hidden; background: linear-gradient(135deg, #FFFBEB 0%, #F3E8FF 100%); height: 450px; display: flex; align-items: center; border: 1px solid #DDD6FE; }
        .wg-hero::before { content: ''; position: absolute; top: -50px; right: -50px; width: 300px; height: 300px; background: rgba(124, 58, 237, 0.1); border-radius: 50%; filter: blur(50px); z-index: 1; }
        .hero-content { position: relative; z-index: 2; max-width: 500px; padding: 40px; background: rgba(255,255,255,0.4); backdrop-filter: blur(12px); border-radius: var(--br-lg); margin-left: 50px; border: 1px solid rgba(255,255,255,0.6); }
        .wg-hero h1 { font-size: 38px; font-weight: 900; color: var(--wg-purple-dark); line-height: 1.2; margin-bottom: 15px; }
        .wg-hero h1 span { color: var(--wg-orange); }
        .wg-hero p { font-size: 16px; color: #475569; margin-bottom: 25px; }
        .hero-image { position: absolute; right: 0; bottom: 30px; height: calc(100% - 30px); display: flex; align-items: flex-end; z-index: 1; }
        .hero-image img { height: 100%; object-fit: contain; transform: translateX(-40px); max-width: 650px; mix-blend-mode: multiply; }
        .btn-glow { display: inline-flex; align-items: center; gap: 10px; background: var(--wg-orange); color: white; padding: 14px 32px; border-radius: var(--br-pill); font-weight: 800; border: none; font-size: 16px; cursor: pointer; box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4); transition: transform 0.2s; }
        .btn-glow:hover { transform: translateY(-2px); background: var(--wg-orange-hover); }

        /* === 4. TRUST INDICATORS (USPs) === */
        .trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -30px; position: relative; z-index: 10; padding: 0 20px;}
        .trust-item { background: var(--wg-surface); padding: 15px; border-radius: var(--br-md); display: flex; align-items: center; gap: 15px; box-shadow: var(--shadow-md); border: 1px solid var(--wg-border); font-weight: 700; font-size: 14px; transition: var(--transition); }
        .trust-item:hover { transform: translateY(-5px); border-color: var(--wg-purple-light); }
        .trust-icon { font-size: 28px; }

        /* === 5. FLASH SALE (Low-ticket/Mini) === */
        .flash-sale-header { display: flex; align-items: center; gap: 15px; }
        .fs-title { display: flex; align-items: center; gap: 8px; }
        .timer { display: flex; gap: 4px; align-items: center; font-weight: 800; color: #333; }
        .timer span { background: #111; color: white; padding: 4px 6px; border-radius: 4px; font-size: 15px; line-height: 1; display:flex; align-items:center; justify-content:center; min-width:28px;}
        .timer small { font-size: 18px; margin: 0 1px; color: #111; font-weight: 800; margin-bottom: 2px;}
        
        .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .card { background: var(--wg-surface); border-radius: var(--br-lg); padding: 15px; border: 1px solid var(--wg-border); position: relative; transition: all 0.3s; display: flex; flex-direction: column;}
        .card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
        .badge { position: absolute; top: 15px; left: 15px; background: var(--wg-danger); color: white; padding: 4px 10px; border-radius: var(--br-sm); font-size: 11px; font-weight: 800; z-index: 2; }
        .badge.purple { background: var(--wg-purple); }
        .img-box { background: #F1F5F9; height: 200px; border-radius: var(--br-md); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--wg-text-mut); margin-bottom: 15px; overflow: hidden;}
        .img-box i { font-size: 40px; color: #CBD5E1; transition: var(--transition); }
        .card:hover .img-box i { transform: scale(1.1); color: var(--wg-purple-light); }
        .p-title { font-size: 15px; font-weight: 600; line-height: 1.4; height: 42px; overflow: hidden; margin-bottom: 10px; }
        .p-price { font-size: 20px; font-weight: 800; color: var(--wg-danger); margin-bottom: auto; }
        .p-old { font-size: 13px; color: var(--wg-text-mut); text-decoration: line-through; margin-left: 8px; font-weight: 500;}
        
        .btn-add { background: var(--wg-surface); color: var(--wg-orange); border: 2px solid var(--wg-orange); text-align: center; padding: 10px; border-radius: var(--br-md); font-weight: 700; margin-top: 15px; cursor: pointer; transition: var(--transition); font-family: inherit;}
        .btn-add:hover { background: var(--wg-orange); color: white; }

        /* === 6. CATEGORY SHOWCASE (Bento Box) === */
        .bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
        .bento-card { height: 220px; border-radius: var(--br-xl); padding: 25px; display: flex; flex-direction: column; justify-content: flex-start; position: relative; overflow: hidden; transition: var(--transition); cursor: pointer; }
        .bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
        .bento-img { position: absolute; right: 0; bottom: 0; width: 50%; height: auto; max-height: 85%; object-fit: contain; mix-blend-mode: multiply; opacity: 0.9; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1; transform-origin: bottom right; }
        .bento-card:hover .bento-img { transform: scale(1.08); opacity: 1; }
        .bento-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 5px; color: var(--wg-text); position: relative; z-index: 2; line-height: 1.2;}
        .bento-card a { font-weight: 700; text-decoration: underline; position: relative; z-index: 2; font-size: 14px;}
        .bento-1 { background: linear-gradient(to right, #E0E7FF, #C7D2FE); border: 1px solid #A5B4FC; }
        .bento-2 { background: linear-gradient(to right, #FEF3C7, #FDE68A); border: 1px solid #FCD34D; }
        .bento-3 { background: linear-gradient(to right, #D1FAE5, #A7F3D0); border: 1px solid #6EE7B7; }
        .bento-4 { background: linear-gradient(to right, #FEE2E2, #FECACA); border: 1px solid #FCA5A5; }

        /* === 7. PREMIUM SPOTLIGHT (High-ticket) === */
        .premium-zone { background: var(--wg-purple-dark); color: white; padding: 60px 0; border-radius: var(--br-xl); margin-bottom: 60px; box-shadow: 0 10px 30px rgba(46, 16, 101, 0.4); }
        .premium-zone .wg-section-title { color: white; }
        .premium-zone .wg-section-title span { color: var(--wg-orange); }
        .premium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .p-card-dark { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: var(--br-lg); padding: 20px; transition: transform 0.3s;}
        .p-card-dark:hover { transform: translateY(-5px); border-color: var(--wg-orange); background: rgba(255,255,255,0.15);}
        .p-card-dark .img-box { background: rgba(0,0,0,0.2); border: none; }
        .p-card-dark .p-title { color: white; }
        .p-card-dark .p-price { color: var(--wg-orange); font-size: 24px; }
        /* Tech Specs */
        .tech-specs { display: flex; gap: 10px; margin: 12px 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px;}
        .spec-item { font-size: 11px; background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: var(--br-sm); font-weight: 600; display: flex; align-items: center; gap: 4px;}
        .btn-consult { background: var(--wg-purple-light); border: none; color: white; width: 100%; text-align: center; padding: 12px; border-radius: var(--br-md); font-weight: 700; margin-top: 15px; cursor: pointer; transition: all 0.3s;}
        .btn-consult:hover { background: var(--wg-orange); }

        /* === 8. SHORT VIDEO REVIEWS (Social Proof) === */
        .video-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
        .video-card { aspect-ratio: 9/16; background: #334155; border-radius: var(--br-lg); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 15px; color: white; transition: var(--transition); cursor: pointer; }
        .video-card:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
        .video-card::before { content: '\f144'; font-family: 'FontAwesome'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 40px; color: rgba(255,255,255,0.7); transition: var(--transition); }
        .video-card:hover::before { color: var(--wg-orange); }
        .video-card p { font-size: 13px; font-weight: 600; line-height: 1.3; text-shadow: 0 2px 4px rgba(0,0,0,0.8); position: relative; z-index: 2;}

        /* === 9. KNOWLEDGE BASE === */
        .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .blog-card { background: var(--wg-surface); border-radius: var(--br-lg); overflow: hidden; border: 1px solid var(--wg-border); transition: var(--transition); }
        .blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--wg-purple-light); }
        .blog-img { height: 180px; background: #E2E8F0; display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 30px; }
        .blog-content { padding: 20px; }
        .blog-content h3 { font-size: 16px; margin-bottom: 10px; line-height: 1.4; transition: var(--transition); }
        .blog-card:hover h3 { color: var(--wg-purple); }
        .blog-content p { font-size: 14px; color: var(--wg-text-mut); }

        /* === FAQ SECTION === */
        .faq-section { margin-bottom: 60px; }
        .faq-container { max-width: 800px; margin: 0 auto; }
        .faq-item { background: var(--wg-surface); border: 1px solid var(--wg-border); border-radius: var(--br-md); margin-bottom: 15px; overflow: hidden; }
        .faq-question { padding: 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--wg-surface); transition: var(--transition); }
        .faq-question:hover { background: var(--wg-bg); color: var(--wg-purple); }
        .faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; color: var(--wg-text-mut); }
        .faq-item.active .faq-question { color: var(--wg-purple); }
        .faq-item.active .faq-question i { transform: rotate(180deg); transition: transform 0.3s ease; }
        .faq-question i { transition: transform 0.3s ease; }
        .faq-item.active .faq-answer { max-height: 500px; padding-bottom: 20px; }

        /* === 10. MEGA FOOTER & FAB === */
        .wg-footer { background: #0F172A; color: #94A3B8; padding: 60px 0 30px 0; font-size: 14px; margin-top: 60px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
        .wg-footer h4 { color: white; font-size: 16px; margin-bottom: 20px; font-weight: 700; position: relative; }
        .wg-footer h4::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 30px; height: 3px; background: var(--wg-orange); border-radius: 2px; }
        .wg-footer ul { list-style: none; padding: 0; margin: 0; }
        .wg-footer ul li { margin-bottom: 12px; padding: 0; list-style: none; }
        .wg-footer ul li a { color: #CBD5E1; transition: var(--transition); display: block; }
        .wg-footer ul li a:hover { color: var(--wg-orange); transform: translateX(5px); }
        
        .wg-social-icons { display: flex; flex-direction: row; gap: 15px; margin-top: 20px; }
        .wg-social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; transition: var(--transition); text-decoration: none; }
        .wg-social-icons a:hover { background: var(--wg-orange); transform: translateY(-3px); }
        .wg-social-icons a i { margin: 0 !important; padding: 0 !important; line-height: 1 !important; transform: none !important; font-size: 18px !important; display: block !important; }
        
        .fab-container { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
        .wg-fab { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; box-shadow: var(--shadow-lg); cursor: pointer; transition: var(--transition); text-decoration: none; position: relative; }
        .wg-fab:hover { transform: scale(1.1) translateY(-5px); }
        .fab-zalo { background: #0068FF; }
        .fab-call { background: #10B981; }
        .fab-call::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; border: 2px solid #10B981; animation: pulse 2s infinite; }
        @keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

        /* Responsive */
        @media (max-width: 1024px) {
            .trust-bar { grid-template-columns: repeat(2, 1fr); }
            .product-grid, .premium-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
            .bento-card { width: calc(50% - 12px); }
            .video-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 768px) {
            .wg-header { padding: 12px 0 !important; }
            .header-wrap { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between !important; align-items: center !important; gap: 0 !important; height: 100% !important; }
            .logo { order: 1; margin: 0 !important; display: flex !important; align-items: center !important; }
            .logo img { height: 44px !important; }
            .logo span { font-size: 13px !important; }
            .wg-mobile-toggle { order: 2; display: inline-flex !important; align-items: center !important; justify-content: center !important; align-self: center !important; width: 42px !important; height: 42px !important; padding: 0 !important; margin: auto 0 !important; background: var(--wg-purple) !important; color: white !important; border: none !important; border-radius: 12px !important; font-size: 20px !important; line-height: 1 !important; cursor: pointer; transition: background 0.2s; z-index: 1001; }
            .wg-mobile-toggle i { display: flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; margin: 0 !important; padding: 0 !important; height: 100% !important; width: 100% !important; }
            .wg-mobile-toggle:hover { background: var(--wg-purple-light); }
            .ai-search { display: none !important; }
            
            /* Overlay khi mở menu */
            .wg-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 9998; opacity: 0; transition: opacity 0.3s ease; }
            .wg-menu-overlay.active { display: block !important; opacity: 1 !important; }

            /* Drawer Popup Menu trên Mobile */
            .wg-nav { position: fixed !important; top: 0 !important; right: -100% !important; width: 85% !important; max-width: 360px !important; height: 100vh !important; background: var(--wg-surface) !important; z-index: 9999 !important; box-shadow: -5px 0 25px rgba(0,0,0,0.2) !important; transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important; display: flex !important; flex-direction: column !important; padding: 20px !important; margin: 0 !important; overflow-y: auto !important; border-radius: 0 !important; border: none !important; }
            .wg-nav.active { right: 0 !important; }

            .wg-mobile-menu-header { display: flex !important; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 2px solid var(--wg-border); margin-bottom: 15px; font-weight: 800; font-size: 16px; color: var(--wg-purple); }
            .wg-menu-close-btn { background: #F1F5F9; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #475569; cursor: pointer; transition: all 0.2s; }
            .wg-menu-close-btn:hover { background: var(--wg-danger); color: white; }

            .btn-categories { display: none !important; }
            .nav-categories { width: 100%; }
            .wg-dropdown-menu { position: static !important; width: 100% !important; box-shadow: none !important; border: none !important; display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; margin-top: 0 !important; border-radius: 0 !important; background: transparent !important; }
            
            .wg-nav-links { display: flex !important; flex-direction: column !important; width: 100% !important; gap: 0 !important; background: var(--wg-surface) !important; border-top: 1px solid var(--wg-border) !important; border-radius: 0 !important; margin-top: 10px !important; overflow: hidden !important; }
            .wg-nav-links li { border-bottom: 1px solid var(--wg-border) !important; width: 100% !important; }
            .wg-nav-links li:last-child { border-bottom: none !important; }
            .wg-nav-links a { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 15px 20px !important; font-size: 14px !important; font-weight: 700 !important; color: #1E293B !important; background: #FFFFFF !important; border: none !important; width: 100% !important; box-sizing: border-box !important; }
            .wg-nav-links a:hover { color: var(--wg-purple) !important; background: #F5F3FF !important; }
            .wg-nav-links a::after { content: '\f105'; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--wg-text-mut); font-size: 14px; }
            .nav-promos { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 15px; border-top: 1px solid var(--wg-border); padding-top: 15px; }
            .nav-promos .promo-link, .nav-promos .b2b-link { width: 100%; justify-content: center; padding: 12px; font-size: 15px; text-align: center; }
            .mega-panel { display: none !important; }
            .wg-hero { height: auto; padding: 40px 20px; flex-direction: column; align-items: center; text-align: center; background: linear-gradient(135deg, #FFFBEB 0%, #F3E8FF 100%); }
            .hero-content { margin-left: 0; padding: 25px; margin-bottom: 20px; width: 100%; max-width: 100%; z-index: 2; }
            .wg-hero h1 { font-size: 28px; }
            .hero-image { position: relative; right: auto; bottom: auto; height: 250px; width: 100%; justify-content: center; }
            .hero-image img { transform: translateX(0); max-height: 250px; width: auto; max-width: 100%; }
            .product-grid, .premium-grid, .blog-grid { grid-template-columns: 1fr; }
            .bento-card { width: 100%; }
            .video-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr; }
        }

/* --- FLATSOME OVERRIDES & HARDENING --- */
.ai-search { position: relative !important; align-self: center !important; }
.ai-search input, .ai-search input[type="text"], .ai-search input[type="search"] {
    background-color: #F1F5F9 !important;
    border-radius: 50px !important;
    border: 2px solid transparent !important;
    padding: 12px 50px 12px 24px !important;
    box-shadow: none !important;
    height: 48px !important;
    line-height: 24px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}
.ai-search input:focus, .ai-search input[type="text"]:focus, .ai-search input[type="search"]:focus {
    background-color: #ffffff !important;
    border-color: var(--wg-purple-light) !important;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1) !important;
}
.wg-search-icons { position: absolute !important; right: 18px !important; top: 50% !important; transform: translateY(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; margin: 0 !important; padding: 0 !important; height: auto !important; }
.wg-nav-links, .wg-nav-links li, .wg-nav-links > li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.wg-nav-links li::before { display: none !important; content: none !important; }
.wg-nav-links li::marker { content: '' !important; display: none !important; }
.wg-nav-links { display: flex !important; gap: 30px !important; align-items: center !important; }
/* -------------------------------------- */

/* --- SHOPEE STYLE PRODUCT GALLERY --- */
.product-thumbnails .col { padding: 0 5px !important; }
.product-thumbnails a { border: 2px solid transparent !important; border-radius: 2px; transition: all 0.2s ease; overflow: hidden; }
.product-thumbnails .is-nav-selected a, .product-thumbnails a:hover { border-color: #ee4d2d !important; }


/* --- BREADCRUMB STYLE --- */
.woocommerce-breadcrumb { font-size: 13px !important; text-transform: none !important; letter-spacing: 0 !important; color: #777 !important; margin-bottom: 15px !important; }
.woocommerce-breadcrumb a { color: #0056b3 !important; font-weight: 500; }

/* --- SINGLE PRODUCT BALANCED UI --- */
.single-product .product_title { font-size: 26px !important; font-weight: 800 !important; line-height: 1.3 !important; color: var(--wg-purple-dark) !important; margin-bottom: 15px; }
.single-product .related.products .product-title,
.single-product .related.products .name,
.single-product .related.products .name a {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #1E293B !important;
}
.single-product .price { font-size: 28px !important; font-weight: 800 !important; color: var(--wg-danger) !important; margin-bottom: 20px; display: block; }

.single-product .product-short-description ul { list-style: none; padding-left: 0; margin-bottom: 25px; }
.single-product .product-short-description li { position: relative; padding-left: 25px; margin-bottom: 12px; line-height: 1.6; color: #334155; font-size: 15px; }
.single-product .product-short-description li::before { content: '\f00c'; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--wg-success); position: absolute; left: 0; top: 3px; font-size: 16px; }

/* Flexbox Add to Cart */
.single-product form.cart { display: flex; flex-wrap: nowrap; gap: 15px; align-items: stretch; margin-bottom: 15px !important; width: 100%; }
.single-product form.cart .quantity { margin-right: 0 !important; width: 120px; flex-shrink: 0; }
.single-product form.cart .quantity input.qty { height: 50px; font-size: 16px; font-weight: 700; border-color: #E2E8F0; }
.single-product form.cart .quantity input.minus, 
.single-product form.cart .quantity input.plus { height: 50px; width: 35px; border-color: #E2E8F0; }
.single-product form.cart button.single_add_to_cart_button { flex: 1; margin: 0 !important; height: 50px; border-radius: 8px; font-weight: 800; font-size: 15px; background-color: #C2410C !important; text-transform: uppercase; box-shadow: 0 4px 6px rgba(194, 65, 12, 0.2); }

/* Buy Now Button Full Width */
.single-product .buy-now, .single-product .button.buy-now-button { width: 100% !important; height: 50px !important; line-height: 50px !important; padding: 0 !important; border-radius: 8px !important; font-weight: 800 !important; font-size: 15px !important; margin-bottom: 20px !important; background-color: var(--wg-orange) !important; color: white !important; box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2); border: none !important; display: block; text-align: center; }

/* Force Product Info Column to Expand */
/* Force Product Info Column to Expand and Fill the Gap */
.single-product .product-main > .row { display: flex !important; flex-wrap: nowrap !important; width: 100% !important; max-width: 1280px !important; margin: 0 auto !important; }
.single-product .product-gallery { width: 50% !important; max-width: 50% !important; flex: 0 0 50% !important; padding-right: 20px !important; }
.single-product .product-info { width: 50% !important; max-width: 50% !important; flex: 0 0 50% !important; padding-left: 20px !important; padding-right: 0 !important; }
/* Xóa bỏ mọi padding/margin/width giới hạn ngầm của Flatsome bên trong */
.single-product .product-info > *, .single-product .product-summary, .single-product .entry-summary { max-width: 100% !important; width: 100% !important; padding-right: 0 !important; margin-right: 0 !important; }
@media (max-width: 849px) {
    .single-product .product-main > .row { flex-wrap: wrap !important; }
    .single-product .product-gallery, .single-product .product-info { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; padding: 0 !important; }
    .single-product .related.products .price-wrapper {
        width: 100% !important;
        overflow: hidden !important;
    }
    .single-product .related.products .price,
    .single-product .related.products .price .amount,
    .single-product .related.products .price ins,
    .single-product .related.products .price del {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
    .single-product .related.products .price {
        margin-bottom: 8px !important;
        white-space: nowrap !important;
    }
}

/* ========================================================= */
/* HELP CENTER (POLICY PAGES) UI */
/* ========================================================= */
.help-center-hero { background: linear-gradient(135deg, var(--wg-purple) 0%, var(--wg-purple-dark) 100%); padding: 60px 20px; text-align: center; color: white; margin-bottom: 40px; border-radius: 12px; }
.help-center-hero h1 { color: white; font-weight: 800; font-size: 32px; margin-bottom: 10px; }
.help-center-hero p { color: #E2E8F0; font-size: 16px; margin: 0; }
.help-center-container { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 50px; }
.help-sidebar { flex: 0 0 280px; }
.help-sidebar ul { list-style: none; padding: 0; margin: 0; background: white; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #e2e8f0; }
.help-sidebar li { margin: 0 !important; }
.help-sidebar li a { display: flex; align-items: center; padding: 16px 20px; color: #475569; text-decoration: none; font-weight: 600; border-bottom: 1px solid #e2e8f0; transition: all 0.2s; font-size: 15px; }
.help-sidebar li a i { width: 30px; color: #94A3B8; font-size: 16px; text-align: center; margin-right: 10px; transition: all 0.2s; }
.help-sidebar li a:hover { background: #f8fafc; color: var(--wg-orange); padding-left: 25px; }
.help-sidebar li a:hover i { color: var(--wg-orange); }
.help-sidebar li.active a { background: #fff7ed; color: var(--wg-orange); border-left: 4px solid var(--wg-orange); }
.help-sidebar li.active a i { color: var(--wg-orange); }
.help-content { flex: 1; min-width: 0; background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.help-content h2 { color: var(--wg-purple); font-weight: 800; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; margin-bottom: 25px; font-size: 28px; }
.help-content h3 { color: #1e293b; font-weight: 700; margin-top: 35px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-size: 20px; }
.help-content h3 i { color: var(--wg-orange); font-size: 22px; }
.help-content p, .help-content li { font-size: 16px; line-height: 1.7; color: #334155; margin-bottom: 12px; }
.help-content ul { padding-left: 20px; margin-bottom: 20px; }
.help-alert { background: #fffbeb; border-left: 4px solid #f59e0b; padding: 15px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; color: #92400e; font-size: 15px; }
.help-alert strong { color: #b45309; }
@media (max-width: 768px) {
    .help-sidebar { flex: 0 0 100%; margin-bottom: 10px; }
    .help-content { padding: 20px; }
    .help-center-hero { padding: 40px 20px; }
}

/* --- CUSTOM HERO BANNER SLIDER --- */
.main-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.main-hero-slider:hover .wg-slider-arrow {
    opacity: 1 !important;
}
.wg-slider-arrow {
    opacity: 0;
    transition: all 0.3s ease !important;
    background: rgba(0, 0, 0, 0.4) !important;
    color: white !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.wg-slider-arrow:hover {
    background: var(--wg-purple) !important;
    transform: translateY(-50%) scale(1.1) !important;
}
.wg-dot {
    cursor: pointer;
    transition: all 0.3s ease !important;
}
.wg-dot.active {
    width: 25px !important;
    border-radius: 4px !important;
    background: white !important;
}

/* Keep the full hero artwork visible on phones. */
@media (max-width: 768px) {
    .main-hero-slider {
        width: 100%;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: 2.4 / 1;
    }
    .main-hero-slider .wg-slides,
    .main-hero-slider .wg-slide {
        height: 100% !important;
    }
    .main-hero-slider .wg-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }
    .main-hero-slider .wg-slider-arrow {
        display: none !important;
    }
    .main-hero-slider .wg-dots {
        bottom: 6px !important;
    }

    /* Center homepage product cards and enlarge their mobile artwork. */
    .product-layout-tab {
        float: none !important;
        width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .product-layout-tab .product-thumb {
        width: 100% !important;
        max-width: 360px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .product-layout-tab .image {
        width: 100% !important;
        max-width: 320px !important;
        padding-top: 0 !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .product-layout-tab .image > a {
        display: flex !important;
        width: 100% !important;
        position: relative !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .product-layout-tab .image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: none !important;
        aspect-ratio: 1 / 1;
        margin: 0 auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }
    .product-layout-tab .label-product.label_sale {
        top: 10px !important;
        left: 10px !important;
        z-index: 3 !important;
        transform: none !important;
    }
}

.menu-image-title {
    white-space: nowrap !important;
}

/* === QUICK VIEW BUTTON PURPLE COLOR SYNCHRONIZATION === */
.quick-view,
.quick-view-button,
.quickview,
.quickview-button,
.grid-tools a.quick-view,
.box-image .quick-view {
    background-color: var(--wg-purple) !important;
    color: white !important;
    border-color: var(--wg-purple) !important;
}

.quick-view:hover,
.quick-view-button:hover,
.quickview:hover,
.quickview-button:hover,
.grid-tools a.quick-view:hover,
.box-image .quick-view:hover {
    background-color: var(--wg-purple-light) !important;
    color: white !important;
    border-color: var(--wg-purple-light) !important;
}
