    body { font-family: 'Vazirmatn', sans-serif; background: #f5f5f5; margin: 0; padding: 20px; }
        .container { max-width: 1200px; margin: auto; }
        .grid { display: grid; gap: 20px; }
        .categories-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
        .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
        .category-card, .product-card {
            background: white; border-radius: 10px; text-align: center;
            text-decoration: none; color: #333; padding: 15px; box-shadow: 0 0 5px rgba(0,0,0,0.05);
        }
        .category-image, .product-image {
            max-width: 100%; height: 180px; object-fit: contain; margin-bottom: 10px;
        }
        

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Vazirmatn', sans-serif;
        }
        
        :root {
            --primary: #ff6b8b;
            --secondary: #ff8e9e;
            --accent: #a76cbc;
            --light: #fff5f7;
            --dark: #2c2930;
            --gray: #5d576b;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        body {
            background: linear-gradient(135deg, #fff5f7 0%, #f8f4ff 100%);
            color: var(--dark);
            min-height: 100vh;
            padding: 20px;
            overflow-x: hidden;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* هدر */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            margin-bottom: 40px;
            position: relative;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo i {
            font-size: 2.2rem;
            color: var(--primary);
            background: linear-gradient(45deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(45deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .search-bar {
            display: flex;
            max-width: 500px;
            width: 100%;
        }
        
        .search-bar input {
            flex: 1;
            padding: 15px 20px;
            border: none;
            border-radius: 0px 50px 50px 0px;
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .search-bar input:focus {
            outline: none;
            box-shadow: 0 5px 20px rgba(167, 108, 188, 0.2);
        }
        
        .search-bar button {
            padding: 15px 25px;
            background: linear-gradient(45deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 50px 0px 0px 50px;
            cursor: pointer;
            font-weight: 700;
            transition: var(--transition);
        }
        
        .search-bar button:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(255, 107, 139, 0.4);
        }
        
        .user-actions {
            display: flex;
            gap: 20px;
        }
        
        .user-actions a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: white;
            color: var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
        }
        
        .user-actions a:hover {
            transform: translateY(-5px);
            background: linear-gradient(45deg, var(--primary), var(--accent));
            color: white;
        }
        
        /* تیتر صفحه */
        .page-header {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
            padding: 30px 0;
        }
        
        .page-header h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--dark);
            position: relative;
            z-index: 2;
        }
        
        .page-header p {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .decorative-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            z-index: 1;
        }
        
        .circle-1 {
            width: 300px;
            height: 300px;
            background: var(--primary);
            top: -150px;
            left: -100px;
        }
        
        .circle-2 {
            width: 200px;
            height: 200px;
            background: var(--accent);
            bottom: -100px;
            right: -50px;
        }
        
        /* دسته‌بندی‌ها */
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .category-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            position: relative;
            height: 350px;
            perspective: 1000px;
            transform-style: preserve-3d;
        }
        
        .category-card:hover {
            transform: translateY(-15px) rotate(1deg);
            box-shadow: 0 20px 40px rgba(167, 108, 188, 0.2);
        }
        
        .category-card:hover .category-image {
            transform: scale(1.1);
        }
        
        .category-card:hover .category-content {
            transform: translateY(0);
            opacity: 1;
        }
        
        .category-image {
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: var(--transition);
            position: relative;
        }
        
        .category-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%);
        }
        
        .category-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 25px;
            color: white;
            transform: translateY(20px);
            opacity: 0.9;
            transition: var(--transition);
        }
        
        .category-content h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            font-weight: 700;
        }
        
        .category-content p {
            font-size: 1rem;
            margin-bottom: 20px;
            opacity: 0.9;
        }
        
        .category-link {
            display: inline-block;
            padding: 10px 25px;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: var(--transition);
        }
        
        .category-link:hover {
            background: white;
            color: var(--primary);
            transform: translateX(10px);
        }
        
        /* فوتر */
        footer {
            background: rgba(255, 255, 255, 0.7);
            border-radius: 30px;
            padding: 40px;
            text-align: center;
            margin-top: 50px;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            text-decoration: none;
            color: var(--gray);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }
        
        .footer-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: var(--primary);
        }
        
        .footer-links a:hover::after {
            width: 100%;
        }
        
        .social-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            color: var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }
        
        .social-icons a:hover {
            transform: translateY(-5px);
            background: linear-gradient(45deg, var(--primary), var(--accent));
            color: white;
        }
        
        .copyright {
            color: var(--gray);
            font-size: 0.9rem;
            margin-top: 20px;
        }
        
        /* انیمیشن‌ها */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        .floating {
            animation: float 6s ease-in-out infinite;
        }
        
        .pulse {
            animation: pulse 3s ease-in-out infinite;
        }
        
        .delay-1 { animation-delay: 0.2s; }
        .delay-2 { animation-delay: 0.4s; }
        .delay-3 { animation-delay: 0.6s; }
        
        /* رسپانسیو */
        @media (max-width: 992px) {
            header {
                flex-direction: column;
                gap: 20px;
            }
            
            .search-bar {
                max-width: 100%;
            }
            
            .categories-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
        
        @media (max-width: 576px) {
            .page-header h2 {
                font-size: 2rem;
            }
            
            .categories-grid {
                grid-template-columns: 1fr;
            }
            
            .category-card {
                height: 300px;
            }
        }
        .category-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.category-card:hover {
    transform: translateY(-8px);
}

.category-image {
    height: 220px;
    display: flex;
    align-items: flex-end;
    background-color: #eee;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    padding: 20px;
}

.category-content {
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    width: 100%;
    padding: 10px 0;
}

.category-content h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 700;
}

.category-content p {
    margin: 5px 0;
    font-size: 14px;
}

