/* هدر مدرن */
.main-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    padding:0 10px;
}

/* لوگو */
.header-logo-wrapper img {
    max-height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}
.header-logo-wrapper img:hover {
    transform: scale(1.05);
}

/* استایل آیکون‌های هدر - برای راست‌چین */
.header-actions a {
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
}
.header-actions a:hover {
    color: var(--main-color-theme);
    transform: translateY(-2px);
}
.header-actions a i {
    font-size: 1.3rem;
}

/* لبل‌های زیر آیکون */
.user-label, .cart-label {
    font-size: 11px;
    font-weight: 500;
    color: #7f8c8d;
    letter-spacing: 0.3px;

    position: relative;
    top:15px;
}
.header-actions a:hover .user-label,
.header-actions a:hover .cart-label {
    color: var(--main-color-theme);
}

/* سبد خرید */
.cart-count {
    font-size: 11px;
    padding: 3px 7px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #fff;
    background: var(--main-color-theme);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
    animation: pulse-cart 2s infinite;
    right: auto !important;
    left: 0 !important;
    transform: translate(-50%, -50%) !important;
}

@keyframes pulse-cart {
    0% { box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4); }
    50% { box-shadow: 0 2px 15px rgba(52, 152, 219, 0.7); }
    100% { box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4); }
}

/* دکمه منوی همبرگری - سمت راست برای راست‌چین */
.menu-toggle-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 8px 16px;
    background: var(--main-color-theme);
    border-radius: 30px;
    color: #fff !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    order: -1; /* برای راست‌چین - اولین آیتم */
}
.menu-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
    background: var(--main-color-theme);
}
.menu-text {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* آیکون همبرگری */
.hamburger-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
    top: -8px;position: relative;
}
.hamburger-icon .bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #2b2b2b;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.menu-toggle-btn:hover .hamburger-icon .bar:nth-child(1) {
    transform: translateY(-2px);
}
.menu-toggle-btn:hover .hamburger-icon .bar:nth-child(3) {
    transform: translateY(2px);
}

/* استایل آیکون جستجو */
.search-icon {
    color: #2c3e50 !important;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.search-icon:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: rotate(-15deg) !important; /* برای راست‌چین منفی */
}

/* ریسپانسیو برای راست‌چین */
@media (max-width: 767px) {
    .header-logo-wrapper img {
        max-height: 40px;
    }
    
    .user-label, .cart-label {
        display: none !important;
    }
    
    .menu-toggle-btn {
        padding: 6px 12px;
        border-radius: 25px;
    }
    .menu-text {
        display: none !important;
    }
    .hamburger-icon {
        width: 20px;
        gap: 4px;
    }
    .hamburger-icon .bar {
        height: 2px;
    }
    
    .header-actions a i {
        font-size: 1.1rem;
    }
}
/* تنظیم فاصله بین لوگو و دکمه منو */
.header-logo-wrapper {
    margin-right: 5px;
}
.header-logo-wrapper a.site-title{
    text-decoration: none;
    color:#000;
}
@media (max-width: 767px) {
    .header-logo-wrapper img {
        max-height: 40px;
    }
    .d-flex.align-items-center.gap-3 {
        gap: 0.5rem !important;
    }
}
@media (max-width: 576px) {
    .header-logo-wrapper a.site-title{
    font-size: 14px;
}
    .header-actions {
        gap: 0.8rem !important;
    }
    .header-actions a i {
        font-size: 1rem;
    }
    .cart-count {
        font-size: 9px;
        padding: 2px 5px;
        min-width: 18px;
        height: 18px;
    }
}


/*drawer*/
/* ==================== دریپر اصلی ==================== */
.drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.drawer.open {
    right: 0;
}

/* هدر دریپر */
.drawer-header {
    background: var(--main-color-theme);
    padding: 20px 25px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.drawer-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.drawer-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.drawer-logo img {
    max-height: 40px;
    width: auto;
     filter: brightness(0) invert(1); 
}
.drawer-logo .site-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
ins{
    text-decoration: unset !important;
}
del .woocommerce-Price-amount{
 font-size: 12px;
 color:#999;
}
.close-drawer-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-drawer-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* بدنه دریپر */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}
.drawer-body::-webkit-scrollbar {
    width: 6px;
}
.drawer-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.drawer-body::-webkit-scrollbar-thumb {
    background: var(--main-color-theme);
    border-radius: 10px;
}

.drawer-section {
    margin-bottom: 25px;
}
.drawer-section:last-child {
    margin-bottom: 0;
}

.drawer-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}
.drawer-section-title i {
    color: var(--main-color-theme);
    font-size: 18px;
}

