/* =========================================
   Mobile Performance Optimizer
   (فقط برای عرض ≤ 860px اعمال می‌شود)
   ========================================= */

/* غیرفعال کردن Blur های سنگین */
.glass,
.product-card,
.blog-card,
.sidebar-widget,
.newsletter,
.glass-card,
.ticket-form,
.filter-bar-glass,
.advanced-panel,
.sheet-content,
.notif-dropdown,
.nav-links,
.chat-panel,
.cart-item,
.checkout-wrapper,
.page-link,
.sidebar,
.main-content {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* کاهش سایه‌های سنگین */
.glass,
.product-card,
.blog-card,
.sidebar-widget,
.newsletter,
.glass-card,
.filter-bar-glass,
.advanced-panel,
.sheet-content,
.cart-item,
.page-link,
.main-content,
.sidebar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* غیرفعال کردن انیمیشن‌های reveal */
.reveal,
.reveal.fade-up,
.reveal.fade-left,
.reveal.fade-right,
.reveal.zoom-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* غیرفعال کردن hover های سنگین روی لمسی */
@media (hover: none) and (pointer: coarse) {
    .glass:hover,
    .product-card:hover,
    .primary-btn:hover,
    .secondary-btn:hover,
    .submit-btn:hover,
    .back-to-top:hover,
    .btn-download:hover,
    .btn-checkout:hover,
    .page-link:hover,
    .blog-card:hover,
    .info-card:hover,
    .order-item:hover,
    .ticket-item:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* غیرفعال کردن انیمیشن پس‌زمینه */
body {
    animation: none !important;
}
body::before {
    display: none !important;
}

/* بهینه‌سازی کارت‌های محصول */
.product-card {
    contain: content;
    will-change: auto;
}

/* کاهش transition های طولانی */
*,
*::before,
*::after {
    transition-duration: 0.15s !important;
}

/* بهبود خوانایی متن در موبایل */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* تصاویر را فقط در صورت نیاز بارگذاری کن */
img {
    content-visibility: auto;
}