/* ==========================================================================
   ArsanGame - Shop/Category Grid, SEO Description & WOOF/HUSKY Filters
   ========================================================================== */

/* ArsanGame - Product archive grid spacing */

body .nws-section.product-archive-archive-content-section.sidebar_left ul.products,
body .nws-section.product-archive-archive-content-section.sidebar_right ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .nws-section.product-archive-archive-content-section.sidebar_left ul.products > *,
body .nws-section.product-archive-archive-content-section.sidebar_right ul.products > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    flex-basis: auto !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* Tablet and mobile */

@media (max-width: 991px) {
    body .nws-section.product-archive-archive-content-section.sidebar_left ul.products,
    body .nws-section.product-archive-archive-content-section.sidebar_right ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* Category Infinite Scroll Skeleton */

.nws-section.product-archive-archive-content-section {

    .page-load-status {
        display: none;
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
        clear: both;
        box-sizing: border-box;
    }

    .page-load-status > .infinite-scroll-request {
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        display: block;
        box-sizing: border-box;
    }

    .page-load-status .arsan-skeleton-list {
        display: grid !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
        margin: 0;
        padding: 0 0 15px;
        box-sizing: border-box;
        direction: rtl;
    }

    .page-load-status .price-product-skeleton {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        background: #252525;
        border-radius: 6px;
        box-sizing: border-box;
    }

    /* Image */
    .page-load-status .arsan-skeleton-image {
        position: relative;
        display: block;
        width: 100%;
        aspect-ratio: 390 / 257;
        overflow: hidden;
        background: #383838;
        border-radius: 15px 15px 0 0;
    }

    /* Content */
    .page-load-status .arsan-skeleton-content {
        padding: 12px;
    }

    .page-load-status .arsan-skeleton-line {
        position: relative;
        height: 10px;
        margin-bottom: 12px;
        overflow: hidden;
        background: #383838;
        border-radius: 5px;
    }

    .page-load-status .arsan-skeleton-title {
        width: 85%;
    }

    .page-load-status .arsan-skeleton-short {
        width: 55%;
        height: 8px;
        margin-bottom: 0;
    }

    /* Footer */
    .page-load-status .arsan-skeleton-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: 14px;
    }

    .page-load-status .arsan-skeleton-price {
        width: 45%;
        height: 13px;
        margin: 0;
    }

    .page-load-status .arsan-skeleton-circle {
        position: relative;
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
        overflow: hidden;
        background: #383838;
        border-radius: 50%;
    }

    /* Shimmer */
    .page-load-status .arsan-skeleton-image::after,
    .page-load-status .arsan-skeleton-line::after,
    .page-load-status .arsan-skeleton-circle::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(100%);
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.07),
            transparent
        );
        animation: arsan-skeleton-shimmer 1.5s infinite;
    }

    /* Without Sidebar */
    &.without_sidebar {
        .page-load-status .arsan-skeleton-list {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    /* Mobile */
    @media (max-width: 767px) {

        .page-load-status .arsan-skeleton-list {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .page-load-status .arsan-skeleton-content {
            padding: 10px;
        }

        .page-load-status .arsan-skeleton-footer {
            margin-top: 12px;
        }
    }
}

.nws-section.product-archive-archive-content-section .page-load-status {
    clear: both;
    position: relative;
    width: 100%;
    margin: 15px 0 45px !important;
    box-sizing: border-box;
}

.nws-section.product-archive-archive-content-section .page-load-status .infinite-scroll-request {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

.nws-section.product-archive-archive-content-section .page-load-status .arsan-skeleton-list {
    width: 100% !important;
    box-sizing: border-box;
}

/* Fix Category Skeleton Height */

.nws-section.product-archive-archive-content-section .page-load-status {
    display: none;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    clear: both;
    box-sizing: border-box;
}

.nws-section.product-archive-archive-content-section .page-load-status > .infinite-scroll-request {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 30px !important;
    overflow: visible !important;
    box-sizing: border-box;
}

.nws-section.product-archive-archive-content-section .arsan-skeleton-list {
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 0 !important;
    padding: 0 0 15px;
    box-sizing: border-box;
}

.nws-section.product-archive-archive-content-section .price-product-skeleton {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Sidebar */

.nws-section.product-archive-archive-content-section.without_sidebar .arsan-skeleton-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Mobile */

@media (max-width: 767px) {
    .nws-section.product-archive-archive-content-section .arsan-skeleton-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* =========================================================
   استایل‌دهی باکس توضیحات دسته‌بندی‌های ووکامرس (آرسان گیم)
   ========================================================= */

.tax-product_cat .term-description,
.tax-product_cat .category-description {
    direction: rtl;
    text-align: right;
    color: #e0e0e0 !important;
    font-size: 15px !important;
    line-height: 2 !important;
}

/* پاراگراف‌ها */

.tax-product_cat .term-description p,
.tax-product_cat .category-description p {
    color: #e0e0e0 !important;
    font-size: 15px !important;
    line-height: 2 !important;
    margin-bottom: 14px;
    text-align: right;
}

/* تیتر H2 اصلی داخل متن (هماهنگ با نوار قرمز کارت) */

.tax-product_cat .term-description h2,
.tax-product_cat .category-description h2 {
    color: #ff6666 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    margin: 22px 0 12px !important;
    text-align: right !important;
}

/* تیتر H3 (زیرعنوان‌ها) */

.tax-product_cat .term-description h3,
.tax-product_cat .category-description h3 {
    color: #ffffff !important;
    font-size: 17.5px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    margin: 20px 0 10px !important;
    text-align: right !important;
}

/* تیتر H4 */

.tax-product_cat .term-description h4,
.tax-product_cat .category-description h4 {
    color: #e8ba5d !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 16px 0 8px !important;
    text-align: right !important;
}

/* کلمات بولد داخل متن */

.tax-product_cat .term-description strong,
.tax-product_cat .term-description b,
.tax-product_cat .category-description strong,
.tax-product_cat .category-description b {
    color: #ffffff !important;
    font-weight: 700;
}

/* رفع مشکل جهت‌دهی و چیدمان لیست‌های بولت‌دار و عددی */

.tax-product_cat .term-description ul,
.tax-product_cat .term-description ol,
.tax-product_cat .category-description ul,
.tax-product_cat .category-description ol {
    direction: rtl !important;
    text-align: right !important;
    padding-right: 22px !important;
    padding-left: 0 !important;
    margin: 10px 0 18px !important;
}

.tax-product_cat .term-description li,
.tax-product_cat .category-description li {
    color: #e0e0e0 !important;
    font-size: 14.5px !important;
    line-height: 2 !important;
    text-align: right !important;
    margin-bottom: 8px;
}

/* رنگ بولت‌ها و اعداد لیست */

.tax-product_cat .term-description li::marker,
.tax-product_cat .category-description li::marker {
    color: #ff6666;
}

/* خط جداکننده (hr) بین بخش‌ها */

.tax-product_cat .term-description hr,
.tax-product_cat .category-description hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 22px 0;
}

/* لینک‌های داخلی داخل توضیحات */

.tax-product_cat .term-description a,
.tax-product_cat .category-description a {
    color: #e8ba5d;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tax-product_cat .term-description a:hover,
.tax-product_cat .category-description a:hover {
    color: #ff6666;
}

/* نسخه موبایل */

@media (max-width: 768px) {
    .tax-product_cat .term-description h2,
    .tax-product_cat .category-description h2 {
        font-size: 18px !important;
    }
    .tax-product_cat .term-description h3,
    .tax-product_cat .category-description h3 {
        font-size: 16px !important;
    }
    .tax-product_cat .term-description p,
    .tax-product_cat .term-description li,
    .tax-product_cat .category-description p,
    .tax-product_cat .category-description li {
        font-size: 14px !important;
        line-height: 1.9 !important;
    }
}

/* ==========================================================================
   ARSANGAME - HUSKY / WOOF FILTER SIDEBAR (v3 - FINAL) + STICKY FIX + SORT BAR
   ========================================================================== */

/* ---------- ۰. رفع قطعی پرش و جابه‌جایی سایدبار هنگام اسکرول ---------- */

@media (min-width: 992px) {
    html body .nws-section.product-archive-archive-content-section,
    html body .nws-section.product-archive-archive-content-section .container,
    html body .nws-section.product-archive-archive-content-section .row,
    html body .sidebar-column {
        overflow: visible !important;
    }

    /* جایگزینی position: sticky بومی به جای محاسبات پرش‌دار theiaStickySidebar */
    html body .sidebar-column > .theiaStickySidebar {
        position: sticky !important;
        top: 24px !important; /* اگر هدر سایت شما هنگام اسکرول چسبان است، این عدد را به 90px تغییر دهید */
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
        max-height: calc(100vh - 44px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(255, 102, 102, 0.45) transparent !important;
        padding-left: 4px !important;
        box-sizing: border-box !important;
    }

    html body .sidebar-column > .theiaStickySidebar::-webkit-scrollbar {
        width: 4px;
    }
    html body .sidebar-column > .theiaStickySidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    html body .sidebar-column > .theiaStickySidebar::-webkit-scrollbar-thumb {
        background: rgba(255, 102, 102, 0.35);
        border-radius: 99px;
    }
    html body .sidebar-column > .theiaStickySidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 102, 102, 0.7);
    }
}

/* ---------- ۱. کانتینر اصلی ویجت فیلتر ---------- */

#wrapper .shop-sidebar section.widget.WOOF_Widget,
#wrapper .shop-sidebar section.widget.WOOF_Widget > .wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#wrapper .shop-sidebar section.widget.WOOF_Widget::before,
#wrapper .shop-sidebar section.widget.WOOF_Widget::after,
#wrapper .shop-sidebar section.widget.WOOF_Widget > .wrapper::before,
#wrapper .shop-sidebar section.widget.WOOF_Widget > .wrapper::after {
    display: none !important;
    content: none !important;
}

#wrapper .shop-sidebar .widget.widget-woof {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    background: linear-gradient(180deg, #232327 0%, #1A1A1E 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 14px !important;
    margin: 0 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36),
                inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    direction: rtl !important;
    text-align: right !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#wrapper .shop-sidebar .widget.widget-woof::after {
    display: none !important;
    content: none !important;
}

#wrapper .shop-sidebar .widget.widget-woof::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 16% !important;
    right: 16% !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent 0%, #FF6666 35%, #E8BA5D 65%, transparent 100%) !important;
    box-shadow: 0 0 14px rgba(255, 102, 102, 0.6) !important;
    border-radius: 99px !important;
    pointer-events: none !important;
}

