:root {
	--wd-text-font: "Montserrat-Arabic", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Montserrat-Arabic", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Montserrat-Arabic", 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: "Montserrat-Arabic", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Montserrat-Arabic", 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: "Cairo", 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(212,175,55);
	--wd-alternative-color: rgb(255,255,255);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--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: 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: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(11,17,32);
	background-image: none;
}
.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
	--wd-arrow-gap: 20px;
	--wd-arrow-size: 30px;
	--wd-arrow-icon-size: 30px;
	--wd-arrow-color: rgb(212,175,55);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 768.98px) {
	.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
		--wd-arrow-gap: 15px;
	--wd-arrow-size: 20px;
	--wd-arrow-icon-size: 20px;
	--wd-arrow-offset-h: 5px;
	--wd-arrow-offset-v: 5px;
	}

}
:root{
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}



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

@font-face {
	font-family: "Montserrat-Arabic";
	src: url("//amalaunited.com/wp-content/uploads/2026/08/Montserrat-Arabic-Regular.ttf") format("woff2"), 
url("//amalaunited.com/wp-content/uploads/2026/08/Montserrat-Arabic-Regular.ttf") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

.container, 
.container-fluid {
    padding-inline: 0 !important;
}
.wd-content-layout {
    padding-block: 0px;
}
.whb-main-header:before {
    display: none !important;
}
.wd-tools-element>a {
	color:#000000 !important;
}

 .nav-link-text {
    padding-block: 4px !important;
}

/* ---------------------------------------------------- */
/* الإجبار النهائي لتنسيق زر الهيدر */
/* ---------------------------------------------------- */
.whb-header .wd-button-wrapper a.btn {
    background-color: #D4AF37 !important; 
    color: #0B1120 !important; 
    
    /* تخطي متغيرات وودمارت اللي بتخلي اللون أبيض */
    --btn-color: #0B1120 !important; 
    --btn-color-hover: #0B1120 !important; 
    
    padding: 12px 24px !important; 
    font-size: 14px !important; 
    font-weight: bolder !important; 
    font-family: 'Cairo', sans-serif !important; 
    border-radius: 4px !important; 
    border: none !important;
    box-shadow: none !important;
    
    /* لضمان تطبيق البادينج بيفضل نلغي الـ min-height لو موجود */
    min-height: unset !important; 
}

/* تأثير لون الزر عند تمرير الماوس */
.whb-header .wd-button-wrapper a.btn:hover {
    background-color: #bfa035 !important; 
}


/* ==================================================== */
/* 1. ضبط المسافات الجانبية للهيدر (لمنع التصاق المنيو) */
/* ==================================================== */
.whb-header .container,
.whb-header .container-fluid {
    padding: 0px 80px !important;
}

/* ==================================================== */
/* 3. الهيدر الستيكي (أثناء السكرول) - زجاج أبيض فاتح */
/* ==================================================== */
.whb-sticked .whb-main-header,
.whb-clone.whb-sticked .whb-main-header,
.whb-clone.whb-sticked {
    /* خلفية زجاجية بيضاء شبه شفافة (لتنطيق اللوجو الأسود) */
    background-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    
    /* خط سفلي رمادي خفيف جداً لفصل الهيدر عن الموقع */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important; 
}

/* ---------------------------------------------------- */
/* 4. تكييف ألوان المنيو والأيقونات مع الخلفية الفاتحة */
/* ---------------------------------------------------- */
/* تغيير لون نصوص القائمة والأيقونات للون الكحلي أثناء السكرول */
.whb-sticked .wd-nav > li > a,
.whb-sticked .wd-tools-element > a,
.whb-sticked .wd-tools-element > a > .wd-tools-icon {
    color: #0B1120 !important;
}

/* تأثير الـ Hover: لون ذهبي عند تمرير الماوس على القائمة أثناء السكرول */
.whb-sticked .wd-nav > li > a:hover,
.whb-sticked .wd-tools-element > a:hover {
    color: #D4AF37 !important;
}

/* خلفية رمادي معدني داكن */
body, .main-page-wrapper {
    background: linear-gradient(180deg, #181A1F 0%, #22252A 100%) !important;
    min-height: 100vh;
    background-color: #181A1F !important;
}


/* ==================================================== */
/* 1. الخلفية الأساسية (التدرج) */
/* ==================================================== */
body {
		background: linear-gradient(180deg, #0B1120 0%, #172957 100%) !important;
		background-attachment: fixed !important;
}

.website-wrapper, .main-page-wrapper {
    background-color: transparent !important;
}

/* ==================================================== */
/* 2. الطبقة الأولى: خيال اللوجو (الأساس الباهت) */
/* ==================================================== */
.main-page-wrapper::before {
    content: "";
    position: fixed;
    top: 50%; left: 50%; width: 100vw; height: 100vh;
    transform: translate(-50%, -50%);
    background-image: url('https://amalaunited.com/wp-content/uploads/2026/08/10f5087e6872736fd06c5f9d90e48f513d2b28d8-1-e1787040412911.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 45%; 
    filter: brightness(0) invert(1);
    opacity: 0.01; /* خيال خفيف جدا كأنه اللوحة الفاضية */
    z-index: 0; pointer-events: none;
}

/* ==================================================== */
/* 3. الطبقة الثانية: اللي بتتملي بالشخبطة (Brush Fill) */
/* ==================================================== */
.main-page-wrapper::after {
    content: "";
    position: fixed;
    top: 50%; left: 50%; width: 100vw; height: 100vh;
    transform: translate(-50%, -50%);
    background-image: url('https://amalaunited.com/wp-content/uploads/2026/08/10f5087e6872736fd06c5f9d90e48f513d2b28d8-1-e1787040412911.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 45%;
    filter: brightness(0) invert(1);
    opacity: 0.08; /* الإضاءة أقوى عشان تبان حركة الفرشاة */
    z-index: 0; pointer-events: none;
    
    /* حركة التلوين (شخبطة يدوية) مدتها 8 ثواني وبتتكرر */
    animation: scribbleFill 8s ease-in-out infinite;
}

/* ==================================================== */
/* 4. هندسة حركة الماوس أو الفرشاة (Zigzag Brush) */
/* ==================================================== */
@keyframes scribbleFill {
    0%   { 
        -webkit-clip-path: polygon(0 0, 0 100%, 0% 100%, 0% 0%, 0% 0);
        clip-path: polygon(0 0, 0 100%, 0% 100%, 0% 0%, 0% 0); 
        opacity: 0; 
    }
    3%   { opacity: 0.08; }
    
    10%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 5% 100%, 15% 0%, 5% 0);
        clip-path: polygon(0 0, 0 100%, 5% 100%, 15% 0%, 5% 0); 
    }
    20%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 15% 100%, 25% 100%, 15% 0);
        clip-path: polygon(0 0, 0 100%, 15% 100%, 25% 100%, 15% 0); 
    }
    30%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 25% 100%, 35% 0%, 25% 0);
        clip-path: polygon(0 0, 0 100%, 25% 100%, 35% 0%, 25% 0); 
    }
    40%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 35% 100%, 45% 100%, 35% 0);
        clip-path: polygon(0 0, 0 100%, 35% 100%, 45% 100%, 35% 0); 
    }
    50%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 45% 100%, 55% 0%, 45% 0);
        clip-path: polygon(0 0, 0 100%, 45% 100%, 55% 0%, 45% 0); 
    }
    60%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 55% 100%, 65% 100%, 55% 0);
        clip-path: polygon(0 0, 0 100%, 55% 100%, 65% 100%, 55% 0); 
    }
    70%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 65% 100%, 75% 0%, 65% 0);
        clip-path: polygon(0 0, 0 100%, 65% 100%, 75% 0%, 65% 0); 
    }
    80%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 75% 100%, 85% 100%, 75% 0);
        clip-path: polygon(0 0, 0 100%, 75% 100%, 85% 100%, 75% 0); 
    }
    90%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 85% 100%, 95% 0%, 85% 0);
        clip-path: polygon(0 0, 0 100%, 85% 100%, 95% 0%, 85% 0); 
    }
    
    95%  { 
        -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 50%, 100% 0);
        clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 50%, 100% 0); 
        opacity: 0.08; 
    }
    100% { 
        -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 50%, 100% 0);
        clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 50%, 100% 0); 
        opacity: 0; 
    }
}