.drawer-divider {
    height: 1px;
    background: linear-gradient(90deg, #e9ecef, transparent);
    margin: 20px 0;
}

/* استایل منوی دریپر */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu li {
    margin-bottom: 2px;
}
.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}
.sidebar-menu li a:hover {
    background: linear-gradient(135deg, #ebf5fb, #d6eaf8);
    color: var(--main-color-theme);
    padding-right: 20px;
}
.sidebar-menu li a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--main-color-theme);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}
.sidebar-menu li a:hover::before {
    height: 70%;
}
.sidebar-menu li.current-menu-item a {
    background: linear-gradient(135deg, #ebf5fb, #d6eaf8);
    color: var(--main-color-theme);
}
.sidebar-menu li.current-menu-item a::before {
    height: 70%;
}

/* استایل دسته‌بندی دریپر */
.woo-category-item {
    list-style: none;
    padding: 0;
    margin: 0;
}
.woo-category-item li {
    margin-bottom: 2px;
    position: relative;
}
.woo-category-item li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}
.woo-category-item li a:hover {
    background: #f8f9fa;
    color: var(--main-color-theme);
    padding-right: 20px;
}
.woo-category-item li .count {
    background: #e9ecef;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #7f8c8d;
    transition: all 0.3s ease;
    position: absolute;
    left:10px;top:10px;
}
.woo-category-item li a:hover .count {
    background: var(--main-color-theme);
    color: #fff;
}
.woo-category-item li ul.children {
    padding-right: 20px;
    list-style: none;
}

/* فوتر دریپر */
.drawer-footer {
    flex-shrink: 0;
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid #e9ecef;
}
.drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.drawer-contact a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}
.drawer-contact a:hover {
    color: var(--main-color-theme);
}
.drawer-contact a i {
    margin-left: 8px;
    width: 18px;
    color: var(--main-color-theme);
}

.drawer-social {
    display: flex;
    gap: 12px;
}
.drawer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}
.drawer-social a:hover {
    background: var(--main-color-theme);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* ==================== دریپر سبد خرید ==================== */
.cartdrawer {
    position: fixed;
    top: 0;
    left: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 5px 0 30px rgba(0,0,0,0.15);
    transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cartdrawer.open {
    left: 0;
}

/* هدر سبد خرید */
.cart-drawer-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-drawer-title i {
    font-size: 22px;
}
.cart-items-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* محتوای سبد خرید */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}
.cart-drawer-body::-webkit-scrollbar {
    width: 6px;
}
.cart-drawer-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.cart-drawer-body::-webkit-scrollbar-thumb {
    background: var(--main-color-theme);
    border-radius: 10px;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
}
.empty-cart-message i {
    color: #dce1e8;
    margin-bottom: 15px;
}
.empty-cart-message p {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 20px;
}
.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background:var(--main-color-theme);;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}
.btn-shop-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
    color: #fff;
}

/* فوتر سبد خرید */
.cart-footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 15px 25px;
}
.cart-footer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}
.cart-total-price {
    color: #e74c3c;
    font-size: 20px;
}
.cart-footer-actions {
    display: flex;
    gap: 10px;
}
.cart-footer-actions a {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}
.btn-view-cart {
    background: #f8f9fa;
    color: #2c3e50;
    border: 1px solid #e9ecef;
}
.btn-view-cart:hover {
    background: #e9ecef;
    color: #2c3e50;
}
.btn-checkout {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}
.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.4);
    color: #fff;
}

/* ==================== اوورلی ==================== */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== ریسپانسیو ==================== */
@media (max-width: 576px) {
    .drawer {
        width: 300px;
        right: -320px;
    }
    .cartdrawer {
        width: 300px;
        left: -320px;
    }
    .drawer-header {
        padding: 15px 20px;
    }
    .drawer-body {
        padding: 15px 20px;
    }
    .drawer-footer {
        padding: 15px 20px;
    }
    .cart-footer-actions {
        flex-direction: column;
    }
}

 /*فیلتر*/ 
/* ============================================
   استایل فیلترهای YITH - نگاهاپتیک
   ============================================ */

/* ---------- کانتینر اصلی ---------- */
.filters-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding: 10px;
}

.filters-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ---------- هر باکس فیلتر ---------- */
.yith-wcan-filter {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f7fa;
}

.yith-wcan-filter:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ---------- تیتر فیلتر ---------- */
.yith-wcan-filter .filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-right: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* خط تزئینی کنار تیتر */
.yith-wcan-filter .filter-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #0d6efd, #6610f2);
    border-radius: 4px;
}

