    /* =========================================
       بخش هیرو (Hero Section)
       ========================================= */
    .mall-hero {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: var(--white);
        padding: clamp(40px, 6vw, 60px) clamp(20px, 4vw, 40px);
        border-radius: var(--radius-lg);
        text-align: center;
        margin-block-end: clamp(30px, 5vw, 50px);
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }

    /* پترن بک‌گراند انیمیشنی */
    .mall-hero::before {
        content: '';
        position: absolute;
        inset: -50%; /* بزرگتر کردن بک‌گراند برای چرخش بدون بریدگی */
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.08"><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 60s linear infinite;
        pointer-events: none;
    }

    .mall-logo-wrapper {
        position: relative;
        display: inline-block;
        margin-block-end: 20px;
        animation: fadeInDown 0.8s ease cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .mall-hero img {
        width: clamp(100px, 15vw, 140px);
        height: clamp(100px, 15vw, 140px);
        border-radius: var(--radius-full);
        border: 4px solid rgba(255, 255, 255, 0.4);
        object-fit: cover;
        box-shadow: var(--shadow-hover);
        display: block;
        background: var(--white);
    }

    /* بج تایید شده (تیک آبی) */
    .verified-badge {
        position: absolute;
        inset-block-end: 5px; /* جایگزین bottom */
        inset-inline-end: 5px; /* جایگزین right - هماهنگ با LTR/RTL */
        background: var(--primary); /* هماهنگ شده با پالت اصلی */
        color: var(--white);
        width: clamp(28px, 4vw, 34px);
        height: clamp(28px, 4vw, 34px);
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid var(--primary-dark);
        box-shadow: var(--shadow-md);
        z-index: 10;
        font-size: clamp(0.7rem, 2vw, 1rem);
    }

    /* متون Hero */
    .mall-hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
        font-weight: 800;
        margin-block: 10px 5px;
        position: relative;
        animation: fadeInUp 0.8s ease 0.2s backwards;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
        padding-inline: 10px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .mall-hero .username {
        font-size: clamp(1rem, 2.5vw, 1.15rem);
        color: rgba(255, 255, 255, 0.9);
        position: relative;
        animation: fadeInUp 0.8s ease 0.3s backwards;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    /* =========================================
       آمار (Stats) - گلس‌مورفیسم
       ========================================= */
    .stats {
        display: flex;
        justify-content: center;
        gap: clamp(15px, 3vw, 40px);
        margin-block: 30px;
        flex-wrap: wrap;
        position: relative;
        animation: fadeInUp 0.8s ease 0.4s backwards;
        color: var(--white);
    }

    .stat-item {
        text-align: center;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: clamp(12px, 2vw, 18px) clamp(20px, 3vw, 30px);
        border-radius: var(--radius-md);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex: 1 1 auto;
        min-width: 110px;
        max-width: 160px;
        transition: var(--transition);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
        color: var(--white);
    }

    .stat-item strong {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        font-weight: 800;
        display: block;
        line-height: 1.1;
        margin-block-end: 5px;
        color: var(--white);
    }

    .stat-item span {
        font-size: clamp(0.8rem, 2vw, 0.95rem);
        display: block;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
    }

    /* استایل لینک‌های باکس آمار */
    .stat-link {
        font-size: clamp(0.8rem, 2vw, 0.95rem);
        display: block;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        transition: color 0.3s ease;
        margin-block-start: 4px;
    }

    /* =========================================
       دکمه‌ها (Action Buttons)
       ========================================= */
    .action-buttons {
        display: flex;
        justify-content: center;
        gap: clamp(10px, 2vw, 20px);
        margin-block-start: clamp(20px, 4vw, 35px);
        flex-wrap: wrap;
        position: relative;
        animation: fadeInUp 0.8s ease 0.5s backwards;
    }


  
    /* =========================================
       سکشن‌ها و گریدها
       ========================================= */
    .section {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: clamp(20px, 4vw, 35px);
        margin-block-end: 30px;
        box-shadow: var(--shadow-sm);
        transition: box-shadow 0.3s ease;
        border: 1px solid var(--border); /* یکدست با کل سیستم */
    }

    .section h2 { 
        font-size: clamp(1.4rem, 3vw, 1.8rem); 
        font-weight: 800; 
        margin-block: 0 25px; 
        color: var(--dark); 
        border-block-end: 2px solid var(--border); 
        padding-block-end: 12px; 
        position: relative; 
    }
    
    .section h2::after { 
        content: ''; 
        position: absolute; 
        inset-block-end: -2px; 
        inset-inline-start: 0; /* جایگزین right برای سازگاری دوجهته */
        width: 60px; 
        height: 4px; 
        background: var(--primary); 
        border-radius: var(--radius-sm); 
    }

    /* گرید هوشمند */
    .grid { 
        display: grid; 
        gap: clamp(15px, 3vw, 25px); 
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); 
    }
    
    /* =========================================
       کارت محصولات
       ========================================= */
    .card { 
        background: var(--white); 
        border-radius: var(--radius-md); 
        overflow: hidden; 
        box-shadow: var(--shadow-sm); 
        transition: var(--transition); 
        text-decoration: none; 
        color: inherit; 
        display: flex; 
        flex-direction: column; 
        border: 1px solid var(--border); 
    }
    
    .card-img-wrapper { 
        height: 200px; 
        overflow: hidden; 
        position: relative; 
        background: var(--light-gray);
    }
    
    .card-img-wrapper img { 
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    }
    
    .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
    .card h3 { font-size: 1.15rem; font-weight: 700; margin-block: 0 10px; color: var(--dark); line-height: 1.5; }
    .card-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-block-start: auto; }
    
    .card-footer { 
        padding: 12px 20px; 
        border-block-start: 1px solid var(--border); 
        background: var(--gray-100); 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
    }
    
    .card-badge { 
        background: var(--primary-light); 
        color: var(--primary-dark); 
        padding: 6px 12px; 
        border-radius: var(--radius-full); 
        font-size: 0.8rem; 
        font-weight: 700; 
    }

    /* =========================================
       بخش‌های اطلاعات تماس و بیو
       ========================================= */
    .contact-info, .bio {
        background: var(--gray-100);
        padding: clamp(20px, 3vw, 25px);
        border-radius: var(--radius-md);
        border: 1px solid var(--border);
    }
    
    .contact-info p { margin-block: 12px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .contact-info strong { color: var(--dark); min-width: 90px; }
    .contact-info a { color: var(--primary); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }

    /* جایگزینی رنگ ثابت متون بیو با متغیر تیره */
    .bio { line-height: 1.9; font-size: 1.05rem; color: var(--dark-light); }
    
    /* لینک بیشتر */
    .more-link { text-align: center; margin-block-start: 35px; }
    .more-link a { 
        display: inline-flex; align-items: center; gap: 8px; 
        padding: 14px 40px; background: var(--primary); color: var(--white); 
        border-radius: var(--radius-full); text-decoration: none; 
        font-weight: 700; font-size: 1.05rem; transition: var(--transition); 
        box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3); /* سایه هماهنگ با رنگ آبی پالت */
    }

    /* =========================================
       انیمیشن‌ها
       ========================================= */
    @keyframes fadeInDown { 
        from { opacity: 0; transform: translateY(-40px); } 
        to { opacity: 1; transform: translateY(0); } 
    }
    @keyframes fadeInUp { 
        from { opacity: 0; transform: translateY(40px); } 
        to { opacity: 1; transform: translateY(0); } 
    }
    @keyframes rotateBg {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* =========================================
       هاورهای امن (فقط در دستگاه‌های دارای موس)
       ========================================= */
    @media (hover: hover) {
        .stat-link:hover { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.5); text-underline-offset: 4px; }
        .stat-item:hover { transform: translateY(-5px); background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
        .section:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
        .card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
        .card:hover .card-img-wrapper img { transform: scale(1.08); }
        .contact-info a:hover { text-decoration: underline; text-underline-offset: 4px; }
        .more-link a:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4); }
        
        /* اصلاح حرکت آیکون بر اساس زبان سایت (فارسی/انگلیسی) */
        html[dir="rtl"] .more-link a:hover i { transform: translateX(-5px); }
        html[dir="ltr"] .more-link a:hover i { transform: translateX(5px); }
    }

    /* تنظیمات موبایل */
   