.main-page-wrapper > * {
    position: relative;
    z-index: 10;
}


/* ==================================================== */
/* 4. تصميم القائمة الفرعية (Sub-menu) - أنيق وملموم */
/* ==================================================== */

.whb-header .wd-dropdown-menu, 
.whb-header .sub-menu-dropdown,
.whb-header .sub-menu {
    background-color: rgba(255, 255, 255, 0.75) !important; 
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 8px !important; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 8px 0 !important; 
    
    /* 🔥 الحل الديناميكي: العرض على قد الكلام بالظبط */
    width: max-content !important; 
    min-width: 200px !important; 
    max-width: 350px !important;
}

.whb-header .wd-dropdown-menu ul,
.whb-header .sub-menu-dropdown ul,
.whb-header .sub-menu ul,
.whb-header .wd-dropdown-menu .container {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 100% !important;
}

.whb-header .wd-dropdown-menu li, 
.whb-header .sub-menu-dropdown li,
.whb-header .sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.whb-header .wd-dropdown-menu li > a, 
.whb-header .sub-menu-dropdown li > a,
.whb-header .sub-menu li > a {
    color: #4A5568 !important;
    font-weight: 600 !important; 
    font-size: 13.5px !important; 
    padding: 8px 20px !important; /* بادينج مريح يمين وشمال */
    margin: 2px 8px !important; 
    border-radius: 5px !important;
    transition: all 0.2s ease !important;
    display: flex !important; 
    justify-content: flex-start !important; 
    text-align: right !important; 
    border: none !important;
    white-space: nowrap !important; /* يمنع نزول الكلام لسطرين */
}