/* آیکون تیتر (با ::after) */
.yith-wcan-filter .filter-title::after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: #0d6efd;
    margin-right: 8px;
    opacity: 0.7;
}

/* ---------- لیست آیتم‌ها ---------- */
.filter-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-item {
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.filter-item:last-child {
    margin-bottom: 0;
}

/* ---------- لیبل آیتم‌ها ---------- */
.filter-item label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fafbfc;
    border: 1px solid transparent;
    font-size: 14px;
    color: #2d3436;
    font-weight: 500;
    width: 100%;
}

.filter-item label:hover {
    background: #f0f7ff;
    border-color: #dbeafe;
    transform: translateX(-4px);
}

/* ---------- چک‌باکس سفارشی ---------- */
.filter-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    margin: 0;
}

/* چک‌باکس در حالت هاور */
.filter-item input[type="checkbox"]:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* چک‌باکس در حالت انتخاب شده */
.filter-item input[type="checkbox"]:checked {
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* علامت تیک داخل چک‌باکس */
.filter-item input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* چک‌باکس فعال (selected) */
.filter-item.active input[type="checkbox"] {
    background: #0d6efd;
    border-color: #0d6efd;
}

.filter-item.active input[type="checkbox"]::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---------- آیتم فعال ---------- */
.filter-item.active label {
    background: #eef3ff;
    border-color: #0d6efd;
    color: #0d6efd;
    font-weight: 600;
}

.filter-item.active label .term-label {
    color: #0d6efd;
}

/* ---------- لینک متن آیتم ---------- */
.filter-item .term-label {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
    flex: 1;
}

.filter-item .term-label:hover {
    color: #0d6efd;
}

.filter-item.active .term-label {
    color: #0d6efd;
}

/* ---------- شمارنده (اگر دارید) ---------- */
.filter-item .count {
    background: #f0f2f5;
    color: #6c757d;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 20px;
    margin-right: auto;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filter-item.active .count {
    background: #0d6efd;
    color: #ffffff;
}

/* ---------- استایل سطح (level) ---------- */
.filter-item.level-1 {
    padding-right: 25px;
}

.filter-item.level-2 {
    padding-right: 45px;
}

/* ---------- دکمه‌های اقدام (اگر دارید) ---------- */
.filters-container .yith-wcan-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filters-container .yith-wcan-actions .button {
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filters-container .yith-wcan-actions .apply-filters {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.25);
}

.filters-container .yith-wcan-actions .apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 110, 253, 0.35);
}

.filters-container .yith-wcan-actions .reset-filters {
    background: #f1f3f5;
    color: #495057;
}

.filters-container .yith-wcan-actions .reset-filters:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}
  .owl-theme .owl-nav{

 direction:ltr;
    position: absolute;
    top: 0;
    width: 100%;
     height: 0px;
    top:calc(50% );

}
.special-offer-container  .owl-theme .owl-nav{

    top:30%;

}
.hidden-owl-nav .owl-theme .owl-nav{
    display: none;
}
  .owl-theme .owl-nav button
 {
    background: #000 !important;
    opacity: 0.5;
    color:  #fff !important;
    border-radius: 100% !important;
    text-decoration: none;
    position: absolute; 
   width: 35px !important;
   height: 35px !important;
}
 .top-slider .owl-theme .owl-nav  .owl-prev{
  left:10px;
}
  .top-slider .owl-theme .owl-nav  .owl-next{
right:10px;
}

  .owl-theme .owl-nav  .owl-prev{
  left:0px;
}
  .owl-theme .owl-nav  .owl-next{
right:0px;
}
/* ---------- انیمیشن‌ها ---------- */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-content {
    animation: fadeSlideDown 0.3s ease forwards;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .filters-container {
        padding: 18px 15px;
        border-radius: 12px;
    }

    .yith-wcan-filter .filter-title {
        font-size: 15px;
    }

    .filter-item label {
        padding: 6px 12px;
        font-size: 13px;
    }

    .filter-item input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .filter-item .term-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .filters-container {
        padding: 14px 12px;
    }

    .filter-item label {
        padding: 5px 10px;
        font-size: 12px;
        gap: 10px;
    }

    .filter-item input[type="checkbox"] {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }
}

/* ============================================
   استایل در حالت دارک/تاریک (اختیاری)
   ============================================ */
.dark-mode .filters-container {
    background: #1e1e2e;
    border-color: #2d2d44;
}

.dark-mode .yith-wcan-filter .filter-title {
    color: #e8e8e8;
}

.dark-mode .filter-item label {
    background: #2a2a3e;
    color: #d0d0d0;
}

.dark-mode .filter-item label:hover {
    background: #333350;
    border-color: #444466;
}