.category-link {
    color: #fff;
    text-decoration: underline;
    font-size: 13px;
}












        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Vazirmatn', sans-serif;
        }
        
        :root {
            --primary: #6b5ce7;
            --secondary: #9370db;
            --accent: #ff6b8b;
            --light: #f8f4ff;
            --dark: #2c2930;
            --gray: #5d576b;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        body {
            background: linear-gradient(135deg, #f8f4ff 0%, #f0edff 100%);
            color: var(--dark);
            min-height: 100vh;
            padding: 20px;
            overflow-x: hidden;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* هدر */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            margin-bottom: 40px;
            position: relative;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo i {
            font-size: 2.2rem;
            color: var(--primary);
            background: linear-gradient(45deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(45deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .search-bar {
            display: flex;
            max-width: 500px;
            width: 100%;
        }
        
        .search-bar input {
            flex: 1;
            padding: 15px 20px;
            border: none;
            border-radius: 0px 50px 50px 0px;
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .search-bar input:focus {
            outline: none;
            box-shadow: 0 5px 20px rgba(107, 92, 231, 0.2);
        }
        
        .search-bar button {
            padding: 15px 25px;
            background: linear-gradient(45deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 50px 0px 0px 50px;
            cursor: pointer;
            font-weight: 700;
            transition: var(--transition);
        }
        
        .search-bar button:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(107, 92, 231, 0.4);
        }
        
        .user-actions {
            display: flex;
            gap: 20px;
        }
        
        .user-actions a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: white;
            color: var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
        }
        
        .user-actions a:hover {
            transform: translateY(-5px);
            background: linear-gradient(45deg, var(--primary), var(--accent));
            color: white;
        }
        
        /* تیتر صفحه */
        .page-header {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
            padding: 30px 0;
        }
        
        .page-header h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--dark);
            position: relative;
            z-index: 2;
        }
        
        .page-header p {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .decorative-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            z-index: 1;
        }
        
        .circle-1 {
            width: 300px;
            height: 300px;
            background: var(--primary);
            top: -150px;
            left: -100px;
        }
        
        .circle-2 {
            width: 200px;
            height: 200px;
            background: var(--accent);
            bottom: -100px;
            right: -50px;
        }
        
        /* دسته‌بندی‌ها */
        .brands-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .brand-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            position: relative;
            perspective: 1000px;
            transform-style: preserve-3d;
            display: flex;
            flex-direction: column;
            height: 320px;
        }
        
        .brand-card:hover {
            transform: translateY(-15px) rotate(1deg);
            box-shadow: 0 20px 40px rgba(107, 92, 231, 0.2);
        }
        
        .brand-card:hover .brand-image {
            transform: scale(1.05);
        }
        
        .brand-card:hover .brand-content {
            transform: translateY(0);
            opacity: 1;
        }
        
        .brand-image {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--light);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .brand-image img {
            max-width: 180px;
            max-height: 120px;
            transition: var(--transition);
            filter: grayscale(20%);
        }
        
        .brand-card:hover .brand-image img {
            transform: scale(1.1);
            filter: grayscale(0%);
        }
        
        .brand-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent 80%);
        }
        
        .brand-content {
            padding: 20px;
            text-align: center;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .brand-content h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            font-weight: 700;
            color: var(--dark);
        }
        
        .brand-info {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            font-size: 0.9rem;
            color: var(--gray);
        }
        
        .brand-info span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .brand-link {
            display: inline-block;
            margin-top: 15px;
            padding: 10px 25px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            transition: var(--transition);
            box-shadow: 0 5px 15px rgba(107, 92, 231, 0.3);
        }
        
        .brand-link:hover {
            transform: translateX(10px);
            box-shadow: 0 8px 20px rgba(107, 92, 231, 0.5);
        }
        
        .brand-stats {
            display: flex;
            justify-content: space-around;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(0,0,0,0.05);
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-value {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        .stat-label {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        /* فیلترها */
        .filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
        }
        
        .filter-btn {
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.7);
            border: none;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            backdrop-filter: blur(10px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .filter-btn:hover, .filter-btn.active {
            background: linear-gradient(45deg, var(--primary), var(--accent));
            color: white;
            transform: translateY(-3px);
        }
        
        /* فوتر */
        footer {
            background: rgba(255, 255, 255, 0.7);
            border-radius: 30px;
            padding: 40px;
            text-align: center;
            margin-top: 50px;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            text-decoration: none;
            color: var(--gray);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }
        
        .footer-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: var(--primary);
        }
        
        .footer-links a:hover::after {
            width: 100%;
        }
        
        .social-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            color: var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }
        
        .social-icons a:hover {
            transform: translateY(-5px);
            background: linear-gradient(45deg, var(--primary), var(--accent));
            color: white;
        }
        
        .copyright {
            color: var(--gray);
            font-size: 0.9rem;
            margin-top: 20px;
        }
        
        /* انیمیشن‌ها */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        .floating {
            animation: float 6s ease-in-out infinite;
        }
        
        .pulse {
            animation: pulse 3s ease-in-out infinite;
        }
        
        .delay-1 { animation-delay: 0.2s; }
        .delay-2 { animation-delay: 0.4s; }
        .delay-3 { animation-delay: 0.6s; }
        
        /* رسپانسیو */
        @media (max-width: 992px) {
            header {
                flex-direction: column;
                gap: 20px;
            }
            
            .search-bar {
                max-width: 100%;
            }
            
            .brands-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
        
        @media (max-width: 576px) {
            .page-header h2 {
                font-size: 2rem;
            }
            
            .brands-grid {
                grid-template-columns: 1fr;
            }
        }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    direction: rtl; /* اگر زبان فارسی است */
}

.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

