/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jun 13 2026 | 17:55:08 */
/* ════════════════════════════════════════
   تراث الإسلام — سايدبار المتجر | نسخة نهائية
   ════════════════════════════════════════ */

/* ===== 1. إخفاء العناوين الداخلية المكررة ===== */
.elementor-widget-wd_sidebar .wd-widget > .widget-title {
    display: none !important;
}

/* ===== 2. إخفاء البحث جوه ويدجت الأقسام ===== */
.elementor-element-5b9071e .wd-filter-search {
    display: none !important;
}

/* ===== 3. الكروت البيضاء لكل فلتر ===== */
.elementor-element-3d1032b.e-con,
.elementor-element-b4c9722.e-con,
.elementor-element-afbb947.e-con,
.elementor-element-cbee780.e-con,
.elementor-element-4e7699f.e-con {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 20px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 10px rgba(46, 34, 24, 0.06) !important;
}

/* ════════════════════════════════════════
   5. قسم الأقسام (التصنيفات)
   ════════════════════════════════════════ */
ul.product-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
ul.product-categories li.cat-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 7px 0 !important;
    border-bottom: 1px solid #FAF6EE !important;
}
ul.product-categories li.cat-item a.wd-filter-lable {
    font-family: 'Cairo', sans-serif !important;
    font-size: 13px !important;
    color: #2E2218 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
ul.product-categories li.cat-item a.wd-filter-lable:hover {
    color: #7A1E2C !important;
}
ul.product-categories li.cat-item span.count {
    background: #EFE6D8 !important;
    color: #7A1E2C !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 2px 8px !important;
    min-width: 22px !important;
    text-align: center !important;
}
/* ════════════════════════════════════════
   6. قسم السعر — Pills أنيقة (الحل السحري)
   ════════════════════════════════════════ */
/* ════════════════════════════════════════
   6. سلايدر السعر الكاستم
   ════════════════════════════════════════ */
.torath-price { padding: 8px 4px 0 !important; }

.torath-price-track {
    position: relative !important;
    height: 26px !important;
    margin-bottom: 18px !important;
}
.torath-price-track::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important; right: 0 !important;
    height: 3px !important;
    transform: translateY(-50%) !important;
    background: #EFE6D8 !important;
    border-radius: 4px !important;
}
.torath-price-fill {
    position: absolute !important;
    top: 50% !important;
    height: 3px !important;
    transform: translateY(-50%) !important;
    background: #7A1E2C !important;
    border-radius: 4px !important;
    z-index: 1 !important;
}
.torath-price-track input[type="range"] {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 26px !important;
    margin: 0 !important;
    background: none !important;
    pointer-events: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    z-index: 2 !important;
}
.torath-price-track input[type="range"]::-webkit-slider-runnable-track {
    background: transparent !important;
    border: none !important;
}
.torath-price-track input[type="range"]::-moz-range-track {
    background: transparent !important;
    border: none !important;
}
.torath-price-track input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 17px !important; height: 17px !important;
    border-radius: 50% !important;
    background: #2E2218 !important;
    border: 3px solid #FFF !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
    cursor: grab !important;
    pointer-events: auto !important;
    margin-top: -7px !important;
}
.torath-price-track input[type="range"]::-moz-range-thumb {
    width: 17px !important; height: 17px !important;
    border-radius: 50% !important;
    background: #2E2218 !important;
    border: 3px solid #FFF !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
    cursor: grab !important;
    pointer-events: auto !important;
}
/* خانتين Min / Max */
.torath-price-fields {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}
.torath-price-fields .tp-field {
    flex: 1 !important;
    border: 1.5px solid #EFE6D8 !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    background: #FFF !important;
}
.torath-price-fields .tp-field label {
    display: block !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 11px !important;
    color: #9A8C7A !important;
    margin-bottom: 2px !important;
}
.torath-price-fields .tp-field-val {
    font-family: 'Cairo', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2E2218 !important;
}
.torath-price-btn {
    width: 100% !important;
    background: #7A1E2C !important;
    color: #FFF !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 9px 28px !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}
.torath-price-btn:hover { background: #561420 !important; }

/* ════════════════════════════════════════
   7. قسم المقاس — أزرار Pill
   ════════════════════════════════════════ */
#woodmart-woocommerce-layered-nav-4 .wd-swatches-filter {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
#woodmart-woocommerce-layered-nav-4 .wd-swatch-wrap {
    display: inline-flex !important;
}
#woodmart-woocommerce-layered-nav-4 .wd-swatch.wd-text,
#woodmart-woocommerce-layered-nav-4 .wd-swatch-wrap .count {
    display: none !important;
}
#woodmart-woocommerce-layered-nav-4 .wd-filter-lable.layer-term-lable {
    display: inline-block !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 12px !important;
    color: #2E2218 !important;
    border: 1.5px solid #EFE6D8 !important;
    border-radius: 8px !important;
    padding: 5px 12px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    background: #FFFFFF !important;
    white-space: nowrap !important;
}
#woodmart-woocommerce-layered-nav-4 .layered-nav-link:hover .layer-term-lable,
#woodmart-woocommerce-layered-nav-4 .wc-layered-nav-term.chosen .layer-term-lable {
    background: #7A1E2C !important;
    color: #FFFFFF !important;
    border-color: #7A1E2C !important;
}

