/*
 *آرشیو محصولات
 */
:root {
    --primary-blue: #007bff;
    --slider-blue: #3b82f6;
    --danger-red: #dc3545;
    --border-color: #e5e7eb;
    --text-color-light: #6b7280;
    --text-color-dark: #1f2937;
    --background-gray: #f9fafb;
    --page-bg: #f4f5f7;
    --white: #ffffff;
    --dark-blue: #1d3a5f;
    --light-blue-bg: #e9f0f8;
    --text-dark: #222;
    --text-light: #444;
    --border-color: #e0e4e9;
    --accent-green: #38c1a3;
    --radius-md: 12px;
    --radius-sm: 8px;
}


body {
    background-color: #FAFCFE;
}

/* --- ۲. کارت اصلی بنر --- */
.archive_hero_banner {
    display: flex;
    direction: rtl;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: solid 1px #dfdfdf;
    overflow: hidden;
    align-items: stretch;
    min-height: 280px;
}

/* --- ۳. ستون‌ها (div های داخلی) --- */
.archive_hero_banner>div {
    flex-basis: 50%;
    /* هر ستون ۵۰٪ عرض */
    flex-grow: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* محتوا در مرکز عمودی ستون */
    position: relative;
    /* برای لایه‌بندی عکس */
}

/* --- ۴. ستون متن (سمت راست) --- */
.archive_hero_banner>div:first-child {
    display: block;
    padding: 40px;
    text-align: right;
    align-content: center;
    background-color: #f4f5f5;
}

/* --- ۵. ستون عکس (سمت چپ) --- */
.archive_hero_banner>div:last-child {
    /* پس‌زمینه گرادینت سبز رنگ */
    background: linear-gradient(135deg, #c5c5c5, #bbbbbb);
    align-items: center;
    /* عکس را وسط‌چین افقی می‌کند */
    padding: 20px;
    flex-basis: 30%;
}

.archive_hero_banner>div:last-child img {
    object-fit: contain;
    width: 470px;
    height: 240px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.25));
}

.archive_hero_banner h2 {
    font-size: 1.8rem;
    /* اندازه تیتر */
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
}

.archive_hero_banner p {
    font-size: 1rem;
    /* اندازه پاراگراف */
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.archive_hero_banner .hero-phone-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #007bff;
    /* رنگ آبی تلفن */
    text-decoration: none;
    direction: ltr;
    /* شماره تلفن باید چپ به راست خوانده شود */
    display: inline-block;
    /* برای اینکه text-align کار کند */
    text-align: right;
    /* همراستا با بقیه متن‌ها */
}
.config-products-btn-sk {
    width: 100%;
    background-color: #0A3762;
    border-radius: 7px;
    color: #fff;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding: 10px 0 !important;
    line-height: 24px;
    transition: 200ms;
}

.config-products-btn-sk:hover {
    outline: 3px solid #6E96C9;
}

@media (max-width: 601px) {
    .archive_hero_banner {
        display: flex;
        flex-direction: column-reverse;
    }

    .archive_hero_banner>div:last-child img {
        max-width: 100%;
        margin-right: 0 !important;
        margin: -35px auto;
        transform: translateY(40px);
        height: auto;
    }
}




.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    align-content: space-between;
}

.falnic-archive-header {
    height: 60px;
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
}

.falnic-archive-header .falnic-product-count {
    margin-right: auto;
    white-space: nowrap;
}
.config-products-btn-sk.deactived:hover {
    
    outline: none;
}
.falnic-shop-content-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 20px;
}

.falnic-shop-main {
    width: 80%;
}

.falnic-shop-sidebar {
    width: 20%;
    min-width: 220px;
    margin-top: 60px;
}

span.sort-btn,
.filter-btb-popup {
    display: inline-block;
    /*border: solid 1px #a2a2a2;*/
    /*border-radius: 99px;*/
    padding: 5px 10px;
    margin: auto 8px;
    cursor: pointer;
    /*background-color: #ECECEC;*/
    font-size: 16px;
    color: #000;
}