/* ---------- ۲. هدر ویجت ---------- */

#wrapper .shop-sidebar .widget.widget-woof .widget-title {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: linear-gradient(90deg, rgba(255, 102, 102, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    margin: 0 0 14px 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#wrapper .shop-sidebar .widget.widget-woof .widget-title::before,
#wrapper .shop-sidebar .widget.widget-woof .widget-title::after,
#wrapper .shop-sidebar .widget.widget-woof .widget-title h3::after {
    display: none !important;
    content: none !important;
}

#wrapper .shop-sidebar .widget.widget-woof .widget-title h3 {
    position: static !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.5 !important;
    text-align: right !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#wrapper .shop-sidebar .widget.widget-woof .widget-title h3::before {
    content: "" !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    flex: 0 0 28px !important;
    display: inline-block !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background-color: rgba(255, 102, 102, 0.16) !important;
    border: 1px solid rgba(255, 102, 102, 0.35) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6666' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E") !important;
}

#wrapper .shop-sidebar .widget.widget-woof .widget-content,
#wrapper .shop-sidebar .widget.widget-woof .woof,
#wrapper .shop-sidebar .widget.widget-woof .woof_sid_widget {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
}

#wrapper .shop-sidebar .widget.widget-woof a.woof_edit_view {
    float: none !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 10px !important;
    margin: 0 0 10px 0 !important;
    border-radius: 7px !important;
    background: rgba(232, 186, 93, 0.1) !important;
    border: 1px solid rgba(232, 186, 93, 0.28) !important;
    color: #E8BA5D !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* ---------- ۳. کارت‌های داخلی هر فیلتر ---------- */

#wrapper .shop-sidebar .widget-woof .woof_redraw_zone {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