/* ════════════════════════════════════════
   8. قسم اللون — دوائر
   ════════════════════════════════════════ */
#woodmart-woocommerce-layered-nav-5 .wd-swatches-filter {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
}
#woodmart-woocommerce-layered-nav-5 .wd-swatch.wd-bg {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: block !important;
    outline: 2px solid transparent !important;
    outline-offset: 2px !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
}
#woodmart-woocommerce-layered-nav-5 .layered-nav-link:hover .wd-swatch.wd-bg,
#woodmart-woocommerce-layered-nav-5 .wc-layered-nav-term.chosen .wd-swatch.wd-bg {
    outline-color: #7A1E2C !important;
}
#woodmart-woocommerce-layered-nav-5 .wd-filter-lable.layer-term-lable,
#woodmart-woocommerce-layered-nav-5 .count {
    display: none !important;
}

/* ════════════════════════════════════════
   9. إخفاء مربعات الاختيار نهائيًا
   ════════════════════════════════════════ */
#woodmart-woocommerce-layered-nav-4 .layered-nav-link::before,
#woodmart-woocommerce-layered-nav-4 .wd-swatch-wrap::before,
#woodmart-woocommerce-layered-nav-4 .wd-swatch-wrap > a::before,
#woodmart-woocommerce-layered-nav-5 .layered-nav-link::before,
#woodmart-woocommerce-layered-nav-5 .wd-swatch-wrap::before,
#woodmart-woocommerce-layered-nav-5 .wd-swatch-wrap > a::before {
    display: none !important;
    content: none !important;
}

/* ════════════════════════════════════════
   10. حالة المخزون — سويتش (البلية على li)
   ════════════════════════════════════════ */
#wd-widget-stock-status-3 ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
#wd-widget-stock-status-3 li {
    position: relative !important;
    min-height: 26px !important;
    margin: 0 !important;
}
/* الـ link فوق السويتش عشان يستقبل الكليك */
#wd-widget-stock-status-3 li a {
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 13px !important;
    color: #2E2218 !important;
    text-decoration: none !important;
    padding-left: 54px !important;
    line-height: 26px !important;
}
/* المسار */
#wd-widget-stock-status-3 li::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 23px !important;
    background: #D8CFC4 !important;
    border-radius: 50px !important;
    z-index: 1 !important;
    transition: background 0.25s !important;
}
/* البلية */
#wd-widget-stock-status-3 li::before {
    content: '' !important;
    position: absolute !important;
    left: 3px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 17px !important;
    height: 17px !important;
    background: #FFFFFF !important;
    border-radius: 50% !important;
    z-index: 2 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.35) !important;
    transition: left 0.25s !important;
}
#wd-widget-stock-status-3 li.wd-active::after {
    background: #7A1E2C !important;
}
#wd-widget-stock-status-3 li.wd-active::before {
    left: 22px !important;
}



/* ════════════════════════════════════════
   شريط أدوات المتجر — أيقونات العرض + الترتيب
   ════════════════════════════════════════ */

/* ===== أيقونات تبديل العرض (Grid/List) ===== */
/* مسافات بين أيقونات العرض */
.wd-products-shop-view {
    display: inline-flex !important;
    gap: 10px !important;
}
.wd-products-shop-view .shop-view {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 1.5px solid #EFE6D8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    opacity: 1 !important;
}
/* لون الأيقونة نفسها (نبيتي) */
.wd-products-shop-view .shop-view::before {
    color: #7A1E2C !important;
    transition: color 0.2s !important;
}
/* هوفر + الحالة المختارة = خلفية نبيتي وأيقونة بيضا */
.wd-products-shop-view .shop-view:hover,
.wd-products-shop-view .shop-view.wd-active,
.wd-products-shop-view .shop-view.active {
    background: #7A1E2C !important;
    border-color: #7A1E2C !important;
}
.wd-products-shop-view .shop-view:hover::before,
.wd-products-shop-view .shop-view.wd-active::before,
.wd-products-shop-view .shop-view.active::before {
    color: #FFFFFF !important;
}