.filter-contaner-m {
    display: none;
}
.falnic-archive-header {
    display: flex;
    align-items: center;
}
.falnic-archive-header .ordering {
    display: none;
    white-space: nowrap;
    font-size: 12px;
}
@media (max-width: 1200px) {
    .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 950px) {
    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .falnic-archive-header .ordering {
        display: block;
    }
}

@media (max-width: 601px) {
    .products {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 0.75rem;
        align-content: space-between;
    }

    .falnic-shop-main {
        width: 100%;
    }

    .sort-contaner {
        display: flex;
        width: 60%;
        overflow: auto;
        white-space: nowrap;
        font-size: 11px;
        scrollbar-width: none;
    }

    span.sort-btn,
    .filter-btb-popup {
        display: inline-flex;
        cursor: pointer;
        align-items: center;
        gap: 3px;
        margin: auto 4px;
        font-size: 12px;
    }

    .filter-btb-popup {
        background-color: #fff;
        border: 1px solid #A2A2A2;
        border-radius: 16px;
    }

    .filter-contaner-m {
        display: block;
    }
}







/*
 * استایل صفحه‌بندی ووکامرس شبیه به طرح ارسالی
 * * ۱. کانتینر اصلی (ul) را flex می‌کنیم تا همه‌چیز افقی و مرتب باشد.
 * ۲. به لینک‌های عددی و صفحه فعلی، ابعاد و دایره (border-radius) می‌دهیم.
 * ۳. صفحه فعلی (span.current) را با رنگ آبی مشخص می‌کنیم.
 * ۴. فلش‌ها (a.prev و a.next) را با :not() مستثنی می‌کنیم تا دایره‌ای نشوند.
 */

/* کانتینر اصلی ناوبری */
.woocommerce-pagination {
    display: flex;
    justify-content: center;
    /* مرکز کردن کل کامپوننت */
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* لیست اصلی (ul.page-numbers) */
.woocommerce-pagination .page-numbers {
    display: flex !important;
    border: none !important;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px;
    /* فاصله زیبا بین آیتم‌ها */
}

/* آیتم‌های لیست (li) */
.woocommerce-pagination .page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    border-left: none !important;

}

/* * استایل پایه فقط برای "اعداد" و "برگه فعال"
 * ما فلش‌ها (.prev و .next) را مستثنی می‌کنیم
*/
.woocommerce-pagination .page-numbers a:not(.prev):not(.next),
.woocommerce-pagination .page-numbers span.current {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    /* وزن فونت کمی ضخیم */
    text-decoration: none;

    /* ابعاد دایره */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* گرد کردن کامل */

    /* انیمیشن نرم */
    transition: all 0.2s ease-in-out;
}

/* استایل لینک‌های عددی (غیرفعال) */
.woocommerce-pagination .page-numbers a:not(.prev):not(.next) {
    color: #333;
    /* رنگ متن پیش‌فرض */
}

/* هاور (Hover) لینک‌های عددی */
.woocommerce-pagination .page-numbers a:not(.prev):not(.next):hover {
    background-color: #f0f0f0;
    /* پس‌زمینه خاکستری روشن در هاور */
    color: #000;
}

/* استایل برگه فعال (Current) - دقیقاً مثل عکس */
.woocommerce-pagination .page-numbers span.current {
    background-color: #4A698F !important;
    /* رنگ آبی تیره (از عکس شما) */
    color: #FFFFFF !important;
    /* رنگ متن سفید */
    border: none !important;
}

/* * استایل فلش‌های قبل و بعد
 * اینها پس‌زمینه دایره‌ای ندارند
*/
.woocommerce-pagination .page-numbers a.prev,
.woocommerce-pagination .page-numbers a.next {
    color: #555;
    /* رنگ خاکستری برای فلش‌ها */
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    padding: 0 10px;
    /* کمی فاصله از اعداد */
    transition: color 0.2s ease-in-out;
}

/* هاور فلش‌ها */
.woocommerce-pagination .page-numbers a.prev:hover,
.woocommerce-pagination .page-numbers a.next:hover {
    color: #000;
    /* در هاور مشکی شوند */
    background-color: transparent;
    /* اطمینان از عدم وجود پس‌زمینه */
}









































/* -------------------------
         * کانتینر اصلی فیلتر
         * ------------------------- */
