:root {
	--wd-hb-opt-h: 40px;
	--wd-text-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,167,0);
	--wd-alternative-color: rgb(54,97,78);
	--btn-default-bgcolor: rgb(255,255,255);
	--btn-default-bgcolor-hover: rgb(255,255,255);
	--btn-default-color: rgb(54,97,78);
	--btn-default-color-hover: rgb(54,97,78);
	--btn-accented-bgcolor: rgb(33,87,74);
	--btn-accented-bgcolor-hover: rgb(33,87,74);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://bariq-alajhza.com/wp-content/uploads/2021/10/retail-2-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-hb {
	background-color: rgb(33,87,74);
	background-image: none;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(245,245,245);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 40px;
	}

}
:root{
--wd-container-w: 1350px;
--wd-form-brd-radius: 0px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1350px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(33,87,74);
}

@font-face {
	font-family: "Metropolis";
	src: url("//bariq-alajhza.com/wp-content/uploads/2021/10/Metropolis-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Metropolis";
	font-weight: 600;
	font-style: normal;
}

:root {
    --primary-color: rgb(54,97,78); 
    --secondary-color: rgb(255,167,0); 
}

/* إخفاء السعر الافتراضي لوودمارت */
.wd-product-wrapper .wrap-price, 
.wd-product-wrapper .price,
.product-grid-item .price { 
    display: none !important; 
}

/* ======================================================== */
/* الكارت (مضغوط لتقليل الارتفاع) */
/* ======================================================== */
.product-grid-item {
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.product-grid-item .product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex-grow: 1 !important;
    border: 1px solid #eaeaea !important; 
    border-radius: 8px !important;
    padding: 10px !important; 
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.product-grid-item:hover .product-wrapper {
    border-color: var(--primary-color) !important; 
    box-shadow: 0 6px 20px rgba(54, 97, 78, 0.1) !important;
}

.product-grid-item .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    width: 100%;
}

.product-grid-item .wd-entities-title,
.product-grid-item .product-title {
    min-height: 38px !important; 
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important; 
    font-size: 13px !important; 
    color: #333 !important;
    line-height: 1.4 !important;
}

/* ======================================================== */
/* إرجاع وتنسيق دائرة الخصم على الصورة (مطابقة للمرجع) */
/* ======================================================== */
.product-grid-item .product-labels {
    display: flex !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 10 !important;
}

.product-grid-item .product-labels .onsale {
    background: var(--primary-color) !important; /* دائرة برتقالية مميزة */
    color: #fff !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    text-transform: uppercase;
    padding: 0 !important;
}

/* ======================================================== */
/* المنطقة السفلية (نظام الصناديق المتطابق مع الصورة) */
/* ======================================================== */
.v3-card-bottom {
    display: flex;
    flex-direction: column;
    margin-top: auto !important; 
    direction: rtl;
    text-align: right;
    gap: 6px; 
}

/* 1. صندوق السعر */
.v3-price-box {
    background: #f4f6f8 !important; 
    padding: 8px 10px !important;
    border-radius: 6px !important;
    display: flex;
    flex-direction: column;
}

.v3-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.v3-label {
    color: var(--primary-color) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.v3-discount-badge-small {
    background: var(--primary-color) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

.v3-main-row {
    display: flex;
    flex-wrap: wrap; /* يسمح بنزول الضريبة لسطر جديد لو الشاشة ضيقة جداً */
    justify-content: flex-end; 
    flex-direction: row-reverse;
    align-items: center;
    gap: 6px;
}

.v3-current-price,
.v3-current-price * {
    color: var(--secondary-color) !important; 
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1;
}

.v3-current-price .woocommerce-Price-currencySymbol {
    font-size: 13px !important;
    font-weight: 700 !important;
}

.v3-tax-note {
    color: #777 !important;
    font-size: 10px !important;
    white-space: nowrap !important; /* يمنع الجملة من التكسر بشكل قبيح */
}

.v3-old-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-direction: row-reverse;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.v3-old-price,
.v3-old-price * {
    color: #999 !important;
    font-size: 12px !important;
    text-decoration: line-through;
    font-weight: 500;
}

/* توحيد لون وفر بالكامل للأخضر الأساسي */
.v3-save-badge,
.v3-save-badge *,
.v3-save-badge span,
.v3-save-badge bdi,
.v3-save-badge .amount,
.v3-save-badge .woocommerce-Price-currencySymbol {
    color: var(--primary-color) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important; /* منع التكسر */
}

/* 2. صندوق التقسيط */
.v3-installments-box {
    background: #fafafa !important;
    border: 1px solid #eaeaea !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.v3-inst-text {
    font-size: 10px !important;
    color: #444 !important;
    font-weight: 600 !important;
    text-align: center;
}

.v3-inst-logos {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.v3-logo-item {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 2px 4px;
    background: #fff;
    display: flex;
}

.v3-logo-item img {
    height: 12px !important;
    width: auto !important;
}

/* 3. صندوق المخزون */
.v3-stock-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border: 1px solid transparent;
}

.v3-instock {
    background: #f0fdf4 !important; 
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

.v3-outofstock {
    background: #fef2f2 !important; 
    border-color: #fecaca !important;
    color: #991b1b !important;
}

/* زر الإضافة للسلة */
.product-grid-item .wd-add-btn a.button {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    width: 100% !important;
    padding: 6px 0 !important; 
    font-size: 13px !important;
    margin-top: 2px !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.product-grid-item .wd-add-btn a.button:hover {
    background: var(--secondary-color) !important;
}

/* أيقونات القالب الجانبية (الأمنيات وغيرها) */
.product-grid-item .wd-buttons,
.product-grid-item .wd-buttons[class*="wd-pos-"] {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important; 
    right: auto !important;
    transform: none !important;
    padding: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}
.product-grid-item .wd-buttons .wd-action-btn > a {
    background: #ffffff !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    border: none !important;
    color: #444 !important;
}
.product-grid-item .wd-buttons .wd-action-btn > a:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* ======================================================== */
/* تعديلات خاصة بشاشات الجوال لتقليص الارتفاع وحل التكسر */
/* ======================================================== */
@media (max-width: 768px) {
    /* تصغير بادنج الكارت الخارجي بالكامل */
    .product-grid-item .product-wrapper {
        padding: 6px !important; 
    }
    
    /* تصغير المسافة بين الصناديق */
    .v3-card-bottom {
        gap: 4px !important; 
    }
    
    /* تصغير بادنج الصناديق الداخلية */
    .v3-price-box {
        padding: 6px 8px !important;
    }
    .v3-installments-box {
        padding: 4px 6px !important;
    }
    .v3-stock-box {
        padding: 4px !important;
        font-size: 10px !important;
    }
    
    /* تصغير العنوان */
    .product-grid-item .wd-entities-title,
    .product-grid-item .product-title {
        min-height: 34px !important;
        margin-bottom: 6px !important;
        font-size: 11px !important;
    }
    
    /* تصغير الخطوط في الموبايل */
    .v3-current-price, .v3-current-price * {
        font-size: 16px !important;
    }
    .v3-tax-note {
        font-size: 9px !important;
    }
    .v3-old-price, .v3-old-price * {
        font-size: 10px !important;
    }
    .v3-save-badge, .v3-save-badge * {
        font-size: 10px !important;
    }
    .v3-label {
        font-size: 10px !important;
    }
    .v3-discount-badge-small {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }
    
    /* تصغير دائرة الخصم في الموبايل لتناسب الصورة */
    .product-grid-item .product-labels .onsale {
        width: 35px !important;
        height: 35px !important;
        min-height: 35px !important;
        font-size: 11px !important;
    }

    /* إصلاح أيقونات الجانب */
    .product-grid-item .wd-buttons,
    .product-grid-item .wd-buttons[class*="wd-pos-"] {
        transform: scale(0.85) !important;
        top: 5px !important;
        left: 5px !important;
    }
}

/* إظهار حاوية البادجات لوودمارت وتنسيق الدائرة الخضراء */
.product-grid-item .product-labels {
    display: flex !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 10 !important;
    pointer-events: none;
    background: transparent !important;
    box-shadow: none !important;
}

.premium-green-circle {
    background: var(--primary-color) !important; /* اللون الأخضر الأساسي */
    color: #fff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important; /* شكل دائري 100% */
    display: flex !important;
    flex-direction: column !important; /* السعر فوق وكلمة خصم تحت */
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(54,97,78,0.3) !important; /* ظل أخضر خفيف */
    padding: 0 !important;
}

.premium-green-circle span:first-child {
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
    direction: ltr !important; /* لضبط شكل النسبة */
}

.premium-green-circle span:last-child {
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}


/* ======================================================== */
/* توحيد أطوال الكروت بالكامل لتبدو كالمسطرة (Desktop) */
/* ======================================================== */

.product-grid-item {
    height: 100% !important; 
}

.product-grid-item .product-wrapper {
    height: 100% !important; 
}

/* إجبار العنوان ليكون سطرين دائماً (حتى لو كان المنتج بكلمة واحدة) */
.product-grid-item .wd-entities-title,
.product-grid-item .product-title {
    height: 40px !important; 
    min-height: 40px !important; 
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.v3-card-bottom {
    flex-grow: 1 !important;
    justify-content: flex-end !important;
}

/* توحيد ارتفاع صندوق السعر ليكون ثابتاً سواء بخصم أو بدون */
.v3-price-box {
    min-height: 65px !important; 
    justify-content: center !important;
}

/* توحيد ارتفاع صندوق التقسيط سواء وجد أو لم يوجد (لحفظ التوازن) */
.v3-installments-box {
    min-height: 40px !important; 
    justify-content: center !important;
}


/* ======================================================== */
/* تصميم الزرين معاً: (زر عرض المزيد) + (زر جاري التحميل) */
/* ======================================================== */
.wd-products-load-more,
.wd-load-more-loader {
    background: #ffffff !important; 
    border: 2px solid var(--primary-color) !important;
    border-radius: 8px !important;
    padding: 12px 35px !important;
    min-width: 260px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important; 
    font-size: 0 !important; /* إخفاء النصوص والنقط القديمة */
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    margin-top: 20px !important; 
}

/* النص للزر الأساسي */
.wd-products-load-more::before {
    content: "عرض المزيد من المنتجات" !important;
    font-size: 16px !important; 
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
}

/* النص لزر جاري التحميل */
.wd-load-more-loader::before {
    content: "جاري التحميل..." !important;
    font-size: 16px !important; 
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-family: inherit !important;
}

/* إخفاء نقط التحميل القديمة (السبينر الداخلي) */
.wd-load-more-loader * {
    display: none !important;
}

/* تأثير مرور الماوس على الزر الأساسي فقط */
.wd-products-load-more:hover {
    background: var(--primary-color) !important; 
}
.wd-products-load-more:hover::before {
    color: #ffffff !important; 
}

/* ======================================================== */
/* للموبايل (Responsive) */
/* ======================================================== */
@media (max-width: 768px) {
    .wd-products-load-more,
    .wd-load-more-loader {
        width: 70% !important; 
        min-width: unset !important;
        padding: 13px 20px !important;
        margin-top: 15px !important;
    }
    .wd-products-load-more::before,
    .wd-load-more-loader::before {
        font-size: 15px !important;
    }
}



/* 1. إجبار السلايدر على التمدد وجعل الكروت بارتفاع متساوٍ تماماً */
.custom-equal-blog .owl-stage {
    display: flex !important;
}

.custom-equal-blog .owl-item {
    display: flex !important;
    float: none !important;
}

.custom-equal-blog .wd-post {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    border-radius: 12px; /* حواف ناعمة */
    overflow: hidden;
}

/* 2. توزيع المساحات الداخلية ودفع المحتوى لأسفل */
.custom-equal-blog .post-info-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 20px !important;
}

/* 3. إخفاء أيقونة المشاركة وأي تفاصيل ميتا متبقية كإجراء احترازي */
.custom-equal-blog .wd-post-share,
.custom-equal-blog .woodmart-post-share,
.custom-equal-blog .wd-entry-meta {
    display: none !important;
}

/* 4. ضبط العنوان ليكون سطرين فقط بشكل دقيق وحجز مساحته */
.custom-equal-blog .wd-post-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* إجبار النص على سطرين */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    font-size: 16px !important; /* توحيد حجم الخط */
    line-height: 1.6 !important;
    min-height: 3.2em !important; /* ضمان بقاء المساحة ثابتة حتى لو كان العنوان سطراً واحداً */
    margin-top: 0 !important;
    margin-bottom: auto !important; /* دفع ما تحته (الزر) إلى الأسفل */
}

/* 5. تصميم زر متابعة القراءة (Apple-style) وتغيير نصه برمجياً */
.custom-equal-blog .wd-read-more {
    margin-top: 15px !important;
    display: block !important;
    text-align: center !important;
}

.custom-equal-blog .wd-read-more a {
    display: block !important;
    font-size: 0 !important; /* إخفاء النص الإنجليزي القديم */
    background-color: #f5f5f7 !important; /* رمادي فاتح مريح */
    padding: 12px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

/* حقن النص العربي داخل الزر */
.custom-equal-blog .wd-read-more a::after {
    content: "متابعة القراءة";
    font-size: 14px !important;
    color: #1d1d1f !important;
    font-weight: 600 !important;
    display: block !important;
}

/* تأثير سلس عند التمرير */
.custom-equal-blog .wd-read-more a:hover {
    background-color: #1d1d1f !important;
}

.custom-equal-blog .wd-read-more a:hover::after {
    color: #ffffff !important;
}


/* =========================================================================
   إجبار شبكة المنتجات والقائمة الجانبية (السايد بار) على التجاور الأفقي
   في جميع صفحات الأقسام والمتجر (Categories & Shop Archives)
   ========================================================================= */
@media (min-width: 1024px) {
    /* 1. تطبيق نظام الفليكس على الحاوية الرئيسية لتجاور المنتجات والسايد بار */
    .post-type-archive-product main#main-content,
    .tax-product_cat main#main-content,
    .woocommerce-shop main#main-content,
    .post-type-archive-product .wd-content-layout,
    .tax-product_cat .wd-content-layout,
    .woocommerce-shop .wd-content-layout {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 50px !important; /* المسافة الفاصلة الأنيقة بين السايد بار والمنتجات (تقدر تخليها 70px لو حابب) */
    }

    /* 2. تخصيص مساحة منطقة المنتجات والمحتوى الرئيسي (لتأخذ المساحة الأكبر وتتمدد بأريحية) */
    .post-type-archive-product main#main-content > .site-content,
    .tax-product_cat main#main-content > .site-content,
    .woocommerce-shop main#main-content > .site-content,
    .post-type-archive-product .wd-content-layout > .site-content,
    .tax-product_cat .wd-content-layout > .site-content,
    .woocommerce-shop .wd-content-layout > .site-content {
        flex: 1 1 auto !important;
        width: calc(100% - 310px - 50px) !important; /* خصم مساحة السايد بار والمسافة الفاصلة */
        max-width: unset !important;
    }

    /* 3. تخصيص وتثبيت عرض السايد بار (القائمة الجانبية) ليظل ثابتاً ومنتظماً */
    .post-type-archive-product main#main-content > .sidebar-container,
    .tax-product_cat main#main-content > .sidebar-container,
    .woocommerce-shop main#main-content > .sidebar-container,
    .post-type-archive-product .wd-content-layout > .sidebar-container,
    .tax-product_cat .wd-content-layout > .sidebar-container,
    .woocommerce-shop .wd-content-layout > .sidebar-container {
        flex: 0 0 310px !important;
        width: 310px !important;
        max-width: 310px !important;
        margin-top: 0 !important;
    }
}







/* ==========================================================================
   1. تصميم حاوية الويدجت والعناوين الرئيسية (Widget Card & Title)
   ========================================================================== */
.wd-widget, 
.widget_layered_nav, 
.widget_price_filter,
.woodmart-woocommerce-layered-nav {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 22px !important;
    margin-bottom: 25px !important;
    border: 1px solid rgba(54, 97, 78, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* تأثير ارتقاء ناعم للبطاقة عند التمرير */
.wd-widget:hover, 
.widget_layered_nav:hover, 
.widget_price_filter:hover {
    box-shadow: 0 8px 30px rgba(54, 97, 78, 0.08) !important;
    border-color: rgba(54, 97, 78, 0.18) !important;
}

/* عنوان ويدجت الفلترة (مثل: حالة الصك، تصفية حسب السعر) */
.wd-widget .widget-title, 
.widget-title,
.wd-widget-title {
    color: rgb(54, 97, 78) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
    position: relative !important;
    border-bottom: none !important;
}


/* ==========================================================================
   2. تصميم عناصر وأزرار الفلترة (Filter List Items & Hover Effects)
   ========================================================================== */
.wd-filter-list li, 
.widget_layered_nav ul li, 
.wc-layered-nav-term {
    padding: 8px 12px !important;
    margin-bottom: 6px !important;
    border-radius: 10px !important;
    transition: all 0.25s ease !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* تغيير شكل ورابط الفلتر عند تمرير الماوس (Hover) */
.wd-filter-list li:hover, 
.widget_layered_nav ul li:hover {
    background-color: rgba(54, 97, 78, 0.04) !important;
    border-color: rgba(54, 97, 78, 0.12) !important;
    transform: translateX(-5px) !important; /* تحرك انسيابي لليسار في واجهة عربي */
}

/* النص داخل الفلتر */
.wd-filter-list li a, 
.widget_layered_nav ul li a {
    color: #333333 !important;
    font-weight: 500 !important;
    font-size: 14.5px !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
    flex-grow: 1 !important;
}

/* لون النص عند التمرير */
.wd-filter-list li:hover a, 
.widget_layered_nav ul li:hover a {
    color: rgb(54, 97, 78) !important;
    font-weight: 600 !important;
}

/* العنصر النشط حالياً (الفلتر المختار) */
.wd-filter-list li.wd-active, 
.widget_layered_nav ul li.chosen,
.wd-filter-list li.current-cat {
    background: rgba(54, 97, 78, 0.08) !important;
    border-color: rgb(54, 97, 78) !important;
}

.wd-filter-list li.wd-active a, 
.widget_layered_nav ul li.chosen a {
    color: rgb(54, 97, 78) !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   3. تصميم شارة عدد المنتجات (Count Badges) بطابع حديث
   ========================================================================== */
.wd-filter-list li .count, 
.widget_layered_nav ul li .count,
.wc-layered-nav-term .count {
    background: rgba(54, 97, 78, 0.08) !important;
    color: rgb(54, 97, 78) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
}

/* تغيير لون وحركة رقم المنتجات عند تمرير الماوس على الصف */
.wd-filter-list li:hover .count, 
.widget_layered_nav ul li:hover .count {
    background: rgb(255, 167, 0) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

/* ==========================================================================
   4. تصميم فلتر السعر (Price Filter Slider & Buttons)
   ========================================================================== */
/* الشريط الخلفي لفلتر السعر */
.price_slider_wrapper .ui-slider,
.widget_price_filter .ui-slider {
    background: rgba(54, 97, 78, 0.1) !important;
    height: 6px !important;
    border-radius: 6px !important;
    border: none !important;
    margin: 20px 0 25px !important;
}

/* الشريط المظلل (نطاق السعر المحدد) */
.price_slider_wrapper .ui-slider-range,
.widget_price_filter .ui-slider-range {
    background: linear-gradient(to left, rgb(54, 97, 78), rgb(255, 167, 0)) !important;
    border-radius: 6px !important;
}

/* دوائر سحب السعر (Handles) */
.price_slider_wrapper .ui-slider-handle,
.widget_price_filter .ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    background: #ffffff !important;
    border: 3px solid rgb(54, 97, 78) !important;
    border-radius: 50% !important;
    top: -6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.price_slider_wrapper .ui-slider-handle:hover,
.widget_price_filter .ui-slider-handle:hover {
    transform: scale(1.2) !important;
    border-color: rgb(255, 167, 0) !important;
}

/* نص السعر المختار (مثل: السعر: 320 ر.س - 14,470 ر.س) */
.widget_price_filter .price_slider_amount .price_label {
    color: #555555 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* زر التصفية (Filter Button) */
.widget_price_filter .price_slider_amount .button,
.widget_price_filter .button {
    background-color: rgb(54, 97, 78) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 22px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(54, 97, 78, 0.2) !important;
}

/* زر التصفية عند التمرير (التحول للون الثانوي الذهبي مع توهج) */
.widget_price_filter .price_slider_amount .button:hover,
.widget_price_filter .button:hover {
    background-color: rgb(255, 167, 0) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 167, 0, 0.35) !important;
}

/* ==========================================================================
   5. تخصيص شريط التمرير (Scrollbar) في حال كانت الفلاتر طويلة
   ========================================================================== */
.wd-scroll-content::-webkit-scrollbar {
    width: 5px !important;
}
.wd-scroll-content::-webkit-scrollbar-thumb {
    background: rgba(54, 97, 78, 0.2) !important;
    border-radius: 10px !important;
}
.wd-scroll-content::-webkit-scrollbar-thumb:hover {
    background: rgb(255, 167, 0) !important;
}

@media (min-width: 1025px) {
	footer h5{
    TEXT-ALIGN: center;
}
footer ul {
    TEXT-ALIGN: center;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
	footer h5{
    TEXT-ALIGN: center;
}
footer ul {
    TEXT-ALIGN: center;
}


}

@media (min-width: 577px) and (max-width: 767px) {
	img.attachment-thumbnail.size-thumbnail{
	width : 50px
}

.wd-info-box.text-center.box-icon-align-top.box-style-bg-hover.color-scheme-light.color-scheme-hover-light.cursor-pointer {
    padding: 10px;
}

}

@media (max-width: 576px) {
	img.attachment-thumbnail.size-thumbnail{
	width : 50px
}

.wd-info-box.text-center.box-icon-align-top.box-style-bg-hover.color-scheme-light.color-scheme-hover-light.cursor-pointer {
    padding: 20px;
}
.artical-botton{
font-size:small;
}
}