.dark-mode .filter-item .term-label {
    color: #d0d0d0;
}

.dark-mode .filter-item.active label {
    background: #1a2a4a;
    border-color: #0d6efd;
}

.dark-mode .filter-item input[type="checkbox"] {
    background: #2a2a3e;
    border-color: #444466;
}

.dark-mode .filter-item .count {
    background: #2a2a3e;
    color: #8888aa;
}


/* استایل بخش پیشنهاد ویژه */
.special-offer-col {
    margin-bottom: 20px;
}

.special-offer-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.special-offer-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.special-offer-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.special-offer-box:hover::before {
    transform: rotate(0deg);
}

.special-offer-icon {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
    
    transition: all 0.3s ease;
}

.special-offer-box:hover .special-offer-icon {
    transform: scale(1.1) rotate(-5deg);
}

.special-offer-title {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
    color: #fff;
}

.special-offer-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(5px);
}

.special-offer-link {
    display: inline-block;
    margin-top: 15px;
    color: #fff;
    text-decoration: none;
    padding: 8px 25px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.special-offer-link:hover {
    background: #fff;
    color: #764ba2;
    border-color: #fff;
    text-decoration: none;
}
.owl-carousel .owl-dots{
 display: none;
}

.poster-cat {
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
}
.poster-cat img {
    width: 100%;
    height: auto;
    border-radius: 25px;
}
.poster-cat a{
    position: absolute; 
    bottom: 5%;
    right: 5%;
    color:#000;
    text-decoration: none;
}
.poster-cat a:hover{ 
    color:#353535; 
}
.icon-parts{
    text-align: center;
}
.icon-parts a{
     font-size: 14px;
    color:#000;
    text-decoration: none;
}
.icon-parts a:hover{ 
    color:#353535; 
}
.icon-parts img{
    width: 100%;
    max-width: 64px;
    height: auto;
}
.all-center{
    display: flex; justify-content: center; align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}
.footer-text-about{
    font-size: 14px;
    text-align: justify;
    line-height: 210%;
    margin-top:25px;
}
.footer-logo{
  padding-top: 10px;
  text-align: right !important;
   
}
.footer-logo img{
    background-color: #fff;;
    max-width: 50%;
}
.footer-menu{

    line-height: 50px;
    font-size: 16px;
    font-weight: 900;

}
footer *,footer .menu-item  a{
    color:#fff ;
}

.assistive-social{
    position: fixed;
    bottom:30px;
    left:25px;
    z-index: 98;
}
.assistive-social .btn-assistive-touch{
background-color: rgb(154, 12, 206);
width: 50px;
height: 50px;
padding: 16px;  
border-radius: 100%;
position: absolute;
bottom:0;
left:0;
cursor: pointer;
}
.assistive-social .btn-assistive-touch i{
  font-size: 20px;color:#fff;
   
}
 
.assistive-social.show .btn-assistive-touch i.fa-user{
  display: none;
}
.assistive-social:not(.show) .btn-assistive-touch i.fa-close{
  display: none;
}
.assistive-social ul{
    position: absolute;
    left: 0;
    bottom: 40px;
    display: none;
    opacity: 0;
}
.assistive-social.show ul{
 
     display: block;
   opacity: 1;
}
.assistive-social ul li{
position: relative;
}
.assistive-social ul li label{
    display: inline-flex;
    border-radius: 25px;
padding: 10px;
background-color: #e4e4e4;
color:#000;
height: 44px;
 
}
.loan-part img{
    border-radius: 15px;
    width:100%;
}
.loan-part img.img-desktop{
    display: block;
}
.loan-part img.img-mob{
    display: none;
}
.accordion-item *{
    text-align: right !important;
}
/*cycle*/
/* ============================================
   اسلایدر بی‌نهایت دسته‌بندی‌ها
   ============================================ */
 
/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .brand-item {
        width: 50px;  
    }
    .assistive-social{
        bottom:70px;
    }
    
    .brands-cycle {
        padding: 15px 0;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .brand-item {
        width: 50px; 
    }
    
    .brands-cycle {
        padding: 10px 0;
        gap: 5px;
    }
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .special-offer-box {
        min-height: auto;
        padding: 25px 20px;
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .special-offer-icon {
        max-width: 60px;
    }
    .special-offer-title {
        font-size: 18px;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .loan-part img.img-desktop{
    display: none;
}
.loan-part img.img-mob{
    display: block;
}
    .special-offer-box {
        flex-direction: column;
        padding: 20px;
    }
    .special-offer-icon {
        max-width: 50px;
    }
    .special-offer-title {
        font-size: 16px;
    }
}