 /* --- متغیرها (همان متغیرهای موبایل شما) --- */
        :root {
            --primary: #0f172a;
            --accent: #3b82f6;
            --success: #10b981;
            --warning: #f59e0b;
            --bg-gray: #f1f5f9;
            --sidebar-bg: #ffffff;
            --card-bg: #ffffff;
            --text-main: #334155;
            --text-light: #64748b;
            --border-radius: 16px;
            --border-color: #e2e8f0;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; outline: none; font-family: 'Vazirmatn', sans-serif; text-decoration: none; }

        body { background-color: var(--bg-gray); color: var(--text-main); display: flex; height: 100vh; overflow: hidden; }

        /* --- سایدبار ثابت --- */
        .sidebar { width: 260px; background-color: var(--sidebar-bg); border-left: 1px solid var(--border-color); display: flex; flex-direction: column; padding: 20px; z-index: 100; }
        .brand-logo { font-size: 22px; font-weight: 800; color: var(--accent); display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
        .nav-menu { display: flex; flex-direction: column; gap: 10px; flex: 1; }
        .nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-radius: 12px; color: var(--text-light); font-weight: 500; font-size: 14px; transition: 0.2s; cursor: pointer; }
        .nav-item:hover { background-color: #f1f5f9; color: var(--accent); transform: translateX(-5px); }
        .nav-item.active { background-color: #eff6ff; color: var(--accent); font-weight: 700; }
        .nav-item i { width: 20px; text-align: center; font-size: 18px; }
        .sidebar-footer { margin-top: auto; border-top: 1px solid #f1f5f9; padding-top: 20px; display: flex; align-items: center; gap: 10px; }
        .user-avatar { width: 40px; height: 40px; background: #eff6ff; color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }

        /* --- محتوای اصلی --- */
        .main-content { flex: 1; padding: 30px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }

        /* هدر صفحه */
        .page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .header-title { font-size: 24px; font-weight: 800; color: var(--primary); }
        
        .header-actions { display: flex; gap: 15px; align-items: center; }
        .icon-btn { width: 40px; height: 40px; border-radius: 12px; background: white; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-light); cursor: pointer; transition: 0.2s; position: relative; }
        .icon-btn:hover { border-color: var(--accent); color: var(--accent); }
        .badge { position: absolute; top: -5px; right: -5px; background: var(--warning); color: white; font-size: 10px; padding: 2px 6px; border-radius: 10px; }

        /* --- نوار ابزار (جستجو و فیلتر) --- */
        .toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: white; padding: 15px; border-radius: 16px; border: 1px solid var(--border-color); }
        
        .search-box { position: relative; flex: 1; max-width: 400px; }
        .search-box input { width: 100%; padding: 12px 40px 12px 15px; border-radius: 12px; border: 2px solid #f1f5f9; background: #f8fafc; font-family: inherit; transition: 0.3s; }
        .search-box input:focus { border-color: var(--accent); background: white; }
        .search-box i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-light); }

        .categories { display: flex; gap: 10px; }
        .chip { padding: 8px 16px; background: #f1f5f9; border: 1px solid var(--border-color); border-radius: 12px; font-size: 0.85rem; color: var(--text-main); cursor: pointer; transition: 0.2s; }
        .chip:hover { background: #e2e8f0; }
        .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

        .filter-btn { padding: 10px 20px; background: white; border: 1px solid var(--border-color); border-radius: 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: bold; color: var(--text-main); transition: 0.2s; }
        .filter-btn:hover { border-color: var(--accent); color: var(--accent); }

        /* --- Hero Section --- */
        .hero-card { 
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); 
            border-radius: 20px; 
            padding: 30px; 
            color: #fff; 
            display: flex; 
            align-items: center; 
            justify-content: space-between; 
            position: relative; 
            overflow: hidden; 
            box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
            min-height: 180px;
        }
        .hero-content { z-index: 2; max-width: 60%; }
        .hero-tag { background: rgba(255,255,255,0.2); padding: 6px 12px; border-radius: 8px; font-size: 0.8rem; margin-bottom: 15px; display: inline-block; backdrop-filter: blur(5px); }
        .hero-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }
        .hero-btn { background: var(--success); color: #fff; border: none; padding: 10px 25px; border-radius: 10px; font-size: 0.9rem; font-weight: bold; cursor: pointer; transition: 0.2s; }
        .hero-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
        .hero-image { width: 120px; height: 120px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.2); object-fit: cover; z-index: 2; box-shadow: 0 0 20px rgba(0,0,0,0.3); }

        /* --- Product Grid --- */
        .section-header { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
        .section-title { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
        .view-all { color: var(--accent); font-size: 0.9rem; font-weight: 600; cursor: pointer; }

        .product-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
            gap: 25px; 
        }

        .product-card { 
            background: var(--card-bg); 
            border-radius: 20px; 
            border: 1px solid var(--border-color);
            padding: 15px; 
            display: flex; 
            flex-direction: column; 
            gap: 15px; 
            transition: 0.3s; 
            position: relative;
        }
        
        .product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1); border-color: var(--accent); }

        .product-thumb-area { position: relative; width: 100%; height: 160px; border-radius: 15px; overflow: hidden; }
        .product-thumb { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .product-card:hover .product-thumb { transform: scale(1.05); }

        .bookmark-btn { 
            position: absolute; top: 10px; right: 10px; 
            width: 32px; height: 32px; 
            background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); 
            border-radius: 8px; display: flex; align-items: center; justify-content: center; 
            color: var(--text-light); cursor: pointer; z-index: 2; transition: 0.2s;
        }
        .bookmark-btn:hover { background: white; color: var(--accent); }
        .bookmark-btn.saved { color: var(--accent); }

        .play-overlay { 
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
            width: 40px; height: 40px; background: rgba(0,0,0,0.6); 
            border-radius: 50%; display: flex; align-items: center; justify-content: center; 
            color: white; backdrop-filter: blur(2px); opacity: 0.8; transition: 0.2s;
        }
        .product-card:hover .play-overlay { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

        .product-info { flex: 1; display: flex; flex-direction: column; gap: 10px; }
        .product-title { font-size: 1rem; font-weight: 800; color: var(--text-main); line-height: 1.5; }

        .guest-info { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--border-color); }
        .guest-icon { color: var(--accent); background: #eff6ff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
        .guest-details { display: flex; flex-direction: column; }
        .guest-name { font-size: 0.8rem; font-weight: 700; color: var(--text-main); }
        .guest-role { font-size: 0.7rem; color: var(--text-light); }

        .product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
        .rating-box { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--text-main); background: #fffbeb; padding: 4px 8px; border-radius: 8px; border: 1px solid #fef3c7; }
        .star { color: var(--warning); }

        .product-price { font-weight: 800; color: var(--success); font-size: 1.1rem; }
        
        .action-btn { 
            width: 36px; height: 36px; border-radius: 10px; 
            background: var(--primary); color: #fff; 
            display: flex; align-items: center; justify-content: center; 
            border: none; cursor: pointer; transition: 0.2s; 
        }
        .action-btn:hover { background: var(--accent); }

        .price-purchased { font-size: 0.8rem; color: var(--success); font-weight: bold; display: flex; align-items: center; gap: 5px; background: #dcfce7; padding: 5px 10px; border-radius: 8px; }
        .action-btn.purchased { background: #cbd5e1; color: white; cursor: default; }

        /* --- Modal (Desktop Filter) --- */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5); z-index: 999;
            opacity: 0; pointer-events: none; transition: 0.3s;
            backdrop-filter: blur(3px);
        }
        .modal-overlay.open { opacity: 1; pointer-events: auto; }

        .filter-modal {
            position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
            background: white; padding: 30px; border-radius: 24px; width: 400px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2); z-index: 1000;
            opacity: 0; pointer-events: none; transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .filter-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }

        .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
        .modal-title { font-weight: 800; font-size: 1.2rem; color: var(--primary); }
        .close-modal { cursor: pointer; color: var(--text-light); font-size: 1.2rem; transition: 0.2s; }
        .close-modal:hover { color: var(--accent); }

        .filter-group { margin-bottom: 25px; }
        .filter-label { font-size: 0.95rem; font-weight: bold; margin-bottom: 12px; display: block; color: var(--text-main); }
        .filter-options { display: flex; gap: 10px; flex-wrap: wrap; }
        
        .modal-filter-chip { 
            padding: 10px 18px; border: 2px solid #f1f5f9; border-radius: 12px; 
            font-size: 0.9rem; color: var(--text-light); cursor: pointer; transition: 0.2s; font-weight: 500;
        }
        .modal-filter-chip:hover { border-color: #cbd5e1; }
        .modal-filter-chip.selected { background: #eff6ff; border-color: var(--accent); color: var(--accent); font-weight: bold; }

        .apply-btn { 
            width: 100%; background: var(--primary); color: white; 
            padding: 15px; border-radius: 14px; border: none; 
            font-size: 1rem; font-weight: bold; cursor: pointer; transition: 0.2s; 
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
        }
        .apply-btn:hover { background: var(--accent); transform: translateY(-2px); }
