:root {
	--wd-text-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgba(51, 51, 51, 0.65);
	--wd-alternative-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 20px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #C4A35A;
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #C4A35A;
	--btn-accented-bgcolor-hover: #A88A45;
	--btn-transform: capitalize;
	--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-sticky-btn-height: 95px;
}
.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: 800px;
}
: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(244,244,244);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .wd-checkout-steps {
	text-transform: capitalize;
}
html table th {
	text-transform: none;
}
html .btn.wd-buy-now-btn {
	background: rgb(36,36,36);
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(51,51,51);
}
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-color: rgb(118,118,118);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgb(255,255,255);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-size: 40px;
	--wd-arrow-icon-size: 16px;
	--wd-arrow-offset-h: 15px;
	--wd-arrow-color: rgb(36,36,36);
	--wd-arrow-color-hover: rgb(51,51,51);
	--wd-arrow-color-dis: rgb(36,36,36);
	--wd-arrow-bg: rgb(244,244,244);
	--wd-arrow-bg-hover: rgb(239,239,239);
	--wd-arrow-bg-dis: rgb(244,244,244);
	--wd-arrow-radius: 20px;
}
.wd .product-label.onsale {
	background-color: rgb(36,36,36);
}
.wd .product-label.new {
	background-color: rgb(36,36,36);
}
.wd .product-label.featured {
	background-color: rgb(36,36,36);
}
.wd .product-label.out-of-stock {
	background-color: rgb(36,36,36);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

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

}

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

}
:root{
--wd-container-w: 1540px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--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: 1540px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* ===== مفرحكو - تحسينات الموقع ===== */

/* تبسيط كارت المنتج - إخفاء العناصر الزيادة */
.products .product .wd-product-actions .wd-action-btn.wd-compare-btn,
.products .product .wd-compare-btn,
.wd-wishlist-btn.wd-loop-wishlist-btn,
.wd-product-quickview,
.product-label-section .wd-label-new,
.wd-add-btn-simple .wd-btn-text,
.product .wd-entities-title + .wd-product-rating,
.products .product .product-excerpt { display: none !important; }

/* تحسين ألوان الأزرار لتتماشى مع الذهبي */
.wd-add-btn, .button.add_to_cart_button, .single_add_to_cart_button {
  background-color: #C4A35A !important;
  border-color: #C4A35A !important;
  color: #fff !important;
}
.wd-add-btn:hover, .button.add_to_cart_button:hover {
  background-color: #A88A45 !important;
  border-color: #A88A45 !important;
}

/* إصلاح الكلام اللي نفس لون الخلفية */
.whb-row.whb-header-bottom .wd-header-nav a,
.wd-header-nav.wd-nav-header .menu > li > a,
[class*="wd-slide"] h1, [class*="wd-slide"] h2, 
[class*="wd-slide"] h3, [class*="wd-slide"] .title {
  color: #fff !important;
}

/* تحسين عنوان المنتج والسعر */
.products .product .wd-entities-title a {
  color: #1a1a1a;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}
.products .product .price { 
  color: #C4A35A;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
}

/* تحسين الفونت عموماً */
body, .wd-nav, button, input, select, textarea, .elementor-widget,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif !important;
}


/* ===== إخفاء البري-فوتر وتحسين الكوبيرايت ===== */
/* Hide pre-footer section (address, contact, newsletter) */
.elementor-location-footer > .elementor-section:first-child,
.wd-footer-bar .wd-footer-bar-inner > .elementor-container:first-child,
footer .elementor-element.elementor-element-0190f4d { display: none !important; }

/* Hide any WoodMart copyright text and replace */
.wd-copyright-text p:not(:empty) { display: none; }
.wd-copyright-text::after {
  content: "© 2026 مفرحكو | جميع الحقوق محفوظة";
  display: block;
  text-align: center;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  color: #767676;
  font-size: 14px;
}




/* 1. إخفاء التصنيفات تماماً من الكروت */
.product-grid-item .wd-product-cats,
.products .product .wd-product-cats,
.wd-product-cats {
    display: none !important;
}

/* 2. فك اقتطاع اسم المنتج تماماً وإظهاره كاملاً بدون نقاط (...) */
.product-grid-item .wd-entities-title,
.product-grid-item .product-title,
.wd-product-title a,
.product-grid-item h3 {
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important;
    height: auto !important;             /* إغلاق تثبيت الارتفاع للسماح بالاسم الكامل */
    min-height: 48px !important;         /* مساحة مريحة لانتظام الكروت */
    max-height: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

/* 3. إخفاء اسم الماركة النصي وإظهار اللوجو (الصورة) فقط */
.product-grid-item .wd-product-brands a {
    font-size: 0 !important;             /* إخفاء النص مع الإبقاء على الصورة */
    color: transparent !important;
}

.product-grid-item .wd-product-brands img,
.product-grid-item .wd-brand-logo img,
.product-grid-item .wd-product-brands a img {
    display: inline-block !important;
    max-height: 30px !important;         /* حجم اللوجو */
    width: auto !important;
    object-fit: contain !important;
}

.product-grid-item .wd-product-brands {
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 32px !important;
    margin-bottom: 6px !important;
}

/* 4. الحفاظ على التصنيفات داخل صفحة المنتج الفردي */
.single-product .product_meta .posted_in,
.single-product .wd-product-cats {
    display: inline-block !important;
}





/* تنسيق لوجو الماركة المستخرج برمجياً */
.custom-grid-brand-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 4px !important;
    margin-bottom: 6px !important;
    height: 28px !important;
}

.custom-grid-brand-logo a {
    display: inline-block !important;
    line-height: 0 !important;
}

.custom-grid-brand-logo img {
    max-height: 26px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.2s ease;
}

/* تأثير بسيط عند تحريك الماوس فوق اللوجو */
.custom-grid-brand-logo a:hover img {
    transform: scale(1.08);
}

.custom-grid-brand-logo .brand-text-link {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}