:root {
            --bg-page: #f6f7fb;
            --accent: #4b3ef0;
            --accent-hover: #b8860b;
            --muted: #7d7d7d;
            --danger: #8c2131;
            --radius-lg: 24px;
            --radius-md: 14px;
            --box-shadow-special: 0 12px 28px rgba(236, 208, 144, 0.4);
            font-family: 'Vazir', 'IRANSans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
        }


        /* ====== Page wrapper ====== */
        .shop-shell {
            background: var(--bg-page);
            padding: 24px;
            margin-top: 75px;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            box-sizing: border-box;
            direction: rtl;
        }

        /* ====== Container ====== */
        .container-shop {
            width: 100%;
            background: #fff;
            border-radius: var(--radius-lg);
            padding: 20px 24px;
            box-shadow: 0 16px 40px rgba(20, 20, 40, 0.05);
            box-sizing: border-box;
        }

        /* ====== Top banner ====== */
        .shop-top-banner {
            background: linear-gradient(90deg, #fff8ed, #fffaf7);
            border-radius: 20px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 8px 20px rgba(20, 20, 40, 0.04);
            margin-bottom: 18px;
        }
        .shop-top-banner h1 { font-size: 22px; margin:0; font-weight:800; color:#3a2b11;}
        .shop-top-banner p { font-size:14px; margin:0; color:var(--muted);}
        .shop-top-banner .cta {
            background: linear-gradient(180deg, #efe2b8, #e6d09a);
            padding: 8px 16px;
            border-radius: 12px;
            font-weight:800;
            color:#332b22;
            text-decoration:none;
            font-size:14px;
            box-shadow: 0 8px 20px rgba(236,208,144,0.12);
        }

        /* ====== Search ====== */
        .shop-search {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
            align-items: center;
        }
        .search-input {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            padding: 12px 16px;
            border-radius: 16px;
            border: 1px solid rgba(20,20,40,0.04);
            box-shadow: 0 8px 18px rgba(20,20,40,0.03);
        }
        .search-input input { border:0; outline:none; font-size:15px; background:transparent; color:#222; width:100%; }
        .btn-filter { background:#fff; border:0; padding:12px; border-radius:12px; box-shadow:0 8px 18px rgba(20,20,40,0.03); cursor:pointer; }

        /* ====== Categories ====== */
        .shop-cats { display:flex; gap:12px; overflow-x:auto; padding-bottom:6px; margin-bottom:18px; }
        .shop-cats a { flex:0 0 auto; padding:10px 16px; border-radius:999px; background:#fff; box-shadow:0 6px 18px rgba(10,10,10,0.04); text-decoration:none; color:#333; font-weight:800; font-size:14px; white-space:nowrap; }
        .shop-cats a.active { background: var(--gold-accent);color:var(--brand-color); box-shadow:0 10px 30px rgba(75,62,240,0.12); }

        /* ====== Filters ====== */
        .shop-filters { display:flex; gap:12px; margin-bottom:20px; align-items:center; flex-wrap:wrap; }
        .filter-toggle { padding:10px 12px; border-radius:12px; background:#fff; border:1px solid rgba(0,0,0,0.04); font-weight:800; cursor:pointer; font-size:14px; box-shadow:0 8px 18px rgba(10,10,10,0.03); text-decoration: none; color: #333;}
        .filter-toggle.active { background:#fbeecf; border-color:#edd4a0; box-shadow:0 8px 20px rgba(236,208,144,0.09); }

        /* ====== Grid ====== */
        .shop-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }

        /* ====== Product card ====== */
        .card-shop {
            background:#fff;
            border-radius:28px;
            display:flex;
            flex-direction: row-reverse;
            align-items:stretch;
            gap:14px;
            padding:20px;
            box-shadow:0 12px 28px rgba(20,20,40,0.08);
            transition: transform .18s ease, box-shadow .18s ease;
            overflow: hidden;
            border: 2px solid transparent;
            text-decoration: none;
            color: inherit;
        }
        .card-shop:hover { transform:translateY(-6px); box-shadow:0 20px 40px rgba(20,20,40,0.1); }

        /* استایل اختصاصی برای محصولات ویژه */
        .card-shop.card-shop-special {
            border: 2px solid #edc26b;
            box-shadow: var(--box-shadow-special);
        }

        /* تصویر کارت */
        .card-img-wrap {
            flex: 0 0 200px;
            aspect-ratio: 1 / 1;
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, #f6f7fb, #fff);
        }
        .card-img-wrap img {
            width:100%;
            height:100%;
            object-fit:cover;
            display:block;
            transition: transform 0.3s ease;
        }
        .card-shop:hover .card-img-wrap img {
            transform: scale(1.05);
        }

        /* استایل برای بج تخفیف و جدید */
        .card-badge {
    position: absolute;
    top: 10px;
    left: 10px; /* 👈 انتقال به سمت چپ */
    right: auto; /* 👈 لغو کردن تنظیمات راست‌چین قبلی */
    padding: 5px 12px;
    border-radius: 50px; /* 👈 کاملاً گرد و فرم کپسولی */
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); /* سایه نرم برای تفکیک از عکس */
    backdrop-filter: blur(4px); /* کمی بلور برای حس شیشه‌ای جذاب */
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* استایل تخفیف (قرمز جذاب) */
.card-badge.sale {
    background-color: var(--danger, #e63946);
}

/* استایل محصول جدید (طلایی/زرد) */
.card-badge.new {
    background-color: var(--gold-accent, #f59e0b);
    color: #222; /* رنگ تیره برای خوانایی بهتر روی پس‌زمینه روشن */
}.card-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 4px 10px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            color: #fff;
            z-index: 2;
        }
        .card-badge.sale { background-color: var(--danger); }
        .card-badge.new { background-color: var(--gold-accent); }

        /* بدنه کارت */
        .card-body { flex:1; display:flex; flex-direction:column; justify-content:space-between; text-align:right; }
        .card-title { font-size:20px; font-weight:900; color:#111; margin:0 0 8px 0; line-height:1.2; }
        .card-desc { font-size:14px; color:#444; margin:0 0 12px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

        /* قیمت و دکمه */
        .price-row {
            display:flex;
            align-items:flex-end;
            justify-content:space-between;
            gap:12px;
            flex-direction: row-reverse;
        }
        .price-wrap {
            display:flex;
            flex-direction:column;
            align-items:flex-start;
            text-align: left;
        }
        .price-new {
            font-size:1.8rem;
            font-weight:900;
            color:var(--danger);
            display: flex;
            align-items: baseline;
            gap: 4px;
        }
        .price-new::after {
            content: "تومان";
            font-size: 14px;
            font-weight: 700;
            color: var(--muted);
        }
        .price-old {
            font-size:14px;
            color:#a7a7a7;
            text-decoration:line-through;
            margin-top:60px;
            display: flex;
            align-items: baseline;
            gap: 4px;
        }
        .price-old::after {
            content: "تومان";
            font-size: 12px;
            font-weight: 700;
            color: #a7a7a7;
        }

        .view-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: #fff;
            color: #444;
            border-radius: 50%;
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            transition: all .2s ease-in-out;
            cursor: pointer;
        }
        .view-icon:hover {
            background-color: var(--gold-accent);
            color: #fff;
            box-shadow: 0 8px 20px rgba(75,62,240,0.2);
            transform: scale(1.05);
        }

        /* Breadcrumb */
        .breadcrumb {
            padding: 10px 0;
            margin-bottom: 15px;
            font-size: 14px;
            color: var(--muted);
        }
        .breadcrumb a {
            color: var(--brand-color);
            text-decoration: none;
        }
        .breadcrumb span {
            margin: 0 5px;
        }

        /* ====== Responsive Breakpoints ====== */
        @media (max-width: 992px) {
            .shop-grid { grid-template-columns: repeat(2, 1fr); }
            .card-shop { flex-direction: row; }
        }

        @media (max-width:768px) {
            .shop-shell { padding: 12px; }
            .container-shop { padding: 16px; }
            .shop-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            .card-shop {
                flex-direction: row-reverse;
                align-items: center;
                padding: 12px;
                border-radius: 18px;
                box-shadow: 0 6px 18px rgba(0,0,0,0.06);
                gap: 12px;
            }
            .card-img-wrap {
                flex: 0 0 35%;
                height: auto;
                aspect-ratio: 1/1;
                border-radius: 12px;
            }
            .card-body { flex: 1; padding-right: 0; }
            .card-title { font-size: 16px; }
            .card-desc { font-size: 13px; -webkit-line-clamp:2; }
            .price-new { font-size: 1.5rem; }
            .price-old { font-size: 12px; }
            .view-icon { width: 36px; height: 36px; }
        }




        /* بازطراحی بخش تب‌ها و فیلترهای موبایل */
.filter-section-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* اسکرول بار مخفی برای زیبایی */
.custom-scroll-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 4px 12px 15px; /* پدینگ چپ (15px) برای جلوگیری از محو شدن کامل آیتم آخر */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth; /* اسکرول نرم */
    -webkit-overflow-scrolling: touch;

    /* جادوی UX 2026: محو کردن لبه سمت چپ در حالت راست‌چین (RTL) */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 100%);
}
.custom-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* استایل دکمه‌های کپسولی مدرن */
.modern-chip {
    flex: 0 0 auto;
    padding: 8px 18px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #eee;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.modern-chip.active {
    background: #edc26b; /* یا رنگ برند شما */
   color: var(--brand-color);
    border-color: #edd4a0;
    box-shadow: 0 4px 12px rgba(75, 62, 240, 0.3);
}

/* استایل فیلترهای ویژه (تیک‌دار) */
.special-filters-row {
    display: flex;
    gap: 10px;
}

.special-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff8ed;
    border: 1px dashed #edc26b;
    color: #8c6d1f;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.special-chip.active {
    background: #edc26b;
    color: #fff;
    border-style: solid;
}

@media (max-width: 768px) {
    .modern-chip {
        padding: 7px 15px;
        font-size: 12px;
    }
}
        /* =========================================
   اصلاحات هدفمند ریسپانسیو کارت‌ها
========================================= */

/* 1. رفع مشکل بیرون زدن متن از کارت */
.card-body {
    min-width: 0 !important;
}

/* 2. اصلاح مارجین اشتباه و بزرگ قیمت قبلی */
.price-old {
    margin-top: 0 !important;
    margin-bottom: 2px !important;
}

/* 3. اصلاحات اختصاصی فقط برای موبایل */
@media (max-width: 768px) {
    /* الف: جلوگیری از کوچیک شدن بیش از حد عکس (حذف درصد و استفاده از سایز ثابت) */
    .card-img-wrap {
        flex: 0 0 110px !important;
        width: 110px !important;
        height: 110px !important;
    }

    /* ب: اصلاح سایز فونت‌ها که تو موبایل خیلی بزرگ بودن */
    .price-new {
        font-size: 1.1rem !important;
    }

    .card-title {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .card-desc {
        font-size: 12px !important;
        /* محدود کردن توضیحات به دو خط در موبایل برای جلوگیری از شلوغی */
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* ج: اصلاح موقعیت و ظاهر بج تخفیف روی عکس تو سایز موبایل */
    .card-badge {
        top: 6px !important;
        right: 6px !important;
        padding: 3px 6px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
    }

    /* د: متناسب کردن سایز آیکون چشم */
    .view-icon {
        width: 44px !important;
        height: 44px !important;
    }
}

/* بهینه‌سازی برای گوشی‌های خیلی کوچیک (مثل iPhone SE) */
@media (max-width: 400px) {
    .card-img-wrap {
        flex: 0 0 90px !important;
        width: 90px !important;
        height: 90px !important;
    }
    .price-new {
        font-size: 1rem !important;
    }
}
        /* =========================================
   طراحی دکمه شناور (FAB) و منوی فیلتر موبایل
========================================= */
/* در دسکتاپ دکمه کاملا مخفی است */
.mobile-filter-fab {
    display: none;
}

@media (max-width: 768px) {
    /* استایل دکمه شناور جمع‌وجور در سمت راست */
    .mobile-filter-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: fixed;
        bottom: 90px; /* قرارگیری بالاتر از منوی پایین صفحه */
        right: 20px; /* انتقال به سمت راست (چون چپ دکمه پشتیبانیه) */
        left: auto;
        transform: none; /* حذف وسط‌چین شدن قبلی */
        background: var(--brand-color); /* هماهنگی کامل با رنگ بنفش سایت */
        color: #fff;
        border: 1px solid var(--brand-light);
        padding: 9px 18px; /* سایز کوچیک‌تر و ظریف‌تر */
        border-radius: 50px;
        font-size: 13px;
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(86, 3, 173, 0.35); /* سایه هماهنگ با تم بنفش */
        z-index: 1010;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-filter-fab:active {
        transform: scale(0.95);
    }

    /* تبدیل کانتینر فیلتر فعلی به منوی کشویی از پایین */
    .filter-section-container {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background: #f6f7fb;
        z-index: 1060; /* 🔴 ارتقا از 1001 به 1060 تا روی تمام منوهای سایت قرار بگیره */
        padding: 24px 16px 40px; /* 🔴 افزایش پدینگ پایین برای جلوگیری از گیر کردن آخرین فیلترها */
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
        transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 90vh; /* 🔴 اجازه میدیم منو تا ۹۰ درصد ارتفاع گوشی بالا بیاد */
        overflow-y: auto;
        margin-bottom: 0;
    }

    /* کلاسی که با JS اضافه میشه تا منو بیاد بالا */
    .filter-section-container.show-mobile {
        bottom: 0;
    }

    /* پس‌زمینه تاریک پشت منو برای تمرکز کاربر */
    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(3px);
        z-index: 1050; /* 🔴 ارتقا از 1000 به 1050 تا روی هدر و فوتر قرار بگیره */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .filter-overlay.show {
        display: block;
        opacity: 1;
    }
}
        /* =========================================
   طراحی مدرن بج تخفیف و جدید (UI/UX)
========================================= */
.card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    border-radius: 8px 0 8px 8px; /* یک فرم هندسی جذاب و متفاوت */
    font-size: 8px;
    font-weight: 900;
    color: #fff;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* سایه نرم برای جدا شدن از پس‌زمینه عکس */
    backdrop-filter: blur(2px);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* استایل تخفیف (قرمز جذاب) */
.card-badge.sale {
    background-color: var(--danger, #e63946);
}

/* استایل محصول جدید (طلایی/زرد) */
.card-badge.new {
    background-color: var(--gold-accent, #f59e0b);
    color: #222; /* رنگ تیره برای خوانایی بهتر روی پس‌زمینه روشن */
}

/* =========================================
   بهینه‌سازی بج تخفیف برای موبایل
========================================= */
@media (max-width: 768px) {
    .card-badge {
        top: 6px;
        left: 6px; /* 👈 هماهنگ با دسکتاپ در سمت چپ */
        right: auto;
        padding: 4px 8px;
        font-size: 10px; /* سایز متناسب برای خوانایی در موبایل */
        border-radius: 50px; /* 👈 حفظ فرم گرد کپسولی */
    }
}


            @keyframes spin { 100% { transform: rotate(360deg); } }
/* =========================================
   طراحی نهایی و یکپارچه بج تخفیف (دسکتاپ و موبایل)
   (استفاده از important برای خنثی کردن کدهای تکراری قبلی)
========================================= */

/* --- نسخه دسکتاپ (سایز بزرگتر و کپسولی در سمت چپ) --- */
.card-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;     /* انتقال قطعی به چپ */
    right: auto !important;    /* خنثی کردن راست‌چین‌های قدیمی */
    padding: 6px 14px !important; /* فضای بیشتر دور عدد */
    border-radius: 50px !important; /* کاملاً گرد و کپسولی */
    font-size: 14px !important; /* بزرگتر شدن عدد در دسکتاپ */
    font-weight: 900 !important;
    color: #fff !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(4px) !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* رنگ تخفیف */
.card-badge.sale {
    background-color: var(--danger, #e63946) !important;
}

/* رنگ محصول جدید */
.card-badge.new {
    background-color: var(--gold-accent, #f59e0b) !important;
    color: #222 !important;
}

/* --- نسخه موبایل (اندازه متناسب، گرد و در سمت چپ) --- */
@media (max-width: 768px) {
    .card-badge {
        top: 8px !important;
        left: 8px !important;      /* ثابت ماندن در سمت چپ */
        right: auto !important;
        padding: 5px 12px !important; /* سایز متناسب، نه خیلی بزرگ نه کوچیک */
        font-size: 12px !important; /* خواناتر و بزرگتر شدن در موبایل */
        border-radius: 50px !important; /* اعمال قطعی حالت گرد کپسولی */
    }
}
/* =========================================
   طراحی نهایی و بهینه بج تخفیف (دسکتاپ و موبایل)
   (اصلاح مشکل اشغال فضای عکس در اعداد دو رقمی)
========================================= */

/* --- نسخه دسکتاپ --- */
.card-badge {
    position: absolute !important;
    top: 8px !important;       /* 👈 چسباندن بیشتر به لبه بالا */
    left: 8px !important;      /* 👈 چسباندن بیشتر به لبه چپ */
    right: auto !important;
    padding: 3px 8px !important; /* 👈 کاهش پدینگ افقی برای جلوگیری از دراز شدن بج */
    border-radius: 50px !important;
    font-size: 12px !important;  /* 👈 سایز متعادل (نه خیلی بزرگ، نه خیلی ریز) */
    font-weight: 800 !important; /* 👈 کمی ضخامت را کم کردیم تا عدد جمع‌وجورتر شود */
    color: #fff !important;
    z-index: 10 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    backdrop-filter: blur(4px) !important;
    letter-spacing: 0 !important; /* 👈 حذف فاصله بین حروف برای اشغال فضای کمتر */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
}

/* رنگ تخفیف */
.card-badge.sale {
    background-color: var(--danger, #e63946) !important;
}

/* رنگ محصول جدید */
.card-badge.new {
    background-color: var(--gold-accent, #f59e0b) !important;
    color: #222 !important;
}

/* --- نسخه موبایل --- */
@media (max-width: 768px) {
    .card-badge {
        top: 4px !important;       /* 👈 کاملاً چسبیده به کنج بالا-چپ تا روی محصول نیاید */
        left: 4px !important;
        right: auto !important;
        padding: 2px 6px !important; /* 👈 بسیار جمع‌وجور برای عکس ۱۱۰ پیکسلی */
        font-size: 11px !important;  /* 👈 سایز خوانا اما ظریف */
        border-radius: 50px !important;
    }
}
/* ظاهر مدرن و لوکس برای لودر محصولات */
.infinite-scroll-trigger {
    grid-column: 1 / -1; /* باعث میشود در گرید تمام عرض را بگیرد */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    width: 100%;
}
.modern-loader { display: flex; gap: 8px; }
.modern-loader .dot {
    width: 12px; height: 12px;
    background-color: var(--brand-color, #e53e3e);
    border-radius: 50%;
    animation: bounce 0.5s infinite alternate;
}
.modern-loader .dot:nth-child(2) { animation-delay: 0.15s; }
.modern-loader .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { to { transform: translateY(-8px); opacity: 0.6; } }
/* =========================================
   استایل‌های باکس سئو (SEO Content Box)
========================================= */
.seo-luxury-box {
    background: #fff;
    border-radius: var(--radius-lg, 24px);
    padding: 35px 40px;
    margin-top: 60px;
    margin-bottom: 20px;
    box-shadow: 0 16px 40px rgba(20, 20, 40, 0.04);
    border: 1px solid rgba(86, 3, 173, 0.08); /* حاشیه ملایم بنفش */
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

/* بخش متن */
.seo-content-area {
    flex: 1;
    min-width: 60%;
    position: relative;
    max-height: 220px; /* ارتفاع پیش‌فرض قبل از کلیک روی مشاهده بیشتر */
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-content-area.expanded {
    max-height: 3000px; /* یک عدد بزرگ برای نمایش کامل متن */
}

.seo-title {
    font-size: 20px;
    font-weight: 900;
    color: #2A1B3D;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.seo-title i {
    color: var(--brand-color, #5603AD);
}

.seo-text-body {
    font-size: 14.5px;
    line-height: 2.1;
    color: #555;
    text-align: justify;
}
/* استایل برای تگ‌های داخل متن سئو (مثل بولد و لینک) */
.seo-text-body h3 { font-size: 17px; color: #333; margin-top: 20px; font-weight: 800; }
.seo-text-body strong { color: #222; }
.seo-text-body a { color: var(--brand-color, #5603AD); font-weight: bold; text-decoration: none; border-bottom: 1px dashed; }

/* سایه محو کننده پایین متن */
.seo-fade-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.seo-content-area.expanded .seo-fade-gradient {
    opacity: 0;
}

/* بخش تصویر سئو */
.seo-image-area {
    flex: 0 0 320px; /* عرض ثابت برای تصویر در دسکتاپ */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.seo-image-area img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

/* دکمه مشاهده بیشتر */
.seo-read-more-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--brand-color, #5603AD);
    color: var(--brand-color, #5603AD);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(86, 3, 173, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}
.seo-read-more-btn:hover {
    background: var(--brand-color, #5603AD);
    color: #fff;
}
.seo-read-more-btn i {
    transition: transform 0.3s ease;
}
.seo-read-more-btn.active i {
    transform: rotate(180deg);
}

/* ریسپانسیو (موبایل) */
@media (max-width: 992px) {
    .seo-luxury-box {
        flex-direction: column-reverse; /* در موبایل عکس برود بالا و متن پایین بیاید */
        padding: 25px 20px 50px;
        gap: 25px;
    }
    .seo-image-area {
        flex: 1;
        width: 100%;
    }
    .seo-title {
        font-size: 17px;
    }
    .seo-text-body {
        font-size: 13.5px;
    }
}
/* =========================================
   UX 2026: Luxury Magazine Hub (صفحه فرود ژورنالی)
========================================= */
.magazine-hub-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    margin-top: 90px; /* فاصله از هدر */
}

/* هدر مینیمال بالای صفحه */
.hub-intro {
    text-align: center;
    margin-bottom: 45px;
}
.hub-intro h1 {
    font-size: 26px;
    font-weight: 900;
    color: #111;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.hub-intro p {
    font-size: 15px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

/* استایل بخش‌های مختلف (بازار، کاربرد، ...) */
.hub-section {
    margin-bottom: 50px;
}
.hub-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 12px;
}
.hub-section-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hub-section-header h2::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 20px;
    background: #edc26b; /* رنگ طلایی زعفران */
    border-radius: 4px;
}

/* شبکه اختصاصی کارت‌ها (دسکتاپ ۴ ستون، تبلت ۳ ستون، موبایل ۲ ستون) */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* کارت‌های تصویری لوکس */
.hub-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5; /* نسبت تصویر عمودی ژورنالی */
    text-decoration: none;
    display: block;
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    /* برای پرفورمنس بالا در اسکرول */
    transform: translateZ(0);
    transition: box-shadow 0.3s ease;
}

.hub-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hub-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.hub-card:hover img {
    transform: scale(1.06);
}

/* سایه تیره روی عکس برای خوانایی متن */
.hub-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 16px;
    z-index: 2;
}

.hub-card-title {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hub-card-subtitle {
    color: #edd4a0;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.9;
}

/* کارت‌های مربوط به غرفه‌داران (دایره‌ای یا متفاوت) */
.hub-grid.sellers-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}
.seller-card {
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.seller-card:hover {
    border-color: #5603AD;
    box-shadow: 0 8px 20px rgba(86,3,173,0.08);
}
.seller-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.seller-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.seller-name {
    font-size: 14px;
    font-weight: 800;
    color: #222;
    margin: 0;
}

/* =========================================
   موبایل فرندلی (استاندارد طلایی ۲ ستونه)
========================================= */
@media (max-width: 992px) {
    .hub-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .magazine-hub-wrapper { margin-top: 75px; padding: 0 15px 30px; }
    .hub-intro h1 { font-size: 22px; }
    .hub-section { margin-bottom: 35px; }
    .hub-section-header h2 { font-size: 17px; }

    /* 🔴 جادوی موبایل: دقیقاً ۲ کارت کنار هم 🔴 */
    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hub-card { border-radius: 14px; }
    .hub-card-overlay { padding: 15px 12px; }
    .hub-card-title { font-size: 14px; }
    .hub-card-subtitle { font-size: 10px; }

    .hub-grid.sellers-grid { grid-template-columns: repeat(2, 1fr); }
    .seller-img-wrap { width: 60px; height: 60px; }
    .seller-name { font-size: 13px; }
}
.magazine-hub-wrapper {
    max-width: 1300px; /* هماهنگ با عرض max-width: 1300px هدر شما */
    margin: 0 auto;
    /* فاصله 110 پیکسل از بالا برای رد کردن هدر ثابت و 40 پیکسل از پایین */
    padding: 110px 15px 40px;
}
/* استایل‌های مدرن و لوکس بخش فروشندگان (موبایل فرندلی) */
    .modern-sellers-wrapper {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        padding: 10px 5px 25px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* برای فایرفاکس */
    }
    .modern-sellers-wrapper::-webkit-scrollbar {
        display: none; /* برای کروم و سافاری */
    }

    .modern-seller-card {
        flex: 0 0 135px; /* عرض ثابت هر کارت */
        scroll-snap-align: start;
        background: linear-gradient(145deg, #ffffff, #fcf9ff);
        border: 1px solid #E9D8FD;
        border-radius: 18px;
        padding: 18px 10px;
        text-align: center;
        text-decoration: none !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 15px rgba(86,3,173,0.04);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .modern-seller-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(86,3,173,0.12);
        border-color: #5603AD;
    }
    .modern-seller-avatar {
        width: 75px;
        height: 75px;
        border-radius: 50%;
        padding: 3px;
        background: linear-gradient(45deg, #FFB703, #5603AD); /* حاشیه رنگی جذاب */
        position: relative;
    }
    .modern-seller-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #fff; /* فاصله سفید بین حاشیه رنگی و عکس */
    }
    .seller-verify-badge {
        position: absolute;
        bottom: 0;
        right: 0;
        background: #28a745;
        color: white;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        border: 2px solid #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .modern-seller-name {
        font-size: 13px;
        font-weight: 800;
        color: #2A1B3D;
        margin: 0;
        line-height: 1.4;
    }
    .modern-seller-action {
        font-size: 11px;
        color: #5603AD;
        background: #f0e6fc;
        padding: 5px 15px;
        border-radius: 20px;
        font-weight: bold;
        transition: background 0.3s;
    }
    .modern-seller-card:hover .modern-seller-action {
        background: #5603AD;
        color: #fff;
    }
    /* استایل محصولات ناموجود */
.card-shop.card-shop-oos {
    opacity: 0.65;
    filter: grayscale(85%);
    transition: all 0.3s ease;
    cursor: default;
}

.card-shop.card-shop-oos:hover {
    opacity: 0.85;
    filter: grayscale(40%); /* با هاور کردن کاربر کمی رنگ برمی‌گردد تا حس مردگی به کل از بین نرود */
}

/* بج ناموجود */
.card-badge.oos {
    background-color: #6c757d;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    top: 10px;
    right: 10px;
    position: absolute;
    font-weight: bold;
}
/* =========================================
   UX 2026: بج‌های حراج داغ (پروموشن) با افکت تپش قلب
========================================= */
.card-badge.promo {
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%) !important;
    color: #fff !important;
    font-size: 13px !important;
    padding: 5px 14px !important;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4) !important;
    animation: pulse-promo 2s infinite cubic-bezier(0.66, 0, 0, 1);
    border: 1px solid rgba(255,255,255,0.2);
}

@keyframes pulse-promo {
    0% { box-shadow: 0 0 0 0 rgba(255, 65, 108, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(255, 65, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 65, 108, 0); }
}

@media (max-width: 768px) {
    .card-badge.promo {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
}
.magazine-hub-wrapper{margin-top:0!important;padding:16px 15px 40px!important}
.shop-shell{margin-top:0!important;padding-top:16px!important}
@media(max-width:768px){.magazine-hub-wrapper{padding-top:12px!important}}