.filter-sidebar {
    width: 100%;
    max-width: 350px;
    background-color: #ffffff;
    /* border: 1px solid var(--border-color); */
    /* border-radius: 8px; */
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
}

.filter-sidebar .filter-box {
    border: 1px solid #DADADA;
    border-radius: 4px;
}

/* -------------------------
         * هدر فیلتر
         * ------------------------- */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.filter-header__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color-dark);
}

.filter-header__clear-btn {
    display: none;
    align-items: center;
    gap: 6px;
    color: var(--danger-red);
    font-size: 0.9rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

.filter-header__clear-btn.active {
    display: flex;
    flex-direction: row-reverse;
    background: transparent;
    color: #dc3545;
    padding: 5px;
    font-size: 11px;
    gap: 0px;
}

.filter-header__clear-btn:hover {
    background: transparent !important;
    color: #dc3545 !important;
}

.filter-header__clear-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--danger-red);
}

/* -------------------------
         * آکاردئون (تگ <details>)
         * ------------------------- */

/* هر گروه فیلتر اکنون یک تگ details است */
.filter-group {
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-of-type {
    border-bottom: none;
}

.accordion__header {
    /* این <summary> است */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    list-style: none;
    /* حذف مارکر پیش‌فرض مرورگر */
}

/* حذف مارکر پیش‌فرض در کروم/سافاری */
.accordion__header::-webkit-details-marker {
    display: none;
}

.accordion__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin: 0;
    /* حذف margin پیش‌فرض h3 */
}

/* استایل خاص برای عنوان آبی "محدوده قیمت" */
.accordion__title--blue {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.accordion__icon {
    width: 16px;
    height: 16px;
    stroke: var(--text-color-light);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    /* جلوگیری از فشرده شدن آیکون */
}

/* چرخش آیکون وقتی <details> باز است */
.filter-group[open]>.accordion__header .accordion__icon {
    transform: rotate(180deg);
}

.accordion__content {
    padding: 20px 20px 20px 20px;
    max-height: 220px;
    overflow: auto;
    scrollbar-width: thin;
}


/* -------------------------
         * بخش محدوده قیمت (محتوای داخل آکاردئون)
         * ------------------------- */
.price-range__display {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.price-range__line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.price-range__label {
    color: var(--text-color-light);
}

.price-range__value {
    font-weight: 600;
    color: var(--text-color-dark);
    direction: ltr;
}

.price-range__currency {
    color: var(--text-color-light);
    font-size: 0.9rem;
    margin-right: 8px;
}

/* اسلایدر قیمت */
.price-slider {
    position: relative;
    height: 24px;
    margin-top: 10px;
}

.price-slider__track,
.price-slider__highlight {
    position: absolute;
    height: 5px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 3px;
}

.price-slider__track {
    background-color: #d1d5db;
}

.price-slider__highlight {
    background-color: var(--slider-blue);
    z-index: 1;
}

.price-slider__input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    pointer-events: none;
    margin: 0;
    padding: 0 !important;
    z-index: 2;
}

.price-slider__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: var(--slider-blue);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.price-slider__input::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background-color: var(--slider-blue);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.price-slider__labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-color-light);
    margin-top: 10px;
    direction: ltr;
}

/* -------------------------
         * آیتم‌های چک‌باکس
         * ------------------------- */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    gap: 4px;
    align-items: stretch;
    cursor: pointer;
    font-size: 12px !important;
    font-family: 'دانا' !important;
}

.checkbox-item span {
    color: var(--text-color-dark);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #adb5bd;
    accent-color: var(--primary-blue);
}

























/* ----------------------------------
         * کانتینر اصلی
         * ---------------------------------- */
.showcase-container {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    margin-top: 1.5rem;
}

/* ----------------------------------
         * 1. باکس کانفیگ سرور (بالا)
         * ---------------------------------- */
.config-box {
    background-color: var(--light-blue-bg);
    border-radius: 4px;
    border: 1px solid #DADADA;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.config-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.config-box__text {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--dark-blue);
    text-align: center;
}

.config-box__button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    /* جلوگیری از شکستن کلمه "کانفیگ کنید" */
    transition: background-color 0.3s;
}

.config-box__button:hover {
    background-color: #162b46;
}

