@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//bariq-alajhza.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=7.2.5") format("woff2");
}

.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;
}

.header-banner{
	background-color:rgb(33,87,74);
	background-image: none;
}

.page-title-default{
	background-color:rgb(33,87,74);
	background-image: none;
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:rgb(245,245,245);
	background-image: none;
}

:root{
--wd-text-font:"El Messiri", Arial, Helvetica, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:14px;
}
:root{
--wd-title-font:"El Messiri", Arial, Helvetica, sans-serif;
--wd-title-font-weight:600;
--wd-title-color:#242424;
}
:root{
--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%);
}
:root{
--wd-alternative-font:"El Messiri", Arial, Helvetica, sans-serif;
}
:root{
--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;
}
:root{
--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;
}
:root{
--wd-primary-color:rgb(255,167,0);
}
:root{
--wd-alternative-color:rgb(54,97,78);
}
:root{
--wd-link-color:#333333;
--wd-link-color-hover:#242424;
}
:root{
--btn-default-bgcolor:rgb(255,255,255);
}
:root{
--btn-default-bgcolor-hover:rgb(255,255,255);
}
:root{
--btn-default-color:rgb(54,97,78);
}
:root{
--btn-default-color-hover:rgb(54,97,78);
}
:root{
--btn-accented-bgcolor:rgb(33,87,74);
}
:root{
--btn-accented-bgcolor-hover:rgb(33,87,74);
}
:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}
	:root{
					
			
							--wd-form-brd-radius: 0px;
					
					--wd-form-brd-width: 1px;
		
		
		
					--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: 1025px) {
			.whb-boxed:not(.whb-sticked):not(.whb-full-width) .whb-main-header {
				max-width: 1320px;
			}
		}

		.container {
			max-width: 1350px;
		}

		:root{
			--wd-container-w: 1350px;
		}
	
			@media (min-width: 1367px) {
			.platform-Windows .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}
		@media (min-width: 1350px) {
			html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}
	
			div.wd-popup.popup-quick-view {
			max-width: 920px;
		}
	
	
	
			:root {
			--wd-header-banner-h: 40px;
		}
		@media (max-width: 1024px) {
			:root {
				--wd-header-banner-h: 40px;
			}
		}
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 223px;
		}
	
	
@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;
}




@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;
}
}