#wrapper .shop-sidebar .widget-woof .woof_redraw_zone .woof_container {
    position: relative !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    background: linear-gradient(165deg, rgba(43, 43, 47, 0.72) 0%, rgba(28, 28, 32, 0.92) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    box-sizing: border-box !important;
    transition: border-color 0.25s ease !important;
}

#wrapper .shop-sidebar .widget-woof .woof_redraw_zone .woof_container:hover {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container::before,
#wrapper .shop-sidebar .widget-woof .woof_container::after,
#wrapper .shop-sidebar .widget-woof .woof_container_inner::before,
#wrapper .shop-sidebar .widget-woof .woof_container_inner::after,
#wrapper .shop-sidebar .widget-woof .woof_block_html_items::before,
#wrapper .shop-sidebar .widget-woof .woof_block_html_items::after,
#wrapper .shop-sidebar .widget-woof ul.woof_list::before,
#wrapper .shop-sidebar .widget-woof ul.woof_list::after,
#wrapper .shop-sidebar .widget-woof .woof_container_overlay_item {
    display: none !important;
    content: none !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container_inner {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container_inner > h4 {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 0 12px 10px 0 !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.5 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container_inner > h4::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: 3px !important;
    width: 3.5px !important;
    height: 16px !important;
    border-radius: 99px !important;
    background: linear-gradient(180deg, #FF6666 0%, #E8BA5D 100%) !important;
    box-shadow: 0 0 10px rgba(255, 102, 102, 0.65) !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container_inner > h4::after {
    display: none !important;
    content: none !important;
}

/* ---------- ۴. لیست گزینه‌های رادیو و چک‌باکس (حذف علامت < و راست‌چین دقیق) ---------- */

#wrapper .shop-sidebar .widget-woof .woof_block_html_items {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_radio,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_checkbox {
    list-style: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    border-radius: 0 !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li:not(.woof_open_hidden_li),
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_radio > li:not(.woof_open_hidden_li),
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_checkbox > li:not(.woof_open_hidden_li) {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    background-image: none !important;
    border: 1px solid transparent !important;
    list-style: none !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li.woof_hidden_term {
    display: none !important;
}

/* حذف کامل شبه‌عناصر قالب روی رادیو و چک‌باکس (عامل < و وسط‌چین شدن سبک‌ها) */

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li::before,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li::after,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_radio > li::before,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_radio > li::after,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_checkbox > li::before,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_checkbox > li::after,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list label.woof_radio_label::before,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list label.woof_radio_label::after,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list label.woof_checkbox_label::before,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list label.woof_checkbox_label::after,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list span.woof_radio_count::before,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list span.woof_radio_count::after,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list span.woof_checkbox_count::before,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list span.woof_checkbox_count::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li:not(.woof_open_hidden_li):hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li:not(.woof_open_hidden_li):has(input:checked) {
    background: linear-gradient(90deg, rgba(255, 102, 102, 0.06) 0%, rgba(255, 102, 102, 0.16) 100%) !important;
    border-color: rgba(255, 102, 102, 0.36) !important;
    box-shadow: 0 4px 14px rgba(255, 102, 102, 0.12) !important;
}

/* رادیو و چک‌باکس سفارشی */

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input[type="radio"].woof_radio_term,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input[type="checkbox"].woof_checkbox_term {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    inset: auto !important;
    float: none !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #141417 !important;
    background-image: none !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
    pointer-events: auto !important;
    transition: all 0.2s ease !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input[type="radio"].woof_radio_term {
    border-radius: 50% !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input[type="checkbox"].woof_checkbox_term {
    border-radius: 5px !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li:hover input[type="radio"].woof_radio_term,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li:hover input[type="checkbox"].woof_checkbox_term {
    border-color: rgba(255, 102, 102, 0.7) !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input[type="radio"].woof_radio_term:checked {
    border-color: #FF6666 !important;
    background-color: #FF6666 !important;
    box-shadow: inset 0 0 0 3.5px #1A1A1E, 0 0 10px rgba(255, 102, 102, 0.55) !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input[type="checkbox"].woof_checkbox_term:checked {
    border-color: #FF6666 !important;
    background: linear-gradient(135deg, #FF6666 0%, #DF4545 100%) !important;
    box-shadow: 0 0 10px rgba(255, 102, 102, 0.45) !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input[type="checkbox"].woof_checkbox_term:checked::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 11px 11px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
}

/* لیبل‌های کاملاً راست‌چین + بج تعداد در سمت چپ */

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_radio > li label.woof_radio_label,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_checkbox > li label.woof_checkbox_label {
    position: static !important;
    float: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    color: #D4D4D8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li:hover label.woof_radio_label,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li:hover label.woof_checkbox_label {
    color: #FFFFFF !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input:checked + label.woof_radio_label,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input:checked + label.woof_checkbox_label {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* بج شمارنده */

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list span.woof_radio_count,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list span.woof_checkbox_count {
    position: static !important;
    float: none !important;
    transform: none !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 28px !important;
    height: 22px !important;
    padding: 0 7px !important;
    margin: 0 !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #9A9AA6 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input:checked + label span.woof_radio_count,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list input:checked + label span.woof_checkbox_count {
    background: rgba(255, 102, 102, 0.18) !important;
    border-color: rgba(255, 102, 102, 0.42) !important;
    color: #FF6666 !important;
}

/* دکمه ضربدر حذف انتخاب رادیو (فقط وقتی فعال باشد) */

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list a.woof_radio_term_reset[style*="none"] {
    display: none !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list a.woof_radio_term_reset:not([style*="none"]) {
    position: static !important;
    float: none !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 6px !important;
    background: rgba(255, 102, 102, 0.16) !important;
    border: 1px solid rgba(255, 102, 102, 0.35) !important;
    text-decoration: none !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list a.woof_radio_term_reset img {
    display: none !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list a.woof_radio_term_reset:not([style*="none"])::after {
    content: "×" !important;
    color: #FF6666 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* ---------- ۵. دکمه «نمایش بیشتر / نمایش کمتر» (تمام‌عرض یکدست در همه بخش‌ها) ---------- */

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list > li.woof_open_hidden_li,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_radio > li.woof_open_hidden_li,
#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_checkbox > li.woof_open_hidden_li {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list li.woof_open_hidden_li a.woof_open_hidden_li_btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 36px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #D4D4D8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list li.woof_open_hidden_li a.woof_open_hidden_li_btn::before {
    display: none !important;
    content: none !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list li.woof_open_hidden_li a.woof_open_hidden_li_btn::after {
    content: "" !important;
    position: static !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-right: 1.8px solid #E8BA5D !important;
    border-bottom: 1.8px solid #E8BA5D !important;
    border-radius: 0 !important;
    transform: translateY(-1px) rotate(45deg) !important;
    transition: transform 0.25s ease, border-color 0.25s ease !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list li.woof_open_hidden_li a.woof_open_hidden_li_btn[data-state="opened"]::after {
    transform: translateY(2px) rotate(-135deg) !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list li.woof_open_hidden_li a.woof_open_hidden_li_btn:hover {
    background: rgba(255, 102, 102, 0.14) !important;
    border-color: rgba(255, 102, 102, 0.4) !important;
    color: #FFFFFF !important;
}

#wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list li.woof_open_hidden_li a.woof_open_hidden_li_btn:hover::after {
    border-color: #FF6666 !important;
}

/* ---------- ۶. اسلایدر بازه قیمت (بدون تداخل اعداد زیر خط) ---------- */

#wrapper .shop-sidebar .woof_price3_search_container {
    padding: 14px 16px 18px !important;
    overflow: hidden !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .woof_wcga_label_hide {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs.irs--round {
    direction: ltr !important;
    height: 68px !important;
    margin: 6px 14px 0 !important;
    font-family: inherit !important;
}

#wrapper .shop-sidebar .irs--round .irs-line {
    top: 36px !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 99px !important;
    border: none !important;
}

#wrapper .shop-sidebar .irs--round .irs-bar {
    top: 36px !important;
    height: 6px !important;
    background: linear-gradient(90deg, #FF6666 0%, #E8BA5D 100%) !important;
    box-shadow: 0 0 12px rgba(255, 102, 102, 0.45) !important;
    border-radius: 99px !important;
}

#wrapper .shop-sidebar .irs--round .irs-handle {
    top: 29px !important;
    width: 20px !important;
    height: 20px !important;
    border: 3px solid #FF6666 !important;
    background: #1B1B1F !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 3px rgba(255, 102, 102, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.55) !important;
    cursor: grab !important;
    transition: transform 0.2s ease !important;
}

#wrapper .shop-sidebar .irs--round .irs-handle.to {
    border-color: #E8BA5D !important;
    box-shadow: 0 0 0 3px rgba(232, 186, 93, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.55) !important;
}

#wrapper .shop-sidebar .irs--round .irs-handle > i {
    display: none !important;
}

#wrapper .shop-sidebar .irs--round .irs-handle:hover,
#wrapper .shop-sidebar .irs--round .irs-handle.state_hover {
    background: #FFFFFF !important;
    transform: scale(1.12) !important;
}

#wrapper .shop-sidebar .irs--round .irs-from,
#wrapper .shop-sidebar .irs--round .irs-to,
#wrapper .shop-sidebar .irs--round .irs-single {
    direction: rtl !important;
    top: 0 !important;
    padding: 2px 7px !important;
    background: rgba(232, 186, 93, 0.14) !important;
    border: 1px solid rgba(232, 186, 93, 0.38) !important;
    color: #E8BA5D !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1.45 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    white-space: nowrap !important;
}

#wrapper .shop-sidebar .irs--round .irs-from::before,
#wrapper .shop-sidebar .irs--round .irs-to::before,
#wrapper .shop-sidebar .irs--round .irs-single::before {
    border-top-color: rgba(232, 186, 93, 0.45) !important;
}

#wrapper .shop-sidebar .irs--round .irs-min,
#wrapper .shop-sidebar .irs--round .irs-max {
    direction: rtl !important;
    top: 0 !important;
    padding: 2px 6px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #9A9AA6 !important;
    font-size: 9.5px !important;
    border-radius: 6px !important;
}

#wrapper .shop-sidebar .irs--round .irs-grid-pol {
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 0 !important;
}

#wrapper .shop-sidebar .irs--round .irs-grid-pol.small {
    background: rgba(255, 255, 255, 0.08) !important;
}

#wrapper .shop-sidebar .irs--round .irs-grid-text {
    color: #8E8E9A !important;
    font-size: 9.5px !important;
    font-variant-numeric: tabular-nums !important;
}

/* مخفی کردن اعداد ۲۵٪ و ۷۵٪ برای جلوگیری از روی هم افتادن اعداد میلیونی */

#wrapper .shop-sidebar .irs--round .irs-grid-text.js-grid-text-1,
#wrapper .shop-sidebar .irs--round .irs-grid-text.js-grid-text-3 {
    display: none !important;
}

/* ---------- ۷. سوییچ‌های «فقط موجود» و «تخفیف‌دار» + جستجوی متنی + دکمه ریست ---------- */

#wrapper .shop-sidebar .woof_checkbox_instock_container .woof_container_inner,
#wrapper .shop-sidebar .woof_checkbox_sales_container .woof_container_inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row-reverse !important;
    gap: 10px !important;
}

#wrapper .shop-sidebar .woof_checkbox_instock_container label,
#wrapper .shop-sidebar .woof_checkbox_sales_container label {
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #F4F4F5 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

#wrapper .shop-sidebar .woof_checkbox_instock_container label::before,
#wrapper .shop-sidebar .woof_checkbox_instock_container label::after,
#wrapper .shop-sidebar .woof_checkbox_sales_container label::before,
#wrapper .shop-sidebar .woof_checkbox_sales_container label::after {
    display: none !important;
    content: none !important;
}

#wrapper .shop-sidebar .woof_checkbox_instock_container input[type="checkbox"],
#wrapper .shop-sidebar .woof_checkbox_sales_container input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 23px !important;
    margin: 0 !important;
    border-radius: 99px !important;
    background: #141417 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    cursor: pointer !important;
    transition: background 0.25s ease, border-color 0.25s ease !important;
}

#wrapper .shop-sidebar .woof_checkbox_instock_container input[type="checkbox"]::after,
#wrapper .shop-sidebar .woof_checkbox_sales_container input[type="checkbox"]::after {
    content: "" !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    background: #8E8E9A !important;
    transition: transform 0.25s ease, background 0.25s ease !important;
}