.whb-header .wd-dropdown-menu li > a span, 
.whb-header .sub-menu-dropdown li > a span,
.whb-header .sub-menu li > a span {
    text-align: right !important;
    width: 100% !important;
}

.whb-header .wd-dropdown-menu li:hover > a, 
.whb-header .sub-menu-dropdown li:hover > a,
.whb-header .sub-menu li:hover > a {
    color: #DEB764 !important;
    transform: translateX(-4px) !important; 
}

/* ==================================================== */
/* 5. تكبير السهم اللي جنب كلمة "الخدمات" */
/* ==================================================== */
.whb-header .menu-item-has-children > a:after {
    font-size: 12px !important; 
    font-weight: 700 !important; 
    margin-right: 6px !important; 
    transition: transform 0.3s ease !important;
}

.whb-header .menu-item-has-children:hover > a:after {
    transform: rotate(180deg) !important;
    color: #DEB764 !important;
}

/* ==================================================== */
/* 6. تصحيح جذري لاتجاه القائمة الفرعية في الإنجليزية (LTR) */
/* ==================================================== */

html[dir="ltr"] .whb-header .wd-dropdown-menu, 
html[dir="ltr"] .whb-header .sub-menu-dropdown,
html[dir="ltr"] .whb-header .sub-menu {
    direction: ltr !important;
    /* العرض الديناميكي للإنجليزي */
    width: max-content !important; 
    min-width: 200px !important;
}

html[dir="ltr"] .whb-header .wd-dropdown-menu li > a, 
html[dir="ltr"] .whb-header .sub-menu-dropdown li > a,
html[dir="ltr"] .whb-header .sub-menu li > a {
    justify-content: flex-start !important; 
    text-align: left !important; 
}

html[dir="ltr"] .whb-header .wd-dropdown-menu li > a span, 
html[dir="ltr"] .whb-header .sub-menu-dropdown li > a span,
html[dir="ltr"] .whb-header .sub-menu li > a span {
    display: block !important; 
    width: 100% !important;
    text-align: left !important;
}

html[dir="ltr"] .whb-header .wd-dropdown-menu li:hover > a, 
html[dir="ltr"] .whb-header .sub-menu-dropdown li:hover > a,
html[dir="ltr"] .whb-header .sub-menu li:hover > a {
    transform: translateX(4px) !important; 
}

html[dir="ltr"] .whb-header .menu-item-has-children > a:after {
    margin-right: 0 !important;
    margin-left: 6px !important;
}


/* ========================================= */
/* الكود الذكي والنهائي لأيقونة اللغات */
/* ========================================= */

