/*Codes related to the filter*/
.filtermenu{
  height: 0;
  top: 0;
	width:100%;
  overflow-x: hidden; 
/*  transition:all 1s ease-in-out;*/
left: auto;
right: 0;
}
.filtermenu.active{
	height:100%
}

.filtermenu .e-con-inner{
    margin: 0!important;
}


/*حالت چسبیده سایدبار فیلتر دسته بندی*/
.mbsidefilter{
    position: sticky;
    top:0;
}


nav.elementor-pagination {
    background: #fbf8f6;
    border-radius: 10px;
    margin-right: -20px;
    padding-top: 6px;
}


/* استایل مشاهده بیشتر/کمتر زیر دسته بندی*/
.mb-content-cat-new#content {
    max-height: 9em;
    overflow: hidden;
    transition: max-height  1s ease;
}
.mb-content-cat-new#content.is-expanded {
    max-height: 5000px; 
}


/* شروع استایل کارت محصول جدید */
/* کارت محصول جدید رو دکمه مشاهده نمی شکنه*/
.mb-bo {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* خلاصه کردن عنوان کارت محصول ارشیو */
.mb-p-title , .mb-p-title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
/* پایان استایل کارت محصول جدید */






/* َشروع استایل متن دسته بندی */


.mb-content-cat-new p {
    margin-bottom: 15px;
}

/* لینک‌ها - هاور نرم‌تر و جذاب‌تر */
.mb-content-cat-new a {
    text-decoration: none;
    font-weight: 600;
    box-shadow: inset 0 -3px 0 color-mix(in srgb, currentColor 30%, transparent);
    padding-bottom: 2px;
}

.mb-content-cat-new a:hover {
    box-shadow: inset 0 -15px 0 color-mix(in srgb, currentColor 15%, transparent);
}

/* تصاویر - سایه واضح‌تر و عمیق‌تر */
.mb-content-cat-new img {
    border-radius: 18px;
    display: block;
    margin: 35px auto !important;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06); /* سایه کاملا مشخص و جذاب */
    height: auto !important;
    width: 75%;
    max-width: 700px;
}

/* هدینگ‌ها - حفظ استایل مینیمال */
.mb-content-cat-new h1,
.mb-content-cat-new h2,
.mb-content-cat-new h3,
.mb-content-cat-new h4 {
    color: #18181b;
    line-height: 1.6;
}

.mb-content-cat-new h1 {
    margin: 15px 0 25px 0;
    font-size: 26px;
    font-weight: 800;
}

.mb-content-cat-new h2 {
    margin: 45px 0 20px 0;
    font-size: 22px;
    font-weight: 700;
    padding-right: 8px;
    border-right: 3px solid currentColor;
    border-radius: 10px;
}

.mb-content-cat-new h3 {
    margin: 35px 0 15px 0;
    font-size: 19px;
    font-weight: 600;
}

.mb-content-cat-new h4 {
    margin: 25px 0 15px 0;
    font-size: 17px;
    font-weight: 600;
}

/* بولت‌پوینت‌ها - طراحی جدید با هاله محو */
.mb-content-cat-new ul,
.mb-content-cat-new ol {
    list-style: none;
    padding-right: 5px;
    margin-bottom: 25px;
}

.mb-content-cat-new ul li,
.mb-content-cat-new ol li {
    position: relative;
    margin-bottom: 14px;
    padding-right: 28px; /* فضای بیشتر برای بولت جدید */
    line-height: 1.8;
}

.mb-content-cat-new ul li::before,
.mb-content-cat-new ol li::before {
    content: "";
    position: absolute;
    right: 4px;
    top: 11px;
    width: 7px; /* سایز بزرگتر */
    height: 7px;
    background-color: currentColor; /* هماهنگ با رنگ لینک‌ها یا قالب */
    opacity: 0.85;
    border-radius: 50%;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 15%, transparent); /* ایجاد هاله جذاب دور نقطه */
}

/* بهینه‌سازی موبایل */
@media (max-width: 767px) {


    .mb-content-cat-new h1 {
        font-size: 17px;
        font-weight: 700;
    }

    .mb-content-cat-new h2 {
        font-size: 15px;
        padding-right: 10px;
        border-right-width: 3px;
        margin-top: 30px;
    }
    .mb-content-cat-new h3 { font-size: 14px;
    margin-top:28px;
        
    }
    .mb-content-cat-new h4 { font-size: 15px;
        margin-top:20px;

    }
    .mb-content-cat-new img {
        width: 100%;
        margin: 25px auto !important;
    }
}

/* استایل کلی جدول سفارشی */
.my-spec-table {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: "ایران سنس", Sans-serif; /* فونت را اینجا چک کنید */
    direction: rtl;
    text-align: right;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff; /* اطمینان از رنگ پس‌زمینه */
}

.my-spec-table th, 
.my-spec-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.my-spec-table th {
    text-align: center;
    background-color: #c1c2ba; /* رنگ هدر */
    font-weight: bold;
}

/* رنگ‌بندی راه راه ردیف‌ها */
.my-spec-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.my-spec-table tr:nth-child(odd) {
    background-color: #fff;
}

/* رنگ ردیف اول (هدر) که بالاتر تنظیم شد، اینجا تثبیت می‌شود */
.my-spec-table tr:first-child {
    background-color: #c1c2ba !important;
}

/* رسپانسیو برای موبایل */
@media screen and (max-width: 600px) {
    
     .table-wrapper::-webkit-scrollbar {
        height: 6px; /* ارتفاع نوار اسکرول افقی */
    }
    .table-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1; 
        border-radius: 10px;
    }
    .table-wrapper::-webkit-scrollbar-thumb {
        background: #c1c2ba; /* همرنگ با هدر جدول شما */
        border-radius: 10px;
    }
    .table-wrapper::-webkit-scrollbar-thumb:hover {
        background: #a1a29a;
    }
    
    .table-wrapper::before {
        content: "👈 برای مشاهده کامل، جدول را به راست بکشید";
        display: block;
        text-align: center;
        font-size: 12px;
        color: #777;
        margin-bottom: 10px;
    }
    
    .table-wrapper {
        display: block;
        overflow-x: auto; /* اسکرول افقی */
        -webkit-overflow-scrolling: touch;
    }
    
    .my-spec-table {
        min-width: 500px; /* حداقل عرض برای اینکه در موبایل مچاله نشود */
    }
    
    .my-spec-table th, 
    .my-spec-table td {
        padding: 8px;
        font-size: 13px;
    }
}

/* َپایان استایل متن دسته بندی */