#wrapper .shop-sidebar .woof_checkbox_instock_container input[type="checkbox"]:checked {
    background: rgba(34, 197, 94, 0.22) !important;
    border-color: rgba(34, 197, 94, 0.55) !important;
}

#wrapper .shop-sidebar .woof_checkbox_instock_container input[type="checkbox"]:checked::after {
    transform: translateX(19px) !important;
    background: #4ADE80 !important;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.65) !important;
}

#wrapper .shop-sidebar .woof_checkbox_sales_container input[type="checkbox"]:checked {
    background: rgba(255, 102, 102, 0.22) !important;
    border-color: rgba(255, 102, 102, 0.55) !important;
}

#wrapper .shop-sidebar .woof_checkbox_sales_container input[type="checkbox"]:checked::after {
    transform: translateX(19px) !important;
    background: #FF6666 !important;
    box-shadow: 0 0 10px rgba(255, 102, 102, 0.65) !important;
}

#wrapper .shop-sidebar .woof_text_search_container input[type="search"],
#wrapper .shop-sidebar .woof_text_search_container input[type="text"] {
    width: 100% !important;
    height: 42px !important;
    padding: 0 14px 0 38px !important;
    border-radius: 11px !important;
    background: #141417 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    font-size: 12.5px !important;
    box-sizing: border-box !important;
}

