:root {
	--wd-text-font: "Almarai", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(25,25,25);
	--wd-text-font-size: 14px;
	--wd-title-font: "Almarai", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-transform: capitalize;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Almarai", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: rgb(0,0,0);
	--wd-entities-title-color-hover: rgb(0, 0, 0);
	--wd-alternative-font: "Almarai", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Almarai", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: lowercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Almarai", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgba(84,84,84,0.87);
	--wd-alternative-color: rgb(109,176,222);
	--btn-default-bgcolor: rgb(54,178,224);
	--btn-default-bgcolor-hover: rgb(54,178,224);
	--btn-accented-bgcolor: rgb(109,176,222);
	--btn-accented-bgcolor-hover: rgb(109,176,222);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(102,102,102);
	--wd-link-color-hover: rgb(255,255,255);
	--wd-sticky-btn-height: 110px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 530px;
}
: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: rgba(84,84,84,0.05);
	background-image: none;
}
html .wd-nav-mobile > li > a, html .wd-page-title .wd-breadcrumbs :is(a,span), html .wd-page-title .breadcrumb li::after {
	font-size: 20px;
	text-transform: capitalize;
	color: rgb(0,0,0);
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-size: 18px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	background: #36b2e0;
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(109,176,222);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 990px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 44px;
	}

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

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


.wd-page-title {
background-color: rgb(255,255,255);
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.1) translateY(-3px); }
}
.menu-label, .wd-nav .menu-label {
  animation: badgePulse 1s infinite ease-in-out !important;
  display: inline-block !important;
}
/* تصميم البطاقة بإطار ناعم وزوايا دائرية */
.wd-product .product-wrapper {
    border: 1px solid #ececec !important;
    border-radius: 14px !important;
    padding: 10px !important;
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* إلغاء الفراغ بين الصورة والعنوان */
.wd-product .product-element-top {
    margin-bottom: 8px !important;
}

/* محاذاة العنوان والسعر لليمين وتحديد سطرين للعنوان */
.wd-product .wd-entities-title {
    text-align: right !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    min-height: 38px !important;
    max-height: 38px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 6px !important;
}

.wd-product .price {
    text-align: right !important;
    display: block !important;
    margin-bottom: 8px !important;
}

/* زر إضافة للسلة عريض وأنيق */
.wd-product .wd-add-btn > a {
    width: 100% !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}
/* إعادة إظهار شعار/اسم البراند بشكل مضغوط ومحاذى لليمين */
.wd-product .wd-product-brands-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 2px !important;
    margin-bottom: 4px !important;
    min-height: 22px !important;
}

.wd-product .wd-product-brands-links img {
    max-height: 18px !important;
    width: auto !important;
    object-fit: contain !important;
}
/* الحفاظ على ظهور صندوق التقسيط مع وضع البراند فوق العنوان */
.wd-product .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.wd-product .wd-product-brands-links {
    order: -2 !important;
    margin-bottom: 6px !important;
}

.wd-product .wd-entities-title {
    order: -1 !important;
}

.wd-product .bnpl-card-box {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    order: 10 !important;
    width: 100% !important;
    margin-top: 8px !important;
}
/* 1. إلغاء الفراغ الأبيض أسفل الصورة وتكبير الصورة قليلاً */
.wd-product .product-element-top {
    margin-bottom: 6px !important;
    padding-bottom: 0 !important;
}
.wd-product .product-image-link {
    display: block !important;
    line-height: 0 !important;
}
.wd-product .product-image-link img {
    width: 100% !important;
    height: 170px !important;
    object-fit: contain !important;
}

/* 2. إخفاء أيقونة السلة المكررة في أعلى يسار الصورة والإبقاء على القلب فقط */
.wd-product .wd-buttons .wd-add-btn {
    display: none !important;
}

/* 3. تلوين زر إضافة للسلة ليصبح بارزاً مثل البطاقة المرجعية */
.wd-product .product-element-bottom .wd-add-btn > a {
    background-color: #0b5c46 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
}