/* ----------------------------------
         * 2. بنر تبلیغاتی (وسط)
         * ---------------------------------- */
.ad-banner {
    border-radius: 4px;
    overflow: hidden;
}

/* تصویر هارد سرور */
.ad-banner__image {
    width: 100%;
    height: 100%;
}



/* ----------------------------------
         * 3. محصولات مرتبط (پایین)
         * ---------------------------------- */
.related-products {
    width: 100%;
    margin-top: 24px;
}

.related-products__title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.related-products__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* دو ستونه در موبایل */
    gap: 1rem;
    margin-top: 8px;
}

.falnic-shop-sidebar .related-item {
    background-color: #e5e5e5;
    border: 1px solid #DADADA;
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
    max-height: 190px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    gap: 8px;
}

.falnic-shop-sidebar .related-item__image {
    width: 100%;
    object-fit: contain;
}

.falnic-shop-sidebar .related-item__title {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    line-height: 20px;
}

.falnic_breadcrumb_contaner {
    margin: 0px 0 25px 0;
}

.archive-main {
    padding: 25px 40px;
    max-width: 1440px;
    margin: 0 auto;
}

.falnic-shop-container {
    margin-top: 25px;
}

/* --- استایل پایه Overlay --- */
.shop-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: none;
    /* جاوا اسکریپت این را کنترل می‌کند */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* --- دکمه بستن سایدبار (موبایل) --- */
.filter-header__close-btn {
    display: none;
    /* در دسکتاپ مخفی است */
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0 10px;
    margin-left: 10px;
    color: #555;
    cursor: pointer;
}

button.filter-header__close-btn {
    padding: 0 0 !important;
    position: absolute;
    top: 10px;
    left: 4px;
    width: 25px;
    height: 25px;
    font-size: 20px;
}

