    /* ===== Page Header (هوشمند برای RTL و LTR) ===== */
    .page-header {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: var(--white);
        padding-block: clamp(30px, 5vw, 60px);
        padding-inline: clamp(20px, 4vw, 30px);
        border-radius: var(--radius-xl);
        margin-block-end: clamp(20px, 4vw, 40px);
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        
        /* تنظیمات فلکس برای قرارگیری کنار هم */
        display: flex;
        flex-direction: row; 
        align-items: center;
        justify-content: flex-start; /* در فارسی لوگو را می‌برد راست، در انگلیسی می‌برد چپ */
        gap: clamp(20px, 4vw, 40px);
        flex-wrap: wrap;
    }

    .page-header::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><rect x="10" y="10" width="80" height="80" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="white" stroke-width="2"/></svg>') repeat;
        animation: rotateBg 40s linear infinite;
        pointer-events: none;
    }

    @keyframes rotateBg {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* استایل‌های مربوط به لوگو و تیک آبی */
    .mall-logo-wrapper {
        position: relative;
        display: inline-flex;
        flex-shrink: 0;
        z-index: 2;
    }

    .mall-logo {
        width: clamp(90px, 15vw, 120px);
        height: clamp(90px, 15vw, 120px);
        border-radius: var(--radius-full);
        border: 4px solid rgba(255, 255, 255, 0.3);
        object-fit: cover;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        background: var(--white);
    }

    .verified-badge {
        position: absolute;
        inset-block-end: 5px;
        inset-inline-end: 0px; /* هوشمند: در فارسی راست، در انگلیسی چپ */
        background: #3b82f6; /* رنگ استاندارد تیک آبی تاییدیه */
        color: var(--white);
        width: clamp(28px, 5vw, 32px);
        height: clamp(28px, 5vw, 32px);
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid var(--primary-dark);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        z-index: 10;
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .header-content {
        flex: 1 1 min(100%, 400px);
        position: relative;
        z-index: 2;
        text-align: start; /* هوشمند: متن در فارسی راست‌چین و در انگلیسی چپ‌چین می‌شود */
    }

    .header-content h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        font-weight: 700;
        margin-block-end: 10px;
        word-break: break-word;
        overflow-wrap: break-word;
        color: var(--white);
    }

    .header-content p {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        opacity: 0.9;
        max-width: 600px;
        color: var(--white);
    }

    .mall-badge {
        display: inline-block;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 8px 20px;
        border-radius: var(--radius-full);
        margin-block-start: 15px;
        font-weight: 500;
        font-size: 0.9rem;
        color: var(--white);
    }

    /* دکمه‌های هدر (مرتب شده و هوشمند) */
    .action-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        margin-block-start: 20px;
    }

    /* ===== Stats Bar ===== */
    .stats-bar {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding-block: clamp(15px, 3vw, 20px);
        padding-inline: clamp(20px, 4vw, 30px);
        margin-block-end: clamp(20px, 4vw, 30px);
        box-shadow: var(--shadow-sm);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .stats-bar .count {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        color: var(--gray);
    }

    .stats-bar .count strong {
        color: var(--primary);
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        margin-inline-start: 5px;
    }

    .stats-bar .mall-link {
        background: var(--primary-light);
        color: var(--primary);
        padding: 8px 20px;
        border-radius: var(--radius-full);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
        text-align: center;
    }

    /* ===== Stores Grid ===== */
    .stores-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
        gap: clamp(15px, 3vw, 25px);
        margin-block-end: 40px;
    }

    /* ===== Store Card ===== */
    .store-card {
        background: var(--white);
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border);
    }

    .card-image-wrapper {
        height: 200px;
        overflow: hidden;
        position: relative;
        background: linear-gradient(135deg, var(--primary-light), var(--white));
    }

    .card-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .store-badge {
        position: absolute;
        inset-block-start: 10px;
        inset-inline-end: 10px;
        background: var(--primary);
        color: var(--white);
        padding: 6px 14px;
        border-radius: var(--radius-full);
        font-size: 0.8rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3); /* هماهنگ با سایه آبی */
        z-index: 2;
    }

    .store-content {
        padding: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .store-content h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-block-end: 5px;
        color: var(--dark);
        word-break: break-word;
    }

    .store-username {
        font-size: 0.9rem;
        color: var(--gray);
        margin-block-end: 15px;
        word-break: break-word;
    }

    .store-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 20px;
        background: var(--primary-light);
        color: var(--primary);
        border-radius: var(--radius-full);
        font-size: 0.9rem;
        font-weight: 600;
        transition: var(--transition);
        margin-block-start: auto;
    }

    /* ===== Pagination ===== */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-block: 40px;
        flex-wrap: wrap;
    }

    .pagination a,
    .pagination span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        height: 44px;
        padding-inline: 12px;
        border-radius: var(--radius-md);
        background: var(--white);
        color: var(--gray);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
        border: 1px solid var(--border);
    }

    .pagination .active {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

    .pagination .disabled {
        opacity: 0.5;
        pointer-events: none;
        background: var(--light-gray);
    }

    /* ===== Load More Button ===== */
    .load-more-container {
        text-align: center;
        margin-block: 30px 50px;
    }

    .load-more-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 40px;
        background: var(--primary);
        color: var(--white);
        border-radius: var(--radius-full);
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition: var(--transition);
        box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3); /* سایه آبی */
    }

    .load-more-btn i {
        margin-inline-end: 8px;
        transition: transform 0.3s ease;
    }

    /* ===== Empty State ===== */
    .empty-state {
        text-align: center;
        padding-block: clamp(40px, 8vw, 80px);
        padding-inline: 20px;
        color: var(--gray);
        background: var(--white);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-sm);
        grid-column: 1 / -1;
    }

    .empty-state img {
        width: clamp(80px, 15vw, 120px);
        opacity: 0.5;
        margin-block-end: 20px;
    }

    .empty-state h3 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        margin-block-end: 10px;
        color: var(--dark);
    }

    .empty-state p { margin-block-end: 20px; }

    /* ===== Loading Animation ===== */
    .skeleton {
        background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }

    @keyframes loading {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }

    /* ===== Hover Effects (محافظت شده برای موبایل) ===== */
    @media (hover: hover) {
        .store-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }
        .store-card:hover .card-image-wrapper img {
            transform: scale(1.08);
        }
        .store-card:hover .store-link {
            background: var(--primary);
            color: var(--white);
        }
        .stats-bar .mall-link:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-2px);
        }
        .pagination a:not(.disabled):not(.active):hover {
            background: var(--primary-light);
            color: var(--primary);
            border-color: var(--primary-light);
        }
        
        .load-more-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
        }

        /* انیمیشن هوشمند آیکون با توجه به چپ‌چین/راست‌چین بودن سایت */
        [dir="ltr"] .load-more-btn:hover i { transform: translateX(5px); }
        [dir="rtl"] .load-more-btn:hover i { transform: translateX(-5px); }
    }

    /* ===== Mobile Specific Adjustments (ادغام شده) ===== */
    @media (max-width: 576px) {
        .page-header {
            text-align: center;
            flex-direction: column;
            justify-content: center;
        }
        
        .header-content { text-align: center; }
        
        .action-buttons { justify-content: center; }
        
        .stats-bar {
            flex-direction: column;
            text-align: center;
        }

        .stats-bar .mall-link, .load-more-btn { width: 100%; }

        /* ۳ ستونه در موبایل */
        .stores-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .card-image-wrapper {
            height: 90px;
        }

        .store-content {
            padding: 8px;
        }

        .store-content h3 {
            font-size: 0.75rem;
            margin-block-end: 2px;
        }

        .store-username {
            font-size: 0.65rem;
            margin-block-end: 8px;
        }

        .store-link {
            padding: 5px 10px;
            font-size: 0.7rem;
        }

        .store-badge {
            font-size: 0.65rem;
            padding: 3px 8px;
        }
    }

    /* =========================================
       استایل‌های دارک‌مود (Dark Mode) برای فروشگاه‌ها و هدر
       ========================================= */

    /* ===== Page Header & Logo ===== */
    [data-theme="dark"] .mall-logo {
        background: #18191a;
        border-color: rgba(255, 255, 255, 0.15);
    }

    [data-theme="dark"] .mall-badge {
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }

    /* ===== Stats Bar ===== */
    [data-theme="dark"] .stats-bar {
        background: #242526;
        border-color: #3e4042;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    [data-theme="dark"] .stats-bar .count {
        color: #b0b3b8;
    }

    [data-theme="dark"] .stats-bar .mall-link {
        background: #3a3b3c;
        color: #e4e6eb;
    }

    @media (hover: hover) {
        [data-theme="dark"] .stats-bar .mall-link:hover {
            background: var(--primary);
            color: #ffffff;
        }
    }

    /* ===== Store Card ===== */
    [data-theme="dark"] .store-card {
        background: #242526;
        border-color: #3e4042;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    [data-theme="dark"] .card-image-wrapper {
        background: #18191a; /* حذف گرادیانت روشن در پس‌زمینه عکس فروشگاه */
    }

    [data-theme="dark"] .store-content h3 {
        color: #e4e6eb;
    }

    [data-theme="dark"] .store-username {
        color: #b0b3b8;
    }

    [data-theme="dark"] .store-link {
        background: #3a3b3c;
        color: #e4e6eb;
    }

    @media (hover: hover) {
        [data-theme="dark"] .store-card:hover {
            border-color: rgba(0, 102, 255, 0.5); /* حاشیه نئونی ملایم */
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        }
        
        [data-theme="dark"] .store-card:hover .store-link {
            background: var(--primary);
            color: #ffffff;
        }
    }

    /* ===== Pagination ===== */
    [data-theme="dark"] .pagination a,
    [data-theme="dark"] .pagination span {
        background: #242526;
        border-color: #3e4042;
        color: #e4e6eb;
    }

    [data-theme="dark"] .pagination .disabled {
        background: #18191a;
        border-color: #2c2d2e;
        color: #666666;
    }

    @media (hover: hover) {
        [data-theme="dark"] .pagination a:not(.disabled):not(.active):hover {
            background: #3a3b3c;
            border-color: #555555;
            color: #ffffff;
        }
    }

    /* ===== Empty State ===== */
    [data-theme="dark"] .empty-state {
        background: #242526;
        border-color: #3e4042;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    [data-theme="dark"] .empty-state h3 {
        color: #e4e6eb;
    }

    [data-theme="dark"] .empty-state p {
        color: #b0b3b8;
    }

    /* ===== Loading Animation (Skeleton) ===== */
    [data-theme="dark"] .skeleton {
        background: linear-gradient(90deg, #242526 25%, #3a3b3c 50%, #242526 75%);
        background-size: 200% 100%;
    }