/* ===== قائمة الترتيب (Order By) — شكل مودرن ===== */
.woocommerce-ordering select.orderby {
    font-family: 'Cairo', sans-serif !important;
    font-size: 13px !important;
    color: #2E2218 !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EFE6D8 !important;
    border-radius: 50px !important;
    padding: 9px 44px 9px 18px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    /* سهم مخصص نبيتي */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A1E2C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 14px center !important;
    box-shadow: 0 1px 4px rgba(46,34,24,0.05) !important;
}
.woocommerce-ordering select.orderby:hover {
    border-color: #7A1E2C !important;
}
.woocommerce-ordering select.orderby:focus {
    outline: none !important;
    border-color: #7A1E2C !important;
    box-shadow: 0 0 0 3px rgba(122,30,44,0.08) !important;
}
/* خيارات القائمة المنسدلة */
.woocommerce-ordering select.orderby option {
    font-family: 'Cairo', sans-serif !important;
    color: #2E2218 !important;
    background: #FFFFFF !important;
    padding: 8px !important;
}

/* ════════════════════════════════════════
   قائمة الترتيب المخصصة (مودرن)
   ════════════════════════════════════════ */
.torath-orderby {
    position: relative !important;
    display: inline-block !important;
    min-width: 190px !important;
    font-family: 'Cairo', sans-serif !important;
}
.torath-orderby-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EFE6D8 !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 13px !important;
    color: #2E2218 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}
.torath-orderby-btn:hover {
    border-color: #7A1E2C !important;
}
.torath-orderby-btn i {
    width: 9px !important;
    height: 9px !important;
    border-right: 2px solid #7A1E2C !important;
    border-bottom: 2px solid #7A1E2C !important;
    transform: rotate(45deg) !important;
    transition: transform 0.25s !important;
    flex-shrink: 0 !important;
    margin-top: -3px !important;
}
.torath-orderby.open .torath-orderby-btn {
    border-color: #7A1E2C !important;
    box-shadow: 0 0 0 3px rgba(122,30,44,0.08) !important;
}
.torath-orderby.open .torath-orderby-btn i {
    transform: rotate(-135deg) !important;
    margin-top: 3px !important;
}
/* القائمة */
.torath-orderby-list {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 6px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EFE6D8 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(46,34,24,0.12) !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) !important;
    transition: all 0.2s !important;
}
.torath-orderby.open .torath-orderby-list {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.torath-orderby-list li {
    font-family: 'Cairo', sans-serif !important;
    font-size: 13px !important;
    color: #2E2218 !important;
    padding: 9px 14px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
}
.torath-orderby-list li:hover {
    background: #FAF6EE !important;
    color: #7A1E2C !important;
}
.torath-orderby-list li.active {
    background: #7A1E2C !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}


/* مسافة بين السورت باي وأيقونات العرض */
.torath-orderby {
    margin-right: 16px !important;
}


/* ════════════════════════════════════════
   شريط الفلاتر المفعّلة (Active Filters)
   ════════════════════════════════════════ */
.wd-active-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 4px 0 20px !important;
}

/* قائمة الشيبس */
.wd-active-filters .widget_layered_nav_filters ul {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* الشيب الواحد */
.wd-active-filters .widget_layered_nav_filters ul li {
    margin: 0 !important;
    padding: 0 !important;
}
.wd-active-filters .widget_layered_nav_filters ul li a {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    gap: 8px !important;
    background: #EFE6D8 !important;
    color: #2E2218 !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 12.5px !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}
.wd-active-filters .widget_layered_nav_filters ul li a:hover {
    background: #7A1E2C !important;
    color: #FFFFFF !important;
}

/* علامة الـ × */
.wd-active-filters .widget_layered_nav_filters ul li a::before {
    content: '×' !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: #9A8C7A !important;
    transition: color 0.2s !important;
}
.wd-active-filters .widget_layered_nav_filters ul li a:hover::before {
    color: #FFFFFF !important;
}

/* سعر داخل الشيب */
.wd-active-filters .widget_layered_nav_filters .woocommerce-Price-amount {
    font-weight: 700 !important;
}
.wd-active-filters .widget_layered_nav_filters .woocommerce-Price-currencySymbol {
    font-size: 10px !important;
}

/* زر مسح الكل */
.wd-active-filters .wd-clear-filters a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #7A1E2C !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
.wd-active-filters .wd-clear-filters a:hover {
    color: #561420 !important;
}
.wd-active-filters .wd-clear-filters a:hover .wd-action-text {
    text-decoration: underline !important;
}