span.sort-btn.active {
    background-color: #1e5f8c;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}

span.sort-btn:not(.active):hover {
    color: #1e5f8c;
}


/* --- breakpoint موبایل (تغییر یافته) --- */
@media (max-width: 1023px) {
    .archive-main {
        padding: 10px;
    }

    /* ۱. هدر سایدبار (دکمه بستن و تایتل) */
    .filter-header__close-btn {
        display: block;
        /* نمایش دکمه بستن */
    }

    .filter-header {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .filter-header__title {
        flex-grow: 1;
        text-align: right;
        margin: 0;
    }

    /* ۲. تنظیم عرض محتوای اصلی */
    .falnic-shop-main {
        width: 100%;
    }

    /* ۳. تنظیم کانتینر اصلی صفحه برای چیدمان عمودی */
    .falnic-shop-content-wrapper {
        flex-direction: column;
        /* تغییر جهت فلکس به ستونی */
        gap: 30px;
    }

    /* ۴. استایل کانتینر کلی سایدبار (والد) */
    /* این بخش دیگر فیکس نمی‌شود تا تبلیغات پایین صفحه دیده شوند */
    .falnic-shop-sidebar {
        width: 100%;
        margin-top: 0;
        position: static;
        /* برگرداندن به حالت عادی */
        height: auto;
        background: transparent;
        transform: none;
        /* حذف ترنسفرم والد */
        padding: 0;
        overflow: visible;
        box-shadow: none;
        z-index: 10000000;
        /* اولویت معمولی */
    }

    /* ۵. استایل باکس فیلترها (فرزند) */
    /* فقط این قسمت تبدیل به منوی کشویی می‌شود */
    .filter-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 90%;
        height: 100%;
        background: #fff;
        z-index: 99999;
        /* بالاترین اولویت */
        transform: translateX(100%);
        /* مخفی کردن پیش‌فرض */
        transition: transform 0.3s ease-out;
        overflow-y: auto;
        padding: 15px;
        padding-top: 40px;
        box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
        border-radius: 0;
        /* حذف گردی گوشه‌ها در حالت تمام صفحه */
    }

    /* ۶. وقتی دکمه فیلتر زده می‌شود */
    /* کلاس sidebar-open روی بادی یا کانتینر اصلی اعمال می‌شود */
    /* ما اینجا فقط .filter-sidebar را به داخل صفحه می‌آوریم */
    .falnic-shop-container.sidebar-open .filter-sidebar {
        transform: translateX(0);
    }

    /* نمایش اورلی فقط وقتی منو باز است */
    .falnic-shop-container.sidebar-open .shop-sidebar-overlay {
        display: block;
        opacity: 1;
    }

    /* ۷. استایل بخش‌های تبلیغاتی (که باید پایین بمانند) */
    .showcase-container {
        margin-top: 0;
        margin-bottom: 20px;
    }
}


button.falnic-archive-read-more {
    background: transparent;
    color: #0a3762;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

button.falnic-archive-read-more:hover,
button.falnic-archive-read-more:focus {
    background: transparent;
    color: #071e34;
}

/*
 * استایل‌های دکمه "مشاهده بیشتر" توضیحات آرشیو
 */

/* کانتینر اصلی */
.falnic-archive-description-wrapper {
    position: relative;
}

/* حالت اولیه (کوتاه شده) */
.falnic-archive-footer-description {
    position: relative;
    /* <-- جدید: برای جای‌گیری هاله */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease-in-out;
}

/* <-- جدید: هاله‌ی سفید در حالت بسته --> */
.falnic-archive-footer-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    /* ارتفاع هاله */
    background: linear-gradient(to top, white 15%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    /* اجازه عبور کلیک */
    transition: all 0.3s ease-in-out;
}

/* دکمه «مشاهده بیشتر» */
.falnic-archive-read-more {
    /* استایل دکمه شما ... */
    background-color: #f1f1f1;
    padding: 8px 16px;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    font-family: inherit;
    border: none;
}


.filters-active {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px;
    border-bottom: 1px solid var(--border-color);
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f0f2f5;
    /* رنگ پس‌زمینه تگ */
    color: #333;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.active-filter-tag:hover {
    background-color: #e4e6eb;
    border-color: #d0d0d0;
}

.active-filter-tag .remove-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    /* فاصله ضربدر از متن */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.active-filter-tag .remove-tag:hover {
    background-color: #ff4d4f;
    /* قرمز شدن ضربدر موقع هاور */
}

/*
 * حالت باز شده (وقتی کلاس is-expanded اضافه می‌شود)
 */

/* محتوا در حالت باز شده */
.falnic-archive-description-wrapper.is-expanded .falnic-archive-footer-description {
    -webkit-line-clamp: unset;
    max-height: none;
    display: block;
}

/* <-- جدید: مخفی کردن هاله در حالت باز --> */
.falnic-archive-description-wrapper.is-expanded .falnic-archive-footer-description::after {
    opacity: 0;
    height: 0;
}

/* دکمه «مشاهده بیشتر» در حالت باز شده */
/* ما دیگر دکمه را مخفی نمی‌کنیم، فقط متنش را عوض می‌کنیم */
/* .falnic-archive-description-wrapper.is-expanded .falnic-archive-read-more {
    display: none;
} */


.box-invoice-addtocart-single-fl .invoice-btn-single-deactive {
    width: 50%;
}

.box-price-product-fl {
    display: none;
}


.falnic-archive-footer-description a {
    color: #2B5684;
    text-decoration: underline;
    text-decoration-color: #2B5684;
    text-underline-offset: 7px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.falnic-archive-footer-description h2,
.falnic-archive-footer-description h3,
.falnic-archive-footer-description h4,
.falnic-archive-footer-description h5 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #000000;
}
.falnic-archive-footer-description h1
{
    font-size: 26px;
    color: #000;
}
.falnic-archive-footer-description img {
    width: auto;
    display: block;
    border-radius: 8px;
    margin: 0 auto 24px;
}

.falnic-archive-footer-description p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
}

@media (max-width: 840px) {

    .falnic-archive-footer-description h1,
    .falnic-archive-footer-description h2,
    .falnic-archive-footer-description h3,
    .falnic-archive-footer-description h4,
    .falnic-archive-footer-description h5 {
        font-size: 16px;
        line-height: 20px;
    }

    .falnic-archive-footer-description a {
        font-size: 14px;
        line-height: 22px;
        font-weight: 600;
    }
}

.falnic-archive-footer-description ol,
.falnic-archive-footer-description ul {
    padding: 0 20px 16px 0;
}