/* --- CSS VARIABLES --- */
        :root {
            /* Light Theme Defaults */
            --color-primary: #3A4D39; 
            --color-primary-dark: #2c3b2b;
            --color-secondary: #D4A373;
            --color-accent: #BC6C25;
            --color-bg: #FAF9F6;
            --color-card-bg: #FFFFFF;
            --color-text: #2C2C2C;
            --color-text-light: #666666;
            --color-border: #ddd;
            --color-whatsapp: #25D366;
            
            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 2rem;
            --spacing-lg: 4rem;
            
            --border-radius: 12px;
            --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
            --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
            
            --font-heading: 'Cairo', sans-serif;
            --font-body: 'Cairo', sans-serif;
        }

        /* Dark Theme Variables */
        body.dark-mode {
            --color-bg: #121212;
            --color-card-bg: #1E1E1E;
            --color-text: #E0E0E0;
            --color-text-light: #AAAAAA;
            --color-border: #333333;
            --color-primary: #4e6650;
            --shadow-sm: 0 4px 6px rgba(0,0,0,0.3);
            --shadow-md: 0 10px 15px rgba(0,0,0,0.4);
        }

        /* Smooth Transition for Theme Switch */
        body, header, section, .product-card, .modal-content, .feature-card, .mobile-theme-btn {
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: var(--font-body); background-color: var(--color-bg); color: var(--color-text); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; object-fit: cover; }

        /* --- UTILITIES --- */
        .container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-sm); }
        
        .btn {
            display: inline-block; padding: 12px 24px;
            background-color: var(--color-primary); color: white;
            font-family: var(--font-body); font-weight: 700;
            border: none; border-radius: var(--border-radius);
            cursor: pointer; transition: all 0.3s ease;
        }
        .btn:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
        
        .section-title { font-family: var(--font-heading); font-size: 2.5rem; text-align: center; margin-bottom: var(--spacing-sm); color: var(--color-primary); }
        .section-subtitle { text-align: center; color: var(--color-text-light); max-width: 700px; margin: 0 auto var(--spacing-md); }

        /* --- HEADER --- */
        header { background-color: var(--color-card-bg); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; padding: var(--spacing-sm) 0; }
        .nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
        
        .logo { 
            font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; 
            color: var(--color-primary); display: flex; align-items: center; gap: 10px; 
            z-index: 1001;
        }
        .logo span { color: var(--color-secondary); }
        
        .nav-container { display: flex; align-items: center; gap: 20px; }
        nav ul { display: flex; gap: var(--spacing-md); }
        nav a:hover { color: var(--color-accent); font-weight: 700; }

        /* Desktop Theme Toggle Styling */
        .desktop-theme-toggle {
            background: transparent;
            border: 1px solid var(--color-border);
            color: var(--color-text);
            width: 40px; height: 40px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            margin-left: 10px;
            transition: all 0.3s;
        }
        .desktop-theme-toggle:hover { background-color: var(--color-bg); }

        /* Mobile Theme Item Styling (Hidden by default) */
        .mobile-theme-item {
            display: none; /* Hidden on Desktop */
            border-top: 1px solid var(--color-border);
            margin-top: 10px;
            padding-top: 10px;
        }

        .mobile-theme-btn {
            display: flex; align-items: center; justify-content: center; gap: 10px;
            width: 100%; padding: 12px;
            background-color: var(--color-bg);
            border: 1px solid var(--color-primary);
            color: var(--color-text);
            border-radius: 8px;
            font-family: var(--font-body);
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
        }
        .mobile-theme-btn:hover {
            background-color: var(--color-primary);
            color: white;
        }

        .hamburger { display: none; cursor: pointer; flex-direction: column; justify-content: space-between; width: 30px; height: 24px; z-index: 1002; }
        .line { width: 100%; height: 3px; background-color: var(--color-primary); border-radius: 2px; transition: all 0.3s ease; }

        .cart-icon { position: relative; cursor: pointer; padding: 5px; z-index: 1001; }
        .cart-count {
            position: absolute; top: -5px; right: -5px;
            background-color: var(--color-accent); color: white;
            font-size: 0.7rem; width: 20px; height: 20px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold;
        }

        /* --- HERO --- */
        .hero {
            position: relative; height: 80vh; min-height: 500px;
            display: flex; align-items: center; justify-content: center; text-align: center;
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover; background-position: center; color: white;
        }
        .hero-content { max-width: 800px; padding: var(--spacing-md); }
        .hero h1 { font-family: var(--font-heading); font-size: 4rem; margin-bottom: var(--spacing-sm); line-height: 1.2; }
        .hero p { font-size: 1.25rem; margin-bottom: var(--spacing-md); text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

        /* --- WHY US SECTION --- */
        .why-us-section {
            background-color: var(--color-primary);
            color: white;
            padding: var(--spacing-lg) 0;
            position: relative;
            overflow: hidden;
        }
        .why-us-section::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTAsMC4wNSkiLz48L3N2Zz4=');
            opacity: 0.5;
        }
        .why-header { text-align: center; margin-bottom: var(--spacing-lg); position: relative; z-index: 1; }
        .why-header h2 { color: white; }
        .why-header p { color: rgba(255,255,255,0.8); }

        .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; position: relative; z-index: 1; }
        .feature-card {
            background: #ffffff;
            color: #2C2C2C;
            padding: 40px 25px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.1);
        }
        body.dark-mode .feature-card {
            background: #2d332d;
            color: #E0E0E0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        .feature-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
        .feature-number { position: absolute; top: -10px; right: 10px; font-size: 80px; font-weight: 900; color: #f0f0f0; z-index: 0; line-height: 1; pointer-events: none; }
        body.dark-mode .feature-number { color: #3e4b3e; }
        .feature-icon { width: 70px; height: 70px; background-color: var(--color-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: white; z-index: 1; position: relative; transition: transform 0.3s; }
        .feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); background-color: var(--color-accent); }
        .feature-card h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 10px; color: var(--color-primary); position: relative; z-index: 1; }
        body.dark-mode .feature-card h3 { color: var(--color-secondary); }
        .feature-card p { color: #666; font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 1; }
        body.dark-mode .feature-card p { color: #cccccc; }

        /* --- PRODUCTS --- */
        .products-section { padding: var(--spacing-lg) 0; }
        
        .filters { display: flex; justify-content: center; gap: var(--spacing-sm); margin-bottom: var(--spacing-md); flex-wrap: wrap; }
        .filter-btn { 
            background: var(--color-card-bg); border: 1px solid var(--color-border); padding: 8px 24px; border-radius: 20px; 
            cursor: pointer; transition: 0.3s; font-family: var(--font-body); font-weight: 600;
            color: var(--color-text);
        }
        .filter-btn.active, .filter-btn:hover { background-color: var(--color-primary); color: white; border-color: var(--color-primary); }
        
        .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-md); }
        .product-card { background: var(--color-card-bg); border-radius: var(--border-radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
        .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
        .product-image { height: 250px; width: 100%; overflow: hidden; }
        .product-image img { width: 100%; height: 100%; transition: transform 0.5s; }
        .product-card:hover .product-image img { transform: scale(1.05); }
        
        .product-info { padding: var(--spacing-sm); display: flex; flex-direction: column; flex-grow: 1; }
        .product-category { font-size: 0.85rem; text-transform: uppercase; color: var(--color-secondary); font-weight: 700; margin-bottom: 4px; }
        .product-title { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 8px; color: var(--color-primary); font-weight: 700; }
        body.dark-mode .product-title { color: var(--color-secondary); }
        .product-desc { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 16px; flex-grow: 1; }
        
        .product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--color-border); padding-top: 12px; flex-wrap: wrap; gap: 10px; }
        .price-wrapper { display: flex; align-items: center; }
        .price { font-weight: 800; font-size: 1.2rem; color: var(--color-text); }
        .actions-wrapper { display: flex; gap: 5px; }

        .add-btn {
            background: none; border: 2px solid var(--color-primary); color: var(--color-primary);
            padding: 6px 12px; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: 0.2s;
        }
        .add-btn:hover { background-color: var(--color-primary); color: white; }

        .order-btn {
            background-color: var(--color-accent); border: none; color: white;
            padding: 6px 12px; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: 0.2s;
        }
        .order-btn:hover { background-color: #a65a1e; }

        /* --- CART MODAL --- */
        .modal {
            display: none; position: fixed; z-index: 2000; left: 0; top: 0;
            width: 100%; height: 100%; background-color: rgba(0,0,0,0.8);
            align-items: center; justify-content: center;
        }
        .modal.open { display: flex; }
        
        .modal-content {
            background-color: var(--color-card-bg); padding: var(--spacing-md);
            border-radius: var(--border-radius); width: 90%; max-width: 500px;
            position: relative; box-shadow: var(--shadow-md);
            animation: slideUp 0.3s ease-out;
            color: var(--color-text);
        }
        @keyframes slideUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        .close-modal { position: absolute; top: 15px; left: 20px; font-size: 28px; font-weight: bold; cursor: pointer; color: #aaa; }
        .close-modal:hover { color: #000; }
        body.dark-mode .close-modal:hover { color: #fff; }
        .cart-items-list { max-height: 300px; overflow-y: auto; margin: var(--spacing-sm) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
        .cart-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f9f9f9; font-weight: 600; align-items: center; }
        body.dark-mode .cart-item { border-bottom: 1px solid #333; }
        .cart-item:last-child { border-bottom: none; }
        .cart-total { font-size: 1.4rem; font-weight: 800; text-align: left; margin-bottom: var(--spacing-sm); color: var(--color-primary); }
        .btn-whatsapp {
            background-color: var(--color-whatsapp); color: white; width: 100%; text-align: center;
            font-size: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 10px;
        }
        .btn-whatsapp:hover { background-color: #1ebc57; }

        /* --- FOOTER --- */
        footer { background-color: #111; color: #ccc; padding: var(--spacing-lg) 0 var(--spacing-md); margin-top: var(--spacing-lg); }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--spacing-lg); margin-bottom: var(--spacing-md); text-align: right; }
        .footer-col h4 { color: white; font-family: var(--font-heading); margin-bottom: var(--spacing-sm); font-size: 1.2rem; }
        .copyright { text-align: center; border-top: 1px solid #333; padding-top: var(--spacing-md); font-size: 0.85rem; }

        /* --- RESPONSIVE & MOBILE MENU --- */
        @media (max-width: 768px) {
            /* Hide Desktop Toggle */
            .desktop-theme-toggle { display: none; }
            /* Show Mobile Toggle inside list */
            .mobile-theme-item { display: block; }

            /* Hero Mobile Updates */
            .hero { height: 60vh; min-height: 350px; background-position: center; }
            .hero h1 { font-size: 2.2rem; margin-bottom: 10px; line-height: 1.3; }
            .hero p { font-size: 1rem; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
            .hero .btn { padding: 10px 20px; font-size: 0.9rem; }

            .product-title { font-size: 1.1rem; }
            
            .hamburger { display: flex; margin-left: 15px; }
            
            nav ul {
                position: absolute; top: 100%; right: 0; width: 100%;
                flex-direction: column; background-color: var(--color-card-bg);
                padding: var(--spacing-md) 0; box-shadow: 0 5px 10px rgba(0,0,0,0.1);
                transform: translateY(-150%); transition: transform 0.4s ease-in-out; z-index: 999;
                border-bottom: 1px solid var(--color-border);
            }
            nav ul.active { transform: translateY(0); }
            nav li { width: 100%; text-align: center; }
            nav a { display: block; padding: 10px 0; width: 100%; font-size: 1.1rem; }
            
            .product-footer { flex-direction: column; align-items: stretch; }
            .actions-wrapper { justify-content: space-between; }
            .add-btn, .order-btn { flex: 1; text-align: center; }
        }