
        :root {
            --primary: #0f172a;
            --accent: #3b82f6;
            --bg-body: #f8fafc;
            --bg-white: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --radius: 12px;
            --container: 1280px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Vazirmatn', sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; display: block; border-radius: 12px; }
        .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
        
        .btn { display: inline-block; padding: 12px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; border: none; }
        .btn-primary { background-color: var(--primary); color: white; }
        .btn-primary:hover { background-color: #334155; }

        /* هیرو */
        .blog-hero {
            background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
            color: white;
            padding: 100px 0 140px;
            text-align: center;
            margin-bottom: -50px;
            position: relative;
            z-index: 1;
        }
        .blog-hero h1 { font-size: 3rem; margin-bottom: 15px; }
        .blog-hero p { color: #cbd5e1; font-size: 1.2rem; }

        /* فیلتر */
        .filter-bar {
            background: var(--bg-white);
            padding: 20px 30px;
            border-radius: 20px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 60px;
            flex-wrap: wrap;
            gap: 20px;
            position: relative;
            z-index: 10;
        }

        .search-box {
            position: relative;
            flex-grow: 1;
            max-width: 600px;
            background-color: #f1f5f9;
            border-radius: 50px;
            padding: 5px;
            display: flex;
            align-items: center;
        }
        .search-box form { display: flex; width: 100%; align-items: center; }
        .search-box input {
            flex-grow: 1; border: none; background: transparent;
            font-family: inherit; font-size: 0.95rem; padding: 10px 15px;
            color: var(--text-main); outline: none;
        }
        .search-btn {
            background: var(--accent); color: white; border: none;
            width: 45px; height: 45px; border-radius: 50%;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            font-size: 1.1rem; transition: 0.3s; margin-left: 5px;
        }
        .search-btn:hover { background: var(--primary); transform: scale(1.05); }

        .category-filter { display: flex; align-items: center; gap: 10px; }
        .cat-select {
            padding: 12px 20px; border: 1px solid var(--border);
            border-radius: 50px; background-color: #f8fafc;
            font-family: inherit; color: var(--text-main);
            outline: none; cursor: pointer; font-size: 0.95rem;
        }

        /* گرید محصولات با کارت‌های بزرگ */
        .product-grid {
            /* display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
            gap: 30px; */
            margin-bottom: 60px;
        }

        .product-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            transition: 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
            border-color: var(--accent);
        }
        
        /* کارت بزرگ */
        .product-img {
            height: 300px; /* ارتفاع بیشتر */
            width: 100%;
            object-fit: cover;
            position: relative;
            padding: 15px;
            
        }
        .badge {
            position: absolute; top: 15px; right: 15px;
            background: var(--accent); color: white;
            padding: 5px 12px; border-radius: 20px;
            font-size: 0.8rem; font-weight: 700;
        }
        
        .product-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
        .product-title { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
        .product-price {
            font-size: 1.5rem; font-weight: 900;
            color: var(--accent); margin-bottom: 15px;
            display: block;
        }
        .product-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; }
        
        .btn-card {
            width: 100%; padding: 12px; background: var(--bg-body);
            border: 1px solid var(--border); text-align: center;
            border-radius: 8px; font-weight: 600; transition: 0.3s;
            margin-top: auto;
        }
        .btn-card:hover { background: var(--primary); color: white; border-color: var(--primary); }

        /* پیجینیشن */
        .pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 60px 0; }
        .page-link, .page-num {
            display: flex; align-items: center; justify-content: center;
            min-width: 45px; height: 45px; border-radius: 8px;
            font-size: 0.95rem; font-weight: 600; transition: 0.3s; cursor: pointer;
            border: 1px solid var(--border); background: white; color: var(--text-main);
        }
        .page-link { padding: 0 20px; min-width: auto; }
        .page-link:hover, .page-num:hover { border-color: var(--accent); color: var(--accent); background: #f8fafc; }
        .page-num.active { background: var(--accent); color: white; border-color: var(--accent); }


        @media(max-width: 768px) {
            .nav-menu { display: none; }
            .product-grid { grid-template-columns: 1fr; }
            .filter-bar { flex-direction: column; align-items: stretch; }
            .search-box { max-width: 100%; }
        }