/* =========================================
   دارک‌مود (Dark Mode) برای صفحه پروفایل / فروشگاه
   ========================================= */

/* تنظیمات کلی سکشن‌ها (مثل محصولات، درباره ما و...) */
[data-theme="dark"] .section {
    background-color: #242526 !important;
    border-color: #3e4042 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* عنوان سکشن‌ها (H2) */
[data-theme="dark"] .section h2 {
    color: #e4e6eb !important;
    border-bottom-color: #3e4042 !important;
}

/* کارت‌های محصول */
[data-theme="dark"] .card {
    background-color: #242526 !important;
    border-color: #3e4042 !important;
}

/* پس‌زمینه عکس محصول */
[data-theme="dark"] .card-img-wrapper {
    background-color: #18191a !important;
}

/* عنوان محصول (H3) */
[data-theme="dark"] .card h3 {
    color: #e4e6eb !important;
}

/* فوتر کارت محصول (بخش قیمت و بج) */
[data-theme="dark"] .card-footer {
    background-color: #18191a !important;
    border-top-color: #3e4042 !important;
}

/* بخش‌های اطلاعات تماس و بیو */
[data-theme="dark"] .contact-info, 
[data-theme="dark"] .bio {
    background-color: #18191a !important;
    border-color: #3e4042 !important;
}

/* متن‌های داخل بیو و اطلاعات تماس */
[data-theme="dark"] .contact-info p,
[data-theme="dark"] .bio {
    color: #b0b3b8 !important; /* رنگ خاکستری روشن برای خوانایی بهتر متن طولانی */
}

/* عناوین داخل اطلاعات تماس (مثل شماره تلفن، آدرس و...) */
[data-theme="dark"] .contact-info strong {
    color: #e4e6eb !important; /* رنگ سفید/روشن برای تاکید */
}

/* دکمه "Unfollow" در حالت دارک‌مود (تیره کردن دکمه خاکستری) */


/* هاور (Hover) اختصاصی برای دارک‌مود */
@media (hover: hover) {
    [data-theme="dark"] .card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important; /* سایه غلیظ‌تر برای کارت تیره */
    }
    
    [data-theme="dark"] .section:hover {
        border-color: #555 !important;
    }
    
    
}
/* اصلاح رنگ متن‌های باکس آمار (Stats) در دارک‌مود */
[data-theme="dark"] .stat-item strong,
[data-theme="dark"] .stat-item span,
[data-theme="dark"] .stat-item .stat-link {
    color: #ffffff !important;
}