#wrapper .shop-sidebar .woof_text_search_container input:focus {
    border-color: rgba(232, 186, 93, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(232, 186, 93, 0.12) !important;
    outline: none !important;
}

#wrapper .shop-sidebar .woof_submit_search_form_container {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 2px 0 0 0 !important;
}

#wrapper .shop-sidebar .woof_submit_search_form_container:empty {
    display: none !important;
}

#wrapper .shop-sidebar .woof_submit_search_form_container .woof_reset_search_form {
    flex: 1 1 auto !important;
    height: 40px !important;
    border-radius: 11px !important;
    background: rgba(255, 102, 102, 0.12) !important;
    border: 1px solid rgba(255, 102, 102, 0.35) !important;
    color: #FF6666 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

#wrapper .shop-sidebar .woof_submit_search_form_container .woof_reset_search_form:hover {
    background: linear-gradient(135deg, #FF6666 0%, #DF4545 100%) !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
}

/* ---------- ۸. ویجت لوگوی آرسان گیم در انتهای سایدبار ---------- */

#wrapper .shop-sidebar section.widget.widget_nws_logo_widget {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

#wrapper .shop-sidebar section.widget.widget_nws_logo_widget > .wrapper {
    background: radial-gradient(circle at 50% 0%, rgba(255, 102, 102, 0.12) 0%, transparent 65%),
                linear-gradient(180deg, #232327 0%, #1A1A1E 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 16px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
}

#wrapper .shop-sidebar section.widget.widget_nws_logo_widget figure {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

#wrapper .shop-sidebar section.widget.widget_nws_logo_widget figure img:first-child {
    max-width: 72px !important;
    height: auto !important;
}

#wrapper .shop-sidebar section.widget.widget_nws_logo_widget figure img:last-child {
    max-width: 155px !important;
    height: auto !important;
}

/* ---------- ۹. استایل نوار مرتب‌سازی مدرن بالای لیست محصولات (Sort Bar) ---------- */

.arsan-archive-sort-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
    width: 100% !important;
    padding: 8px 12px !important;
    margin: 0 0 16px 0 !important;
    background: #1B1B1F !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03),
                0 8px 24px rgba(0, 0, 0, 0.24) !important;
    direction: rtl !important;
    box-sizing: border-box !important;
}

.arsan-sort-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.arsan-sort-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-shrink: 0 !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.09) !important;
    color: #9A9AA6 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.arsan-sort-label svg {
    width: 16px !important;
    height: 16px !important;
    color: #FF6666 !important;
    flex-shrink: 0 !important;
}

.arsan-sort-tabs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.arsan-sort-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.arsan-sort-tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 13px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #9A9AA6 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.22s ease !important;
}

.arsan-sort-tab:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
}

.arsan-sort-tab.is-active {
    background: linear-gradient(135deg, #FF6666 0%, #DF4545 100%) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #FFFFFF !important;
    box-shadow: 0 5px 15px rgba(255, 102, 102, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.arsan-sort-count {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    height: 34px !important;
    padding: 0 11px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #9A9AA6 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.arsan-sort-count strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 24px !important;
    height: 21px !important;
    padding: 0 6px !important;
    border-radius: 6px !important;
    background: rgba(232, 186, 93, 0.14) !important;
    border: 1px solid rgba(232, 186, 93, 0.32) !important;
    color: #E8BA5D !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums !important;
}

/* ---------- ۱۰. واکنش‌گرایی تبلت و موبایل ---------- */

@media (max-width: 991px) {
    #wrapper .shop-sidebar .widget.widget-woof {
        margin-bottom: 18px !important;
        padding: 12px !important;
    }

    #wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list,
    #wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_radio,
    #wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list_checkbox {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    #wrapper .shop-sidebar .widget-woof .woof_container ul.woof_list li.woof_open_hidden_li {
        grid-column: 1 / -1 !important;
    }

    #wrapper .shop-sidebar section.widget.widget_nws_logo_widget {
        display: none !important;
    }

    .arsan-archive-sort-bar {
        padding: 8px 10px !important;
        gap: 8px !important;
    }

    .arsan-sort-right {
        width: 100% !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .arsan-sort-right::-webkit-scrollbar {
        display: none !important;
    }

    .arsan-sort-tabs {
        flex-wrap: nowrap !important;
    }

    .arsan-sort-count {
        display: none !important;
    }
}

/* ---------- ۰. تنظیم عرض سایدبار + جلوگیری از بیرون‌زدگی محصولات + اسکرول دوجهته ---------- */

/* ۱. حذف دکمه Show Blocks Helper ادمین */

#wrapper .shop-sidebar .widget-woof a.woof_edit_view,
#wrapper .shop-sidebar .widget-woof .woof_edit_view,
#wrapper .shop-sidebar .widget-woof a.woof_edit_view + div:empty {
    display: none !important;
}