/* 1. استهداف العنصر الرئيسي في الهيدر (العنصر الأب) وإخفاء النص */
.whb-header .wd-nav > li:has(.lang-item) > a,
.whb-header .wd-nav > li:has(.menu-item-language) > a {
    font-size: 0 !important; 
    color: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 45px !important;
    padding: 0 10px !important;
}

/* إخفاء السهم الجانبي (>) وأي نصوص داخلية في العنصر الرئيسي */
.whb-header .wd-nav > li:has(.lang-item) > a::after,
.whb-header .wd-nav > li:has(.menu-item-language) > a::after,
.whb-header .wd-nav > li:has(.lang-item) > a span,
.whb-header .wd-nav > li:has(.menu-item-language) > a span {
    display: none !important;
}

/* 2. رسم الكوكب في الهيدر فقط (بدل النص المخفي) */
.whb-header .wd-nav > li:has(.lang-item) > a::before,
.whb-header .wd-nav > li:has(.menu-item-language) > a::before {
    content: '';
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    background-color: #FFFFFF !important; /* الكوكب لونه أبيض في البداية */
    -webkit-mask: url("https://amalaunited.com/wp-content/uploads/2026/09/internet.png") no-repeat center / contain !important;
    mask: url("https://amalaunited.com/wp-content/uploads/2026/09/internet.png") no-repeat center / contain !important;
    transition: all 0.3s ease !important;
}

/* 3. تلوين الكوكب بالذهبي عند الوقوف عليه */
.whb-header .wd-nav > li:has(.lang-item):hover > a::before,
.whb-header .wd-nav > li:has(.menu-item-language):hover > a::before {
    background-color: #D4AF37 !important;
}

/* 🔴 الجديد: تغيير لون الكوكب للأسود/الكحلي أثناء السكرول (الهيدر اللاصق) */
.whb-sticked .wd-nav > li:has(.lang-item) > a::before,
.whb-sticked .wd-nav > li:has(.menu-item-language) > a::before {
    background-color: #0B1120 !important; 
}

/* 🔴 الجديد: ضمان تلوين الكوكب بالذهبي عند الهوفر أثناء السكرول */
.whb-sticked .wd-nav > li:has(.lang-item):hover > a::before,
.whb-sticked .wd-nav > li:has(.menu-item-language):hover > a::before {
    background-color: #D4AF37 !important;
}

/* ========================================= */
/* إصلاح القائمة المنسدلة (عربي / English) */
/* ========================================= */

/* إزالة أيقونة الكوكب من داخل القائمة المنسدلة تماماً */
.whb-header .sub-menu li.lang-item > a::before,
.whb-header .sub-menu li.menu-item-language > a::before,
.whb-header .sub-menu-dropdown li.lang-item > a::before,
.whb-header .sub-menu-dropdown li.menu-item-language > a::before {
    display: none !important;
}

/* إرجاع حجم الخط للكلمات (عربي / English) داخل القائمة المنسدلة */
.whb-header .wd-nav > li:has(.lang-item) .sub-menu a,
.whb-header .wd-nav > li:has(.menu-item-language) .sub-menu a {
    font-size: 14px !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    display: block !important;
    text-align: center !important;
    padding: 8px 15px !important;
}

/* التأكد من إظهار النصوص داخل القائمة المنسدلة لو كانت مختفية */
.whb-header .wd-nav > li:has(.lang-item) .sub-menu a span,
.whb-header .wd-nav > li:has(.menu-item-language) .sub-menu a span {
    display: inline-block !important;
}

/* تصميم خلفية القائمة المنسدلة للغات (كحلي زجاجي) */
.whb-header .wd-nav > li:has(.lang-item) .sub-menu-dropdown,
.whb-header .wd-nav > li:has(.menu-item-language) .sub-menu-dropdown {
    background-color: rgba(11, 17, 32, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 8px !important;
    padding: 10px 0 !important;
    width: 140px !important;
    min-width: 140px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

/* تلوين اللغة بالذهبي عند الوقوف عليها داخل القائمة */
.whb-header .wd-nav > li:has(.lang-item) .sub-menu li:hover a,
.whb-header .wd-nav > li:has(.menu-item-language) .sub-menu li:hover a {
    color: #D4AF37 !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}