/* 4. تقريب المسافة بين البراند والعنوان والسعر */
.wd-product .wd-product-brands-links {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}
.wd-product .price {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}
/* 1. إخفاء التصنيفات و SKU وعبارة متوفر في المخزون لتنظيف البطاقة وتقليل طولها */
.wd-product .wd-product-cats,
.wd-product .wd-product-sku,
.wd-product .wd-product-stock {
    display: none !important;
}

/* 2. توحيد سطر نص التقسيط وشعارات الدفع الأربعة في صف واحد دون التفاف */
.wd-product .bnpl-card-box > div:first-child {
    font-size: 10.5px !important;
    white-space: nowrap !important;
}
.wd-product .bnpl-card-box > div:last-child {
    flex-wrap: nowrap !important;
    gap: 3px !important;
}
.wd-product .bnpl-card-box img {
    max-width: 36px !important;
    height: 14px !important;
}

/* 3. تثبيت محاذاة السعر والزر وصندوق التقسيط في أسفل جميع البطاقات بالتساوي */
.wd-product .product-element-bottom {
    flex-grow: 1 !important;
    justify-content: flex-end !important;
}
.wd-product .wd-entities-title {
    margin-bottom: auto !important;
}
/* ضبط صندوق التقسيط والشعارات داخل حدود البطاقة على الجوال */
@media (max-width: 768px) {
    .wd-product .bnpl-card-box {
        padding: 6px 4px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .wd-product .bnpl-card-box > div:first-child {
        font-size: 9px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    .wd-product .bnpl-card-box > div:last-child {
        flex-wrap: wrap !important;
        gap: 3px !important;
    }

    .wd-product .bnpl-card-box img {
        max-width: 28px !important;
        height: 12px !important;
    }
}
/* إيقاف تأثير القصاصات الملونة (Confetti) نهائياً */
canvas,
#confetti-canvas,
.wd-confetti,
[class*="confetti"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
/* تغيير لون زر إضافة إلى السلة فقط */
.wd-product .wd-add-btn > a,
.wd-product .button.add_to_cart_button {
    background-color: #13583a !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    border: none !important;
}

.wd-product .wd-add-btn > a:hover,
.wd-product .button.add_to_cart_button:hover {
    background-color: #0d3f29 !important;
    color: #ffffff !important;
}
/* إجبار ظهور شعار/اسم البراند على شاشات الجوال */
@media (max-width: 768px) {
    .wd-product .wd-product-brands-links,
    .wd-product-grid .wd-product-brands-links,
    .wd-product .product-element-bottom .wd-product-brands-links {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-top: 2px !important;
        margin-bottom: 4px !important;
        min-height: 20px !important;
        height: auto !important;
    }

    .wd-product .wd-product-brands-links img {
        display: inline-block !important;
        max-height: 16px !important;
        width: auto !important;
        object-fit: contain !important;
    }
}
/* الحفاظ على ظهور صندوق التقسيط مع وضع البراند فوق العنوان */
.wd-product .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.wd-product .wd-product-brands-links {
    order: -2 !important;
    margin-bottom: 6px !important;
}

.wd-product .wd-entities-title {
    order: -1 !important;
}

.wd-product .bnpl-card-box {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    order: 10 !important;
    width: 100% !important;
    margin-top: 8px !important;
}
@media (max-width: 576px) {
	/* تقليل الحشوة الداخلية للبطاقة على الجوال */
.wd-product .product-wrapper {
    padding: 8px !important;
}

/* إخفاء التصنيفات و SKU وحالة المخزون لتقصير البطاقة على الجوال */
.wd-product .wd-product-cats,
.wd-product .wd-product-sku,
.wd-product .wd-product-stock,
.wd-product .wd-product-brands-links {
    display: none !important;
}

/* تقليل المسافة أسفل الصورة وتحت السعر */
.wd-product .product-element-top {
    margin-bottom: 6px !important;
}
.wd-product .bnpl-badges {
    margin-top: 4px !important;
    margin-bottom: 6px !important;
}
/* تقليل الفراغ الأبيض بين الصورة وعنوان المنتج */
.wd-product .product-element-top {
    margin-bottom: 10px !important;
}


}

