        /* اضافه کردن فونت پیدا */
        @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 100;
            font-display: swap;
            src: url("../fonts/inter/Inter-Thin.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 100;
            font-display: swap;
            src: url("../fonts/inter/Inter-ThinItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 200;
            font-display: swap;
            src: url("../fonts/inter/Inter-ExtraLight.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 200;
            font-display: swap;
            src: url("../fonts/inter/Inter-ExtraLightItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 300;
            font-display: swap;
            src: url("../fonts/inter/Inter-Light.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 300;
            font-display: swap;
            src: url("../fonts/inter/Inter-LightItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 400;
            font-display: swap;
            src: url("../fonts/inter/Inter-Regular.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 400;
            font-display: swap;
            src: url("../fonts/inter/Inter-Italic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 500;
            font-display: swap;
            src: url("../fonts/inter/Inter-Medium.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 500;
            font-display: swap;
            src: url("../fonts/inter/Inter-MediumItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 600;
            font-display: swap;
            src: url("../fonts/inter/Inter-SemiBold.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 600;
            font-display: swap;
            src: url("../fonts/inter/Inter-SemiBoldItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 700;
            font-display: swap;
            src: url("../fonts/inter/Inter-Bold.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 700;
            font-display: swap;
            src: url("../fonts/inter/Inter-BoldItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 800;
            font-display: swap;
            src: url("../fonts/inter/Inter-ExtraBold.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 800;
            font-display: swap;
            src: url("../fonts/inter/Inter-ExtraBoldItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: normal;
            font-weight: 900;
            font-display: swap;
            src: url("../fonts/inter/Inter-Black.woff2") format("woff2");
          }
          @font-face {
            font-family: "Inter";
            font-style: italic;
            font-weight: 900;
            font-display: swap;
            src: url("../fonts/inter/Inter-BlackItalic.woff2") format("woff2");
          }
          @font-face {
            font-family: "payda";
            src: url("../fonts/payda/PeydaWebFaNum-Medium.woff2") format("woff2");
            font-weight: normal;
          }
          @font-face {
            font-family: "payda";
            src: url("../fonts/payda/PeydaWebFaNum-Bold.woff2") format('woff2');
            font-weight: bold;
          }
          @font-face {
            font-family: "payda";
            src: url("../fonts/payda/PeydaWebFaNum-Black.woff2") format('woff2');
            font-weight: 900;
          }  
        :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --primary-light: rgba(67, 97, 238, 0.1);
            --primary-grad: linear-gradient(to left, #4361ee, #3a56d4);
            --secondary: #f72585;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --bg-white: #ffffff;
            --bg-light: #f9fafb;
            --border-light: #e5e7eb;
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
            --radius: 8px;
            --radius-lg: 12px;
        }
        

        body.dark-mode {
            --bg-light: #111827;
            --bg-white: #1f2937;
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --border-light: #374151;
            --gray-100: #1f2937;
            --gray-200: #374151;
            --gray-300: #4b5563;
            --gray-400: #6b7280;
            --gray-500: #9ca3af;
            --gray-600: #d1d5db;
            --gray-700: #e5e7eb;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
        }
        
#stories-container {
    display: flex;
    gap: 15px;
    padding: 15px;
    overflow-x: auto;
}

.story {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.story-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #ff6b6b, #ff3838);
    transition: background 0.3s;
}

.story-avatar.viewed {
    background: #ddd !important;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.story-username {
    margin-top: 5px;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}

.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.progress-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #4CAF50;
    border-radius: 2px;
    transition: width linear;
}

.story-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.media-container {
    position: relative;
    width: 100%;
    display: flex;
    height: 100%;
    align-items: center;
}

.story-media {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: none;
}

.video-media {
    display: none;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-button { right: 20px; }
.next-button { left: 20px; }

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-link {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    z-index: 1002;
}


.story-media, .video-media {
    width: 100%;
    height: 90%;
    object-fit: contain;
    display: block;
}






        
        /* بخش دسته‌بندی‌های محبوب */
        .popular-categories {
            background-color: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .dark .popular-categories {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary);
        }
        
        .section-title {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .dark .section-title {
            color: var(--primary-dark);
        }
        
        .view-all {
            color: #00fae9;
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.3s ease;
        }
        
        .view-all:hover {
            color: var(--secondary);
            gap: 0.5rem;
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 1rem;
        }
        
        .category-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 1rem 0.5rem;
            border-radius: 0.5rem;
        }
        
        .category-item:hover {
            transform: translateY(-5px);
            background-color: rgba(67, 97, 238, 0.05);
        }
        
        .dark .category-item:hover {
            background-color: rgba(67, 97, 238, 0.15);
        }
        
        .category-icon {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-grad);
            color: white;
            border-radius: 50%;
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
        }
        
        .category-name {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--gray-700);
            text-align: center;
        }
        
        .dark .category-name {
            color: var(--gray-300);
        }
        
        /* بخش محصولات پرفروش */
        .best-sellers {
            background-color: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .dark .best-sellers {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1rem;
        }
        
        .product-card {
            background-color: var(--white);
            border-radius: 0.5rem;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            position: relative;
        }
        
        .dark .product-card {
            background-color: var(--gray-700);
            border-color: var(--gray-600);
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .product-badge {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            background: var(--secondary);
            color: white;
            font-size: 0.75rem;
            font-weight: bold;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            z-index: 10;
        }
        
        .product-image {
            position: relative;
            height: 180px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        
        .product-image img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            transition: all 0.3s ease;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 1rem;
        }
        
        .product-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 0.5rem;
            height: 2.8rem;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .dark .product-title {
            color: var(--gray-200);
        }
        
        .product-price {
            display: flex;
            flex-direction: column;
            margin-bottom: 1rem;
        }
        
        .current-price {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--primary);
        }
        
        .original-price {
            font-size: 0.85rem;
            color: var(--gray-500);
            text-decoration: line-through;
        }
        
        .product-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .add-to-cart {
            background: var(--primary-grad);
            color: white;
            border: none;
            border-radius: 0.25rem;
            padding: 0.5rem 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        .add-to-cart:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        
        .product-rating {
            display: flex;
            align-items: center;
            gap: 0.2rem;
            background: rgba(76, 175, 80, 0.1);
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
        }
        
        
        .rating-count {
            font-size: 0.8rem;
            color: var(--gray-600);
        }
        
        .dark .rating-count {
            color: var(--gray-400);
        } 
        .digikala-offer {
            background: linear-gradient(135deg, #5439ef 0%, #40c3ef 100%);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            max-width: 1500px;


            margin: 0 auto;
        }
        
        .offer-header {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            background: rgba(255, 255, 255, 0.1);
        }
        
        .offer-title {
            display: flex;
            align-items: center;
        }
        
        .offer-icon {
            background-color: #fff;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
        }
        
        .offer-icon i {
            color: var( --primary-dark);
            font-size: 18px;
        }
        
        .offer-header h2 {
            color: #fff;
            font-size: 18px;
            font-weight: 700;
        }
        
        .offer-timer {
            display: flex;
            align-items: center;
            margin-right: auto;
            color: #fff;
            font-size: 13px;
        }
        
        .timer-icon {
            margin-left: 6px;
        }
        
        .timer-numbers {
            display: flex;
            gap: 4px;
            margin-right: 8px;
        }
        
        .timer-box {
            background-color: #fff;
            color: #396fef;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 700;
            min-width: 22px;
            text-align: center;
        }
        
        .view-all {
            color: #00fae9;
            text-decoration: none;
            font-size: 13px;
            display: flex;
            align-items: center;
        }
        
        .view-all i {
            margin-right: 5px;
            font-size: 12px;
        }
        
        .offer-content {
            display: flex;
            background-color: #fff;
            padding: 20px 0;
        }
        
        .offer-products {
            display: flex;
            overflow: hidden;
            flex: 1;
            padding: 0 15px;
            gap: 15px;
        }
        
        .product-card {
            flex: 0 0 calc(20% - 15px);
            border: 1px solid #e0e0e2;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .product-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(-4px);
        }
        
        .product-image {
            width: 100%;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
        }
        
        .product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .product-info {
            padding: 10px;
            border-top: 1px solid #f0f0f1;
        }
        
        .product-price {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
        }
        
        .price-amount {
            font-weight: 700;
            font-size: 15px;
        }
        
        .price-discount {
            background-color: #395aef;
            color: #fff;
            padding: 2px 6px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
        }
        
        .discount-ribbon {
            position: absolute;
            top: 0;
            right: 0;
            width: 38px;
            height: 22px;
            background-color: #2487ff;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
        }
        
        .progress-bar {
            height: 4px;
            background-color: #f0f0f1;
            border-radius: 2px;
            margin-top: 8px;
            overflow: hidden;
        }
        
        .progress-value {
            height: 100%;
            background: linear-gradient(to left, #ef394e, #ef4056);
            border-radius: 2px;
            width: 65%;
        }
        
        .progress-text {
            font-size: 11px;
            color: #a1a3a8;
            text-align: left;
            margin-top: 4px;
        }
        .offer-banner {
            width: 200px;
            padding: 0 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-right: 1px solid #f0f0f1;
        }
        
        .offer-banner img {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        
        .banner-title {
            font-size: 16px;
            font-weight: 700;
            color: #000000;
            margin-bottom: 5px;
            text-align: center;
        }
        
        .banner-subtitle {
            font-size: 13px;
            color: #767790;
            text-align: center;
        }
        
        @media (max-width: 1200px) {
            .product-card {
                flex: 0 0 calc(25% - 15px);
            }
        }
        
        @media (max-width: 992px) {
            .product-card {
                flex: 0 0 calc(33.333% - 15px);
            }
            
            .offer-banner {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .product-card {
                flex: 0 0 calc(50% - 15px);
            }
            
            .offer-timer {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .product-card {
                flex: 0 0 calc(100% - 15px);
            }
            
            .offer-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .view-all {
                align-self: flex-end;
            }
        }

        /* بخش برندهای محبوب */
        .popular-brands {
            background-color: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .dark .popular-brands {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .brands-slider {
            padding: 1rem 0;
        }
        
        .brand-item {
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            border: 1px solid var(--gray-200);
            border-radius: 0.5rem;
            background: white;
            transition: all 0.3s ease;
        }
        
        .dark .brand-item {
            background: var(--gray-700);
            border-color: var(--gray-600);
        }
        
        .brand-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }
        
        .brand-item img {
            max-height: 70%;
            max-width: 70%;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s ease;
        }
        
        .brand-item:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }
        
        /* رسپانسیو برای بخش‌های جدید */
        @media (max-width: 1200px) {
            .categories-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .products-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .categories-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .offer-content {
                width: 70%;
            }
        }
        
        @media (max-width: 768px) {
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .offer-content {
                width: 100%;
                background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
                justify-content: flex-end;
            }
        }
        
        @media (max-width: 576px) {
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
            }
            
            .category-icon {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
            
            .products-grid {
                grid-template-columns: 1fr;
            }
            
            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .view-all {
                align-self: flex-end;
            }
        }

        /* ================= بخش وبلاگ ================= */
        .blog-section {
            background-color: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .dark .blog-section {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        
        .blog-card {
            background-color: var(--white);
            border-radius: 0.5rem;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .dark .blog-card {
            background-color: var(--gray-700);
            border-color: var(--gray-600);
        }
        
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .blog-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .blog-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .blog-card:hover .blog-image img {
            transform: scale(1.05);
        }
        
        .blog-date {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--primary);
            color: white;
            padding: 0.3rem 0.7rem;
            border-radius: 0.25rem;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .blog-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .blog-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--gray-800);
        }
        
        .dark .blog-title {
            color: var(--gray-200);
        }
        
        .blog-excerpt {
            color: var(--gray-600);
            margin-bottom: 1.5rem;
            flex-grow: 1;
            line-height: 1.6;
        }
        
        .dark .blog-excerpt {
            color: var(--gray-400);
        }
        
        .blog-read-more {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.3s ease;
        }
        
        .blog-read-more:hover {
            color: var(--secondary);
            gap: 0.5rem;
        }
        
        @media (max-width: 992px) {
            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 576px) {
            .blog-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .search-container {
            position: relative;
            width: 300px;
        }
        
        .search-input {
            width: 100%;
            padding: 0.7rem 1rem;
            padding-left: 3rem;
            border: 1px solid var(--gray-300);
            border-radius: 2rem;
            font-family: var(--default-font-family);
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
        }
        
        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-500);
        }
        

        
        .offer-header {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            background: rgba(255, 255, 255, 0.1);
        }
        
        .offer-title {
            display: flex;
            align-items: center;
        }
        
        .offer-icon {
            background-color: #fff;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
        }
        
        .offer-icon i {
            color: #3973ef;
            font-size: 18px;
        }
        
        .offer-header h2 {
            color: #fff;
            font-size: 18px;
            font-weight: 700;
        }
        
        .offer-timer {
            display: flex;
            align-items: center;
            margin-right: auto;
            color: #fff;
            font-size: 13px;
        }
        
        .timer-icon {
            margin-left: 6px;
        }
        
        .timer-numbers {
            display: flex;
            gap: 4px;
            margin-right: 8px;
        }
        
        .timer-box {
            background-color: #fff;
            color: #0000ff;
            padding: 0.6px 6px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 700;
            min-width: 22px;
            text-align: center;
        }
        
        .view-all {
            color: #00fae9;
            text-decoration: none;
            font-size: 13px;
            display: flex;
            align-items: center;
        }
        
        .view-all i {
            margin-right: 5px;
            font-size: 12px;
        }
        
        .offer-content {
            display: flex;
            background-color: #fff;
            padding: 20px 0;
        }
        
        .offer-products {
            display: flex;
            overflow: hidden;
            flex: 1;
            padding: 0 15px;
            gap: 15px;
        }
        
        .product-card {
            flex: 0 0 calc(20% - 15px);
            border: 1px solid #e0e0e2;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .product-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(-4px);
        }
        
        .product-image {
            width: 100%;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
        }
        
        .product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .product-info {
            padding: 10px;
            border-top: 1px solid #f0f0f1;
        }
        
        .product-price {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
        }
        
        .price-amount {
            font-weight: 700;
            font-size: 15px;
        }
        
        .price-discount {
            background-color: #395aef;
            color: #fff;
            padding: 2px 6px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
        }
        
        .discount-ribbon {
            position: absolute;
            top: 0;
            right: 0;
            width: 38px;
            height: 22px;
            background-color: #395aef;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
        }
        
        .progress-bar {
            height: 4px;
            background-color: #f0f0f1;
            border-radius: 2px;
            margin-top: 8px;
            overflow: hidden;
        }
        
        .progress-value {
            height: 100%;
            background: linear-gradient(to left, #3700ff,#488bff);
            border-radius: 2px;
            width: 65%;
        }
        
        .progress-text {
            font-size: 11px;
            color: #a1a3a8;
            text-align: left;
            margin-top: 4px;
        }
        
        .navigation-buttons {
            display: flex;
            align-items: center;
            padding: 0 10px;
        }
        
        .nav-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #fff;
            border: 1px solid #e0e0e2;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .nav-button:hover {
            background-color: #f0f0f1;
        }
        
        .nav-button i {
            color: #767790;
            font-size: 14px;
        }
        
        .offer-banner {
            width: 200px;
            padding: 0 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-right: 1px solid #f0f0f1;
        }
        
        .offer-banner img {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        
        .banner-title {
            font-size: 16px;
            font-weight: 700;
            color: #000000;
            margin-bottom: 5px;
            text-align: center;
        }
        
        .banner-subtitle {
            font-size: 13px;
            color: #767790;
            text-align: center;
        }
        
        @media (max-width: 1200px) {
            .product-card {
                flex: 0 0 calc(25% - 15px);
            }
        }
        
        @media (max-width: 992px) {
            .product-card {
                flex: 0 0 calc(33.333% - 15px);
            }
            
            .offer-banner {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .product-card {
                flex: 0 0 calc(50% - 15px);
            }
            
            .offer-timer {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .product-card {
                flex: 0 0 calc(100% - 15px);
            }
            
            .offer-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .view-all {
                align-self: flex-end;
            }
        }

        .imgcenter {
            width: 100%;
            height: auto;
            max-width: 1500px;

            display: block;
            margin: 0 auto;
        }
            .bxJd93_x {
                max-width: 1630px;
                margin: 50px auto;
                padding: 30px;
                border-radius: 20px;
              }
          
              .oTx84_c {
                display: flex;
                flex-wrap: wrap;
                align-items: flex-start;
                justify-content: space-between;
                gap: 30px;
              }
          
              .lImo92_t {
                flex: 1 1 55%;
              }
          
              .lImo92_t h2 {
                font-size: 22px;
                font-weight: bold;
                color: #0056b3;
                margin-bottom: 15px;
              }
          
              .lImo92_t p {
                color: #ffffff;
                line-height: 1.9;
                font-size: 15px;
                margin-bottom: 10px;
              }
          
              .Udfn33_j {
                flex: 1 1 40%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 20px;
              }
          
              .Ytma29_m {
                display: flex;
                width: 100%;
                max-width: 500px;
                border: 2px solid #0056b3;
                border-radius: 12px;
                overflow: hidden;
              }
          
              .Ytma29_m input {
                flex: 1;
                padding: 14px;
                border: none;
                outline: none;
                font-size: 14px;
              }
          
              .Ytma29_m button {
                background: #0056b3;
                color: #fff;
                border: none;
                padding: 14px 25px;
                font-size: 14px;
                cursor: pointer;
                transition: 0.3s;
              }
          
              .Ytma29_m button:hover {
                background: #003f80;
              }
          
              .Tsgn88_y {
                display: flex;
                gap: 20px;
                justify-content: center;
                flex-wrap: wrap;
                margin-top: 20px;
              }
          
              .Tsgn88_y img {
                width: 90px;
                height: auto;
                border-radius: 12px;
                box-shadow: 0 3px 8px rgba(0,0,0,0.1);
                padding: 10px;
              }
              .support-icon-container {
                position: fixed;
                bottom: 25px;
                left: 25px;
                z-index: 1000;
            }
            
            .support-floating-icon {
                width: 60px;
                height: 60px;
                background: linear-gradient(135deg, #3498db 0%, #1a5f9e 100%);
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
                transition: all 0.3s ease;
                animation: pulse 2s infinite;
            }
            
            .support-floating-icon:hover {
                transform: scale(1.1) rotate(10deg);
                box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
            }
            
            .support-floating-icon i {
                color: white;
                font-size: 28px;
            }
            
            .support-tooltip {
                position: absolute;
                bottom: 70px;
                left: 0;
                background: white;
                padding: 12px 20px;
                border-radius: 10px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
                color: #333;
                font-weight: 500;
                width: max-content;
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
                transform: translateY(10px);
            }
            
            .support-tooltip:after {
                content: '';
                position: absolute;
                bottom: -8px;
                left: 20px;
                width: 16px;
                height: 16px;
                background: white;
                transform: rotate(45deg);
            }
            
            .support-floating-icon:hover .support-tooltip {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
            
            @keyframes pulse {
                0% {
                    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
                }
                70% {
                    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
                }
                100% {
                    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
                }
            }
            
            .code-sample {
                background: #2c3e50;
                color: #ecf0f1;
                padding: 20px;
                border-radius: 10px;
                margin-top: 30px;
                text-align: left;
                font-family: var(--default-font-family);

                overflow-x: auto;
            }
            
            .code-sample h3 {
                margin-bottom: 15px;
                color: #3498db;
            }
            
            .code-comment {
                color: #7f8c8d;
            }
            
            .css-selector {
                color: #e74c3c;
            }
            
            .css-property {
                color: #3498db;
            }
            
            .css-value {
                color: #2ecc71;
            }
           
            

            .x98x_container_promo {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                gap: 15px;
                padding: 20px;
                max-width: 1550px;

                margin: auto;
              }
          
              .b22b_card_advert {
                background: #fff;
                border-radius: 14px;
                overflow: hidden;
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: right;
                padding: 20px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.08);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
                min-height: 250px;
                background-size: cover;
                background-position: center;
              }
          
              .b22b_card_advert::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.4);
                z-index: 1;
              }
          
              .b22b_card_advert:hover {
                transform: translateY(-5px);
                box-shadow: 0 6px 16px rgba(0,0,0,0.12);
              }
          
              .t44t_card_text {
                font-size: 15px;
                color: #fff;
                line-height: 1.6;
                position: relative;
                z-index: 2;
                text-shadow: 0 1px 3px rgba(0,0,0,0.7);
              }

  /* ===== shell ===== */
  .hx9f_headShell__x71{position:sticky;top:0;z-index:100;background:var(--hx9f-bg);box-shadow:var(--hx9f-shadow)}
  .hx9f_wrap__r02{max-width:var(--hx9f-max);margin:auto;padding:10px 16px}

  /* top row: left(cart/account) - center(search) - right(logo) */
  .hx9f_barGrid__p88{display:grid;grid-template-columns:1fr minmax(220px,440px) 1fr;gap:16px;align-items:center}

  /* logo */
  .hx9f_brandSlot__b6a{justify-self:start;display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
  .hx9f_logoBox__z19{width:51px;height:51px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:900;overflow: hidden;background:var(--primary-grad);}
  .hx9f_logoImage__x12{width:100%;height:100%;object-fit:cover;border-radius:inherit}
  .hx9f_brandTxt__m55{font-weight:800;letter-spacing:.2px;font-size:1.2rem;color:var(--primary-dark);}

  /* left actions */
  .hx9f_leftActs__e73{display:flex;align-items:center;gap:12px;justify-self:end}
  .hx9f_iconBtn__s40{width:42px;height:42px;border-radius:12px;background:var(--hx9f-soft);display:grid;place-items:center;border:1px solid var(--gray-300);cursor:pointer;transition:.2s;position:relative}
  .hx9f_iconBtn__s40:hover{transform:translateY(-1px);background:var(--gray-300);}
  .hx9f_iconBtn__s40 .hx9f_badge__n20{position:absolute;top:-5px;left:-5px;background:var(--hx9f-accent);color:white;border-radius:50%;width:18px;height:18px;font-size:12px;display:grid;place-items:center;font-weight:bold;}
  .hx9f_plainBtn__w11{padding:13px 14px;border-radius:12px;border:1px solid var(--gray-300);background:var(--white);cursor:pointer;transition:.2s;color:var(--primary);font-weight:600;}
  .hx9f_plainBtn__w11:hover{background:var(--primary);color:var(--white);}
  .hx9f_phone__u77{display:flex;align-items:center;gap:6px;color:var(--hx9f-muted);font-size:.92rem;white-space:nowrap}

  /* search - بهبود یافته */
  .hx9f_searchWrap__k31{position:relative}
  .hx9f_searchBox__a20{display:flex;align-items:center;background:var(--hx9f-soft);border:1px solid var(--gray-300);border-radius:999px;padding:4px 8px;gap:8px;transition:all 0.2s;}
  .hx9f_searchBox__a20:focus-within{outline:2px solid var(--hx9f-ring);outline-offset:2px;background:var(--white);box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1);}
  .hx9f_searchInput__v04{flex:1;border:0;background:transparent;padding:8px 6px;font:inherit;font-size:0.9rem;}
  .hx9f_searchInput__v04:focus{outline:0}
  .hx9f_searchBtn__n66{border:0;background:var(--primary);color:var(--white);border-radius:999px;padding:6px 12px;cursor:pointer;font-size:0.85rem;transition:background 0.2s;}
  .hx9f_searchBtn__n66:hover{background:var(--primary-dark);}

  /* nav row */
  .hx9f_navRow__g12{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
  .hx9f_navList__y10{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
  .hx9f_navLink__d33{color:var(--hx9f-muted);text-decoration:none;padding:8px 10px;border-radius:10px;position:relative;cursor:pointer;transition:all 0.2s;}
  .hx9f_navLink__d33:hover{background:var(--hx9f-soft);color:var(--primary);}

  /* hamburger (mobile) */
  .hx9f_burger__c22{display:none;border:1px solid var(--gray-300);background:var(--white);border-radius:12px;padding:10px;cursor:pointer;transition:background 0.2s;}
  .hx9f_burger__c22:hover{background:var(--hx9f-soft);}

  /* mega menu - بهبود یافته */
  .hx9f_megaMenu__q33{display:none;position:absolute;top:100%;right:0;width:100%;background:var(--white);box-shadow:0 10px 25px rgba(0,0,0,0.1);border-radius:0 0 12px 12px;padding:20px;z-index:50;animation:fade .2s ease}
  .hx9f_navItem__f22{position:relative}
  .hx9f_navItem__f22:hover .hx9f_megaMenu__q33{display:block}
  .hx9f_megaGrid__w44{display:grid;grid-template-columns:repeat(4, 1fr);gap:20px}
  .hx9f_megaCol__r55 h4{margin:0 0 15px 0;font-size:1.1rem;color:var(--hx9f-ink);padding-bottom:8px;border-bottom:2px solid var(--hx9f-soft)}
  .hx9f_megaList__t66{list-style:none;padding:0;margin:0}
  .hx9f_megaList__t66 li{margin-bottom:10px}
  .hx9f_megaList__t66 a{text-decoration:none;color:var(--hx9f-muted);transition:color 0.2s;display:block;padding:5px 0;position:relative;padding-right:15px;}
  .hx9f_megaList__t66 a:hover{color:var(--primary)}
  .hx9f_megaList__t66 a:hover::before{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:6px;height:6px;background:var(--primary);border-radius:50%;}
  
  /* مگا منو حرفه‌ای */
  .hx9f_megaPromo__a99 {grid-column: 1 / -1;display:flex;gap:20px;margin-top:20px;padding-top:20px;border-top:1px solid var(--gray-300);}
  .hx9f_megaPromoItem__b11 {flex:1;border-radius:12px;overflow:hidden;position:relative;height:120px;}
  .hx9f_megaPromoItem__b11 img {width:100%;height:100%;object-fit:cover;}
  .hx9f_megaPromoItem__b11 .overlay {position:absolute;bottom:0;right:0;left:0;background:linear-gradient(transparent, rgba(0,0,0,0.7));padding:10px;color:white;}

  @keyframes fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}

  /* responsive */
  @media (max-width:1024px){
    .hx9f_barGrid__p88{grid-template-columns:1fr 1fr auto;gap:12px;}
    .hx9f_searchWrap__k31{grid-column:1/-1;order:3;margin-top:10px;}
    .hx9f_navRow__g12{display:none}
    .hx9f_burger__c22{display:inline-grid;place-items:center}
    .hx9f_searchWrap__k31 form{max-width:100%;margin:auto}
    .hx9f_brandTxt__m55{font-size:1rem;}
    .hx9f_phone__u77{display:none;}
    .hx9f_megaMenu__q33{display:none !important;}
  }

  @media (max-width:640px){
    .hx9f_barGrid__p88{grid-template-columns:auto 1fr auto;}
    .hx9f_brandTxt__m55{display:none;}
    .hx9f_plainBtn__w11{display:none;}
    .hx9f_searchBox__a20{padding:3px 6px;}
    .hx9f_searchInput__v04{padding:6px 4px;font-size:0.85rem;}
    .hx9f_searchBtn__n66{padding:5px 10px;font-size:0.8rem;}
  }

  /* mobile menu dropdown */
  .hx9f_mobilePanel__v91{display:none;background:var(--white);border-top:1px solid var(--gray-300);position:absolute;width:100%;left:0;top:100%;max-height:80vh;overflow-y:auto;z-index: 99;}
  .hx9f_mobilePanel__v91.is-open{display:block;animation:slideDown 0.3s ease;}
  .hx9f_mobileList__s07{display:grid;padding:10px 16px;gap:6px}
  .hx9f_mobileLink__l44{padding:12px;border-radius:12px;background:var(--hx9f-soft);text-decoration:none;color:var(--hx9f-ink);display:flex;align-items:center;justify-content:space-between;transition:background 0.2s;}
  .hx9f_mobileLink__l44:hover{background:var(--gray-300);}
  .hx9f_mobileHasChildren__p77{position:relative}
  .hx9f_mobileSubmenu__k88{display:none;padding-right:20px;margin-top:5px}
  .hx9f_mobileSubmenu__k88 a{padding:8px 12px;font-size:0.9rem;background:var(--bg-light);margin-bottom:4px;border-radius:8px;}
  .hx9f_mobileHasChildren__p77.active .hx9f_mobileSubmenu__k88{display:block}
  .hx9f_mobileHasChildren__p77.active .hx9f_mobileLink__l44::after{transform:rotate(45deg)}
  .hx9f_mobileLink__l44::after{content:"";width:10px;height:10px;border-right:2px solid var(--hx9f-muted);border-bottom:2px solid var(--hx9f-muted);transform:rotate(-45deg);margin-right:5px;transition:transform 0.3s;}

  @keyframes slideDown {
    from {opacity:0; transform:translateY(-10px);}
    to {opacity:1; transform:translateY(0);}
  }

  /* small tweaks */
  .hx9f_visuallyHidden__a11{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}



  /* استایل نوار تبلیغاتی بالای صفحه */
.top-promotion-bar {
    position: relative;
    background-color: #f0f0f1;
    border-bottom: 1px solid #e0e0e2;
    z-index: 101;
    display: block;
}

.promotion-container {
    position: relative;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;
}

.promotion-link {
    display: block;
    width: 100%;
    text-align: center;
}

.promotion-img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}


.promotion-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* حالت تاریک */
.dark .top-promotion-bar {
    background-color: #2d2d2d;
    border-bottom-color: #404040;
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .promotion-img {
        max-height: 80px;
    }
    
    .promotion-close {
        width: 25px;
        height: 25px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .promotion-img {
        max-height: 60px;
    }
    
    .promotion-close {
        width: 20px;
        height: 20px;
        left: 5px;
    }
}
.special-offer {
    max-width: 1500px;

    width: 100%;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: 20px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.064);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .dark .special-offer {
    max-width: 1500px;

    width: 100%;
    margin: 0 auto;
    background-color: var(--gray-700);
    border-radius: 20px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.064);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .dark .special-offer__title{
    color: var(--bg-light);
  }
  .special-offer:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }

  /* روبان تخفیف */
  .special-offer__badge {
    position: absolute;
    top: 20px;
    left: -35px;
    background: linear-gradient(45deg, #ff5252 0%, #ff0000 100%);
    color: #fff;
    padding: 8px 40px;
    font-size: 16px;
    font-weight: bold;
    transform: rotate(-45deg);
    box-shadow: 0 2px 10px rgba(244, 67, 54, 0.5);
    z-index: 10;
  }

  .special-offer__content {
    flex: 1;
    padding: 25px;
    min-width: 300px;
  }

  .special-offer__subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .special-offer__subtitle--highlight {
    color: #1a73e8;
    font-weight: bold;
  }

  .special-offer__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.4;
  }

  .special-offer__pricing {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .special-offer__current-price {
    color: #1abc9c;
    font-size: 22px;
    font-weight: bold;
  }

  .special-offer__original-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 16px;
  }

  .special-offer__savings {
    background: #ffeaa7;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: #d35400;
  }

  .special-offer__countdown {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }

  .special-offer__time-unit {
    border: 2px solid #1a73e8;
    border-radius: 10px;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #1a73e8;
    font-weight: bold;
    background: #f8fbff;
    transition: all 0.3s ease;
  }

  .special-offer__time-unit:hover {
    transform: scale(1.05);
    background: #e8f4ff;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.2);
  }

  .special-offer__time-label {
    font-size: 11px;
    margin-top: 4px;
    color: #666;
  }

  .special-offer__cta {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(45deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
  }

  .special-offer__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.4);
  }

  .special-offer__image-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #033279f2 0%, #e8f4ff 100%);
    position: relative;
    overflow: hidden;
  }

  .special-offer__product-image {
    max-width: 100%;
    max-height: 280px;
    border-radius: 15px;
    transition: transform 0.5s ease;
    z-index: 2;
    position: relative;
  }

  .special-offer__image-container:hover .special-offer__product-image {
    transform: scale(1.05);
  }

  .special-offer__image-container::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: #000000;
    opacity: 0.1;
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 1;
  }

  .special-offer__image-container::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: #eb0707dd;
    opacity: 0.1;
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    z-index: 1;
  }

  .special-offer__features {
    margin: 15px 0;
    padding-right: 20px;
  }

  .special-offer__feature-item {
    margin-bottom: 8px;
    position: relative;
    list-style: none;
    font-size: 14px;
  }

  .special-offer__feature-item::before {
    content: '✓';
    color: #000000;
    font-weight: bold;
    margin-left: 8px;
  }




  /* طراحی واکنش‌گرا */
  @media (max-width: 768px) {
    .special-offer {
      flex-direction: column-reverse;
    }
    
    .special-offer__content, .special-offer__image-container {
      width: 100%;
    }
    
    .special-offer__countdown {
      justify-content: center;
    }
    
    .special-offer__time-unit {
      width: 65px;
      height: 65px;
      font-size: 16px;
    }
  }
  .brand-section-modern-pro-box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-card-modern-pro-box {
    background: #fff;
    border-radius: 16px;
    padding: 17px 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }

  .brand-card-modern-pro-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }

  .brand-card-modern-pro-box img {
    filter: grayscale(100%);
    opacity: 0.6;
    max-height: 62px;
    transition: all 0.4s ease;
  }

  .brand-card-modern-pro-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }
  .py-55 {
    padding-bottom: 1rem;
}
.primary-content-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1500px;


}

.visual-media-component {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.visual-media-component:hover {
    transform: translateY(-5px);
}

.visual-media-component img {
    width: 100%;
    height: auto;
    display: block;
}

.media-caption-text {
    padding: 10px;
}

@media (max-width: 768px) {
    .primary-content-wrapper {
        flex-direction: column;
    }
    
    .visual-media-component {
        min-width: auto;
    }
}
/* ایجاد فاصله یکدست در موبایل */
@media (max-width: 768px) {
    .container,
    .x98x_container_promo,
    .brand-section-modern-pro-box,
    .primary-content-wrapper,
    .features {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    
    .imgcenter {
        margin: 0 15px !important;
        max-width: calc(100% - 30px) !important;
    }
}

@media (max-width: 480px) {
    .container,
    .x98x_container_promo,
    .brand-section-modern-pro-box,
    .primary-content-wrapper,
    .features {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
    
    .imgcenter {
        margin: 0 12px !important;
        max-width: calc(100% - 24px) !important;
    }
}


/* رفع مشکل نمایش بنرها در موبایل */
@media (max-width: 768px) {
    /* اسلایدر اصلی */
    .swiper-slide .h-90 {
        height: 35vw !important;
        min-height: 180px;
        max-height: 220px;
    }
    
    .swiper-slide img {
        object-fit: cover !important;
        object-position: center center !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* بنرهای تبلیغاتی */
    .b22b_card_advert {
        min-height: 130px !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    /* تصاویر مستقل */
    .imgcenter {
        height: auto !important;
        max-height: 180px !important;
        object-fit: contain !important;
        margin: 0 15px !important;
        border-radius: 10px;
    }
    
    /* محصولات در پیشنهاد شگفت‌انگیز */
    .offer-products {
        padding: 0 10px;
    }
    
    .product-card {
        flex: 0 0 75% !important;
    }
    
    .product-image {
        height: 120px !important;
    }
}

@media (max-width: 480px) {
    .swiper-slide .h-90 {
        height: 45vw !important;
        min-height: 160px;
        max-height: 190px;
    }
    
    .b22b_card_advert {
        min-height: 110px !important;
    }
    
    .imgcenter {
        max-height: 150px !important;
    }
    
    .product-card {
        flex: 0 0 85% !important;
    }
    
    .product-image {
        height: 100px !important;
    }
}



.offer-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.offer-title {
    display: flex;
    align-items: center;
}

.offer-icon {
    background-color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.offer-icon i {
    color: #3973ef;
    font-size: 18px;
}

.offer-header h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.offer-timer {
    display: flex;
    align-items: center;
    margin-right: auto;
    color: #fff;
    font-size: 13px;
}

.timer-icon {
    margin-left: 6px;
}

.timer-numbers {
    display: flex;
    gap: 4px;
    margin-right: 8px;
}

.timer-box {
    background-color: #fff;
    color: #0000ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
}

.view-all {
    color: #00fae9;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.view-all i {
    margin-right: 5px;
    font-size: 12px;
}

.offer-content {
    display: flex;
    background-color: #fff;
    padding: 20px 0;
    position: relative;
}

.offer-products {
    display: flex;
    overflow-x: auto;
    flex: 1;
    padding: 0 15px;
    gap: 15px;
    scroll-behavior: smooth;
    scrollbar-width: none; /* برای فایرفاکس */
    -ms-overflow-style: none; /* برای اینترنت اکسپلورر و اج */
}

.offer-products::-webkit-scrollbar {
    display: none; /* برای کروم، سافاری و اپرا */
}

.product-card {
    flex: 0 0 calc(20% - 15px);
    border: 1px solid #e0e0e2;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    min-width: 220px;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 10px;
    border-top: 1px solid #f0f0f1;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.price-amount {
    font-weight: 700;
    font-size: 15px;
}

.price-discount {
    background-color: #395aef;
    color: #fff;
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.discount-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 22px;
    background-color: #395aef;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
}

.progress-bar {
    height: 4px;
    background-color: #f0f0f1;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-value {
    height: 100%;
    background: linear-gradient(to left, #3700ff, #488bff);
    border-radius: 2px;
    width: 65%;
}

.progress-text {
    font-size: 11px;
    color: #a1a3a8;
    text-align: left;
    margin-top: 4px;
}

.navigation-buttons {
    display: flex;
    align-items: center;
    padding: 0 10px;
    flex-direction: column;
    gap: 10px;
}

.nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e0e0e2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #f0f0f1;
}

.nav-button i {
    color: #767790;
    font-size: 14px;
}

.offer-banner {
    width: 200px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f0f0f1;
}

.offer-banner img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.banner-title {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
    text-align: center;
}

.banner-subtitle {
    font-size: 13px;
    color: #767790;
    text-align: center;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
    flex-wrap: nowrap;
}

.add-to-cart-btn, .view-product-btn {
    padding: 9px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.add-to-cart-btn {
    background: linear-gradient(to left, #3700ff, #488bff);
    color: white;
}

.add-to-cart-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.view-product-btn {
    background: #f0f0f1;
    color: #333;
}

.view-product-btn:hover {
    background: #e0e0e2;
}

/* رسپانسیو برای تبلت */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(25% - 15px);
    }
    
    .offer-banner {
        width: 180px;
    }
}

/* رسپانسیو برای تبلت کوچک */
@media (max-width: 992px) {
    .product-card {
        flex: 0 0 calc(33.333% - 15px);
    }
    
    .offer-banner {
        display: none;
    }
    
    .offer-header {
        justify-content: space-between;
    }
    
    .offer-timer {
        margin-right: 0;
    }
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .product-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 180px;
    }
    
    .offer-timer {
        display: none;
    }
    
    .navigation-buttons {
        display: none;
    }
    
    .offer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .view-all {
        align-self: flex-end;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-actions {
        flex-direction: row;
    }
    
    .add-to-cart-btn, .view-product-btn {
        flex: 1;
        padding: 6px 8px;
        font-size: 11px;
    }
}

/* رسپانسیو برای موبایل کوچک */
@media (max-width: 480px) {
    .product-card {
        flex: 0 0 calc(100% - 15px);
    }
    
    .offer-header {
        padding: 12px 15px;
    }
    
    .offer-content {
        padding: 15px 0;
    }
    
    .offer-products {
        padding: 0 10px;
        gap: 10px;
    }
    
    .product-info {
        padding: 8px;
    }
}

/* بهبود بخش پیشنهاد شگفت‌انگیز در موبایل */
@media (max-width: 768px) {
    .digikala-offer {
        margin: 0 15px 30px 15px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        width: calc(100% - 30px) !important;
        max-width: none !important;
    }
    
    .offer-header {
        padding: 12px 15px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .offer-content {
        padding: 15px 0 !important;
    }
    
    .offer-products {
        padding: 0 10px !important;
        gap: 10px !important;
    }
    
    .product-card {
        flex: 0 0 calc(100% - 10px) !important;
        min-width: 0 !important;
        margin: 0 5px !important;
    }
    
    .product-image {
        height: 120px !important;
    }
    
    .product-info {
        padding: 8px !important;
    }
    
    .navigation-buttons {
        display: none !important;
    }
    
    .view-all {
        align-self: flex-end !important;
        margin-top: 5px !important;
    }
}

@media (max-width: 480px) {
    .digikala-offer {
        margin: 0 12px 25px 12px !important;
        width: calc(100% - 24px) !important;
    }
    
    .offer-header {
        padding: 10px 12px !important;
    }
    
    .offer-products {
        padding: 0 8px !important;
        gap: 8px !important;
    }
    
    .product-card {
        flex: 0 0 calc(100% - 8px) !important;
        margin: 0 4px !important;
    }
    
    .product-image {
        height: 100px !important;
    }
    
    .product-actions {
        flex-direction: column !important;
        gap: 5px !important;
    }
    
    .add-to-cart-btn, .view-product-btn {
        width: 100% !important;
        padding: 8px !important;
        font-size: 11px !important;
    }
}
/* استایل دکمه‌های ناوبری پیشنهاد شگفت‌انگیز */
.navigation-buttons {
    display: flex;
    align-items: center;
    padding: 0 15px;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #e0e0e2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 16px;
}

.nav-button:hover {
    background-color: #f0f0f1;
    border-color: #395aef;
    transform: scale(1.1);
}

.nav-button i {
    color: #767790;
    transition: color 0.3s ease;
}

.nav-button:hover i {
    color: #395aef;
}

/* موقعیت‌دهی مخصوص برای دکمه‌ها در حالت‌های مختلف */
.prev-button {
    order: 1;
}

.next-button {
    order: 2;
}

/* رسپانسیو برای تبلت */
@media (max-width: 992px) {
    .navigation-buttons {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 15px;
        padding: 0;
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
    }
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .navigation-buttons {
        display: none;
    }
}



/* استایل برای بخش پایین فوتر */
.bxJd93_x {
    border-radius: 20px;
    padding: 30px;
    margin: 50px auto;
    max-width: 1630px;
}

.dark .bxJd93_x {
    background: var(--gray-800);
}

.lImo92_t h2 {
    color: var(--primary) !important;
}

.lImo92_t p {
    color: var(--gray-700) !important;
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 10px;
}

.dark .lImo92_t p {
    color: var(--gray-300) !important;
}

.Udfn33_j h2 {
    color: var(--primary-dark) !important;
}

.Ytma29_m {
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
}

.Ytma29_m input {
    background: var(--white);
    color: var(--gray-800);
}

.dark .Ytma29_m input {
    background: var(--gray-700);
    color: var(--gray-200);
}

.Ytma29_m button {
    background: var(--primary);
    color: var(--white);
}

.Ytma29_m button:hover {
    background: var(--primary-dark);
}


/* بهبود بخش special-offer در موبایل */
@media (max-width: 768px) {
    .special-offer {
        margin: 0 15px 30px 15px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        width: calc(100% - 30px) !important;
        max-width: none !important;
        background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    }
    
    .special-offer__content {
        padding: 20px !important;
        width: 100% !important;
    }
    
    .special-offer__image-container {
        padding: 20px !important;
        width: 100% !important;
        background: linear-gradient(135deg, #033279f2 0%, #1a73e8 100%) !important;
    }
    
    .special-offer__title {
        font-size: 18px !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .special-offer__features {
        padding-right: 0 !important;
        text-align: center !important;
        margin: 15px 0 !important;
    }
    
    .special-offer__feature-item {
        text-align: right !important;
        margin-bottom: 8px !important;
        font-size: 13px !important;
    }
    
    .special-offer__pricing {
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .special-offer__current-price {
        font-size: 20px !important;
    }
    
    .special-offer__original-price {
        font-size: 14px !important;
    }
    
    .special-offer__savings {
        font-size: 12px !important;
        padding: 3px 8px !important;
    }
    
    .special-offer__countdown {
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }
    
    .special-offer__time-unit {
        width: 60px !important;
        height: 60px !important;
        font-size: 16px !important;
    }
    
    .special-offer__time-label {
        font-size: 10px !important;
    }
    
    .special-offer__cta {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    .special-offer__product-image {
        max-height: 200px !important;
    }
    
    .special-offer__badge {
        top: 15px !important;
        left: -30px !important;
        padding: 6px 35px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .special-offer {
        margin: 0 12px 25px 12px !important;
        width: calc(100% - 24px) !important;
        border-radius: 14px !important;
    }
    
    .special-offer__content {
        padding: 15px !important;
    }
    
    .special-offer__image-container {
        padding: 15px !important;
    }
    
    .special-offer__title {
        font-size: 16px !important;
    }
    
    .special-offer__countdown {
        gap: 6px !important;
    }
    
    .special-offer__time-unit {
        width: 55px !important;
        height: 55px !important;
        font-size: 14px !important;
    }
    
    .special-offer__current-price {
        font-size: 18px !important;
    }
    
    .special-offer__feature-item {
        font-size: 12px !important;
    }
    
    .special-offer__product-image {
        max-height: 160px !important;
    }
    
    .special-offer__badge {
        top: 12px !important;
        left: -28px !important;
        padding: 5px 30px !important;
        font-size: 12px !important;
    }
}

/* بهبود نمایش در حالت تاریک */
@media (max-width: 768px) {
    .dark .special-offer {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    }
    
    .dark .special-offer__content {
        color: #e2e8f0 !important;
    }
    
    .dark .special-offer__title {
        color: #f7fafc !important;
    }
    
    .dark .special-offer__feature-item {
        color: #cbd5e0 !important;
    }
    
    .dark .special-offer__time-unit {
        border-color: #63b3ed !important;
        color: #63b3ed !important;
        background: #2d3748 !important;
    }
    
    .dark .special-offer__time-label {
        color: #a0aec0 !important;
    }
}





.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.mobile-nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateX(-5px);
}

.mobile-nav-link.active {
    background-color: var(--primary);
    color: white;
}

.mobile-nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.mobile-nav-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-auth-btn {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-auth-btn.outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.mobile-auth-btn.primary {
    background: var(--primary-grad);
    color: var(--bg-white);
    border: none;
}

.mobile-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.mobile-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

        /* استایل‌های سبد خرید */
        .cart-page {
            padding: 2rem 0;
        }
        
        .cart-header {
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .cart-title {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .cart-subtitle {
            color: var(--gray-600);
            font-size: 1.1rem;
        }
        
        .dark .cart-subtitle {
            color: var(--gray-400);
        }
        
        .cart-container {
            display: grid;
            grid-template-columns: 7fr 5fr;
            gap: 2rem;
        }
        
        @media (max-width: 992px) {
            .cart-container {
                grid-template-columns: 1fr;
            }
        }
        
        .cart-items {
            background-color: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
        }
        
        .dark .cart-items {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .cart-item {
            display: flex;
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--gray-200);
        }
        
        .dark .cart-item {
            border-bottom-color: var(--gray-700);
        }
        
        .cart-item:last-child {
            border-bottom: none;
        }
        
        .cart-item-image {
            width: 120px;
            height: 120px;
            flex-shrink: 0;
            margin-left: 1.5rem;
            border-radius: 0.5rem;
            overflow: hidden;
        }
        
        .cart-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .cart-item-details {
            flex-grow: 1;
        }
        
        .cart-item-name {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--gray-800);
        }
        
        .dark .cart-item-name {
            color: var(--gray-200);
        }
        
        .cart-item-price {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .current-price {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--primary);
            margin-left: 0.5rem;
        }
        
        .original-price {
            font-size: 0.9rem;
            color: var(--gray-500);
            text-decoration: line-through;
        }
        
        .cart-item-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .quantity-control {
            display: flex;
            align-items: center;
            border: 1px solid var(--gray-300);
            border-radius: 0.5rem;
            overflow: hidden;
        }
        
        .dark .quantity-control {
            border-color: var(--gray-600);
        }
        
        .quantity-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--gray-100);
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
            color: var(--gray-700);
            transition: all 0.2s;
        }
        
        .dark .quantity-btn {
            background-color: var(--gray-700);
            color: var(--gray-300);
        }
        
        .quantity-btn:hover {
            background-color: var(--primary);
            color: var(--white);
        }
        
        .quantity-input {
            width: 50px;
            height: 36px;
            border: none;
            text-align: center;
            font-size: 1rem;
            font-weight: 600;
            background-color: transparent;
            color: var(--gray-800);
        }
        
        .dark .quantity-input {
            color: var(--gray-200);
        }
        
        .remove-item {
            background: none;
            border: none;
            color: var(--gray-500);
            cursor: pointer;
            font-size: 1.1rem;
            transition: color 0.2s;
        }
        
        .remove-item:hover {
            color: var(--secondary);
        }
        
        .cart-summary {
            background-color: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 100px;
            display: flex;
            flex-direction: column;
        }
        
        .dark .cart-summary {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .summary-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary);
        }
        
        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
        }
        
        .summary-label {
            color: var(--gray-600);
        }
        
        .dark .summary-label {
            color: var(--gray-400);
        }
        
        .summary-value {
            font-weight: 600;
        }
        
        .summary-total {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem 1rem;
            margin-top: 1.5rem;
            margin-bottom: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid var(--gray-300);
            font-size: 1.2rem;
            font-weight: 800;
            line-height: 1.4;
        }
        
        .dark .summary-total {
            border-top-color: var(--gray-700);
        }
        
        .total-price {
            color: var(--primary);
        }
        
        .checkout-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: 100%;
            padding: 1rem;
            background: var(--primary-grad);
            color: var(--white);
            border: none;
            border-radius: 0.5rem;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            margin-top: 0;
            flex-shrink: 0;
            transition: all 0.3s;
            text-decoration: none;
            box-sizing: border-box;
        }
        
        .checkout-btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
        }
        
        .continue-shopping {
            display: block;
            text-align: center;
            margin-top: 1rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }
        
        .continue-shopping:hover {
            color: var(--secondary);
        }
        
        .empty-cart {
            text-align: center;
            padding: 3rem;
        }
        
        .empty-cart-icon {
            font-size: 4rem;
            color: var(--gray-300);
            margin-bottom: 1.5rem;
        }
        
        .empty-cart-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--gray-600);
        }
        
        .dark .empty-cart-title {
            color: var(--gray-400);
        }
        
        .empty-cart-text {
            color: var(--gray-500);
            margin-bottom: 2rem;
        }
        
        .dark .empty-cart-text {
            color: var(--gray-500);
        }
        
        .btn-primary {
            padding: 0.8rem 1.5rem;
            background: var(--primary-grad);
            color: var(--white);
            border: none;
            border-radius: 0.5rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s;
        }
        
        .btn-primary:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
        }
        


        
        /* محتوای مقاله */
        .article-container {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            padding: 3rem 0;
        }
        
        .article-content {
            font-size: 1.1rem;
        }
        
        .article-featured-image {
            width: 100%;
            border-radius: 1rem;
            margin: 2rem 0;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .article-featured-image:hover {
            transform: scale(1.01);
        }
        
        .article-section {
            margin-bottom: 3rem;
        }
        
        .article-section h2 {
            font-size: 1.8rem;
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .dark .article-section h2 {
            color: var(--primary-light);
        }
        
        .article-section h3 {
            font-size: 1.4rem;
            margin: 2rem 0 1rem;
            color: var(--gray-800);
        }
        
        .dark .article-section h3 {
            color: var(--gray-200);
        }
        
        .article-section p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        
        .article-section ul, 
        .article-section ol {
            margin: 1.5rem 0;
            padding-right: 1.5rem;
        }
        
        .article-section li {
            margin-bottom: 0.8rem;
            position: relative;
        }
        
        .article-section ul li::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--primary);
            border-radius: 50%;
            position: absolute;
            right: -1.2rem;
            top: 0.6rem;
        }
        
        .tip-box {
            background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
            border-right: 4px solid var(--info);
            padding: 1.5rem;
            border-radius: 0.5rem;
            margin: 2rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .dark .tip-box {
            background: linear-gradient(135deg, #006064 0%, #00838f 100%);
        }
        
        .tip-box::before {
            content: '\f0eb';
            font-family: var(--default-font-family);

            font-weight: 900;
            position: absolute;
            top: 1rem;
            left: 1rem;
            font-size: 2rem;
            opacity: 0.1;
        }
        
        .tip-box h4 {
            color: var(--info);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }
        
        .warning-box {
            background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
            border-right: 4px solid var(--danger);
            padding: 1.5rem;
            border-radius: 0.5rem;
            margin: 2rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .dark .warning-box {
            background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%);
        }
        
        .warning-box::before {
            content: '\f071';
            font-family: var(--default-font-family);

            font-weight: 900;
            position: absolute;
            top: 1rem;
            left: 1rem;
            font-size: 2rem;
            opacity: 0.1;
        }
        
        .warning-box h4 {
            color: var(--danger);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }
        
        /* سایدبار */
        .article-sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }
        
        .sidebar-widget {
            background: var(--white);
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            margin-bottom: 2rem;
        }
        
        .dark .sidebar-widget {
            background: var(--gray-800);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .sidebar-widget h3 {
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.7rem;
            border-bottom: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .author-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .author-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
            border: 3px solid var(--primary);
        }
        
        .author-name {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .author-bio {
            color: var(--gray-600);
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .dark .author-bio {
            color: var(--gray-400);
        }
        
        .author-social {
            display: flex;
            gap: 0.8rem;
        }
        
        .author-social a {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: var(--gray-100);
            color: var(--gray-700);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .dark .author-social a {
            background: var(--gray-700);
            color: var(--gray-300);
        }
        
        .author-social a:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }
        
        .table-of-contents {
            position: sticky;
            top: 120px;
        }
        
        .toc-list {
            list-style: none;
        }
        
        .toc-list li {
            margin-bottom: 0.7rem;
            padding-right: 1rem;
            border-right: 2px solid transparent;
            transition: all 0.3s;
        }
        
        .toc-list li:hover {
            border-right-color: var(--primary);
        }
        
        .toc-list li.active {
            border-right-color: var(--primary);
        }
        
        .toc-list a {
            color: var(--gray-700);
            text-decoration: none;
            transition: all 0.3s;
            display: block;
            font-size: 0.95rem;
        }
        
        .dark .toc-list a {
            color: var(--gray-300);
        }
        
        .toc-list a:hover {
            color: var(--primary);
            padding-right: 0.5rem;
        }
        
        .toc-list li.active a {
            color: var(--primary);
            font-weight: 600;
        }
        
        .share-widget h3 {
            margin-bottom: 1rem;
        }
        
        .share-buttons {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.7rem;
        }
        
        .share-button {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.7rem;
            border-radius: 0.5rem;
            color: white;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            font-size: 0.9rem;
        }
        
        .share-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .share-telegram {
            background: #0088cc;
        }
        
        .share-whatsapp {
            background: #25D366;
        }
        
        .share-twitter {
            background: #1DA1F2;
        }
        
        .share-linkedin {
            background: #0077B5;
        }
        
        /* دکمه‌های تعاملی */
        .article-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
            margin: 2rem 0;
            border-top: 1px solid var(--gray-200);
            border-bottom: 1px solid var(--gray-200);
        }
        
        .dark .article-actions {
            border-color: var(--gray-700);
        }
        
        .action-buttons {
            display: flex;
            gap: 1rem;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.2rem;
            border-radius: 0.5rem;
            background: var(--gray-100);
            color: var(--gray-700);
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            font-family: var(--default-font-family);

            font-size: 0.9rem;
        }
        
        .dark .action-btn {
            background: var(--gray-700);
            color: var(--gray-300);
        }
        
        .action-btn:hover {
            background: var(--primary);
            color: white;
        }
        
        .action-btn.active {
            background: var(--primary);
            color: white;
        }
        
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.7rem;
            margin: 2rem 0;
        }
        
        .article-tag {
            background: var(--gray-100);
            color: var(--gray-700);
            padding: 0.4rem 1rem;
            border-radius: 2rem;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s;
        }
        
        .dark .article-tag {
            background: var(--gray-700);
            color: var(--gray-300);
        }
        
        .article-tag:hover {
            background: var(--primary);
            color: white;
        }
        
        /* نظرات */
        .comments-section {
            margin: 3rem 0;
        }
        
        .comments-section h2 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.7rem;
            border-bottom: 2px solid var(--primary);
        }
        
        .comment-form {
            background: var(--white);
            padding: 2rem;
            border-radius: 1rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        }
        
        .dark .comment-form {
            background: var(--gray-800);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .comment-form h3 {
            margin-bottom: 1.5rem;
            color: var(--primary);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        
        .form-control {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid var(--gray-300);
            border-radius: 0.5rem;
            font-family: var(--default-font-family);
            transition: border-color 0.3s;
        }
        
        .dark .form-control {
            background: var(--gray-700);
            border-color: var(--gray-600);
            color: var(--gray-200);
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 0.5rem;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s;
        }
        
        .submit-btn:hover {
            background: var(--primary-dark);
        }
        
        .comment-list {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        .comment-item {
            display: flex;
            gap: 1.5rem;
            padding: 1.5rem;
            background: var(--white);
            border-radius: 1rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .dark .comment-item {
            background: var(--gray-800);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }
        
        .comment-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .comment-content {
            flex: 1;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.8rem;
        }
        
        .comment-author {
            font-weight: 600;
        }
        
        .comment-date {
            font-size: 0.8rem;
            color: var(--gray-500);
        }
        
        .dark .comment-date {
            color: var(--gray-400);
        }
        
        .comment-text {
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .comment-actions {
            display: flex;
            gap: 1rem;
        }
        
        .comment-action {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            color: var(--gray-500);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }
        
        .dark .comment-action {
            color: var(--gray-400);
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        /* مطالب مرتبط */
        .related-posts {
            margin: 4rem 0;
        }
        
        .related-posts h2 {
            font-size: 1.8rem;
            margin-bottom: 2rem;
            padding-bottom: 0.7rem;
            border-bottom: 2px solid var(--primary);
        }
        
        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        
        .related-card {
            background: var(--white);
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }
        
        .dark .related-card {
            background: var(--gray-800);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .related-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .related-card-image {
            height: 180px;
            overflow: hidden;
        }
        
        .related-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .related-card:hover .related-card-image img {
            transform: scale(1.05);
        }
        
        .related-card-content {
            padding: 1.5rem;
        }
        
        .related-card-title {
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
            line-height: 1.4;
        }
        
        .related-card-title a {
            color: var(--gray-800);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .dark .related-card-title a {
            color: var(--gray-200);
        }
        
        .related-card-title a:hover {
            color: var(--primary);
        }
        
        .related-card-date {
            font-size: 0.8rem;
            color: var(--gray-500);
        }
        
        .dark .related-card-date {
            color: var(--gray-400);
        }

        /* دکمه بازگشت به بالا */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            left: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 999;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
        }
        
        /* نوار پیشرفت خواندن */
        .reading-progress {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: transparent;
            z-index: 1001;
        }
        
        .reading-progress-bar {
            height: 100%;
            background: #061a73c2;
            width: 0%;
            transition: width 0.2s ease;
        }
        
        /* انیمیشن‌ها */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .fade-in {
            animation: fadeIn 0.6s ease forwards;
        }
        
        /* استایل‌های جدید برای دکمه تغییر تم */
        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--gray-600);
            font-size: 1.3rem;
            width: 2.8rem;
            height: 2.8rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: var(--gray-100);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .theme-toggle:hover {
            background-color: var(--primary);
            color: var(--white);
            transform: rotate(15deg) scale(1.1);
            box-shadow: 0 6px 16px rgba(67, 97, 238, 0.3);
        }

        .dark .theme-toggle {
            color: var(--gray-300);
            background: var(--gray-700);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .dark .theme-toggle:hover {
            background: var(--primary-light);
            box-shadow: 0 6px 16px rgba(109, 138, 255, 0.4);
        }

        /* افکت دایره‌ای هنگام کلیک */
        .theme-toggle::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: var(--primary);
            opacity: 0;
            transform: scale(0);
            transition: transform 0.6s, opacity 0.6s;
            z-index: 0;
        }

        .theme-toggle:active::after {
            transform: scale(2);
            opacity: 0.2;
        }

        .theme-toggle i {
            position: relative;
            z-index: 1;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* انیمیشن برای تغییر آیکون */
        .theme-toggle.rotating i {
            animation: rotate360 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes rotate360 {
            0% {
                transform: rotate(0deg) scale(1);
            }
            50% {
                transform: rotate(180deg) scale(1.2);
            }
            100% {
                transform: rotate(360deg) scale(1);
            }
        }

        /* انتقال نرم برای کل صفحه */
        body {
            transition: background-color 0.5s ease, color 0.5s ease;
            --default-font-family: 'payda', Tahoma, sans-serif;

        }

        /* افکت fade برای محتوا هنگام تغییر تم */
        .content-fade {
            animation: fadeIn 0.8s ease forwards;
        }

        @keyframes fadeIn {
            from { opacity: 0.7; }
            to { opacity: 1; }
        }

        /* ================= استایل‌های موبایل ================= */
        @media (max-width: 768px) {
            /* بهبود فاصله‌گذاری در کل سایت */
            .container {
                padding: 0 1rem;
            }
            
            /* هدر */
            .header-container {
                padding: 0.8rem 1rem;
            }
            
            .nav-menu {
                display: none;
            }
            
            .auth-buttons {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            /* هیرو مقاله */
            .article-hero {
                padding: 6rem 0 2rem;
            }
            
            .article-title {
                font-size: 1.8rem;
                margin-bottom: 1rem;
                padding: 0 0.5rem;
            }
            
            .article-excerpt {
                font-size: 1rem;
                padding: 0 0.5rem;
            }
            
            .article-meta {
                gap: 0.8rem;
                padding: 0 0.5rem;
            }
            
            .article-meta div {
                font-size: 0.8rem;
                padding: 0.4rem 0.8rem;
            }
            
            .article-hero-actions {
                flex-direction: column;
                gap: 0.8rem;
                padding: 0 0.5rem;
            }
            
            /* محتوای مقاله */
            .article-container {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 2rem 0;
            }
            
            .article-content {
                font-size: 1rem;
                padding: 0 0.5rem;
            }
            
            .article-section {
                margin-bottom: 2rem;
            }
            
            .article-section h2 {
                font-size: 1.5rem;
                margin: 2rem 0 1rem;
                padding: 0 0.5rem 0.5rem;
            }
            
            .article-section h3 {
                font-size: 1.2rem;
                margin: 1.5rem 0 0.8rem;
                padding: 0 0.5rem;
            }
            
            .article-section p {
                padding: 0 0.5rem;
                text-align: right;
                line-height: 1.8;
            }
            
            .article-section ul, 
            .article-section ol {
                padding-right: 1.5rem;
                padding-left: 0.5rem;
            }
            
            .tip-box, .warning-box {
                margin: 1.5rem 0.5rem;
                padding: 1.2rem;
            }
            
            /* سایدبار */
            .article-sidebar {
                padding: 0 0.5rem;
            }
            
            .sidebar-widget {
                padding: 1.2rem;
                margin-bottom: 1.5rem;
            }
            
            /* نظرات */
            .comments-section {
                margin: 2rem 0;
                padding: 0 0.5rem;
            }
            
            .comments-section h2 {
                font-size: 1.5rem;
                padding: 0 0.5rem 0.5rem;
            }
            
            .comment-form {
                padding: 1.5rem;
            }
            
            .comment-item {
                flex-direction: column;
                gap: 1rem;
                padding: 1.2rem;
            }
            
            .comment-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            /* مطالب مرتبط */
            .related-posts {
                margin: 2rem 0;
                padding: 0 0.5rem;
            }
            
            .related-posts h2 {
                font-size: 1.5rem;
                padding: 0 0.5rem 0.5rem;
            }
            
            .related-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .related-card-content {
                padding: 1.2rem;
            }
            
      
            /* دکمه بازگشت به بالا */
            .back-to-top {
                bottom: 1rem;
                left: 1rem;
                width: 45px;
                height: 45px;
            }
            
            /* دکمه‌های تعاملی */
            .article-actions {
                flex-direction: column;
                gap: 1rem;
                padding: 1.2rem 0.5rem;
                margin: 1.5rem 0;
            }
            
            .action-buttons {
                width: 100%;
                justify-content: space-between;
            }
            
            .action-btn {
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
            }
            
            .article-tags {
                gap: 0.5rem;
                margin: 1.5rem 0.5rem;
            }
            
            .article-tag {
                padding: 0.3rem 0.8rem;
                font-size: 0.85rem;
            }
        }
        
        @media (max-width: 576px) {
            .container {
                padding: 0 0.8rem;
            }
            
            .article-title {
                font-size: 1.6rem;
            }
            
            .article-excerpt {
                font-size: 0.95rem;
            }
            
            .article-meta {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .article-section h2 {
                font-size: 1.4rem;
            }
            
            .article-section h3 {
                font-size: 1.1rem;
            }
            
            .share-buttons {
                grid-template-columns: 1fr;
            }
        }

        /* logo */
        .hx9f_brandSlot__b6a{justify-self:start;display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
        .hx9f_logoBox__z19{width:51px;height:51px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:900;overflow: hidden;background:var(--primary-grad);}
        .hx9f_logoImage__x12{width:100%;height:100%;object-fit:cover;border-radius:inherit}
        .hx9f_brandTxt__m55{font-weight:800;letter-spacing:.2px;font-size:1.2rem;color:var(--primary-dark);}



        /* ================= استایل پست تک ================= */
        .article-hero {
            padding: 8rem 0 3rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .article-hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            z-index: -1;
        }
        
        .article-hero::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,218.7C672,224,768,160,864,138.7C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
            background-size: cover;
            background-position: center;
            z-index: -1;
        }
        
        .article-hero-content {
            max-width: 800px;
            margin: 0 auto;
            color: white;
        }
        
        .article-breadcrumb {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .article-breadcrumb a {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s;
        }
        
        .article-breadcrumb a:hover {
            opacity: 0.8;
        }
        
        .article-breadcrumb span {
            opacity: 0.7;
        }
        
        .article-title {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.3;
            font-weight: 800;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .article-excerpt {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .article-meta {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
            font-size: 0.9rem;
        }
        
        .article-meta div {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.15);
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            backdrop-filter: blur(10px);
        }
        
        .article-hero-actions {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }
        
        .btn {
            padding: 0.7rem 1.5rem;
            border-radius: 0.75rem;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            text-decoration: none;
            font-size: 0.9rem;
        }
        
        .btn-outline-light {
            border: 2px solid rgba(255, 255, 255, 0.5);
            color: white;
            background: transparent;
        }
        
        .btn-outline-light:hover {
            background: white;
            color: var(--primary);
        }
        
        .btn-primary {
            background: var(--primary-grad);
            color: white;
            border: none;
        }
        
        .btn-primary:hover {
            background: var(--secondary-light);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(37, 149, 247, 0.4);
        }


                
        /* استایل بخش هیرو */
        .privacy-hero {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 4rem 0;
            text-align: center;
        }
        
        .privacy-hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .privacy-hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        
        .breadcrumb {
            display: flex;
            justify-content: center;
            list-style: none;
        }
        
        .breadcrumb-item {
            margin: 0 0.5rem;
            position: relative;
        }
        
        .breadcrumb-item:not(:last-child):after {
            content: "/";
            position: absolute;
            left: -0.7rem;
        }
        
        .breadcrumb-item a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
        }
        
        .breadcrumb-item.active a {
            color: white;
            font-weight: bold;
        }
        
        /* استایل محتوای اصلی */
        .privacy-content {
            background-color: var(--bg-white);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 3rem;
            margin: 3rem auto;
        }
        
        .section-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .section-title:after {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .privacy-section {
            margin-bottom: 3rem;
        }
        
        .privacy-section h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        
        .privacy-section p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }
        
        .privacy-section ul {
            margin-right: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .privacy-section li {
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
        }
        
        .highlight-box {
            background-color: var(--bg-light);
            border-right: 4px solid var(--primary-color);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin: 1.5rem 0;
        }
        
        .info-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .info-table th, .info-table td {
            padding: 1rem;
            text-align: right;
            border: 1px solid var(--border-color);
        }
        
        .info-table th {
            background-color: var(--bg-light);
            font-weight: bold;
        }
        
        .update-info {
            background-color: var(--bg-light);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-top: 2rem;
            border-right: 4px solid var(--primary-color);
        }
        
        
        /* رسپانسیو */
        @media (max-width: 992px) {
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .auth-buttons {
                display: none;
            }
            
            .privacy-content {
                padding: 2rem;
            }
            
            .privacy-hero h1 {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .privacy-content {
                padding: 1.5rem;
            }
        }

























        
        /* ================= استایل‌های وبلاگ ================= */
        .blog-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 5rem 0;
            margin-bottom: 3rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .blog-hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,218.7C672,224,768,160,864,138.7C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
            background-size: cover;
            background-position: center;
        }
        
        .blog-hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            font-weight: 900;
            position: relative;
        }
        
        .blog-hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
            position: relative;
        }
        
        .blog-container {
            display: grid;
            grid-template-columns: 3fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        .blog-main {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        .blog-sidebar {
            background: var(--white);
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            height: fit-content;
            position: sticky;
            top: 100px;
        }
        
        .dark .blog-sidebar {
            background: var(--gray-800);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .sidebar-section {
            margin-bottom: 2rem;
        }
        
        .sidebar-section:last-child {
            margin-bottom: 0;
        }
        
        .sidebar-section h3 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .dark .sidebar-section h3 {
            color: var(--primary-light);
        }
        
        .categories-list {
            list-style: none;
        }
        
        .categories-list li {
            margin-bottom: 0.7rem;
        }
        
        .categories-list a {
            display: flex;
            justify-content: space-between;
            color: var(--gray-700);
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 0.3rem 0;
        }
        
        .dark .categories-list a {
            color: var(--gray-300);
        }
        
        .categories-list a:hover {
            color: var(--primary);
            padding-right: 0.5rem;
        }
        
        .categories-list span {
            background: var(--gray-200);
            color: var(--gray-600);
            padding: 0.1rem 0.5rem;
            border-radius: 1rem;
            font-size: 0.8rem;
        }
        
        .dark .categories-list span {
            background: var(--gray-700);
            color: var(--gray-300);
        }
        
        .popular-posts .post-item {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--gray-200);
        }
        
        .dark .popular-posts .post-item {
            border-bottom: 1px solid var(--gray-700);
        }
        
        .popular-posts .post-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .post-item img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 0.5rem;
        }
        
        .post-item-content h4 {
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
        }
        
        .post-item-content a {
            color: var(--gray-800);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .dark .post-item-content a {
            color: var(--gray-200);
        }
        
        .post-item-content a:hover {
            color: var(--primary);
        }
        
        .post-item-content .post-date {
            font-size: 0.8rem;
            color: var(--gray-500);
        }
        
        .dark .post-item-content .post-date {
            color: var(--gray-400);
        }
        
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .tags-cloud a {
            background: var(--gray-200);
            color: var(--gray-700);
            padding: 0.3rem 0.8rem;
            border-radius: 1rem;
            text-decoration: none;
            font-size: 0.8rem;
            transition: all 0.3s;
        }
        
        .dark .tags-cloud a {
            background: var(--gray-700);
            color: var(--gray-300);
        }
        
        .tags-cloud a:hover {
            background: var(--primary);
            color: white;
        }
        
        .blog-posts {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }
        
        .blog-card {
            background: var(--white);
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .dark .blog-card {
            background: var(--gray-800);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .featured-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: var(--secondary);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 0.25rem;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 2;
        }
        
        .blog-card-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .blog-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .blog-card:hover .blog-card-image img {
            transform: scale(1.1);
        }
        
        .blog-card-category {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--primary);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 0.25rem;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 2;
        }
        
        .blog-card-content {
            padding: 1.5rem;
        }
        
        .blog-card-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.8rem;
            font-size: 0.85rem;
            color: var(--gray-500);
        }
        
        .dark .blog-card-meta {
            color: var(--gray-400);
        }
        
        .blog-card-meta div {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        .blog-card-title {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            line-height: 1.4;
        }
        
        .blog-card-title a {
            color: var(--gray-800);
            text-decoration: none;
            transition: color 0.3s;
            background: linear-gradient(to left, var(--primary), var(--primary-dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .dark .blog-card-title a {
            color: var(--gray-200);
            background: linear-gradient(to left, var(--primary-light), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .blog-card-title a:hover {
            background: linear-gradient(to left, var(--secondary), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .blog-card-excerpt {
            color: var(--gray-600);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        
        .dark .blog-card-excerpt {
            color: var(--gray-400);
        }
        
        .blog-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .blog-card-readmore {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.3s;
        }
        
        .blog-card-readmore:hover {
            gap: 0.5rem;
            color: var(--secondary);
        }
        
        .blog-card-stats {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--gray-500);
            font-size: 0.85rem;
        }
        
        .dark .blog-card-stats {
            color: var(--gray-400);
        }
        
        .blog-card-stats div {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        .blog-pagination {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 3rem;
        }
        
        .pagination-item {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 0.5rem;
            background: var(--white);
            color: var(--gray-700);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .dark .pagination-item {
            background: var(--gray-800);
            color: var(--gray-300);
        }
        
        .pagination-item:hover,
        .pagination-item.active {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }
        
        .newsletter-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            padding: 3rem 2rem;
            border-radius: 1rem;
            color: white;
            text-align: center;
            margin: 4rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .newsletter-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,218.7C672,224,768,160,864,138.7C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
            background-size: cover;
            background-position: center;
        }
        
        .newsletter-section h2 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            position: relative;
        }
        
        .newsletter-section p {
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.9;
            position: relative;
        }
        
        .newsletter-form-blog {
            display: flex;
            max-width: 500px;
            margin: 0 auto;
            position: relative;
        }
        
        .newsletter-input-blog {
            flex: 1;
            padding: 0.8rem 1.2rem;
            border: none;
            border-radius: 0.5rem 0 0 0.5rem;
            font-family: var(--default-font-family);
        }
        
        .newsletter-btn-blog {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 0.5rem 0.5rem 0;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .newsletter-btn-blog:hover {
            background: #e51276;
        }
        

                
        /* Responsive styles for blog */
        @media (max-width: 992px) {
            .blog-container {
                grid-template-columns: 1fr;
            }
            
            .blog-sidebar {
                position: static;
                order: -1;
            }
            
            .blog-posts {
                grid-template-columns: 1fr;
            }
            
            .related-posts-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .blog-hero h1 {
                font-size: 2rem;
            }
            
            .blog-hero p {
                font-size: 1rem;
            }
            
            .article-title {
                font-size: 1.7rem;
            }
            
            .article-featured-image {
                height: 250px;
            }
            
            .author-box {
                flex-direction: column;
                text-align: center;
            }
            
            .related-posts-grid {
                grid-template-columns: 1fr;
            }
            
            .newsletter-form-blog {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .newsletter-input-blog,
            .newsletter-btn-blog {
                border-radius: 0.5rem;
            }
            
            .comment-item {
                flex-direction: column;
                text-align: center;
            }
            
            .comment-header {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .comment-replies {
                padding-right: 1rem;
            }
        }
        
        @media (max-width: 576px) {
            .blog-card-meta,
            .article-meta {
                flex-wrap: wrap;
            }
            
            .article-share {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }
        }

        .search-container {
            position: relative;
            width: 300px;
        }
        
        .search-input {
            width: 100%;
            padding: 0.7rem 1rem;
            padding-left: 3rem;
            border: 1px solid var(--gray-300);
            border-radius: 2rem;
            font-family: var(--default-font-family);
            transition: all 0.3s ease;
            background: var(--gray-100);
        }
        
        .dark .search-input {
            background: var(--gray-700);
            border-color: var(--gray-600);
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
            background: var(--white);
        }
        
        .dark .search-input:focus {
            background: var(--gray-600);
        }
        
        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-500);
        }
        
        /* Back to top button */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            left: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 999;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
        }
        
        /* Reading progress bar */
        .reading-progress {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: transparent;
            z-index: 1001;
        }
        
        .reading-progress-bar {
            height: 100%;
            background: var(--primary-grad);
            width: 0%;
            transition: width 0.2s ease;
        }
        
        /* Save for later button */
        .save-article {
            position: absolute;
            top: 1rem;
            left: 1rem;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray-600);
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 2;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .dark .save-article {
            background: var(--gray-700);
            color: var(--gray-300);
        }
        
        .save-article:hover {
            color: var(--secondary);
            transform: scale(1.1);
        }
        
        .save-article.saved {
            color: var(--secondary);
        }
        
        /* Article rating */
        .article-rating {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 1.5rem 0;
        }
        
        .rating-stars {
            display: flex;
            gap: 0.2rem;
        }
        
        .rating-star {
            color: var(--gray-300);
            cursor: pointer;
            transition: color 0.2s;
        }
        
        .rating-star:hover,
        .rating-star.active {
            color: var(--warning);
        }
        
        /* Reading time indicator */
        .reading-time {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: var(--gray-100);
            padding: 0.3rem 0.7rem;
            border-radius: 1rem;
            font-size: 0.8rem;
            color: var(--gray-600);
        }
        
        .dark .reading-time {
            background: var(--gray-700);
            color: var(--gray-300);
        }
        
        /* Featured post highlight */
        .featured-post {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
        
        .featured-post .blog-card-image {
            height: 300px;
        }
        
        /* Animation classes */
        .fade-in {
            animation: fadeIn 0.6s ease forwards;
        }
        
        .slide-up {
            animation: slideUp 0.6s ease forwards;
        }
        
        .scale-in {
            animation: scaleIn 0.5s ease forwards;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes scaleIn {
            from { 
                opacity: 0;
                transform: scale(0.9);
            }
            to { 
                opacity: 1;
                transform: scale(1);
            }
        }
        
        /* Staggered animation for cards */
        .blog-card:nth-child(1) { animation-delay: 0.1s; }
        .blog-card:nth-child(2) { animation-delay: 0.2s; }
        .blog-card:nth-child(3) { animation-delay: 0.3s; }
        .blog-card:nth-child(4) { animation-delay: 0.4s; }
        .blog-card:nth-child(5) { animation-delay: 0.5s; }
        .blog-card:nth-child(6) { animation-delay: 0.6s; }


        /* ================= استایل صفحه FAQ ================= */
        .faq-hero {
            background: var(--primary-grad);
            color: white;
            padding: 4rem 0;
            text-align: center;
            margin-bottom: 3rem;
            border-radius: 0 0 1rem 1rem;
        }
        
        .faq-hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .faq-hero p {
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
            opacity: 0.9;
        }
        
        .search-faq {
            max-width: 600px;
            margin: 2rem auto;
            position: relative;
        }
        
        .search-faq input {
            width: 100%;
            padding: 1rem 1.5rem;
            padding-left: 3rem;
            border: none;
            border-radius: 50px;
            font-family: var(--default-font-family);
            box-shadow: var(--shadow);
        }
        
        .search-faq i {
            position: absolute;
            left: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-500);
        }
        
        .faq-container {
            display: flex;
            gap: 2rem;
            margin-bottom: 4rem;
        }
        
        .faq-sidebar {
            width: 250px;
            flex-shrink: 0;
        }
        
        .faq-categories {
            background: var(--white);
            border-radius: 8px;
            box-shadow: var(--shadow);
            padding: 1.5rem;
            position: sticky;
            top: 100px;
        }
        
        body.dark-mode .faq-categories {
            background: var(--gray-800);
        }
        
        .faq-categories h3 {
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .faq-categories ul {
            list-style: none;
        }
        
        .faq-categories li {
            margin-bottom: 0.8rem;
        }
        
        .faq-categories a {
            display: block;
            padding: 0.7rem 1rem;
            text-decoration: none;
            color: var(--gray-600);
            border-radius: 6px;
            transition: all 0.3s ease;
        }
        
        body.dark-mode .faq-categories a {
            color: var(--gray-300);
        }
        
        .faq-categories a:hover,
        .faq-categories a.active {
            background-color: var(--primary);
            color: white;
        }
        
        .faq-content {
            flex: 1;
        }
        
        .faq-section {
            margin-bottom: 2.5rem;
        }
        
        .faq-section h2 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .faq-item {
            background: var(--white);
            border-radius: 8px;
            margin-bottom: 1rem;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        body.dark-mode .faq-item {
            background: var(--gray-800);
        }
        
        .faq-item:hover {
            box-shadow: var(--shadow-hover);
        }
        
        .faq-question {
            padding: 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.1rem;
        }
        
        .faq-question i {
            transition: transform 0.3s ease;
        }
        
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }
        
        .faq-answer {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }
        
        .faq-item.active .faq-answer {
            max-height: 500px;
            padding: 0 1.5rem 1.5rem;
        }
        
        .faq-answer p {
            margin-bottom: 1rem;
            line-height: 1.8;
        }
        
        .faq-answer ul, .faq-answer ol {
            margin-right: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .faq-answer li {
            margin-bottom: 0.5rem;
        }
        
        .contact-support {
            background: var(--primary-grad);
            color: white;
            padding: 3rem;
            border-radius: 12px;
            text-align: center;
            margin-top: 3rem;
        }
        
        .contact-support h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        
        .contact-support p {
            margin-bottom: 2rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .support-btn {
            display: inline-block;
            background: white;
            color: var(--primary);
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }
        
        .support-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        

        /* ================= رسپانسیو ================= */
        @media (max-width: 992px) {
            .faq-container {
                flex-direction: column;
            }
            
            .faq-sidebar {
                width: 100%;
            }
            
            .faq-categories {
                position: static;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background: var(--white);
                flex-direction: column;
                padding: 2rem;
                transition: right 0.3s ease;
                z-index: 1000;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }
            
            body.dark-mode .nav-menu {
                background: var(--gray-800);
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .faq-hero h1 {
                font-size: 2rem;
            }
            
            .faq-hero {
                padding: 3rem 0;
            }
            
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .contact-support {
                padding: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            .faq-hero h1 {
                font-size: 1.8rem;
            }
            
            .faq-question {
                padding: 1rem;
                font-size: 1rem;
            }
            
            .contact-support h2 {
                font-size: 1.5rem;
            }
        }

        

        


        
                
        /* استایل‌های صفحه محصول */
        .product-page {
            padding: 2rem 0;
        }
        
        .breadcrumb {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
            color: var(--gray-600);
        }
        
        .dark .breadcrumb {
            color: var(--gray-400);
        }
        
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .breadcrumb a:hover {
            color: var(--secondary);
        }
        
        .breadcrumb span {
            margin: 0 0.5rem;
        }
        
        .product-container {
            display: grid;
            grid-template-columns: 1fr 1.2fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        @media (max-width: 992px) {
            .product-container {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .product-container {
                grid-template-columns: 1fr;
            }
        }
        
        .product-gallery {
            position: relative;
            background: var(--white);
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
        }
        
        .dark .product-gallery {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .main-image {
            width: 100%;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }
        
        .main-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .thumbnail-container {
            display: flex;
            gap: 0.8rem;
            overflow-x: auto;
            padding: 0.5rem 0;
        }
        
        .thumbnail {
            width: 80px;
            height: 80px;
            border: 2px solid var(--gray-200);
            border-radius: 0.5rem;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        
        .dark .thumbnail {
            border-color: var(--gray-600);
        }
        
        .thumbnail.active {
            border-color: var(--primary);
        }
        
        .thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .product-info {
            background: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
        }
        
        .dark .product-info {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .product-title {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: var(--gray-800);
        }
        
        .dark .product-title {
            color: var(--gray-200);
        }
        
        .product-rating {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .stars {
            color: #ffc107;
            margin-left: 0.5rem;
        }
        
        .rating-count {
            color: var(--gray-600);
            font-size: 0.9rem;
        }
        
        .dark .rating-count {
            color: var(--gray-400);
        }
        
        .product-price {
            margin-bottom: 1.5rem;
        }
        
        .current-price {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
            margin-bottom: 0.5rem;
        }
        
        .original-price {
            font-size: 1.2rem;
            color: var(--gray-500);
            text-decoration: line-through;
            margin-left: 1rem;
        }
        
        .discount-badge {
            background: var(--secondary);
            color: white;
            padding: 0.3rem 0.7rem;
            border-radius: 0.25rem;
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .product-actions {
            margin-bottom: 1.5rem;
        }
        
        .quantity-selector {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .quantity-label {
            margin-left: 1rem;
            font-weight: 600;
        }
        
        .quantity-controls {
            display: flex;
            align-items: center;
            border: 1px solid var(--gray-300);
            border-radius: 0.5rem;
            overflow: hidden;
        }
        
        .dark .quantity-controls {
            border-color: var(--gray-600);
        }
        
        .quantity-btn {
            width: 40px;
            height: 40px;
            background: var(--gray-100);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s;
        }
        
        .dark .quantity-btn {
            background: var(--gray-700);
            color: var(--gray-300);
        }
        
        .quantity-btn:hover {
            background: var(--gray-200);
        }
        
        .dark .quantity-btn:hover {
            background: var(--gray-600);
        }
        
        .quantity-input {
            width: 60px;
            height: 40px;
            border: none;
            text-align: center;
            font-size: 1rem;
            font-weight: 600;
        }
        
        .dark .quantity-input {
            background: var(--gray-800);
            color: var(--gray-300);
        }
        
        .action-buttons {
            display: flex;
            gap: 1rem;
        }
        
        .btn-add-to-cart {
            flex: 2;
            padding: 1rem;
            background: var(--primary-grad);
            color: white;
            border: none;
            border-radius: 0.5rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .btn-add-to-cart:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        
        .btn-wishlist {
            width: 50px;
            padding: 1rem;
            background: var(--gray-100);
            color: var(--gray-700);
            border: 1px solid var(--gray-300);
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .dark .btn-wishlist {
            background: var(--gray-700);
            color: var(--gray-300);
            border-color: var(--gray-600);
        }
        
        .btn-wishlist:hover {
            color: var(--secondary);
            border-color: var(--secondary);
        }
        
        .product-meta {
            border-top: 1px solid var(--gray-200);
            padding-top: 1.5rem;
        }
        
        .dark .product-meta {
            border-color: var(--gray-700);
        }
        
        .meta-item {
            display: flex;
            margin-bottom: 0.8rem;
        }
        
        .meta-label {
            width: 120px;
            font-weight: 600;
            color: var(--gray-600);
        }
        
        .dark .meta-label {
            color: var(--gray-400);
        }
        
        .meta-value {
            flex: 1;
        }
        
        .product-details {
            background: var(--white);
            border-radius: 0.75rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
        }
        
        .dark .product-details {
            background-color: var(--gray-800);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .details-tabs {
            display: flex;
            border-bottom: 1px solid var(--gray-200);
            margin-bottom: 1.5rem;
        }
        
        .dark .details-tabs {
            border-color: var(--gray-700);
        }
        
        .tab-btn {
            padding: 1rem 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            font-weight: 600;
            color: var(--gray-600);
            position: relative;
            transition: all 0.3s;
        }
        
        .dark .tab-btn {
            color: var(--gray-400);
        }
        
        .tab-btn.active {
            color: var(--primary);
        }
        
        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            right: 0;
            width: 100%;
            height: 3px;
            background: var(--primary);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .specs-list {
            list-style: none;
        }
        
        .spec-item {
            display: flex;
            padding: 0.8rem 0;
            border-bottom: 1px solid var(--gray-200);
        }
        
        .dark .spec-item {
            border-color: var(--gray-700);
        }
        
        .spec-name {
            width: 200px;
            font-weight: 600;
            color: var(--gray-600);
        }
        
        .dark .spec-name {
            color: var(--gray-400);
        }
        
        .spec-value {
            flex: 1;
        }
        
        .description-content {
            line-height: 1.8;
        }
        
        .review-item {
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--gray-200);
        }
        
        .dark .review-item {
            border-color: var(--gray-700);
        }
        
        .review-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .reviewer-name {
            font-weight: 600;
            margin-left: 1rem;
        }
        
        .review-date {
            color: var(--gray-500);
            font-size: 0.9rem;
        }
        
        .review-content {
            line-height: 1.6;
        }
        
        .related-products {
            margin-top: 3rem;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary);
        }
        
        .section-title {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .dark .section-title {
            color: var(--primary-dark);
        }
        
        .view-all {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.3s ease;
        }
        
        .view-all:hover {
            color: var(--secondary);
            gap: 0.5rem;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
        }
        
        @media (max-width: 1200px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 576px) {
            .products-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .product-card {
            background-color: var(--white);
            border-radius: 0.5rem;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            position: relative;
        }
        
        .dark .product-card {
            background-color: var(--gray-700);
            border-color: var(--gray-600);
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .product-badge {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            background: var(--secondary);
            color: white;
            font-size: 0.75rem;
            font-weight: bold;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            z-index: 10;
        }
        
        .product-image {
            position: relative;
            height: 180px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        
        .product-image img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            transition: all 0.3s ease;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 1rem;
        }
        
        .product-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 0.5rem;
            height: 2.8rem;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .dark .product-title {
            color: var(--gray-200);
        }
        
        .product-price {
            display: flex;
            flex-direction: column;
            margin-bottom: 1rem;
        }
        
        .current-price {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--primary);
        }
        
        .original-price {
            font-size: 0.85rem;
            color: var(--gray-500);
            text-decoration: line-through;
        }
        
        .product-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .add-to-cart {
            background: var(--primary-grad);
            color: white;
            border: none;
            border-radius: 0.25rem;
            padding: 0.5rem 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        .add-to-cart:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        


        

        /* ================= استایل صفحه پرداخت ================= */
        .checkout-container {
            display: flex;
            flex-direction: column;
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
            gap: 2rem;
        }
        
        .checkout-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }
        
        .checkout-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .checkout-steps {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
        }
        
        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            padding: 0 2rem;
        }
        
        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--gray-200);
            color: var(--gray-600);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
        }
        
        .step.active .step-number {
            background-color: var(--primary);
            color: white;
        }
        
        .step.completed .step-number {
            background-color: var(--success);
            color: white;
        }
        
        .step-text {
            font-size: 0.9rem;
            color: var(--gray-500);
        }
        
        .step.active .step-text {
            color: var(--primary);
            font-weight: 600;
        }
        
        .step.completed .step-text {
            color: var(--success);
        }
        
        .step::after {
            content: '';
            position: absolute;
            top: 20px;
            right: -20px;
            width: 40px;
            height: 2px;
            background-color: var(--gray-300);
        }
        
        .step:last-child::after {
            display: none;
        }
        
        .checkout-content {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 2rem;
        }
        
        .checkout-form {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 2rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }
        
        .form-section {
            margin-bottom: 2rem;
        }
        
        .form-section-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-light);
            color: var(--text-primary);
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .form-group {
            margin-bottom: 1rem;
            position: relative;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--gray-700);
        }
        
        .form-input {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid var(--gray-300);
            border-radius: var(--radius);
            font-family: var(--default-font-family);
            transition: all 0.3s ease;
            background-color: var(--bg-light);
            color: var(--text-primary);
            border: 1px solid var(--border-light);   
             }
        
        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }
        
        .form-input.error {
            border-color: var(--error);
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
        }
        
        .form-select {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid var(--gray-300);
            border-radius: var(--radius);
            font-family: var(--default-font-family);
            background-color: var(--bg-white);
            color: var(--text-primary);
            cursor: pointer;
        }
        
        .form-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }
        
        .error-message {
            color: var(--error);
            font-size: 0.8rem;
            margin-top: 0.3rem;
            display: none;
        }
        
        .payment-methods {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 1.5rem;
        }
        .payment-methods i {
            font-size: 1.8rem;
            color: rgb(0 0 0 / 60%);
        }
        .payment-method {
            border: 2px solid var(--gray-300);
            border-radius: var(--radius);
            padding: 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .payment-method:hover {
            border-color: var(--primary);
        }
        
        .payment-method.selected {
            border-color: var(--primary);
            background-color: #00000138;
        }
        
        .payment-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: var(--gray-600);
        }
        
        .payment-method.selected .payment-icon {
            color: var(--primary);
        }
        
        .payment-name {
            font-weight: 600;
        }
        
        .coupon-section {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        
        .coupon-input {
            flex: 1;
        }
        
        .btn-coupon {
            white-space: nowrap;
        }
        
        .checkout-summary {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 2rem;
            box-shadow: var(--shadow);
            height: fit-content;
            position: sticky;
            top: 100px;
            transition: all 0.3s ease;
        }
        
        .summary-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary-light);
            color: var(--text-primary);
        }
        
        .order-items {
            margin-bottom: 1.5rem;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .order-item {
            display: flex;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--gray-200);
        }
        
        .item-image {
            width: 80px;
            height: 80px;
            border-radius: var(--radius);
            overflow: hidden;
            margin-left: 1rem;
            flex-shrink: 0;
        }
        
        .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .item-details {
            flex: 1;
        }
        
        .item-name {
            font-weight: 600;
            margin-bottom: 0.3rem;
        }
        
        .item-price {
            color: var(--primary);
            font-weight: 700;
        }
        
        .item-quantity {
            color: var(--gray-500);
            font-size: 0.9rem;
        }
        
        .summary-details {
            margin-bottom: 1.5rem;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.7rem;
        }
        
        .summary-label {
            color: var(--gray-600);
        }
        
        .summary-value {
            font-weight: 600;
        }
        
        .summary-total {
            display: flex;
            justify-content: space-between;
            font-size: 1.2rem;
            font-weight: 800;
            padding-top: 1rem;
            margin-top: 1rem;
            border-top: 2px solid var(--gray-300);
        }
        
        .total-label {
            color: var(--text-primary);
        }
        
        .total-price {
            color: var(--primary);
        }
        
        .checkout-actions {
            margin-top: 2rem;
        }
        
        .btn-pay {
            width: 100%;
            padding: 1rem;
            background: var(--primary-grad);
            color: white;
            border: none;
            border-radius: var(--radius);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            font-family: var(--default-font-family);
        }
        
        .btn-pay:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
        }
        
        .btn-pay:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .security-badge {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1rem;
            color: var(--gray-500);
            font-size: 0.9rem;
        }
        
        /* ================= صفحه تایید سفارش ================= */
        .order-confirmation {
            display: none;
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 3rem;
            box-shadow: var(--shadow);
            text-align: center;
            margin: 2rem auto;
            max-width: 600px;
        }
        
        .confirmation-icon {
            font-size: 4rem;
            color: var(--success);
            margin-bottom: 1.5rem;
        }
        
        .confirmation-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--success);
            margin-bottom: 1rem;
        }
        
        .confirmation-message {
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }
        
        .order-details {
            background-color: var(--gray-100);
            border-radius: var(--radius);
            padding: 1.5rem;
            margin-bottom: 2rem;
            text-align: right;
        }
        
        .order-detail-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
        }
        
        .order-detail-label {
            color: var(--gray-600);
        }
        
        .order-detail-value {
            font-weight: 600;
        }
        
        .confirmation-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }
        
        /* ================= رسپانسیو ================= */
        @media (max-width: 992px) {
            .checkout-content {
                grid-template-columns: 1fr;
            }
            
            .checkout-summary {
                position: static;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .payment-methods {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .checkout-steps {
                flex-direction: column;
                gap: 1.5rem;
            }
            
            .step::after {
                display: none;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background: var(--bg-white);
                flex-direction: column;
                padding: 2rem;
                transition: right 0.3s ease;
                z-index: 1000;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .search-container {
                width: 200px;
            }
            
            .auth-buttons {
                display: none;
            }
            
            .order-confirmation {
                padding: 2rem 1.5rem;
            }
            
            .confirmation-actions {
                flex-direction: column;
            }
        }
        
        @media (max-width: 576px) {
            .search-container {
                display: none;
            }
            
            .logo {
                font-size: 1.5rem;
            }
            
            .checkout-form,
            .checkout-summary {
                padding: 1.5rem;
            }
            
            .checkout-title {
                font-size: 1.7rem;
            }
        }
        



        
                
        /* استایل بخش هیرو */
        .privacy-hero {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 4rem 0;
            text-align: center;
        }
        
        .privacy-hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .privacy-hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        
        .breadcrumb {
            display: flex;
            justify-content: center;
            list-style: none;
        }
        
        .breadcrumb-item {
            margin: 0 0.5rem;
            position: relative;
        }
        
        .breadcrumb-item:not(:last-child):after {
            content: "/";
            position: absolute;
            left: -0.7rem;
        }
        
        .breadcrumb-item a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
        }
        
        .breadcrumb-item.active a {
            color: white;
            font-weight: bold;
        }
        
        /* استایل محتوای اصلی */
        .privacy-content {
            background-color: var(--bg-white);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 3rem;
            margin: 3rem auto;
        }
        
        .section-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .section-title:after {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .privacy-section {
            margin-bottom: 3rem;
        }
        
        .privacy-section h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        
        .privacy-section p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }
        
        .privacy-section ul {
            margin-right: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .privacy-section li {
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
        }
        
        .highlight-box {
            background-color: var(--bg-light);
            border-right: 4px solid var(--primary-color);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin: 1.5rem 0;
        }
        
        .info-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .info-table th, .info-table td {
            padding: 1rem;
            text-align: right;
            border: 1px solid var(--border-color);
        }
        
        .info-table th {
            background-color: var(--bg-light);
            font-weight: bold;
        }
        
        .update-info {
            background-color: var(--bg-light);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-top: 2rem;
            border-right: 4px solid var(--primary-color);
        }
        
        
        /* رسپانسیو */
        @media (max-width: 992px) {
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .auth-buttons {
                display: none;
            }
            
            .privacy-content {
                padding: 2rem;
            }
            
            .privacy-hero h1 {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .privacy-content {
                padding: 1.5rem;
            }
        }




        
/* ================= استایل صفحه درباره ما ================= */
.about-hero {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.9) 0%, rgba(58, 86, 212, 0.9) 100%), url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 0 0 var(--radius) var(--radius);
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.about-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 2rem;
}

.breadcrumb-item {
    margin: 0 0.5rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item::after {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item:last-child::after {
    content: "";
}

/* بخش داستان ما */
.our-story {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.story-content {
    flex: 1;
    padding: 3rem;
}

.story-image {
    flex: 1;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}



.story-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    transition: color 0.3s ease;
}

/* بخش ماموریت و ارزش‌ها */
.mission-values {
    margin-bottom: 5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-top: 4px solid var(--primary);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

.value-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.value-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

/* بخش تیم ما */
.our-team {
    margin-bottom: 5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 1.5rem;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.member-role {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* بخش آمار و ارقام */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 5rem;
    border-radius: var(--radius);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-title {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* بخش تماس با ما */
.contact-section {
    margin-bottom: 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-family: var(--default-font-family);
    transition: all 0.3s ease;
    background: var(--bg-light);
    color: var(--text-primary);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-grad);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* ================= رسپانسیو ================= */
@media (max-width: 1200px) {
    .values-grid, .team-grid, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .our-story {
        flex-direction: column;
    }
    
    .story-image {
        order: -1;
        height: 400px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .search-container {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .values-grid, .team-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 150px;
    }
    
    .auth-buttons {
        display: none;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .story-content {
        padding: 2rem;
    }
    
    .search-container {
        display: none;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .mobile-nav-menu {
        width: 280px;
    }
}