/* ۲. حذف هرگونه اسکرول داخلی روی لایه‌های فیلتر */

#wrapper .sidebar-column > .theiaStickySidebar,
#wrapper .shop-sidebar,
#wrapper .shop-sidebar section.widget.WOOF_Widget,
#wrapper .shop-sidebar .widget.widget-woof,
#wrapper .shop-sidebar .widget.widget-woof .widget-content,
#wrapper .shop-sidebar .widget.widget-woof .woof,
#wrapper .shop-sidebar .widget.widget-woof .woof_redraw_zone,
#wrapper .shop-sidebar .widget.widget-woof .woof_container,
#wrapper .shop-sidebar .widget.widget-woof .woof_container_inner,
#wrapper .shop-sidebar .widget.widget-woof .woof_block_html_items,
#wrapper .shop-sidebar .widget.widget-woof ul.woof_list {
    max-height: none !important;
    height: auto !important;
    overflow-y: visible !important;
    overflow-x: clip !important;
}

/* ۳. عرض بهینه سایدبار (265px) و جلوگیری قطعی از خروج محصولات از کادر چپ */

@media (min-width: 1200px) {
    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) {
        align-items: stretch !important;
    }

    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) > .sidebar-column {
        flex: 0 0 265px !important;
        width: 265px !important;
        max-width: 265px !important;
        min-width: 265px !important;
        box-sizing: border-box !important;
    }

    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) > :has(ul.products),
    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) > :has(.woocommerce),
    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) > .col-xl-9 {
        flex: 1 1 0% !important;
        width: calc(100% - 265px) !important;
        max-width: calc(100% - 265px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) {
        align-items: stretch !important;
    }

    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) > .sidebar-column {
        flex: 0 0 245px !important;
        width: 245px !important;
        max-width: 245px !important;
        min-width: 245px !important;
        box-sizing: border-box !important;
    }

    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) > :has(ul.products),
    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) > :has(.woocommerce),
    html body .nws-section.product-archive-archive-content-section .row:has(> .sidebar-column) > .col-lg-8 {
        flex: 1 1 0% !important;
        width: calc(100% - 245px) !important;
        max-width: calc(100% - 245px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* قفل کردن عرض گرید محصولات داخل ستون اصلی تا از چپ بیرون نزند */

html body .nws-section.product-archive-archive-content-section ul.products {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* جمع‌وجورتر شدن پدینگ داخلی فیلتر متناسب با عرض 265px و خوانا ماندن اسلایدر قیمت */

#wrapper .shop-sidebar .widget.widget-woof {
    padding: 12px !important;
}

#wrapper .shop-sidebar .widget-woof .woof_redraw_zone .woof_container {
    padding: 11px 12px !important;
}

#wrapper .shop-sidebar .irs--round .irs-grid-text.js-grid-text-1,
#wrapper .shop-sidebar .irs--round .irs-grid-text.js-grid-text-2,
#wrapper .shop-sidebar .irs--round .irs-grid-text.js-grid-text-3 {
    display: none !important;
}

/* ۴. چسبندگی دوجهته (متغیر CSS از .sidebar-column خوانده می‌شود تا مستقل از theiaStickySidebar باشد) */

@media (min-width: 992px) {
    html:has(.sidebar-column .widget-woof),
    body:has(.sidebar-column .widget-woof),
    #wrapper:has(.sidebar-column .widget-woof),
    html body .nws-section.product-archive-archive-content-section,
    html body .nws-section.product-archive-archive-content-section .container,
    html body .nws-section.product-archive-archive-content-section .row,
    html body .sidebar-column {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    html body .sidebar-column > .theiaStickySidebar,
    html body .sidebar-column > .shop-sidebar {
        position: sticky !important;
        top: var(--arsan-sticky-top, 24px) !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
        will-change: top;
    }

    html body .sidebar-column > .theiaStickySidebar > .shop-sidebar {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 991.98px) {
    html body .sidebar-column > .theiaStickySidebar,
    html body .sidebar-column > .shop-sidebar {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        transform: none !important;
    }
}

/* ==========================================================================
   ARSANGAME - PRICE SLIDER ALIGNMENT & OVERFLOW FIX (WOOF / Ion.RangeSlider)
   ========================================================================== */

#wrapper .shop-sidebar .woof_price3_search_container,
#wrapper .shop-sidebar .woof_price3_search_container .woof_container_inner {
    overflow: visible !important;
}

#wrapper .shop-sidebar .woof_price3_search_container {
    padding: 12px 12px 14px !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs.irs--round {
    direction: ltr !important;
    position: relative !important;
    height: 74px !important;
    margin: 4px 2px 0 !important;
    overflow: visible !important;
    font-family: inherit !important;
}

/* مخفی کردن برچسب‌های تکراری حداقل/حداکثر بالا برای جلوگیری از همپوشانی هنگام کشیدن */

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-min,
#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-max {
    display: none !important;
}

