/* --- CẤU HÌNH CHUNG --- */
        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

        :root {
            --primary-red: #4a6631; /* Xanh lá earthy (giữ nguyên tên biến để không hỏng HTML) */
            --gold-gradient: none; 
            --gold-solid: #688c42; /* Xanh lá sáng hơn */
            --rice-paper: #f9fbf7; /* Trắng ngả xanh lá cực nhẹ */
            --dark-ink: #2b3a1f; /* Xanh rêu đậm */
            --text-grey: #555;
            --font-title: 'Outfit', 'Montserrat', 'Poppins', sans-serif; /* Font sans-serif hiện đại */
            --font-body: 'Outfit', 'Lato', sans-serif;
            --radius-card: 12px;
        }

        body {
            background-color: var(--rice-paper);
            font-family: var(--font-body);
            margin: 0;
            color: var(--dark-ink);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            background-color: #fdfaf5;
            background-image: radial-gradient(#eaddc8 3px, transparent 3px);
            background-size: 30px 30px;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; width: 100%; }

        /* --- TRANG TRÍ --- */
        .asian-divider { margin: 40px auto; width: 100%; height: 1px; background: rgba(74, 102, 49, 0.2); }
        .asian-divider::before, .asian-divider::after, .asian-divider span { display: none; }

        /* --- 1. HEADER --- */
        .app-header { background-color: #fff; position: sticky; top: 0; z-index: 100; padding: 10px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-red); }
        .header-content { display: flex; align-items: center; justify-content: space-between; height: 65px; }
        .brand-logo { cursor: pointer; }
        .header-logo-img { height: 60px; object-fit: contain; }

        .search-wrapper { flex: 1; max-width: 350px; margin: 0 20px; position: relative; display: none; }
        .search-wrapper input { width: 100%; padding: 10px 20px 10px 45px; border-radius: 4px; border: 1px solid #d4c5a3; background: #fcfcfc; color: var(--dark-ink); font-size: 15px; outline: none; transition: all 0.3s; }
        .search-wrapper input:focus { border-color: var(--primary-red); box-shadow: 0 0 0 1px rgba(138, 28, 20, 0.1); }
        .search-wrapper i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--gold-solid); }

        .desktop-nav { display: flex; gap: 25px; margin: 0 20px; }
        .nav-link { text-decoration: none; color: var(--dark-ink); font-family: var(--font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; position: relative; cursor: pointer; }
        .nav-link:hover { color: var(--primary-red); }
        .nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--gold-solid); transition: width 0.3s; }
        .nav-link:hover::after { width: 100%; }

        .header-actions { display: flex; gap: 30px; align-items: center; }
        .action-btn { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--text-grey); cursor: pointer; transition: 0.2s; font-family: var(--font-title); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; gap: 4px; }
        .action-btn i { font-size: 22px; margin-bottom: 0; color: var(--dark-ink); }
        .action-btn:hover { color: var(--primary-red); }
        .action-btn:hover i { color: var(--primary-red); transform: translateY(-2px); }
        
        .cart-badge { position: absolute; top: -6px; right: -8px; background: var(--primary-red); color: #fff; font-size: 11px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; border: 1px solid #fff; }

        .lang-switcher { display: flex; align-items: center; border: 1px solid #d4c5a3; padding: 2px; border-radius: 4px; background: #fff; margin-right: 10px; }
        .lang-opt { font-size: 13px; font-family: var(--font-title); font-weight: 700; padding: 4px 10px; cursor: pointer; color: #999; transition: 0.2s; border-radius: 2px;}
        .lang-opt.active { background: var(--primary-red); color: #fff; }

        .mobile-header-right { display: none; align-items: center; gap: 10px; }
        .mobile-location { font-size: 12px; color: var(--primary-red); font-family: var(--font-title); font-weight: 700; display: flex; align-items: center; gap: 5px; text-transform: uppercase;}
        .mobile-lang-btn { font-size: 11px; font-weight: 700; color: var(--primary-red); border: 1px solid var(--gold-solid); padding: 3px 6px; border-radius: 4px; }

        /* --- 2. LAYOUT BODY --- */
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .fade-in { animation: fadeIn 0.6s ease-out forwards; }

        .main-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin-top: 40px; flex: 1; }

        /* SIDEBAR */
        .sidebar { 
            background: rgba(255, 255, 255, 0.85); 
            backdrop-filter: blur(16px); 
            -webkit-backdrop-filter: blur(16px);
            border-radius: 16px; 
            padding: 30px 20px; 
            height: fit-content; 
            position: sticky; top: 100px; 
            box-shadow: 0 20px 40px rgba(74, 102, 49, 0.08), inset 0 0 0 1px rgba(255,255,255,0.6); 
            border: 1px solid rgba(74, 102, 49, 0.15); 
            outline: none; 
        }
        .sidebar-title { font-family: var(--font-title); font-weight: 700; margin-bottom: 25px; font-size: 18px; color: var(--primary-red); text-align: center; letter-spacing: 1px; padding-bottom: 15px; border-bottom: 1px solid rgba(74, 102, 49, 0.1); }
        .sidebar-title::after, .sidebar-title::before { display: none; }
        .category-list-desktop { list-style: none; padding: 0; margin: 0; position: relative; z-index: 2;}
        .category-list-desktop li { padding: 12px 15px; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; align-items: center; gap: 15px; color: var(--text-grey); font-size: 15px; border-bottom: 1px solid rgba(74, 102, 49, 0.05); margin-bottom: 4px; border-radius: 8px; }
        .category-list-desktop li:last-child { border-bottom: none; }
        .category-list-desktop li:hover, .category-list-desktop li.active { color: var(--primary-red); font-weight: bold; background: rgba(74, 102, 49, 0.08); padding-left: 20px; box-shadow: 0 4px 15px rgba(74, 102, 49, 0.08); transform: translateX(5px); border-bottom-color: transparent; }
        .category-list-desktop li i { width: 20px; text-align: center; color: var(--gold-solid); font-size: 14px; transition: 0.3s; }
        .category-list-desktop li:hover i { transform: scale(1.2); }

        /* BANNERS */
        .desktop-banners { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; margin-bottom: 50px; }
        .banner-large { 
            height: 380px; 
            background: url('https://images.unsplash.com/photo-1550966871-3ed3c47e2ce2?w=800') center/cover; 
            border-radius: 20px; 
            position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
            box-shadow: 0 15px 30px rgba(74, 102, 49, 0.15); border: 2px solid #fff; 
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .banner-large:hover { 
            transform: translateY(-5px) scale(1.02); box-shadow: 0 25px 45px rgba(74, 102, 49, 0.25); border-color: rgba(255,255,255,0.8); 
        }
        .banner-video {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover; z-index: 0; pointer-events: none;
        }
        .banner-small { height: 380px; display: flex; flex-direction: column; gap: 25px; }
        .banner-item { 
            flex: 1; border-radius: 20px; background-size: cover; background-position: center; position: relative; 
            box-shadow: 0 15px 30px rgba(74, 102, 49, 0.15); border: 2px solid #fff; 
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden;
        }
        .banner-item:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 25px 45px rgba(74, 102, 49, 0.25); border-color: rgba(255,255,255,0.8); }
        .banner-item::after {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to bottom, transparent, rgba(43, 58, 31, 0.3)); pointer-events: none;
        }

        /* PRODUCT GRID - Đã Sửa Đẹp Hơn */
        .section-header { text-align: center !important; margin-bottom: 40px !important; display: block !important; width: 100% !important; }
        .section-title { 
            font-family: var(--font-title) !important; 
            font-size: 28px !important; 
            color: var(--primary-red) !important; 
            font-weight: 700 !important; 
            letter-spacing: 1px !important; 
            display: inline-block !important; 
            position: relative !important; 
            padding: 0 40px !important; 
            width: auto !important; 
            margin: 0 auto !important;
            flex: none !important;
        }
        .section-title::before, .section-title::after { content: "" !important; position: absolute !important; top: 50% !important; width: 40px !important; height: 1px !important; background: rgba(74, 102, 49, 0.3) !important; display: block !important; flex: none !important; }
        .section-title::before { left: 0 !important; right: auto !important; margin: 0 !important; }
        .section-title::after { right: 0 !important; left: auto !important; margin: 0 !important; }
        .section-title b { display: none !important; }
        .section-title span { background: transparent !important; padding: 0 !important; display: inline !important; }

        /* Đổi từ 4 cột sang 3 cột để ảnh to và hấp dẫn hơn */
        .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        
        .product-card { 
            background: #fff; 
            border-radius: var(--radius-card); 
            overflow: hidden; 
            transition: all 0.4s ease; 
            position: relative; 
            display: flex; 
            flex-direction: column; 
            box-shadow: none; 
            border: 1px solid rgba(74, 102, 49, 0.2); 
        }
        .product-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(74, 102, 49, 0.08); border-color: var(--primary-red); }
        
        .card-img-wrapper { position: relative; overflow: hidden; height: 220px; }
        .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
        .product-card:hover .card-img { transform: scale(1.08); }
        
        /* Hiệu ứng Gradient sẫm dưới đáy ảnh để đè Rating lên */
        .card-img-wrapper::after {
            content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); pointer-events: none;
        }

        /* Đánh giá (Rating) */
        .card-rating {
            position: absolute; bottom: 15px; left: 15px;
            color: #ffc107; font-size: 15px; z-index: 2;
            display: flex; align-items: center; gap: 5px;
            font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.8);
        }
        .card-rating span { color: #eee; font-size: 12px; font-weight: 400;}

        .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
        
        .card-title { font-family: var(--font-title); font-weight: 700; font-size: 20px; margin-bottom: 8px; color: var(--dark-ink); line-height: 1.3; }
        .card-desc { font-size: 14px; color: #666; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; flex: 1; }
        
        .card-footer { margin-top: auto !important; display: flex !important; justify-content: space-between !important; align-items: flex-end !important; width: 100% !important; border-top: 1px dashed #eee !important; padding-top: 20px !important; }
        
        .card-price-box { display: flex !important; flex-direction: column !important; line-height: 1 !important; justify-content: flex-end !important; }
        .card-price-box .currency { color: var(--primary-red) !important; font-size: 14px !important; font-weight: 700 !important; margin-bottom: 2px !important; }
        .card-price-box .amount { color: var(--primary-red) !important; font-size: 22px !important; font-weight: 900 !important; }
        
        /* Nút bấm mới hấp dẫn hơn */
        .card-btn { 
            background: var(--primary-red) !important; color: #fff !important; border: none !important; 
            padding: 10px 20px !important; border-radius: 50px !important; cursor: pointer !important; 
            font-family: var(--font-title) !important; font-size: 13px !important; font-weight: 700 !important; 
            letter-spacing: 0.5px !important; text-transform: uppercase !important; transition: 0.3s !important; 
            display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
            box-shadow: 0 4px 10px rgba(138, 28, 20, 0.2) !important; line-height: 1 !important; margin: 0 !important; height: auto !important;
            position: relative !important; z-index: 99999 !important; pointer-events: auto !important;
        }
        .card-btn i { font-size: 16px !important; margin: 0 !important; }
        .card-btn:hover { background: var(--gold-solid) !important; transform: translateY(-2px) !important; }

        /* Hiệu ứng loading và thành công cho nút thêm giỏ hàng */
        .card-btn.loading { opacity: 0.7 !important; pointer-events: none !important; cursor: wait !important; }
        .card-btn.loading i { animation: cardBtnSpin 1s linear infinite !important; }
        @keyframes cardBtnSpin { 100% { transform: rotate(360deg); } }
        
        .card-btn.added { background: #2e8b57 !important; color: #fff !important; box-shadow: 0 4px 10px rgba(46, 139, 87, 0.4) !important; }
        .card-btn.added i::before { content: "\f00c" !important; } /* Icon check */

        /* --- MODAL (BOTTOM SHEET CỦA APP) --- */
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 99999999 !important; display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        .modal-content { background: #fff; width: 100%; max-width: 500px; border-radius: 20px 20px 0 0; padding: 25px 20px; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1); max-height: 90vh; overflow-y: auto; position: relative; }
        .modal-overlay.active .modal-content { transform: translateY(0); }
        .modal-close { position: absolute; top: 15px; right: 15px; background: #f0f0f0; border: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #555; font-size: 14px; }
        .modal-title { font-family: var(--font-title); font-size: 20px; color: var(--primary-red); margin: 0 0 5px 0; padding-right: 30px;}
        .modal-price { font-size: 16px; font-weight: 700; color: var(--dark-ink); margin-bottom: 20px; }
        .modal-footer-btn { background: var(--primary-red); color: #fff; border: none; width: 100%; padding: 15px; border-radius: 8px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; margin-top: 10px; box-shadow: 0 4px 15px rgba(138, 28, 20, 0.3); }
        
        .app-options { margin-bottom: 15px; width: 100%; text-align: left; border-top: 1px dashed #eee; padding-top: 12px; }
        .opt-header { font-size: 11px; font-weight: 700; color: var(--dark-ink); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
        .opt-chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
        .opt-chip { cursor: pointer; -webkit-tap-highlight-color: transparent; }
        .opt-chip input { display: none; }
        .chip-inner { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 20px; font-size: 12px; color: #555; transition: all 0.2s ease; }
        .opt-chip input:checked + .chip-inner { background: #fceceb; border-color: var(--primary-red); color: var(--primary-red); }
        .opt-name { font-weight: 600; }
        .opt-price { font-size: 11px; opacity: 0.8; }
        .opt-chip input:checked + .chip-inner .opt-price { color: var(--primary-red); font-weight: bold; }

        @media (min-width: 768px) {
            .modal-overlay { align-items: center; }
            .modal-content { border-radius: 12px; transform: scale(0.9); }
            .modal-overlay.active .modal-content { transform: scale(1); }
        }

        /* --- ABOUT PAGE --- */
        #about-page { margin: 40px auto; max-width: 900px; padding: 0 20px; }
        .about-content { background: #fff; padding: 60px; box-shadow: 0 15px 50px rgba(0,0,0,0.05); border: 1px solid #ddd; outline: 1px solid #f5f5f5; outline-offset: -10px; text-align: center; }
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
        .about-image img { border-radius: 4px; filter: sepia(10%); } 
        .signature { font-family: 'Playfair Display', serif; font-style: italic; font-size: 30px; color: var(--primary-red); margin-top: 30px;}

        /* --- CHECKOUT PAGE --- */
        #checkout-page { margin: 40px auto; max-width: 1000px; padding: 0 20px; }
        .checkout-container { background: #fff; padding: 40px; border-radius: var(--radius-card); box-shadow: 0 15px 50px rgba(0,0,0,0.05); border: 1px solid #ddd; }
        .checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
        .checkout-col-title { font-family: var(--font-body); font-size: 22px; font-weight: 400; margin-bottom: 25px; color: #000; letter-spacing: 0; margin-top: 0;}
        
        .form-group { margin-bottom: 20px; text-align: left; }
        .form-group label { display: block; font-size: 15px; margin-bottom: 8px; color: #000; font-family: var(--font-body); }
        .form-group .required { color: #f1c40f; font-weight: bold; } /* Sao vàng như mẫu */
        .form-input { 
            width: 100%; padding: 12px 15px; 
            background-color: #e6e6e6; border: 1px solid #e6e6e6; /* Nền xám nhạt */
            border-radius: 4px; font-family: var(--font-body); font-size: 15px; color: #333; outline: none; transition: 0.3s;
        }
        .form-input:focus { background-color: #f0f0f0; border-color: #ccc; }
        
        /* Mới: Style riêng cho thẻ Select (Dropdown) trong Form */
        select.form-input {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat;
            background-position: right 15px top 50%;
            background-size: 12px auto;
            padding-right: 30px;
            cursor: pointer;
        }

        .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

        .order-summary-box { background: var(--rice-paper); padding: 25px; border-radius: 8px; border: 1px solid #efe8d8; margin-top: 30px; }
        .order-summary-box h3 { font-family: var(--font-title); font-size: 18px; color: var(--primary-red); margin-top: 0; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; text-align: left;}
        .summary-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: #555;}
        .summary-total-line { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--dark-ink); margin-top: 20px; border-top: 2px solid #eee; padding-top: 15px; }

        /* --- 3. FOOTER (FIXED) --- */
        .app-footer { background-color: var(--primary-red); color: rgba(255,255,255,0.7); padding: 80px 0 40px; margin-top: 100px; position: relative; display: block; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }
        .footer-col h4 { font-family: var(--font-title); font-size: 16px; color: #fff; letter-spacing: 2px; margin-bottom: 30px; font-weight: 700; text-transform: uppercase; }
        .footer-col ul { list-style: none; padding: 0; margin: 0; }
        .footer-col ul li { margin-bottom: 12px; display: flex; align-items: center;}
        .footer-col ul li::before { content: "•"; color: rgba(255,255,255,0.4); margin-right: 10px; font-size: 12px; }
        .footer-col ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: 0.2s; cursor: pointer; }
        .footer-col ul li a:hover { color: #fff; }
        .footer-logo-img { filter: brightness(0) invert(1); opacity: 1; height: 80px; margin-bottom: 20px;}
        .social-links { display: flex; gap: 15px; margin-top: 25px; }
        .social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; text-decoration: none; transition: 0.3s; border: 1px solid rgba(255,255,255,0.2); }
        .social-links a:hover { background: #fff; border-color: #fff; color: var(--primary-red); transform: translateY(-3px); }
        .copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }

        /* --- HOTLINE BUTTON --- */
        .hotline-btn { position: fixed; right: 30px; bottom: 30px; z-index: 9999; display: flex; align-items: center; background: var(--primary-red); border-radius: 50px; padding: 5px; box-shadow: 0 5px 20px rgba(138, 28, 20, 0.4); cursor: pointer; text-decoration: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 50px; overflow: hidden; height: 50px; }
        .hotline-btn::before { content: ''; position: absolute; width: 100%; height: 100%; left: 0; top: 0; border-radius: 50px; background: var(--primary-red); z-index: -1; animation: pulse-ring 2s infinite; }
        .hotline-icon-box { width: 40px; height: 40px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-red); font-size: 18px; flex-shrink: 0; animation: shake-icon 4s infinite; }
        .hotline-text { color: #fff; font-family: var(--font-title); font-weight: 700; white-space: nowrap; font-size: 14px; opacity: 0; padding-left: 10px; padding-right: 15px; transition: opacity 0.3s; letter-spacing: 1px; }
        .hotline-btn:hover { width: 190px; background: var(--gold-solid); }
        .hotline-btn:hover::before { animation: none; display: none; }
        .hotline-btn:hover .hotline-icon-box { color: var(--gold-solid); animation: none; }
        .hotline-btn:hover .hotline-text { opacity: 1; }

        @keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.8); opacity: 0; } }
        @keyframes shake-icon { 0% { transform: rotate(0) scale(1); } 5% { transform: rotate(-10deg) scale(1.1); } 10% { transform: rotate(10deg) scale(1.1); } 15% { transform: rotate(-10deg) scale(1.1); } 20% { transform: rotate(10deg) scale(1.1); } 25% { transform: rotate(0) scale(1); } 100% { transform: rotate(0) scale(1); } }

        /* DESKTOP ONLY CLASSES */
        .desktop-only { display: block; }
        .mobile-only { display: none; }

        /* --- RESPONSIVE MEDIA QUERIES --- */
        @media (max-width: 768px) {
            /* MOBILE SPECIFIC UTILS */
            .mobile-only { display: block !important; }

            .app-header { background: #fff; border-bottom: 1px solid #eee; }
            .header-logo-img { height: 45px; }
            .mobile-header-right { display: flex; }
            .search-wrapper, .header-actions, .desktop-nav { display: none; }
            
            .main-layout { display: block; margin-top: 0; padding-bottom: 30px;}
            .sidebar { display: none; }
            
            .desktop-banners { display: flex; flex-direction: column; gap: 15px; margin: 20px 0;}
            .banner-large { height: 200px; width: 100%; border-radius: 12px; padding: 20px; min-width: 0;}
            .banner-small { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; height: auto; min-width: 0;}
            .banner-item { height: 120px; border-radius: 12px;}
            
            .mobile-categories { display: block; margin-bottom: 30px; margin-left: -15px; margin-right: -15px; padding: 0;}
            .cat-scroll { display: flex; gap: 15px; overflow-x: auto; scrollbar-width: none; padding: 0 15px 10px 15px;}
            .m-cat-item { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
            .m-cat-img { width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 1px solid var(--gold-solid); display: flex; align-items: center; justify-content: center; color: var(--primary-red); font-size: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
            .m-cat-name { margin-top: 8px; font-family: var(--font-title); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-align: center;}

            /* NÂNG CẤP PRODUCT GRID MOBILE */
            .product-grid { grid-template-columns: 1fr; gap: 15px; padding: 0; }
            .archive.woocommerce .products.row { display: flex; flex-direction: column; gap: 15px; margin: 0; padding: 0 15px; }
            .archive.woocommerce .products.row .col { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
            .product-card { 
                flex-direction: row; align-items: center; text-align: left; 
                padding: 12px; border: 1px solid #f0f0f0; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border-radius: 12px; 
            }
            .product-card:hover { transform: none; border-color: #eee; }
            
            .card-img-wrapper { height: 110px; width: 110px; flex-shrink: 0; border-radius: 8px; }
            .card-img-wrapper::after { height: 50%; } 
            
            .card-rating { bottom: 5px; left: 5px; font-size: 11px; }
            .card-rating span { font-size: 9px; }

            .card-body { padding: 0 0 0 15px; align-items: flex-start; text-align: left; justify-content: center; width: 100%;}
            .card-title { font-size: 15px; margin-bottom: 4px; line-height: 1.2;}
            .card-desc { font-size: 12px; margin-bottom: 8px; -webkit-line-clamp: 2;}
            
            .card-footer { margin-top: 0; border: none; padding: 0; width: 100%; display: flex; justify-content: space-between; align-items: flex-end;}
            .card-price-box .currency { font-size: 11px; }
            .card-price-box .amount { font-size: 16px; }
            
            .card-btn { display: none !important; }
            
            .mobile-add-btn { display: flex !important; width: 36px; height: 36px; background: var(--primary-red); color: #fff; border-radius: 50%; align-items: center; justify-content: center; position: relative; box-shadow: 0 3px 10px rgba(138, 28, 20, 0.3); font-size: 16px; z-index: 99999 !important;}

            /* CẬP NHẬT TRANG ABOUT TRÊN MOBILE */
            #about-page { margin: 20px auto; padding: 0 15px; }
            .about-content { padding: 30px 20px; outline-offset: -5px; }
            .about-grid { grid-template-columns: 1fr; gap: 30px; }
            .signature { font-size: 24px; margin-top: 20px; }

            .bottom-nav { display: flex; position: fixed; bottom: 0; width: 100%; height: 65px; background: #fff; border-top: 1px solid #eee; z-index: 999; justify-content: space-around; align-items: center; left: 0; }
            .nav-item { display: flex; flex-direction: column; align-items: center; color: #999; gap: 5px; font-size: 10px; text-transform: uppercase; font-family: var(--font-title); font-weight: 700;}
            .nav-item.active { color: var(--primary-red); }
            
            .app-footer { padding: 40px 20px 80px; text-align: center; margin-top: 40px; }
            .footer-grid { display: block; margin-bottom: 20px; }
            .footer-col { margin-bottom: 30px; }
            .footer-col h4 { margin-bottom: 15px; }
            .footer-col ul { display: inline-block; text-align: left; padding: 0; }
            .footer-col ul li { justify-content: flex-start; }
            .footer-logo-img { height: 50px; margin: 0 auto 15px; display: block;}
            .social-links { justify-content: center; margin-top: 20px; }
            .footer-col.links-col { display: none; }
            .hotline-btn { bottom: 80px; right: 20px; }

            /* Mobile Checkout */
            .checkout-grid { grid-template-columns: 1fr; gap: 30px; }
            .checkout-container { padding: 25px 20px; }
            .form-row-2 { grid-template-columns: 1fr; gap: 0; }
        }
        
        .mobile-add-btn, .mobile-categories, .bottom-nav { display: none; }
        .toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: var(--dark-ink); color: #fff; padding: 12px 30px; border-radius: 4px; font-family: var(--font-title); font-size: 12px; letter-spacing: 1px; opacity: 0; transition: 0.3s; pointer-events: none; z-index: 2000; box-shadow: 0 5px 20px rgba(0,0,0,0.3);}
        .toast.show { opacity: 1; bottom: 40px; }
        
        @media (max-width: 768px) {
            .toast.show { bottom: 85px; } /* Đẩy toast lên trên bottom nav */
        }

        /* Hide the default WooCommerce view cart link */
        .added_to_cart { display: none !important; }

/* =========================================
   APP-STYLE SINGLE PRODUCT PAGE
========================================= */
.app-single-product {
    background: transparent;
    min-height: 100vh;
    padding-bottom: 0;
    position: relative;
    font-family: var(--font-body, 'Lato', sans-serif);
}
.desktop-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
}

.app-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: var(--font-title);
    transition: 0.3s;
}
.app-back-btn:hover {
    color: var(--gold-solid);
}

/* --- DESKTOP LAYOUT --- */
.desktop-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    padding: 40px;
    border: 1px solid #eee;
}

.app-product-hero {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.app-product-hero img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 12px;
}
.app-product-hero::after {
    display: none;
}

.app-product-content-wrapper {
    padding: 0;
    margin-top: 0;
}

/* Desktop Add To Cart Box */
.inline-add-to-cart-box {
    background: #fdfaf5;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(74, 102, 49, 0.15);
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.d-price-row {
    display: flex;
    flex-direction: column;
}
.d-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
}
.d-amount {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark-ink);
}
.d-add-btn {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 5px 15px rgba(138, 28, 20, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.d-add-btn:hover {
    background: var(--gold-solid);
    transform: translateY(-2px);
}

.app-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.app-product-title {
    font-family: var(--font-title, 'Outfit', serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-ink, #1c1c1c);
    margin: 0 0 10px 0;
    flex: 1;
    line-height: 1.2;
}
.app-product-price-box {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.app-product-price-box .currency {
    font-size: 16px;
    color: var(--primary-red, #8a1c14);
    font-weight: 700;
}
.app-product-price-box .amount {
    font-size: 32px;
    color: var(--primary-red, #8a1c14);
    font-weight: 900;
    line-height: 1;
}

.app-product-rating {
    color: #ffc107;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.app-product-rating span {
    color: #888;
    font-size: 12px;
}

/* Options vertical list */
.app-section-title {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.opt-chip-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.opt-chip-row {
    display: block;
    cursor: pointer;
}
.opt-chip-row input {
    display: none;
}
.chip-row-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: 0.2s;
}
.opt-row-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    flex: 1;
}
.opt-row-price {
    font-size: 14px;
    color: #888;
    margin-right: 15px;
}
.custom-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    position: relative;
}
.opt-chip-row input:checked + .chip-row-inner {
    border-color: var(--primary-red, #8a1c14);
    background: #fdf5f4;
}
.opt-chip-row input:checked + .chip-row-inner .custom-radio-circle {
    border-color: var(--primary-red, #8a1c14);
}
.opt-chip-row input:checked + .chip-row-inner .custom-radio-circle::after {
    content: '';
    position: absolute;
    top: 4px; left: 4px;
    width: 8px; height: 8px;
    background: var(--primary-red, #8a1c14);
    border-radius: 50%;
}
.opt-chip-row input:checked + .chip-row-inner .opt-row-price {
    color: var(--primary-red, #8a1c14);
    font-weight: bold;
}

/* Tabs */
.app-product-tabs {
    margin-top: 30px;
}
.app-tab-headers {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}
.app-tab-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}
.app-tab-btn.active {
    color: var(--primary-red, #8a1c14);
}
.app-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-red, #8a1c14);
}
.app-tab-content {
    display: none;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.app-tab-content.active {
    display: block;
}

/* Mobile Specific App Single Product Overrides */
@media (max-width: 768px) {
    .app-single-product {
        background: #fdfaf5;
        padding-bottom: 80px;
    }
    .desktop-container {
        margin: 0;
        padding: 0;
    }
    .desktop-product-grid {
        display: block;
        padding: 0;
        box-shadow: none;
        border: none;
        background: transparent;
        border-radius: 0;
    }
    .app-back-btn {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.9);
        border-radius: 50%;
        display: flex;
        color: #1c1c1c;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        margin: 0;
    }
    .app-product-hero {
        height: 350px;
        border-radius: 0;
    }
    .app-product-hero img {
        height: 100%;
        border-radius: 0;
    }
    .app-product-hero::after {
        display: block;
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to top, rgba(253, 250, 245, 1) 0%, rgba(253, 250, 245, 0.8) 40%, transparent 100%);
    }
    .app-product-content-wrapper {
        padding: 0 20px;
        margin-top: -20px;
        position: relative;
        z-index: 2;
    }
    .app-product-header {
        align-items: flex-start;
    }
    .app-product-title {
        font-size: 24px;
    }
    .app-product-price-box {
        text-align: right;
        flex-direction: column;
    }
    .app-product-price-box .currency {
        font-size: 12px;
    }
    .app-product-price-box .amount {
        font-size: 22px;
    }
    
    /* Fixed Bottom Bar */
    .app-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 999;
    }
    .bottom-bar-price {
        display: flex;
        flex-direction: column;
    }
    .bb-label {
        font-size: 11px;
        color: #888;
        text-transform: uppercase;
        font-weight: 700;
    }
    .bb-amount {
        font-size: 20px;
        font-weight: 900;
        color: var(--dark-ink, #1c1c1c);
    }
    .bb-add-btn {
        background: var(--primary-red, #8a1c14);
        color: #fff;
        border: none;
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 14px;
        box-shadow: 0 5px 15px rgba(138, 28, 20, 0.3);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: 0.2s;
    }
    .bb-add-btn:active {
        transform: scale(0.96);
    }
}

/* Visibility Helpers */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
}
@media (min-width: 769px) {
    .mobile-only { display: none !important; }
}

/* =========================================
   FULL WIDTH DETAILS (DESC & REVIEWS)
========================================= */
.app-product-details-full {
    margin: 50px auto 0 auto;
    max-width: 800px;
}
.app-card-style {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .app-product-details-full {
        padding: 0 20px;
        margin-top: 30px;
    }
    .app-card-style {
        padding: 20px;
    }
}

/* =========================================
   RELATED PRODUCTS (APP STYLE)
========================================= */
.app-related-section {
    margin-bottom: 40px;
}
.app-related-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.rel-img-link {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.rel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.related-card:hover .rel-img {
    transform: scale(1.05);
}
.rel-info {
    padding: 15px;
    text-align: center;
}
.rel-title {
    display: block;
    font-family: var(--font-title, 'Outfit', serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-ink);
    text-decoration: none;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rel-price {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 768px) {
    .app-related-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .app-related-scroll::-webkit-scrollbar {
        display: none;
    }
    .related-card {
        flex: 0 0 200px;
        scroll-snap-align: start;
    }
}

/* =========================================
   PROFESSIONAL REVIEWS RE-STYLING
========================================= */
#reviews {
    margin-top: 20px;
}
#reviews h2 {
    font-family: var(--font-title, 'Outfit', serif);
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--dark-ink);
}
.woocommerce-Reviews .commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce-Reviews .commentlist li.review {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}
.woocommerce-Reviews .commentlist li.review img.avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    float: left;
    margin-right: 15px;
}
.woocommerce-Reviews .comment-text {
    margin-left: 55px;
}
.woocommerce-Reviews .star-rating {
    float: right;
    color: #ffc107;
    font-size: 14px;
}
.woocommerce-Reviews .meta {
    margin-bottom: 10px;
    color: #888;
    font-size: 12px;
}
.woocommerce-Reviews .meta strong {
    color: var(--dark-ink);
    font-size: 15px;
    font-weight: 700;
    margin-right: 5px;
}
.woocommerce-Reviews .description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Review Form Styling (CLEAN & COMPACT) */
.app-reviews-content #respond,
.app-reviews-content #review_form_wrapper,
.app-reviews-content .comment-respond,
.app-reviews-content form.comment-form {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

#review_form_wrapper h3.comment-reply-title {
    font-family: var(--font-title, 'Outfit', serif) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--dark-ink) !important;
    margin-bottom: 20px !important;
    text-align: center;
    border-bottom: none !important;
}

#review_form_wrapper .comment-form-rating {
    text-align: center;
    margin-bottom: 20px;
}

#review_form_wrapper .comment-form-rating label {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
    display: block;
}

/* Fix Stars */
#review_form_wrapper p.stars {
    text-align: center;
    margin-bottom: 15px;
}
#review_form_wrapper p.stars a {
    color: #e0e0e0;
    transition: 0.2s;
    border-right: none !important;
}
#review_form_wrapper p.stars a:hover,
#review_form_wrapper p.stars a:focus,
#review_form_wrapper p.stars a.active {
    color: #FFD700 !important;
}

/* Inputs */
#review_form_wrapper .comment-form-comment label,
#review_form_wrapper .comment-form-author label,
#review_form_wrapper .comment-form-email label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    display: block;
}

#review_form_wrapper textarea,
#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"] {
    width: 100% !important;
    background: #fdfdfd !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    color: #333 !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    margin-bottom: 15px !important;
}

#review_form_wrapper textarea {
    min-height: 100px;
}

#review_form_wrapper textarea:focus,
#review_form_wrapper input[type="text"]:focus,
#review_form_wrapper input[type="email"]:focus {
    background: #fff !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 3px rgba(138, 28, 20, 0.1) !important;
    outline: none !important;
}

/* Submit Button */
#review_form_wrapper .form-submit {
    text-align: center;
    margin-top: 15px;
}
#review_form_wrapper input[type="submit"] {
    background: var(--primary-red) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 35px !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(138, 28, 20, 0.2) !important;
    transition: 0.3s !important;
}
#review_form_wrapper input[type="submit"]:hover {
    background: var(--dark-ink) !important;
    box-shadow: 0 6px 15px rgba(28, 28, 28, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Quick Review Chips */
#quick-review-chips {
    margin: 5px 0 15px 0;
}
.q-chips-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
}
.quick-chips-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.q-chip {
    background: #f0f0f0;
    color: #444;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #e5e5e5;
    user-select: none;
    font-weight: 500;
}
.q-chip:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* =========================================
   WOOCOMMERCE ARCHIVE OVERRIDES (APP VIBE)
   ========================================= */

/* Background */
.archive.woocommerce #main {
    background-color: var(--bg-light);
}

/* Hide breadcrumbs and result count */
.archive.woocommerce .shop-page-title {
    display: none !important;
}
.archive.woocommerce .category-page-row {
    padding-top: 30px;
}

/* Sidebar Styling */
@media (min-width: 850px) {
    .archive.woocommerce #shop-sidebar {
        position: sticky !important;
        top: 110px !important;
        align-self: flex-start;
    }
}

.archive.woocommerce .widget_product_categories {
    background: #fff;
    border-radius: 12px;
    padding: 15px 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}
.archive.woocommerce .widget_product_categories .widget-title,
.archive.woocommerce .widget_product_categories .is-divider {
    display: none !important;
}

/* Sidebar List */
.archive.woocommerce ul.product-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.archive.woocommerce ul.product-categories li {
    padding: 12px 15px !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    color: var(--text-grey) !important;
    font-size: 15px !important;
    border-bottom: 1px solid rgba(74, 102, 49, 0.05);
    margin-bottom: 4px;
    border-radius: 8px;
}
.archive.woocommerce ul.product-categories li:last-child {
    border-bottom: none;
}
.archive.woocommerce ul.product-categories li a {
    color: inherit !important;
    flex-grow: 1;
    font-weight: 500;
}
.archive.woocommerce ul.product-categories li::before {
    content: "\f105"; /* Angle right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 12px;
    color: #ccc;
    transition: 0.3s;
}
.archive.woocommerce ul.product-categories li:hover, 
.archive.woocommerce ul.product-categories li.current-cat {
    color: var(--primary-red) !important;
    font-weight: bold;
    background: rgba(74, 102, 49, 0.08);
    padding-left: 20px !important;
    box-shadow: 0 4px 15px rgba(74, 102, 49, 0.08);
    transform: translateX(5px);
    border-bottom-color: transparent;
}
.archive.woocommerce ul.product-categories li:hover::before,
.archive.woocommerce ul.product-categories li.current-cat::before {
    color: var(--primary-red);
}

/* Hide other widgets on sidebar for cleanliness */
.archive.woocommerce #shop-sidebar .widget:not(.widget_product_categories) {
    display: none !important;
}

/* =========================================
   PERFECT PRODUCT CARD CLONE FOR FLATSOME
   ========================================= */

/* Grid item wrapper */
.archive.woocommerce .products .product-small.box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0;
    transition: 0.3s;
}
.archive.woocommerce .products .product-small.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Image Wrapper */
.archive.woocommerce .products .product-small.box .box-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.archive.woocommerce .products .product-small.box .box-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Fix image height */
.archive.woocommerce .products .product-small.box .box-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f8f9fa;
}

/* Text Wrapper */
.archive.woocommerce .products .product-small.box .box-text {
    padding: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Title */
.archive.woocommerce .products .product-small.box .title-wrapper {
    margin-bottom: 5px;
}
.archive.woocommerce .products .product-small.box .product-title {
    font-family: var(--font-title);
    font-size: 16px !important;
    font-weight: 700;
    color: var(--dark-ink);
    margin-bottom: 5px;
    line-height: 1.3;
}
.archive.woocommerce .products .product-small.box .product-title a {
    color: var(--dark-ink) !important;
}

/* Excerpt injected via PHP */
.archive.woocommerce .products .product-small.box .app-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
    flex-grow: 1;
}

/* Price & Button Wrapper */
.archive.woocommerce .products .product-small.box .price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    width: 100%;
}

/* Price */
.archive.woocommerce .products .product-small.box .price {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #4a6631; /* Green */
    font-weight: 800;
    font-size: 18px;
}
.archive.woocommerce .products .product-small.box .price .woocommerce-Price-currencySymbol {
    display: none; /* Hide default currency symbol */
}
.archive.woocommerce .products .product-small.box .price::before {
    content: "CHF";
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
}

/* Hinzufügen Button */
.archive.woocommerce .products .product-small.box .add_to_cart_button {
    background: #4a6631 !important; /* Green */
    color: #fff !important;
    border-radius: 50px !important;
    padding: 8px 15px !important;
    font-size: 0 !important; /* Hide default text */
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 10px rgba(74, 102, 49, 0.2) !important;
    min-height: auto !important;
    line-height: 1 !important;
}
.archive.woocommerce .products .product-small.box .add_to_cart_button::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
}
.archive.woocommerce .products .product-small.box .add_to_cart_button::after {
    content: "HINZUFÜGEN";
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-body);
}
.archive.woocommerce .products .product-small.box .add_to_cart_button:hover {
    background: var(--dark-ink) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Hide rating and category in loop to keep it clean like the screenshot */
.archive.woocommerce .products .product-small.box .category,
.archive.woocommerce .products .product-small.box .star-rating {
    display: none !important;
}

/* =========================================
   HIDE DEFAULT FLATSOME SIDEBAR COLUMN
   ========================================= */
.archive.woocommerce .category-page-row > .col.large-3 {
    display: none !important;
}
.archive.woocommerce .category-page-row > .col.large-9 {
    max-width: 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
}

/* =========================================
   FAKE SIDEBAR LAYOUT FOR WOOCOMMERCE ARCHIVE
   ========================================= */
.app-sidebar-fake-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    width: 100%;
}
.app-sidebar-fake {
    width: 280px;
    flex-shrink: 0;
}
.app-shop-grid-wrapper {
    flex-grow: 1;
    width: calc(100% - 310px);
}
@media (max-width: 849px) {
    .app-sidebar-fake-wrapper {
        flex-direction: column;
    }
    .app-sidebar-fake {
        width: 100%;
        margin-bottom: 30px;
    }
    .app-shop-grid-wrapper {
        width: 100%;
    }
}

