        /* الألوان المستوحاة من الشعار */
        :root {
            --primary: #7A5230;     
            --secondary: #966740;   
            --accent: #DDA15E;      
            --bg-color: #FDFBF7;    
            --surface: #ffffff;
            --text-dark: #3E2723;   
            --text-light: #8D6E63;
            --border: #EAE6DF;
            --footer-bg: #2D1B15;   
        }

        [data-theme="dark"] {
            --primary: #DDA15E;     
            --secondary: #E6B981;
            --accent: #C49A6C; 
            --bg-color: #2a211e;    /* تعديل: لون خلفية أفتح قليلاً وأكثر نعومة */
            --surface: #3a2e2a;     /* تعديل: لون البطاقات أفتح لتمييزها عن الخلفية */
            --text-dark: #F5EFEA;
            --text-light: #BCAAA4;
            --border: #5a463f;      /* تعديل: إطار أفتح قليلاً */
            --footer-bg: #1e1614;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Tajawal', sans-serif; }
        :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
        body { background-color: var(--bg-color); color: var(--text-dark); overflow-x: hidden; transition: background-color 0.3s, color 0.3s; display: flex; flex-direction: column; min-height: 100vh;}
        button { cursor: pointer; transition: all 0.3s ease; font-family: 'Tajawal', sans-serif; }
        
        /* الهيدر والشعار (الإطار الدائري الذهبي) */
        .navbar { background-color: var(--surface); padding: 10px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; transition: background-color 0.3s; }
        
        .logo-container { height: 70px; display: flex; justify-content: center; align-items: center; cursor: pointer; background: transparent; }
        .logo-container img { height: 100%; width: auto; object-fit: contain; }
        
        .search-container { flex: 1; max-width: 350px; margin: 0 20px; position: relative; }
        .search-input { width: 100%; padding: 10px 15px 10px 40px; border-radius: 25px; border: 1px solid var(--border); background-color: var(--bg-color); color: var(--text-dark); outline: none; }
        .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-light); }
        .nav-controls { display: flex; align-items: center; gap: 15px; }
        .theme-toggle { background: none; border: none; font-size: 1.4rem; color: var(--text-dark); }
        .cart-icon-container { position: relative; cursor: pointer; padding: 5px; }
        .cart-badge { position: absolute; top: -5px; right: -5px; background-color: var(--accent); color: #1a1a1a; font-size: 0.7rem; font-weight: bold; height: 20px; width: 20px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }

        /* التنقل بين الصفحات */
        .page-section { display: none; flex: 1; padding: 20px 5% 60px; animation: fadeIn 0.4s ease; }
        .page-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* الصفحة الرئيسية */
        .hero { background: var(--primary) url('../img/header.png') center/cover; text-align: center; padding: 80px 20px; margin: -20px -5.5% 30px; }
        /* هذا سيجعل عنوان "لمسات رقمية" باللون البني الغامق */
        .hero h1 { font-size: 3rem; margin-bottom: 10px; font-weight: 900; color: var(--primary); }
        /* هذا سيجعل النص الصغير تحته بلون رمادي غامق ليقرأ بوضوح */
        .hero p { font-size: 1.2rem; margin-bottom: 25px; opacity: 0.9; color: var(--text-dark); }
        /* تعتيم الهيدر في الوضع الليلي فقط */
        [data-theme="dark"] .hero {
        position: relative;
        }
        [data-theme="dark"] .hero::before {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.6); /* طبقة سوداء شفافة بنسبة 60% */
            z-index: 1;
        }
        [data-theme="dark"] .hero h1,
        [data-theme="dark"] .hero p,
        [data-theme="dark"] .hero button {
            position: relative;
            z-index: 2; /* إبقاء النصوص والأزرار فوق الطبقة الداكنة */
        }
        /* جعل نصوص الهيدر فاتحة في الوضع الليلي لتقرأ بوضوح */
        [data-theme="dark"] .hero h1 { color: #fdfbf7; }
        [data-theme="dark"] .hero p { color: #eae6df; }
        .features { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 30px 5%; background-color: var(--surface); border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); margin-bottom: 40px; }
        .feature-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: bold; }
        .feature-item i { font-size: 1.5rem; color: var(--primary); }

        .filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
        .filter-btn { background-color: var(--surface); color: var(--text-dark); border: 1px solid var(--border); padding: 8px 20px; border-radius: 20px; font-weight: bold; }
        .filter-btn.active { background-color: var(--primary); color: #ffffff; border-color: var(--primary); }
        [data-theme="dark"] .filter-btn.active { color: #1a1a1a; }
        
        .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; max-width: 1400px; margin: 0 auto; }
        .product-card { background: var(--surface); border-radius: 15px; overflow: hidden; border: 1px solid var(--border); transition: 0.3s; text-align: center; display: flex; flex-direction: column;}
        .product-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
        .product-img-wrap { width: 100%; height: 220px; cursor: pointer; position: relative;}
        .product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
        .category-tag { position: absolute; top: 10px; right: 10px; background: var(--accent); color: #1a1a1a; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
        .product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between;}
        .product-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 5px; cursor: pointer; color: var(--text-dark);}
        .product-price { font-size: 1.3rem; font-weight: 900; color: var(--primary); margin: 10px 0; }
        .old-price { text-decoration: line-through; color: #dc3545; font-size: 0.8rem; margin-right: 5px; opacity: 0.8; font-weight: normal;}
        .btn-add { background-color: var(--primary); color: #ffffff; border: none; padding: 10px; border-radius: 8px; font-weight: bold; width: 100%; margin-top: auto;}
        .btn-add:hover { background-color: var(--secondary); }
        [data-theme="dark"] .btn-add { color: #1a1a1a; }

        /* صفحة تفاصيل المنتج */
        .product-details-container { display: flex; background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); max-width: 1000px; margin: 0 auto; border: 1px solid var(--border); }
        .product-image-side { flex: 1; min-height: 300px; }
        .product-image-side img { width: 100%; height: 100%; object-fit: cover; }
        .product-info-side { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
        .det-title { font-size: 2rem; color: var(--text-dark); margin-bottom: 10px; }
        .det-price { font-size: 1.8rem; color: var(--primary); font-weight: 900; margin-bottom: 20px; }
        .det-desc { font-size: 1.1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
        
        /* خيارات المنتج */
        .product-options-container { margin-bottom: 25px; text-align: right;}
        .product-options-container select { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--border); background-color: var(--bg-color); color: var(--text-dark); font-family: 'Tajawal', sans-serif; font-size: 1rem; font-weight: bold; outline: none;}
        .product-options-container select:focus { border-color: var(--primary); }

        .actions-group { display: flex; gap: 15px; }
        .btn-back { background-color: var(--surface); color: var(--text-dark); border: 2px solid var(--border); padding: 12px 20px; border-radius: 8px; font-weight: bold; text-decoration: none; cursor: pointer; text-align: center; border: 1px solid var(--border);}
        .btn-back:hover { background-color: var(--bg-color); }

        /* نافذة الخيارات المنبثقة (Modal) للرئيسية */
        .options-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); background: var(--surface); z-index: 1001; width: 90%; max-width: 400px; border-radius: 15px; padding: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transition: 0.3s; border: 1px solid var(--border); }
        .options-modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
        .modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 15px; margin-bottom: 15px;}
        .modal-header h3 { margin: 0; color: var(--text-dark); font-size: 1.3rem; }

        /* الصفحات المعلوماتية مع زر العودة */
        .info-card { background-color: var(--surface); max-width: 800px; width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 50px; border: 1px solid var(--border); position: relative; overflow: hidden; margin: 0 auto; }
        .info-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 8px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
        .info-icon { font-size: 4rem; color: var(--primary); margin-bottom: 20px; text-align: center; display: block; }
        .info-title { font-size: 2.5rem; color: var(--text-dark); margin-bottom: 20px; text-align: center; }
        .info-text { font-size: 1.1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 30px; text-align: center; }
        .btn-inner-back { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-color); border: 1px solid var(--border); padding: 10px 20px; border-radius: 10px; font-weight: bold; color: var(--primary); cursor: pointer; transition: 0.3s; margin-bottom: 30px;}
        .btn-inner-back:hover { background: var(--border); }
        
        .vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
        .box { background-color: var(--bg-color); padding: 30px; border-radius: 15px; border: 1px solid var(--border); text-align: right; }
        .box h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.4rem; }
        .policy-alert { background-color: rgba(220, 53, 69, 0.1); color: #dc3545; padding: 20px; border-radius: 10px; border-right: 5px solid #dc3545; text-align: right; margin-bottom: 30px; font-weight: bold;}
        .terms-list { list-style: none; margin-top: 30px; text-align: right; }
        .terms-list li { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px dashed var(--border); }
        .terms-list h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; }
        
        /* الفوتر والسلة */
        .footer { background-color: var(--footer-bg); color: #ffffff; padding: 40px 5% 20px; margin-top: auto; }
        .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; text-align: center; max-width: 1200px; margin: 0 auto;}
        .footer-logo-wrap { width: 100px; height: auto; background: #fff; border-radius: 15px; padding: 10px; margin-bottom: 15px; display: inline-block;}
        .footer-logo-wrap img { width: 100%; object-fit: contain; }
        .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
        .footer-links a { color: #cccccc; text-decoration: none; font-size: 0.9rem; cursor: pointer; transition: 0.3s;}
        .footer-links a:hover { color: var(--accent); }
        
        /* شارة التوثيق */
        .trust-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); text-decoration: none; color: #fff; transition: 0.3s; max-width: 250px; margin: 0 auto;}
        .trust-badge:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); }
        .trust-badge img { max-width: 120px; margin-bottom: 10px; border-radius: 8px; }

        .cart-drawer { position: fixed; top: 0; left: -450px; width: 380px; height: 100%; background: var(--surface); z-index: 1000; box-shadow: 5px 0 25px rgba(0,0,0,0.1); transition: 0.4s; display: flex; flex-direction: column; }
        .cart-drawer.active { left: 0; }
        .cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; display: none; }
        .cart-overlay.active { display: block; }
        .floating-whatsapp { position: fixed; bottom: 30px; left: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; z-index: 90; text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
        #toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
        .toast { background: var(--surface); border-right: 5px solid #25d366; padding: 15px 20px; border-radius: 8px; font-weight: bold; display: flex; align-items: center; gap: 10px; animation: slideIn 0.3s ease forwards, fadeOut 0.5s ease 2.5s forwards; }
        
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
        }

        @media (max-width: 768px) {
            .navbar { flex-wrap: wrap; gap: 10px; } .search-container { order: 3; max-width: 100%; margin: 5px 0; }
            .hero h1 { font-size: 2.2rem; } .product-details-container { flex-direction: column; }
            .actions-group { flex-direction: column; } .cart-drawer { width: 100%; left: -100%; }
            .vision-mission { grid-template-columns: 1fr; }
        }
        /* نافذة إتمام الطلب (بيانات العميل) */
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 3000; backdrop-filter: blur(5px); }
        .modal-box { background: white; padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

        /* === عناوين الأقسام الموحّدة === */
        .section-title { font-size: 2rem; font-weight: 900; color: var(--text-dark); text-align: center; margin: 55px 0 10px; }
        .section-title::after { content: ""; display: block; width: 70px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; margin: 14px auto 0; }
        .section-subtitle { text-align: center; color: var(--text-light); font-size: 1.05rem; margin: 0 auto 30px; max-width: 600px; }

        /* === كيف تطلب (خطوات العمل) === */
        .steps-section, .faq-section { max-width: 1100px; margin: 0 auto; }
        .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
        .step-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px 20px; text-align: center; transition: 0.3s; }
        .step-card:hover { transform: translateY(-6px); box-shadow: 0 10px 25px rgba(0,0,0,0.07); }
        .step-num { width: 50px; height: 50px; margin: 0 auto 15px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; }
        [data-theme="dark"] .step-num { color: #1a1a1a; }
        .step-card i { font-size: 1.6rem; color: var(--primary); margin-bottom: 10px; display: block; }
        .step-card h3 { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 8px; }
        .step-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }

        /* === آراء العملاء === */
        .testi-section { background: var(--surface); border-radius: 20px; padding: 40px 5%; margin: 20px auto; max-width: 1200px; border: 1px solid var(--border); }
        .testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
        .testi-card { background: var(--bg-color); border: 1px solid var(--border); border-radius: 16px; padding: 25px; text-align: right; display: flex; flex-direction: column; gap: 12px; }
        .testi-stars { color: #f5b50a; font-size: 0.95rem; letter-spacing: 2px; }
        .testi-text { color: var(--text-dark); line-height: 1.8; font-size: 0.98rem; flex: 1; }
        .testi-author { display: flex; align-items: center; gap: 12px; }
        .testi-avatar { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; flex-shrink: 0; }
        [data-theme="dark"] .testi-avatar { color: #1a1a1a; }
        .testi-author b { color: var(--text-dark); display: block; font-size: 0.95rem; }
        .testi-author span { color: var(--text-light); font-size: 0.8rem; }

        /* === الأسئلة الشائعة === */
        .faq-section { max-width: 800px; }
        .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
        .faq-item[open] { border-color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
        .faq-item summary { padding: 18px 20px; font-weight: 700; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 15px; list-style: none; font-size: 1.02rem; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after { content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--primary); transition: 0.3s; font-size: 0.9rem; flex-shrink: 0; }
        .faq-item[open] summary::after { content: "\f068"; }
        .faq-body { padding: 0 20px 20px; color: var(--text-light); line-height: 1.9; font-size: 0.95rem; }
        .faq-body a { color: var(--primary); font-weight: bold; cursor: pointer; }

        /* === بانر دعوة للتواصل === */
        .home-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 20px; padding: 50px 30px; text-align: center; color: #fff; margin: 55px auto 10px; max-width: 1100px; }
        [data-theme="dark"] .home-cta { background: linear-gradient(135deg, #3a2e2a, #1e1614); }
        .home-cta h2 { font-size: 1.8rem; margin-bottom: 12px; font-weight: 900; color: #fff; }
        .home-cta p { opacity: 0.92; margin: 0 auto 25px; max-width: 600px; line-height: 1.7; }
        .home-cta .cta-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--primary); padding: 14px 35px; border-radius: 30px; font-weight: 900; font-size: 1.05rem; text-decoration: none; transition: 0.3s; }
        .home-cta .cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
        [data-theme="dark"] .home-cta .cta-btn { background: var(--accent); color: #1a1a1a; }

        @media (max-width: 768px) {
            .section-title { font-size: 1.6rem; margin-top: 40px; }
            .testi-section { padding: 30px 20px; }
            .home-cta h2 { font-size: 1.4rem; }
        }
    