/* تراز دقیق بج‌های قیمت بالا داخل کادر (بدون خروج از چپ یا راست) */

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-from,
#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-to,
#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-single {
    direction: rtl !important;
    top: 0 !important;
    padding: 3px 7px !important;
    background: rgba(232, 186, 93, 0.13) !important;
    border: 1px solid rgba(232, 186, 93, 0.36) !important;
    color: #E8BA5D !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1.45 !important;
    border-radius: 7px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28) !important;
    white-space: nowrap !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-from {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-to {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-single {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    max-width: 100% !important;
}

/* حذف فلش مثلثی زیر بج‌ها برای ظاهر تمیزتر */

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-from::before,
#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-to::before,
#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-single::before {
    display: none !important;
    content: none !important;
}

/* تراز دقیق خط نوار و دستگیره‌ها روی یک محور عمودی */

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-line,
#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-bar {
    top: 39px !important;
    height: 6px !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-handle {
    top: 32px !important;
    width: 20px !important;
    height: 20px !important;
}

/* تراز دقیق اعداد حداقل و حداکثر پایین اسلایدر بدون بریدگی */

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-grid {
    bottom: 0 !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-grid-text.js-grid-text-1,
#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-grid-text.js-grid-text-2,
#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-grid-text.js-grid-text-3 {
    display: none !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-grid-text.js-grid-text-0 {
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    text-align: left !important;
    font-size: 9.5px !important;
    color: #8E8E9A !important;
}

#wrapper .shop-sidebar .woof_price3_search_container .irs--round .irs-grid-text.js-grid-text-4 {
    left: auto !important;
    right: 0 !important;
    margin-left: 0 !important;
    text-align: right !important;
    font-size: 9.5px !important;
    color: #8E8E9A !important;
}

/* ==========================================================================
   ARSANGAME - WOOF ACTIVE FILTERS TOP PANEL (.woof_products_top_panel)
   Hides redundant English "orderby" chip + Modern Dark RTL Styling
   ========================================================================== */

/* ۱. مخفی کردن چیپ تکراری و انگلیسی مرتب‌سازی (چون در نوار مرتب‌سازی نمایش داده می‌شود) */

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li:has(a[data-tax="orderby"]) {
    display: none !important;
}

/* مخفی کردن کامل نوار در حالتی که هیچ فیلتری به جز مرتب‌سازی فعال نباشد */

html body .woof_products_top_panel:not(:has(a:not([data-tax="orderby"]))) {
    display: none !important;
}

/* ۲. کانتینر اصلی نوار فیلترهای فعال (هماهنگ با نوار مرتب‌سازی) */

html body .woof_products_top_panel {
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 9px 12px !important;
    background: linear-gradient(180deg, #232327 0%, #1B1B1F 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04),
                0 8px 22px rgba(0, 0, 0, 0.24) !important;
    direction: rtl !important;
    text-align: right !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

html body .woof_products_top_panel::before,
html body .woof_products_top_panel::after {
    display: none !important;
    content: none !important;
}

html body .woof_products_top_panel ul.woof_products_top_panel_ul {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
}

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    list-style: none !important;
    float: none !important;
}

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li::before,
html body .woof_products_top_panel ul.woof_products_top_panel_ul > li::after {
    display: none !important;
    content: none !important;
}

/* انتقال دکمه «پاک‌سازی فیلترها» به سمت چپ نوار برای تقارن با شمارنده محصولات */

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li:has(button.woof_reset_button_2) {
    order: 99 !important;
    margin-inline-start: auto !important;
}

/* ۳. دکمه پاک‌سازی فیلترها (جایگزینی خودکار متن انگلیسی Clear All) */

html body .woof_products_top_panel button.woof_reset_button_2 {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 9px !important;
    background: rgba(255, 102, 102, 0.12) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 102, 102, 0.36) !important;
    color: #FF6666 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.22s ease !important;
}

html body .woof_products_top_panel button.woof_reset_button_2::before {
    content: "" !important;
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6666' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E") !important;
}

html body .woof_products_top_panel button.woof_reset_button_2::after {
    content: "پاک‌سازی فیلترها" !important;
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: inherit !important;
    line-height: 1 !important;
}

html body .woof_products_top_panel button.woof_reset_button_2:hover {
    background: linear-gradient(135deg, #FF6666 0%, #DF4545 100%) !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: 0 5px 15px rgba(255, 102, 102, 0.34) !important;
}

html body .woof_products_top_panel button.woof_reset_button_2:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E") !important;
}

/* ۴. چیپ‌های هر فیلتر فعال (سبک، پلتفرم، منطقه، قیمت) */

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    padding: 0 11px 0 7px !important;
    margin: 0 !important;
    border-radius: 9px !important;
    background: rgba(232, 186, 93, 0.1) !important;
    background-image: none !important;
    border: 1px solid rgba(232, 186, 93, 0.3) !important;
    color: #F4F4F5 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li a::before,
html body .woof_products_top_panel ul.woof_products_top_panel_ul > li a::after {
    display: none !important;
    content: none !important;
}

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li a:hover {
    background: rgba(255, 102, 102, 0.14) !important;
    border-color: rgba(255, 102, 102, 0.45) !important;
    color: #FFFFFF !important;
}

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li a span.woof_remove_ppi {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li a span.woof_remove_ppi::before {
    display: none !important;
    content: none !important;
}

/* آیکون ضربدر حذف در سمت چپ هر چیپ */

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li a span.woof_remove_ppi::after {
    content: "×" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 5px !important;
    background: rgba(232, 186, 93, 0.18) !important;
    color: #E8BA5D !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

html body .woof_products_top_panel ul.woof_products_top_panel_ul > li a:hover span.woof_remove_ppi::after {
    background: #FF6666 !important;
    color: #FFFFFF !important;
}

/* ۵. واکنش‌گرایی موبایل */

@media (max-width: 576px) {
    html body .woof_products_top_panel {
        padding: 8px 10px !important;
    }

    html body .woof_products_top_panel ul.woof_products_top_panel_ul > li:has(button.woof_reset_button_2) {
        margin-inline-start: 0 !important;
    }
}

/* ==========================================================================
   ARSANGAME - FIX WOOF CHILD CATEGORIES OPENER (+) & HIDE BLOCKS HELPER
   ========================================================================== */

/* ۱. مخفی‌سازی قطعی دکمه ادمین (show blocks helper) */

html body #wrapper .shop-sidebar .widget.widget-woof a.woof_edit_view,
html body #wrapper .shop-sidebar .widget.widget-woof a.woof_edit_view + div:empty {
    display: none !important;
}

/* ۲. آزاد کردن عرض لیبل و امکان باز شدن زیردسته‌ها در خط پایین‌تر بدون تداخل */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li:not(.woof_open_hidden_li) {
    flex-wrap: wrap !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li label.woof_checkbox_label,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li label.woof_radio_label {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
}

/* ۳. اصلاح دکمه باز و بسته کردن زیردسته‌ها (حذف + و < اضافه و قرارگیری تمیز در سمت چپ) */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
    transform: none !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-decoration: none !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener:hover {
    background: rgba(255, 102, 102, 0.16) !important;
    border-color: rgba(255, 102, 102, 0.45) !important;
}

/* حذف کامل شبه‌عناصر و آیکون‌های مزاحم قالب و افزونه */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener::before,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener::after,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener span::before,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener span::after,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener i {
    display: none !important;
    content: none !important;
}

/* آیکون تمیز برای حالت بسته (فلش رو به پایین) و حالت باز (فلش رو به بالا) */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener > span {
    position: static !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
    transition: transform 0.2s ease !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener > span.woof_is_closed {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8BA5D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list a.woof_childs_list_opener > span.woof_is_opened {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6666' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E") !important;
}

/* ۴. استایل لیست زیردسته‌ها هنگام باز شدن (بدون تداخل با show/hide افزونه) */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 8px 0 2px 0 !important;
    padding: 8px 10px 0 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-right: 2px solid rgba(255, 102, 102, 0.35) !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 4px 0 !important;
    padding: 5px 8px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid transparent !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li:last-child {
    margin-bottom: 0 !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li label {
    font-size: 12px !important;
    color: #C4C4CC !important;
}

/* ==========================================================================
   ARSANGAME - CHILD CATEGORIES CLEANUP + SMOOTH SLIDE "SHOW MORE" DRAWER
   ========================================================================== */

/* ۱. اصلاح رنگ حالت انتخاب‌شده (فقط خود ردیف تیک‌خورده روشن شود، نه کل دسته مادر) */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li:not(.woof_open_hidden_li):has(input:checked):not(:has(> input:checked)) {
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow: none !important;
}

/* حالت باز بودن یک دسته مادر (مثل Battlenet) */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li:has(> a.woof_childs_list_opener > span.woof_is_opened) {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ۲. حذف قطعی تمام خطوط درختی، بردرهای اضافه و علامت < در زیردسته‌ها */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list::before,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list::after {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list::before,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list::after,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list li::before,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list li::after,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list label::before,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list label::after,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list span::before,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_childs_list span::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ۳. چیدمان تمیز و هماهنگ لیست زیردسته‌ها (بدون display: !important تا انیمیشن افزونه کار کند) */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 9px 0 2px 0 !important;
    padding: 8px 10px 0 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-right: 2px solid rgba(255, 102, 102, 0.4) !important;
    border-radius: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 4px 0 !important;
    padding: 6px 8px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li:last-child {
    margin-bottom: 0 !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li:has(> input:checked) {
    background: linear-gradient(90deg, rgba(255, 102, 102, 0.06) 0%, rgba(255, 102, 102, 0.16) 100%) !important;
    border-color: rgba(255, 102, 102, 0.36) !important;
}

/* چک‌باکس و رادیوی زیردسته‌ها (کمی جمع‌وجورتر برای سلسله‌مراتب بصری) */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li > input[type="checkbox"],
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li > input[type="radio"] {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
}

/* لیبل و بج شمارنده زیردسته‌ها (کاملاً راست‌چین و هم‌تراز) */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li > label {
    position: static !important;
    float: none !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #C8C8D0 !important;
    line-height: 1.45 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li:hover > label,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li:has(> input:checked) > label {
    color: #FFFFFF !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li > label span.woof_checkbox_count,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list ul.woof_childs_list > li > label span.woof_radio_count {
    min-width: 24px !important;
    height: 20px !important;
    padding: 0 6px !important;
    font-size: 10.5px !important;
}

/* ۴. کشوی انیمیشنی و نرم برای دکمه «نمایش بیشتر / نمایش کمتر» */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer:hover,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer:has(input:checked) {
    display: grid !important;
    grid-template-rows: 0fr !important;
    width: 100% !important;
    margin: -5px 0 0 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                margin-top 0.35s ease !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer.is-open,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer.is-open:hover,
html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer.is-open:has(input:checked) {
    grid-template-rows: 1fr !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof li.arsan-woof-more-drawer > .arsan-woof-more-inner {
    overflow: hidden !important;
    min-height: 0 !important;
    width: 100% !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof ul.arsan-woof-more-list {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

@media (max-width: 991px) {
    html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer {
        grid-column: 1 / -1 !important;
        margin-top: -6px !important;
    }

    html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer.is-open {
        margin-top: 0 !important;
    }
}

/* اصلاح تمام‌عرض شدن آیتم‌های داخل کشوی «نمایش بیشتر» */

html body #wrapper .shop-sidebar .widget.widget-woof ul.woof_list > li.arsan-woof-more-drawer {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    align-items: stretch !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof li.arsan-woof-more-drawer > .arsan-woof-more-inner,
html body #wrapper .shop-sidebar .widget.widget-woof ul.arsan-woof-more-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* اصلاح هاور دایره و متن در کشوی «نمایش بیشتر» و زیردسته‌ها (فقط گزینه زیر موس) */

html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list > li:hover li:not(:hover) > input[type="radio"].woof_radio_term:not(:checked),
html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list > li:hover li:not(:hover) > input[type="checkbox"].woof_checkbox_term:not(:checked),
html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list > li:has(li:hover) > input[type="radio"].woof_radio_term:not(:checked),
html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list > li:has(li:hover) > input[type="checkbox"].woof_checkbox_term:not(:checked) {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list > li:hover li:not(:hover) > input:not(:checked) + label.woof_radio_label,
html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list > li:hover li:not(:hover) > input:not(:checked) + label.woof_checkbox_label,
html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list > li:has(li:hover) > input:not(:checked) + label.woof_radio_label,
html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list > li:has(li:hover) > input:not(:checked) + label.woof_checkbox_label {
    color: #D4D4D8 !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list li:not(.arsan-woof-more-drawer):not(:has(li:hover)):hover > input[type="radio"].woof_radio_term:not(:checked),
html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list li:not(.arsan-woof-more-drawer):not(:has(li:hover)):hover > input[type="checkbox"].woof_checkbox_term:not(:checked) {
    border-color: rgba(255, 102, 102, 0.7) !important;
}

html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list li:not(.arsan-woof-more-drawer):not(:has(li:hover)):hover > label.woof_radio_label,
html body #wrapper .shop-sidebar .widget.widget-woof .woof_container ul.woof_list li:not(.arsan-woof-more-drawer):not(:has(li:hover)):hover > label.woof_checkbox_label {
    color: #FFFFFF !important;
}
